diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 83e2a7ab27..c20d50f71e 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -4884,6 +4884,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -4937,6 +4940,9 @@ } } } + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -4987,6 +4993,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5037,6 +5046,9 @@ } } } + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5084,6 +5096,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5137,6 +5152,9 @@ } } } + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -6855,6 +6873,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", @@ -19291,6 +19366,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, @@ -19359,6 +19439,139 @@ } } }, + "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", + "nullable": true, + "description": "The version of the deployment." + }, + "status": { + "type": "string", + "description": "The deployment status." + }, + "github_repository": { + "type": "string", + "nullable": true, + "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": { @@ -26001,6 +26214,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", @@ -130043,6 +130313,50 @@ ], "nullable": true }, + "pull-request-stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "pull-request-simple": { "title": "Pull Request Simple", "description": "Pull Request Simple", @@ -130324,6 +130638,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.", "example": false, @@ -149547,6 +149864,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.", "example": false, @@ -165022,6 +165342,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", @@ -166824,6 +167147,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -216566,6 +216897,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", @@ -219577,6 +219911,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", @@ -222591,6 +222928,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", @@ -225714,6 +226054,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", @@ -228834,6 +229177,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", @@ -231853,6 +232199,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", @@ -234867,6 +235216,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", @@ -238257,6 +238609,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -241115,6 +241470,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -243980,6 +244338,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -246849,6 +247210,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -252845,6 +253209,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", @@ -255961,6 +256328,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", @@ -259119,6 +259489,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", @@ -262222,6 +262595,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", @@ -265229,6 +265605,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -268023,6 +268402,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -271180,6 +271562,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -271745,6 +272130,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "number": { "$ref": "#/components/schemas/webhooks_number" }, @@ -274569,6 +274957,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", @@ -277588,6 +277979,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", @@ -280610,6 +281004,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", @@ -283627,6 +284024,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", @@ -286627,6 +287027,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", @@ -338205,6 +338608,16 @@ } } }, + "gone": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "internal_error": { "description": "Internal Error", "content": { @@ -338524,16 +338937,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/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 5d87e53712..be7aae82cd 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -3723,6 +3723,8 @@ paths: "$ref": "#/components/examples/classroom-assignment" '404': "$ref": "#/components/responses/not_found" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3761,6 +3763,8 @@ paths: examples: default: "$ref": "#/components/examples/classroom-accepted-assignment" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3799,6 +3803,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 @@ -3836,6 +3842,8 @@ paths: examples: default: "$ref": "#/components/examples/simple-classroom" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3872,6 +3880,8 @@ paths: "$ref": "#/components/examples/classroom" '404': "$ref": "#/components/responses/not_found" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3910,6 +3920,8 @@ paths: examples: default: "$ref": "#/components/examples/simple-classroom-assignment" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -5211,6 +5223,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 @@ -14326,6 +14381,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 @@ -14373,6 +14436,105 @@ 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 + nullable: true + description: The version of the deployment. + status: + type: string + description: The deployment status. + github_repository: + type: string + nullable: true + 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: @@ -19416,6 +19578,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 @@ -95588,6 +95795,39 @@ components: - commit_title - commit_message nullable: true + pull-request-stack: + title: Pull Request Stack + description: The stack information associated with a pull request. + type: object + 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 + nullable: true pull-request-simple: title: Pull Request Simple description: Pull Request Simple @@ -95797,6 +96037,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. example: false @@ -110593,6 +110835,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. example: false @@ -122379,6 +122623,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 @@ -123754,6 +124000,14 @@ components: description: The slug identifier for the provider of the secret that was detected. nullable: true + 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. @@ -160571,6 +160825,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 @@ -162880,6 +163136,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 @@ -165191,6 +165449,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 @@ -167575,6 +167835,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 @@ -169960,6 +170222,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 @@ -172276,6 +172540,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 @@ -174588,6 +174854,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 @@ -177189,6 +177457,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -179381,6 +179651,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -181578,6 +181850,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -183782,6 +184056,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -188327,6 +188603,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 @@ -190714,6 +190992,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 @@ -193137,6 +193417,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 @@ -195511,6 +195793,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 @@ -197821,6 +198105,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -199927,6 +200213,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -202317,6 +202605,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -202758,6 +203048,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: @@ -204924,6 +205216,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 @@ -207230,6 +207524,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 @@ -209549,6 +209845,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 @@ -211854,6 +212152,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 @@ -214152,6 +214452,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 @@ -256904,6 +257206,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: @@ -257103,12 +257411,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/api.github.com/api.github.com.2026-03-10.json b/descriptions/api.github.com/api.github.com.2026-03-10.json index 00e27d7f8b..272bd63abd 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions/api.github.com/api.github.com.2026-03-10.json @@ -4884,6 +4884,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -4937,6 +4940,9 @@ } } } + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -4987,6 +4993,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5037,6 +5046,9 @@ } } } + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5084,6 +5096,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5137,6 +5152,9 @@ } } } + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -6855,6 +6873,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", @@ -19290,6 +19365,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, @@ -19358,6 +19438,139 @@ } } }, + "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", + "nullable": true, + "description": "The version of the deployment." + }, + "status": { + "type": "string", + "description": "The deployment status." + }, + "github_repository": { + "type": "string", + "nullable": true, + "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": { @@ -25961,6 +26174,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", @@ -129544,6 +129814,50 @@ ], "nullable": true }, + "pull-request-stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "pull-request-simple": { "title": "Pull Request Simple", "description": "Pull Request Simple", @@ -129817,6 +130131,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.", "example": false, @@ -148964,6 +149281,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.", "example": false, @@ -164614,6 +164934,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", @@ -166415,6 +166738,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -216126,6 +216457,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", @@ -219122,6 +219456,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", @@ -222121,6 +222458,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", @@ -225239,6 +225579,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", @@ -228354,6 +228697,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", @@ -231358,6 +231704,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", @@ -234357,6 +234706,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", @@ -237732,6 +238084,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -240575,6 +240930,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -243425,6 +243783,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -246279,6 +246640,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -252255,6 +252619,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", @@ -255356,6 +255723,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", @@ -258499,6 +258869,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", @@ -261587,6 +261960,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", @@ -264579,6 +264955,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -267368,6 +267747,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -270520,6 +270902,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -271084,6 +271469,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "number": { "$ref": "#/components/schemas/webhooks_number" }, @@ -273894,6 +274282,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", @@ -276898,6 +277289,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", @@ -279905,6 +280299,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", @@ -282907,6 +283304,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", @@ -285892,6 +286292,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", @@ -337345,6 +337748,16 @@ } } }, + "gone": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "internal_error": { "description": "Internal Error", "content": { @@ -337664,16 +338077,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/api.github.com/api.github.com.2026-03-10.yaml b/descriptions/api.github.com/api.github.com.2026-03-10.yaml index d89299c260..7ffbe8dd48 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions/api.github.com/api.github.com.2026-03-10.yaml @@ -3723,6 +3723,8 @@ paths: "$ref": "#/components/examples/classroom-assignment" '404': "$ref": "#/components/responses/not_found" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3761,6 +3763,8 @@ paths: examples: default: "$ref": "#/components/examples/classroom-accepted-assignment" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3799,6 +3803,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 @@ -3836,6 +3842,8 @@ paths: examples: default: "$ref": "#/components/examples/simple-classroom" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3872,6 +3880,8 @@ paths: "$ref": "#/components/examples/classroom" '404': "$ref": "#/components/responses/not_found" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3910,6 +3920,8 @@ paths: examples: default: "$ref": "#/components/examples/simple-classroom-assignment" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -5211,6 +5223,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 @@ -14324,6 +14379,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 @@ -14371,6 +14434,105 @@ 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 + nullable: true + description: The version of the deployment. + status: + type: string + description: The deployment status. + github_repository: + type: string + nullable: true + 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: @@ -19383,6 +19545,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 @@ -95194,6 +95401,39 @@ components: - commit_title - commit_message nullable: true + pull-request-stack: + title: Pull Request Stack + description: The stack information associated with a pull request. + type: object + 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 + nullable: true pull-request-simple: title: Pull Request Simple description: Pull Request Simple @@ -95397,6 +95637,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. example: false @@ -110130,6 +110372,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. example: false @@ -122046,6 +122290,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 @@ -123420,6 +123666,14 @@ components: description: The slug identifier for the provider of the secret that was detected. nullable: true + 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. @@ -160210,6 +160464,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 @@ -162503,6 +162759,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 @@ -164798,6 +165056,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 @@ -167178,6 +167438,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 @@ -169559,6 +169821,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 @@ -171859,6 +172123,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 @@ -174155,6 +174421,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 @@ -176740,6 +177008,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -178916,6 +179186,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -181097,6 +181369,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -183285,6 +183559,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -187810,6 +188086,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 @@ -190181,6 +190459,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 @@ -192588,6 +192868,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 @@ -194946,6 +195228,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 @@ -197240,6 +197524,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -199342,6 +199628,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -201728,6 +202016,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -202168,6 +202458,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: @@ -204319,6 +204611,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 @@ -206609,6 +206903,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 @@ -208912,6 +209208,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 @@ -211201,6 +211499,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 @@ -213483,6 +213783,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 @@ -256122,6 +256424,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: @@ -256321,12 +256629,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/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 607c0a8b76..83f545ed5b 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -4898,6 +4898,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -4951,6 +4954,9 @@ } } } + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5001,6 +5007,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5051,6 +5060,9 @@ } } } + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5098,6 +5110,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5151,6 +5166,9 @@ } } } + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -6869,6 +6887,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", @@ -19337,6 +19412,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, @@ -19405,6 +19485,139 @@ } } }, + "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", + "nullable": true, + "description": "The version of the deployment." + }, + "status": { + "type": "string", + "description": "The deployment status." + }, + "github_repository": { + "type": "string", + "nullable": true, + "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": { @@ -26103,6 +26316,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", @@ -130825,6 +131095,50 @@ ], "nullable": true }, + "pull-request-stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "pull-request-simple": { "title": "Pull Request Simple", "description": "Pull Request Simple", @@ -131106,6 +131420,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.", "example": false, @@ -150757,6 +151074,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.", "example": false, @@ -166421,6 +166741,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", @@ -168271,6 +168594,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -218037,6 +218368,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", @@ -221078,6 +221412,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", @@ -224122,6 +224459,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", @@ -227275,6 +227615,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", @@ -230411,6 +230754,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", @@ -233446,6 +233792,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", @@ -236490,6 +236839,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", @@ -239910,6 +240262,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -242798,6 +243153,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -245693,6 +246051,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -248592,6 +248953,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -254634,6 +254998,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", @@ -257750,6 +258117,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", @@ -260954,6 +261324,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", @@ -264057,6 +264430,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", @@ -267110,6 +267486,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -269934,6 +270313,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -273107,6 +273489,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -273688,6 +274073,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "number": { "$ref": "#/components/schemas/webhooks_number" }, @@ -276512,6 +276900,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", @@ -279561,6 +279952,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", @@ -282613,6 +283007,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", @@ -285660,6 +286057,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", @@ -288690,6 +289090,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", @@ -340546,6 +340949,16 @@ } } }, + "gone": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "internal_error": { "description": "Internal Error", "content": { @@ -340865,16 +341278,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/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index a796379333..1fcb21b375 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -3731,6 +3731,8 @@ paths: "$ref": "#/components/examples/classroom-assignment" '404': "$ref": "#/components/responses/not_found" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3769,6 +3771,8 @@ paths: examples: default: "$ref": "#/components/examples/classroom-accepted-assignment" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3807,6 +3811,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 @@ -3844,6 +3850,8 @@ paths: examples: default: "$ref": "#/components/examples/simple-classroom" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3880,6 +3888,8 @@ paths: "$ref": "#/components/examples/classroom" '404': "$ref": "#/components/responses/not_found" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3918,6 +3928,8 @@ paths: examples: default: "$ref": "#/components/examples/simple-classroom-assignment" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -5219,6 +5231,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 @@ -14351,6 +14406,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 @@ -14398,6 +14461,105 @@ 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 + nullable: true + description: The version of the deployment. + status: + type: string + description: The deployment status. + github_repository: + type: string + nullable: true + 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: @@ -19470,6 +19632,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 @@ -96096,6 +96303,39 @@ components: - commit_title - commit_message nullable: true + pull-request-stack: + title: Pull Request Stack + description: The stack information associated with a pull request. + type: object + 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 + nullable: true pull-request-simple: title: Pull Request Simple description: Pull Request Simple @@ -96305,6 +96545,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. example: false @@ -111452,6 +111694,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. example: false @@ -123388,6 +123632,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 @@ -124805,6 +125051,14 @@ components: description: The slug identifier for the provider of the secret that was detected. nullable: true + 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. @@ -161640,6 +161894,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 @@ -163964,6 +164220,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 @@ -166290,6 +166548,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 @@ -168689,6 +168949,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 @@ -171082,6 +171344,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 @@ -173406,6 +173670,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 @@ -175733,6 +175999,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 @@ -178349,6 +178617,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -180556,6 +180826,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -182768,6 +183040,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -184987,6 +185261,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -189555,6 +189831,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 @@ -191942,6 +192220,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 @@ -194388,6 +194668,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 @@ -196762,6 +197044,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 @@ -199095,6 +199379,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -201216,6 +201502,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -203614,6 +203902,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -204063,6 +204353,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: @@ -206229,6 +206521,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 @@ -208550,6 +208844,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 @@ -210884,6 +211180,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 @@ -213204,6 +213502,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 @@ -215517,6 +215817,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 @@ -258409,6 +258711,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: @@ -258608,12 +258916,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index a900d2b933..489ff03360 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -16646,6 +16646,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": { @@ -17032,6 +17058,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": { @@ -17198,241 +17250,319 @@ } } } - } - }, - "x-github": { - "enabledForGitHubApps": true, - "category": "classroom", - "subcategory": "classroom", - "deprecationDate": "2026-05-22", - "removalDate": "2026-08-28" - }, - "deprecated": true - } - }, - "/classrooms": { - "get": { - "summary": "Closing down - List classrooms", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nLists GitHub Classroom classrooms for the current user. Classrooms will only be returned if the current user is an administrator of one or more GitHub Classrooms.", - "tags": [ - "classroom" - ], - "operationId": "classroom/list-classrooms", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/classroom/classroom#closing-down---list-classrooms" - }, - "parameters": [ - { - "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/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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Simple Classroom", - "description": "A GitHub Classroom classroom", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the classroom.", - "example": 42, - "type": "integer" - }, - "name": { - "description": "The name of the classroom.", - "type": "string", - "example": "Programming Elixir" - }, - "archived": { - "description": "Returns whether classroom is archived or not.", - "type": "boolean", - "example": false - }, - "url": { - "description": "The url of the classroom on GitHub Classroom.", - "type": "string", - "example": "https://classroom.github.com/classrooms/1-programming-elixir" - } - }, - "required": [ - "id", - "name", - "archived", - "url" - ] - } - }, - "examples": { - "default": { - "value": { - "id": 1296269, - "name": "Programming Elixir", - "archived": "false,", - "url": "https://classroom.github.com/classrooms/1-programming-elixir" - } - } - } - } - } - } - }, - "x-github": { - "enabledForGitHubApps": true, - "category": "classroom", - "subcategory": "classroom", - "deprecationDate": "2026-05-22", - "removalDate": "2026-08-28" - }, - "deprecated": true - } - }, - "/classrooms/{classroom_id}": { - "get": { - "summary": "Closing down - Get a classroom", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nGets a GitHub Classroom classroom for the current user. Classroom will only be returned if the current user is an administrator of the GitHub Classroom.", - "tags": [ - "classroom" - ], - "operationId": "classroom/get-a-classroom", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/classroom/classroom#closing-down---get-a-classroom" - }, - "parameters": [ - { - "name": "classroom_id", - "description": "The unique identifier of the classroom.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Classroom", - "description": "A GitHub Classroom classroom", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the classroom.", - "example": 42, - "type": "integer" - }, - "name": { - "description": "The name of the classroom.", - "type": "string", - "example": "Programming Elixir" - }, - "archived": { - "description": "Whether classroom is archived.", - "type": "boolean", - "example": false - }, - "organization": { - "title": "Organization Simple for Classroom", - "description": "A GitHub organization.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 1 - }, - "login": { - "type": "string", - "example": "github" - }, - "node_id": { - "type": "string", - "example": "MDEyOk9yZ2FuaXphdGlvbjE=" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/github" - }, - "name": { - "type": "string", - "example": "Github - Code thigns happen here", - "nullable": true - }, - "avatar_url": { - "type": "string", - "example": "https://github.com/images/error/octocat_happy.gif" - } - }, - "required": [ - "id", - "login", - "node_id", - "html_url", - "name", - "avatar_url" - ] - }, - "url": { - "description": "The URL of the classroom on GitHub Classroom.", - "type": "string", - "example": "https://classroom.github.com/classrooms/1-programming-elixir" - } - }, - "required": [ - "id", - "name", - "archived", - "organization", - "url" - ] - }, - "examples": { - "default": { - "value": { - "id": 1296269, - "name": "Programming Elixir", - "archived": "false,", - "organization": { - "id": 1, - "login": "programming-elixir", - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "html_url": "https://github.com/programming-elixir", - "name": "Learn how to build fault tolerant applications", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4" - }, - "url": "https://classroom.github.com/classrooms/1-programming-elixir" - } - } - } - } - } }, - "404": { - "description": "Resource not found", + "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": { + "enabledForGitHubApps": true, + "category": "classroom", + "subcategory": "classroom", + "deprecationDate": "2026-05-22", + "removalDate": "2026-08-28" + }, + "deprecated": true + } + }, + "/classrooms": { + "get": { + "summary": "Closing down - List classrooms", + "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nLists GitHub Classroom classrooms for the current user. Classrooms will only be returned if the current user is an administrator of one or more GitHub Classrooms.", + "tags": [ + "classroom" + ], + "operationId": "classroom/list-classrooms", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/classroom/classroom#closing-down---list-classrooms" + }, + "parameters": [ + { + "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/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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Simple Classroom", + "description": "A GitHub Classroom classroom", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the classroom.", + "example": 42, + "type": "integer" + }, + "name": { + "description": "The name of the classroom.", + "type": "string", + "example": "Programming Elixir" + }, + "archived": { + "description": "Returns whether classroom is archived or not.", + "type": "boolean", + "example": false + }, + "url": { + "description": "The url of the classroom on GitHub Classroom.", + "type": "string", + "example": "https://classroom.github.com/classrooms/1-programming-elixir" + } + }, + "required": [ + "id", + "name", + "archived", + "url" + ] + } + }, + "examples": { + "default": { + "value": { + "id": 1296269, + "name": "Programming Elixir", + "archived": "false,", + "url": "https://classroom.github.com/classrooms/1-programming-elixir" + } + } + } + } + } + }, + "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": { + "enabledForGitHubApps": true, + "category": "classroom", + "subcategory": "classroom", + "deprecationDate": "2026-05-22", + "removalDate": "2026-08-28" + }, + "deprecated": true + } + }, + "/classrooms/{classroom_id}": { + "get": { + "summary": "Closing down - Get a classroom", + "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nGets a GitHub Classroom classroom for the current user. Classroom will only be returned if the current user is an administrator of the GitHub Classroom.", + "tags": [ + "classroom" + ], + "operationId": "classroom/get-a-classroom", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/classroom/classroom#closing-down---get-a-classroom" + }, + "parameters": [ + { + "name": "classroom_id", + "description": "The unique identifier of the classroom.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Classroom", + "description": "A GitHub Classroom classroom", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the classroom.", + "example": 42, + "type": "integer" + }, + "name": { + "description": "The name of the classroom.", + "type": "string", + "example": "Programming Elixir" + }, + "archived": { + "description": "Whether classroom is archived.", + "type": "boolean", + "example": false + }, + "organization": { + "title": "Organization Simple for Classroom", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "example": 1 + }, + "login": { + "type": "string", + "example": "github" + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/github" + }, + "name": { + "type": "string", + "example": "Github - Code thigns happen here", + "nullable": true + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + } + }, + "required": [ + "id", + "login", + "node_id", + "html_url", + "name", + "avatar_url" + ] + }, + "url": { + "description": "The URL of the classroom on GitHub Classroom.", + "type": "string", + "example": "https://classroom.github.com/classrooms/1-programming-elixir" + } + }, + "required": [ + "id", + "name", + "archived", + "organization", + "url" + ] + }, + "examples": { + "default": { + "value": { + "id": 1296269, + "name": "Programming Elixir", + "archived": "false,", + "organization": { + "id": 1, + "login": "programming-elixir", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "html_url": "https://github.com/programming-elixir", + "name": "Learn how to build fault tolerant applications", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4" + }, + "url": "https://classroom.github.com/classrooms/1-programming-elixir" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "410": { + "description": "Gone", "content": { "application/json": { "schema": { @@ -17699,6 +17829,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": { @@ -25241,166 +25397,333 @@ } } } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage-metrics" - } - } - }, - "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": { - "get": { - "summary": "Get Copilot enterprise usage metrics", - "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/copilot-enterprise-usage-metrics", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "title": "Copilot Metrics 28 Day Report", - "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", - "properties": { - "download_links": { - "type": "array", - "items": { - "type": "string", - "format": "uri" - }, - "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." - }, - "report_start_day": { - "type": "string", - "format": "date", - "description": "The start date of the report period in `YYYY-MM-DD` format." - }, - "report_end_day": { - "type": "string", - "format": "date", - "description": "The end date of the report period in `YYYY-MM-DD` format." - } - }, - "required": [ - "download_links", - "report_start_day", - "report_end_day" - ] - }, - "examples": { - "default": { - "value": { - "download_links": [ - "https://example.com/copilot-usage-report-1.ndjson", - "https://example.com/copilot-usage-report-2.ndjson" - ], - "report_start_day": "2025-07-01", - "report_end_day": "2025-07-28" - } - } - } - } - } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": { + "get": { + "summary": "Get Copilot enterprise usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.ndjson", + "https://example.com/copilot-usage-report-2.ndjson" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/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": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.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", @@ -100994,6 +101317,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, @@ -101134,6 +101462,193 @@ } } }, + "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", + "description": "The ID of the provenance attestation associated with the deployment record.", + "nullable": true + } + } + } + }, + "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", + "nullable": true, + "description": "The version of the deployment." + }, + "status": { + "type": "string", + "description": "The deployment status." + }, + "github_repository": { + "type": "string", + "nullable": true, + "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": { @@ -127274,166 +127789,333 @@ } } }, - "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": { - "get": { - "summary": "Get Copilot organization usage metrics", - "description": "Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", - "tags": [ - "copilot" - ], - "operationId": "copilot/copilot-organization-usage-metrics", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "title": "Copilot Metrics 28 Day Report", - "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", - "properties": { - "download_links": { - "type": "array", - "items": { - "type": "string", - "format": "uri" - }, - "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." - }, - "report_start_day": { - "type": "string", - "format": "date", - "description": "The start date of the report period in `YYYY-MM-DD` format." - }, - "report_end_day": { - "type": "string", - "format": "date", - "description": "The end date of the report period in `YYYY-MM-DD` format." - } - }, - "required": [ - "download_links", - "report_start_day", - "report_end_day" - ] - }, - "examples": { - "default": { - "value": { - "download_links": [ - "https://example.com/copilot-usage-report-1.ndjson", - "https://example.com/copilot-usage-report-2.ndjson" - ], - "report_start_day": "2025-07-01", - "report_end_day": "2025-07-28" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage-metrics" - } - } - }, + "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": { + "get": { + "summary": "Get Copilot organization usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.ndjson", + "https://example.com/copilot-usage-report-2.ndjson" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/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", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.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", @@ -187008,6 +187690,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -196566,6 +197292,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -336057,6 +336827,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -520952,6 +521766,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -524775,6 +525633,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -531487,6 +532389,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -535521,6 +536467,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -546551,6 +547541,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -550464,6 +551498,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -681147,6 +682225,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -739487,6 +740609,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -858784,6 +859950,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1173051,6 +1174261,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1177654,6 +1178908,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1182260,6 +1183558,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1187124,6 +1188466,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1192106,6 +1193492,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1197028,6 +1198458,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1201620,6 +1203094,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1206560,6 +1208078,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1211274,6 +1212836,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1215924,6 +1217530,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1220531,6 +1222181,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1225332,6 +1227026,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1230192,6 +1231930,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1235174,6 +1236956,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1240156,6 +1241982,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1245100,6 +1246970,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1249905,6 +1251819,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1254732,6 +1256690,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1259193,6 +1261195,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1268572,6 +1270618,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1273190,6 +1275280,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1277940,6 +1280074,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1282545,6 +1284723,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1287144,6 +1289366,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1291729,6 +1293995,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1296478,6 +1298788,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1298565,6 +1300919,50 @@ "node_id" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "number": { "description": "The pull request number.", "type": "integer" @@ -1301460,6 +1303858,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1306072,6 +1308514,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1310780,6 +1313266,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1315428,6 +1317958,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1320021,6 +1322595,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1385910,6 +1388528,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1388443,6 +1391069,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1390852,6 +1393486,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1393731,6 +1396373,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1396139,6 +1398789,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1398547,6 +1401205,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1400956,6 +1403622,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1403365,6 +1406039,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1405774,6 +1408456,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1408307,6 +1410997,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index dd20e07aee..8071accb24 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -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 - - &47 + - &48 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 - - &48 + - &49 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 - - &62 + - &63 name: direction description: The direction to sort the results by. in: query @@ -686,7 +686,7 @@ paths: required: - vector_string - score - cvss_severities: &64 + cvss_severities: &65 type: object nullable: true properties: @@ -726,7 +726,7 @@ paths: required: - vector_string - score - epss: &65 + epss: &66 type: object nullable: true readOnly: true @@ -864,7 +864,7 @@ paths: - subscriptions_url - type - url - type: &347 + type: &348 type: string description: The type of credit the user is receiving. enum: @@ -997,7 +997,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &133 + schema: &134 title: Validation Error Simple description: Validation Error Simple type: object @@ -1030,7 +1030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &714 + - &715 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -3674,7 +3674,7 @@ paths: GitHub. type: object nullable: true - properties: &83 + properties: &84 id: description: Unique identifier of the GitHub app example: 37 @@ -3807,7 +3807,7 @@ paths: about itself. example: 5 type: integer - required: &84 + required: &85 - id - node_id - owner @@ -4112,7 +4112,7 @@ paths: schema: type: integer default: 30 - - &231 + - &232 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 @@ -4121,7 +4121,7 @@ paths: required: false schema: type: string - - &232 + - &233 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4141,7 +4141,7 @@ paths: application/json: schema: type: array - items: &233 + items: &234 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4221,7 +4221,7 @@ paths: - installation_id - repository_id examples: - default: &234 + default: &235 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4280,7 +4280,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &132 + schema: &133 title: Validation Error description: Validation Error type: object @@ -4349,7 +4349,7 @@ paths: description: Response content: application/json: - schema: &235 + schema: &236 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4463,7 +4463,7 @@ paths: - request - response examples: - default: &236 + default: &237 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4523,7 +4523,7 @@ paths: parameters: - *16 responses: - '202': &39 + '202': &40 description: Accepted content: application/json: @@ -4636,7 +4636,7 @@ paths: type: User site_admin: false created_at: '2022-07-08T16:18:44-04:00' - '304': &37 + '304': &38 description: Not modified '401': &25 description: Requires authentication @@ -4664,7 +4664,7 @@ paths: parameters: - *17 - *19 - - &95 + - &96 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) @@ -5256,7 +5256,7 @@ paths: suspended_at: suspended_by: headers: - Link: &70 + Link: &71 example: ; rel="next", ; rel="last" schema: @@ -5448,11 +5448,11 @@ paths: - selected repositories: type: array - items: &82 + items: &83 title: Repository description: A repository on GitHub. type: object - properties: &310 + properties: &311 id: description: Unique identifier of the repository example: 42 @@ -5472,7 +5472,7 @@ paths: title: License Simple description: License Simple type: object - properties: &91 + properties: &92 key: type: string example: mit @@ -5494,7 +5494,7 @@ paths: html_url: type: string format: uri - required: &92 + required: &93 - key - name - url @@ -5903,7 +5903,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &311 + required: &312 - archive_url - assignees_url - blobs_url @@ -6843,7 +6843,7 @@ paths: - node_id - private - default_branch - classroom: &34 + classroom: &35 title: Classroom description: A GitHub Classroom classroom type: object @@ -6955,6 +6955,11 @@ paths: archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir '404': *6 + '410': &33 + description: Gone + content: + application/json: + schema: *3 x-github: enabledForGitHubApps: true category: classroom @@ -7040,7 +7045,7 @@ paths: - avatar_url - html_url repository: *32 - assignment: &36 + assignment: &37 title: Simple Classroom Assignment description: A GitHub Classroom assignment type: object @@ -7129,7 +7134,7 @@ paths: format: date-time example: '2011-01-26T19:06:43Z' nullable: true - classroom: &33 + classroom: &34 title: Simple Classroom description: A GitHub Classroom classroom type: object @@ -7224,6 +7229,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7331,6 +7337,7 @@ paths: points_available: 15 group_name: monalisa-and-friends '404': *6 + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7363,7 +7370,7 @@ paths: application/json: schema: type: array - items: *33 + items: *34 examples: default: value: @@ -7371,6 +7378,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7394,7 +7402,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/classroom/classroom#closing-down---get-a-classroom parameters: - - &35 + - &36 name: classroom_id description: The unique identifier of the classroom. in: path @@ -7406,7 +7414,7 @@ paths: description: Response content: application/json: - schema: *34 + schema: *35 examples: default: value: @@ -7422,6 +7430,7 @@ paths: avatar_url: https://avatars.githubusercontent.com/u/9919?v=4 url: https://classroom.github.com/classrooms/1-programming-elixir '404': *6 + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7445,7 +7454,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/classroom/classroom#closing-down---list-assignments-for-a-classroom parameters: - - *35 + - *36 - *19 - *17 responses: @@ -7455,7 +7464,7 @@ paths: application/json: schema: type: array - items: *36 + items: *37 examples: default: value: @@ -7481,6 +7490,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7506,7 +7516,7 @@ paths: application/json: schema: type: array - items: &38 + items: &39 title: Code Of Conduct description: Code Of Conduct type: object @@ -7589,7 +7599,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': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -7616,7 +7626,7 @@ paths: description: Response content: application/json: - schema: *38 + schema: *39 examples: default: value: @@ -7671,7 +7681,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': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -7731,9 +7741,9 @@ paths: - ghu_1234567890abcdef1234567890abcdef12345678 - ghr_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab responses: - '202': *39 + '202': *40 '422': *7 - '500': &55 + '500': &56 description: Internal Error content: application/json: @@ -9642,7 +9652,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': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -9663,7 +9673,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-enterprise parameters: - - &40 + - &41 name: enterprise description: The slug version of the enterprise name. in: path @@ -9675,7 +9685,7 @@ paths: description: Response content: application/json: - schema: &41 + schema: &42 title: Actions cache retention limit for an enterprise description: GitHub Actions cache retention policy for an enterprise. type: object @@ -9687,7 +9697,7 @@ paths: type: integer example: 14 examples: - default: &42 + default: &43 value: max_cache_retention_days: 80 '403': *29 @@ -9711,14 +9721,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-enterprise parameters: - - *40 + - *41 requestBody: required: true content: application/json: - schema: *41 + schema: *42 examples: - selected_actions: *42 + selected_actions: *43 responses: '204': description: Response @@ -9745,13 +9755,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-enterprise parameters: - - *40 + - *41 responses: '200': description: Response content: application/json: - schema: &43 + schema: &44 title: Actions cache storage limit for an enterprise description: GitHub Actions cache storage policy for an enterprise. type: object @@ -9763,7 +9773,7 @@ paths: type: integer example: 10 examples: - default: &44 + default: &45 value: max_cache_size_gb: 150 '403': *29 @@ -9787,14 +9797,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-enterprise parameters: - - *40 + - *41 requestBody: required: true content: application/json: - schema: *43 + schema: *44 examples: - selected_actions: *44 + selected_actions: *45 responses: '204': description: Response @@ -9820,7 +9830,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-enterprise parameters: - - *40 + - *41 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -9828,7 +9838,7 @@ paths: application/json: schema: type: array - items: &45 + items: &46 title: Actions OIDC Custom Property Inclusion description: An OIDC custom property inclusion for repository properties type: object @@ -9875,12 +9885,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-enterprise parameters: - - *40 + - *41 requestBody: required: true content: application/json: - schema: &145 + schema: &146 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -9892,7 +9902,7 @@ paths: required: - custom_property_name examples: - default: &46 + default: &47 value: custom_property_name: environment responses: @@ -9900,9 +9910,9 @@ paths: description: OIDC custom property inclusion created content: application/json: - schema: *45 + schema: *46 examples: - default: *46 + default: *47 '400': description: Invalid input '403': *29 @@ -9927,7 +9937,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-enterprise parameters: - - *40 + - *41 - name: custom_property_name in: path required: true @@ -9963,7 +9973,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise parameters: - - *40 + - *41 - name: per_page in: query description: The number of results per page (max 100). For more information, @@ -9972,8 +9982,8 @@ paths: schema: type: integer default: 30 - - *47 - *48 + - *49 responses: '200': description: Response @@ -9981,7 +9991,7 @@ paths: application/json: schema: type: array - items: &49 + items: &50 type: object description: A code security configuration properties: @@ -10301,7 +10311,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise parameters: - - *40 + - *41 requestBody: required: true content: @@ -10379,7 +10389,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &53 + code_scanning_options: &54 type: object description: Security Configuration feature options for code scanning nullable: true @@ -10396,7 +10406,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &52 + code_scanning_default_setup_options: &53 type: object description: Feature options for code scanning default setup nullable: true @@ -10520,9 +10530,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *49 + schema: *50 examples: - default: &50 + default: &51 value: id: 1325 target_type: enterprise @@ -10574,13 +10584,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise parameters: - - *40 + - *41 responses: '200': description: Response content: application/json: - schema: &199 + schema: &200 type: array description: A list of default code security configurations items: @@ -10594,9 +10604,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *49 + configuration: *50 examples: - default: &200 + default: &201 value: - default_for_new_repos: public configuration: @@ -10679,8 +10689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - - *40 - - &51 + - *41 + - &52 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -10692,10 +10702,10 @@ paths: description: Response content: application/json: - schema: *49 + schema: *50 examples: - default: *50 - '304': *37 + default: *51 + '304': *38 '403': *29 '404': *6 x-github: @@ -10718,8 +10728,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: - - *40 - - *51 + - *41 + - *52 requestBody: required: true content: @@ -10798,8 +10808,8 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *52 - code_scanning_options: *53 + code_scanning_default_setup_options: *53 + code_scanning_options: *54 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -10895,13 +10905,13 @@ paths: description: Response content: application/json: - schema: *49 + schema: *50 examples: - default: *50 - '304': *37 + default: *51 + '304': *38 '403': *29 '404': *6 - '409': &54 + '409': &55 description: Conflict content: application/json: @@ -10928,15 +10938,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - - *40 - - *51 + - *41 + - *52 responses: - '204': &61 + '204': &60 description: A header with no content is returned. '400': *14 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10960,8 +10970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - - *40 - - *51 + - *41 + - *52 requestBody: required: true content: @@ -10985,10 +10995,10 @@ paths: value: scope: all responses: - '202': *39 + '202': *40 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -11012,8 +11022,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: - - *40 - - *51 + - *41 + - *52 requestBody: required: true content: @@ -11053,12 +11063,12 @@ paths: - none - private_and_internal - public - configuration: *49 + configuration: *50 examples: default: value: default_for_new_repos: all - configuration: &198 + configuration: &199 value: id: 1325 target_type: organization @@ -11119,8 +11129,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: - - *40 - - *51 + - *41 + - *52 - 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)." @@ -11129,8 +11139,8 @@ paths: schema: type: integer default: 30 - - *47 - *48 + - *49 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -11148,7 +11158,7 @@ paths: application/json: schema: type: array - items: &201 + items: &202 type: object description: Repositories associated with a code security configuration and attachment status @@ -11166,11 +11176,11 @@ paths: - failed - updating - removed_by_enterprise - repository: &67 + repository: &68 title: Simple Repository description: A GitHub repository. type: object - properties: &68 + properties: &69 id: type: integer format: int64 @@ -11397,7 +11407,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &69 + required: &70 - archive_url - assignees_url - blobs_url @@ -11449,7 +11459,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &202 + repository: &203 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -11542,8 +11552,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: - - *40 - - &56 + - *41 + - &57 name: day description: The day to request data for, in `YYYY-MM-DD` format. in: query @@ -11557,7 +11567,7 @@ paths: description: Response content: application/json: - schema: &57 + schema: &58 type: object title: Copilot Metrics 1 Day Report description: Links to download the Copilot usage metrics report for @@ -11578,13 +11588,13 @@ paths: - download_links - report_day examples: - default: &58 + default: &59 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': *55 + '500': *56 '403': *29 '404': *6 x-github: @@ -11610,13 +11620,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics parameters: - - *40 + - *41 responses: '200': description: Response content: application/json: - schema: &59 + schema: &61 type: object title: Copilot Metrics 28 Day Report description: Links to download the latest Copilot usage metrics report @@ -11644,14 +11654,51 @@ paths: - report_start_day - report_end_day examples: - default: &60 + default: &62 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': *55 + '500': *56 + '403': *29 + '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: + - *41 + - *57 + responses: + '200': + description: Response + content: + application/json: + schema: *58 + examples: + default: *59 + '204': *60 + '500': *56 '403': *29 '404': *6 x-github: @@ -11677,17 +11724,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: - - *40 - - *56 + - *41 + - *57 responses: '200': description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 - '500': *55 + default: *59 + '500': *56 '403': *29 '404': *6 x-github: @@ -11713,17 +11760,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: - - *40 - - *56 + - *41 + - *57 responses: '200': description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 - '500': *55 + default: *59 + '500': *56 '403': *29 '404': *6 x-github: @@ -11749,16 +11796,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics parameters: - - *40 + - *41 responses: '200': description: Response content: application/json: - schema: *59 + schema: *61 examples: - default: *60 - '500': *55 + default: *62 + '500': *56 '403': *29 '404': *6 x-github: @@ -11786,7 +11833,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: - - *40 + - *41 requestBody: description: The coding agent policy configuration required: true @@ -11813,7 +11860,7 @@ paths: value: policy_state: enabled_for_all_orgs responses: - '204': *61 + '204': *60 '400': *14 x-github: enabledForGitHubApps: false @@ -11840,7 +11887,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: - - *40 + - *41 requestBody: description: The organizations to enable Copilot cloud agent for required: true @@ -11889,7 +11936,7 @@ paths: - engineering - security responses: - '204': *61 + '204': *60 '400': *14 x-github: enabledForGitHubApps: false @@ -11915,7 +11962,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: - - *40 + - *41 requestBody: description: The organizations to disable Copilot cloud agent for required: true @@ -11965,7 +12012,7 @@ paths: - engineering - security responses: - '204': *61 + '204': *60 '400': *14 x-github: enabledForGitHubApps: false @@ -11989,8 +12036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - - *40 - - &212 + - *41 + - &213 name: classification in: query description: |- @@ -11999,7 +12046,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &213 + - &214 name: state in: query description: |- @@ -12008,7 +12055,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &214 + - &215 name: severity in: query description: |- @@ -12017,7 +12064,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &215 + - &216 name: ecosystem in: query description: |- @@ -12026,14 +12073,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &216 + - &217 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 - - &217 + - &218 name: epss_percentage in: query description: |- @@ -12045,7 +12092,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 - - &510 + - &511 name: has in: query description: |- @@ -12059,7 +12106,7 @@ paths: type: string enum: - patch - - &218 + - &219 name: assignee in: query description: |- @@ -12068,7 +12115,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &219 + - &220 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12078,7 +12125,7 @@ paths: enum: - development - runtime - - &220 + - &221 name: sort in: query description: |- @@ -12093,9 +12140,9 @@ paths: - updated - epss_percentage default: created - - *62 - - *47 + - *63 - *48 + - *49 - *17 responses: '200': @@ -12104,11 +12151,11 @@ paths: application/json: schema: type: array - items: &221 + items: &222 type: object description: A Dependabot alert. properties: - number: &188 + number: &189 type: integer description: The security alert number. readOnly: true @@ -12126,7 +12173,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &63 + package: &64 type: object description: Details for the vulnerable package. readOnly: true @@ -12171,7 +12218,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &511 + security_advisory: &512 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12201,13 +12248,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &66 + items: &67 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *63 + package: *64 severity: type: string description: The severity of the vulnerability. @@ -12280,8 +12327,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *64 - epss: *65 + cvss_severities: *65 + epss: *66 cwes: type: array description: Details for the advisory pertaining to Common @@ -12380,30 +12427,30 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *66 - url: &191 + security_vulnerability: *67 + url: &192 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &192 + html_url: &193 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &189 + created_at: &190 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: &190 + updated_at: &191 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: &194 + dismissed_at: &195 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12433,21 +12480,21 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &193 + fixed_at: &194 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &512 + auto_dismissed_at: &513 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &513 + dismissal_request: &514 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -12490,7 +12537,7 @@ paths: description: The users assigned to this alert. readOnly: true items: *4 - repository: *67 + repository: *68 required: - number - state @@ -12509,7 +12556,7 @@ paths: - repository additionalProperties: false examples: - default: &222 + default: &223 value: - number: 2 state: dismissed @@ -12847,7 +12894,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': *37 + '304': *38 '403': *29 '404': *6 '422': *7 @@ -12871,7 +12918,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: - - *40 + - *41 - name: page in: query description: The page number of results to fetch. @@ -12894,7 +12941,7 @@ paths: description: Response content: application/json: - schema: &223 + schema: &224 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -12915,12 +12962,12 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *68 - required: *69 + properties: *69 + required: *70 nullable: true additionalProperties: false examples: - default: &224 + default: &225 value: default_level: public accessible_repositories: @@ -13020,7 +13067,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise parameters: - - *40 + - *41 requestBody: required: true content: @@ -13084,7 +13131,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: - - *40 + - *41 requestBody: required: true content: @@ -13128,7 +13175,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#list-enterprise-teams parameters: - - *40 + - *41 - *17 - *19 responses: @@ -13138,7 +13185,7 @@ paths: application/json: schema: type: array - items: &71 + items: &72 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -13217,7 +13264,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *70 + Link: *71 '403': *29 x-github: githubCloudOnly: false @@ -13235,7 +13282,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team parameters: - - *40 + - *41 requestBody: required: true content: @@ -13302,9 +13349,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *72 examples: - default: &79 + default: &80 value: id: 1 name: Justice League @@ -13332,8 +13379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - - *40 - - &72 + - *41 + - &73 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -13352,7 +13399,7 @@ paths: type: array items: *4 examples: - default: &73 + default: &74 value: - login: octocat id: 1 @@ -13373,7 +13420,7 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13390,8 +13437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - - *40 - - *72 + - *41 + - *73 requestBody: required: true content: @@ -13422,7 +13469,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13439,8 +13486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - - *40 - - *72 + - *41 + - *73 requestBody: required: true content: @@ -13471,7 +13518,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13488,9 +13535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - - *40 - - *72 - - &74 + - *41 + - *73 + - &75 name: username description: The handle for the GitHub user account. in: path @@ -13504,7 +13551,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &75 + exampleKey1: &76 value: login: octocat id: 1 @@ -13539,9 +13586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - - *40 - - *72 - - *74 + - *41 + - *73 + - *75 responses: '201': description: Successfully added team member @@ -13549,7 +13596,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *75 + exampleKey1: *76 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13566,9 +13613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - - *40 - - *72 - - *74 + - *41 + - *73 + - *75 responses: '204': description: Response @@ -13589,8 +13636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - - *40 - - *72 + - *41 + - *73 - *17 - *19 responses: @@ -13600,11 +13647,11 @@ paths: application/json: schema: type: array - items: &76 + items: &77 title: Organization Simple description: A GitHub organization. type: object - properties: &208 + properties: &209 login: type: string example: github @@ -13645,7 +13692,7 @@ paths: type: string example: A great organization nullable: true - required: &209 + required: &210 - login - url - id @@ -13659,7 +13706,7 @@ paths: - avatar_url - description examples: - default: &77 + default: &78 value: login: github id: 1 @@ -13689,8 +13736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - - *40 - - *72 + - *41 + - *73 requestBody: required: true content: @@ -13718,9 +13765,9 @@ paths: application/json: schema: type: array - items: *76 + items: *77 examples: - default: &119 + default: &120 value: - login: github id: 1 @@ -13750,8 +13797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - - *40 - - *72 + - *41 + - *73 requestBody: required: true content: @@ -13791,9 +13838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - - *40 - - *72 - - &78 + - *41 + - *73 + - &79 name: org description: The organization name. The name is not case sensitive. in: path @@ -13805,9 +13852,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *76 + schema: *77 examples: - default: *77 + default: *78 '404': description: The team is not assigned to the organization x-github: @@ -13825,17 +13872,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - - *40 - - *72 - - *78 + - *41 + - *73 + - *79 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *76 + schema: *77 examples: - default: *77 + default: *78 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13851,9 +13898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - - *40 - - *72 - - *78 + - *41 + - *73 + - *79 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -13876,8 +13923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - - *40 - - &80 + - *41 + - &81 name: team_slug description: The slug of the team name. in: path @@ -13889,11 +13936,11 @@ paths: description: Response content: application/json: - schema: *71 + schema: *72 examples: - default: *79 + default: *80 headers: - Link: *70 + Link: *71 '403': *29 x-github: githubCloudOnly: false @@ -13910,8 +13957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - - *40 - - *80 + - *41 + - *81 requestBody: required: true content: @@ -13976,11 +14023,11 @@ paths: description: Response content: application/json: - schema: *71 + schema: *72 examples: - default: *79 + default: *80 headers: - Link: *70 + Link: *71 '403': *29 x-github: githubCloudOnly: false @@ -14000,8 +14047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - - *40 - - *80 + - *41 + - *81 responses: '204': description: Response @@ -14039,7 +14086,7 @@ paths: application/json: schema: type: array - items: &114 + items: &115 title: Event description: Event type: object @@ -14049,7 +14096,7 @@ paths: type: type: string nullable: true - actor: &81 + actor: &82 title: Actor description: Actor type: object @@ -14089,7 +14136,7 @@ paths: - id - name - url - org: *81 + org: *82 payload: oneOf: - title: CreateEvent @@ -14135,7 +14182,7 @@ paths: properties: action: type: string - discussion: &810 + discussion: &811 title: Discussion description: A Discussion in a repository. type: object @@ -14422,7 +14469,7 @@ paths: - id labels: type: array - items: &87 + items: &88 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -14497,7 +14544,7 @@ paths: properties: action: type: string - issue: &88 + issue: &89 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -14615,7 +14662,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &294 + properties: &295 url: type: string format: uri @@ -14685,7 +14732,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &295 + required: &296 - closed_issues - creator - description @@ -14764,7 +14811,7 @@ paths: timeline_url: type: string format: uri - type: &257 + type: &258 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -14816,7 +14863,7 @@ paths: - node_id - name - description - repository: *82 + repository: *83 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -14827,9 +14874,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *83 - required: *84 - author_association: &85 + properties: *84 + required: *85 + author_association: &86 title: author_association type: string example: OWNER @@ -14844,7 +14891,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &86 + reactions: &87 title: Reaction Rollup type: object properties: @@ -14880,7 +14927,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &725 + sub_issues_summary: &726 title: Sub-issues Summary type: object properties: @@ -14905,7 +14952,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &89 + properties: &90 id: description: Unique identifier of the issue comment example: 42 @@ -14948,7 +14995,7 @@ paths: issue_url: type: string format: uri - author_association: *85 + author_association: *86 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -14959,9 +15006,9 @@ paths: class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 - reactions: *86 + properties: *84 + required: *85 + reactions: *87 pin: title: Pinned Issue Comment description: Context around who pinned an issue @@ -14997,7 +15044,7 @@ paths: required: &594 - reason nullable: true - required: &90 + required: &91 - id - node_id - html_url @@ -15007,7 +15054,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &726 + issue_dependencies_summary: &727 title: Issue Dependencies Summary type: object properties: @@ -15143,10 +15190,10 @@ paths: assignees: type: array items: *4 - label: *87 + label: *88 labels: type: array - items: *87 + items: *88 required: - action - issue @@ -15155,14 +15202,14 @@ paths: properties: action: type: string - issue: *88 + issue: *89 comment: &561 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 required: - action - issue @@ -15335,8 +15382,8 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true allow_forking: type: boolean @@ -15425,7 +15472,7 @@ paths: type: string number: type: integer - pull_request: &93 + pull_request: &94 title: Pull Request Minimal type: object properties: @@ -15496,10 +15543,10 @@ paths: assignees: type: array items: *4 - label: *87 + label: *88 labels: type: array - items: *87 + items: *88 required: - action - number @@ -15509,7 +15556,7 @@ paths: properties: action: type: string - pull_request: *93 + pull_request: *94 comment: type: object properties: @@ -15760,7 +15807,7 @@ paths: - pull_request updated_at: type: string - pull_request: *93 + pull_request: *94 required: - action - review @@ -15809,7 +15856,7 @@ paths: updated_at: type: string format: date-time - reactions: *86 + reactions: *87 required: - action - comment @@ -15820,7 +15867,7 @@ paths: type: string release: allOf: - - &638 + - &639 title: Release description: A release. type: object @@ -15891,7 +15938,7 @@ paths: author: *4 assets: type: array - items: &639 + items: &640 title: Release Asset description: Data related to a release. type: object @@ -15966,7 +16013,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *86 + reactions: *87 required: - assets_url - upload_url @@ -16056,9 +16103,9 @@ paths: before: 883efe034920928c47fe18598c01249d1a9fdabd public: true created_at: '2022-06-07T07:50:26Z' - '304': *37 + '304': *38 '403': *29 - '503': &122 + '503': &123 description: Service unavailable content: application/json: @@ -16151,7 +16198,7 @@ paths: _links: type: object properties: - timeline: &94 + timeline: &95 title: Link With Type description: Hypermedia Link with Type type: object @@ -16163,17 +16210,17 @@ paths: required: - href - type - user: *94 - security_advisories: *94 - current_user: *94 - current_user_public: *94 - current_user_actor: *94 - current_user_organization: *94 + user: *95 + security_advisories: *95 + current_user: *95 + current_user_public: *95 + current_user_actor: *95 + current_user_organization: *95 current_user_organizations: type: array - items: *94 - repository_discussions: *94 - repository_discussions_category: *94 + items: *95 + repository_discussions: *95 + repository_discussions_category: *95 required: - timeline - user @@ -16235,7 +16282,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *95 + - *96 - *17 - *19 responses: @@ -16245,7 +16292,7 @@ paths: application/json: schema: type: array - items: &96 + items: &97 title: Base Gist description: Base Gist type: object @@ -16344,7 +16391,7 @@ paths: - created_at - updated_at examples: - default: &97 + default: &98 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -16389,8 +16436,8 @@ paths: site_admin: false truncated: false headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -16465,7 +16512,7 @@ paths: description: Response content: application/json: - schema: &98 + schema: &99 title: Gist Simple description: Gist Simple type: object @@ -16482,7 +16529,7 @@ paths: url: type: string format: uri - user: &734 + user: &735 title: Public User description: Public User type: object @@ -16844,7 +16891,7 @@ paths: truncated: type: boolean examples: - default: &99 + default: &100 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -16926,7 +16973,7 @@ paths: schema: type: string '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -16948,7 +16995,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *95 + - *96 - *17 - *19 responses: @@ -16958,13 +17005,13 @@ paths: application/json: schema: type: array - items: *96 + items: *97 examples: - default: *97 + default: *98 headers: - Link: *70 + Link: *71 '422': *15 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -16982,7 +17029,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *95 + - *96 - *17 - *19 responses: @@ -16992,13 +17039,13 @@ paths: application/json: schema: type: array - items: *96 + items: *97 examples: - default: *97 + default: *98 headers: - Link: *70 + Link: *71 '401': *25 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -17021,7 +17068,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &100 + - &101 name: gist_id description: The unique identifier of the gist. in: path @@ -17033,10 +17080,10 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: *99 - '403': &103 + default: *100 + '403': &104 description: Forbidden Gist content: application/json: @@ -17058,7 +17105,7 @@ paths: documentation_url: type: string '404': *6 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17083,7 +17130,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *100 + - *101 requestBody: required: true content: @@ -17143,9 +17190,9 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - updateGist: *99 + updateGist: *100 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -17303,12 +17350,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *100 + - *101 responses: '204': description: Response '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -17331,7 +17378,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *100 + - *101 - *17 - *19 responses: @@ -17341,7 +17388,7 @@ paths: application/json: schema: type: array - items: &101 + items: &102 title: Gist Comment description: A comment made to a gist. type: object @@ -17376,7 +17423,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *85 + author_association: *86 required: - url - id @@ -17416,8 +17463,8 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 x-github: @@ -17440,7 +17487,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *100 + - *101 requestBody: required: true content: @@ -17465,9 +17512,9 @@ paths: description: Response content: application/json: - schema: *101 + schema: *102 examples: - default: &102 + default: &103 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -17500,7 +17547,7 @@ paths: example: https://api.github.com/gists/a6db0bec360bb87e9418/comments/1 schema: type: string - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -17524,8 +17571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *100 - - &104 + - *101 + - &105 name: comment_id description: The unique identifier of the comment. in: path @@ -17538,12 +17585,12 @@ paths: description: Response content: application/json: - schema: *101 + schema: *102 examples: - default: *102 - '304': *37 + default: *103 + '304': *38 '404': *6 - '403': *103 + '403': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17564,8 +17611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *100 - - *104 + - *101 + - *105 requestBody: required: true content: @@ -17590,9 +17637,9 @@ paths: description: Response content: application/json: - schema: *101 + schema: *102 examples: - default: *102 + default: *103 '404': *6 x-github: githubCloudOnly: false @@ -17609,12 +17656,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *100 - - *104 + - *101 + - *105 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -17633,7 +17680,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *100 + - *101 - *17 - *19 responses: @@ -17716,7 +17763,7 @@ paths: schema: type: string '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -17734,7 +17781,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *100 + - *101 - *17 - *19 responses: @@ -17744,7 +17791,7 @@ paths: application/json: schema: type: array - items: *98 + items: *99 examples: default: value: @@ -17790,9 +17837,9 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -17809,13 +17856,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *100 + - *101 responses: '201': description: Response content: application/json: - schema: *96 + schema: *97 examples: default: value: @@ -17868,7 +17915,7 @@ paths: type: string '404': *6 '422': *15 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -17886,7 +17933,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *100 + - *101 responses: '204': description: Response if gist is starred @@ -17898,7 +17945,7 @@ paths: type: object properties: {} additionalProperties: false - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -17916,12 +17963,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *100 + - *101 responses: '204': description: Response '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -17938,11 +17985,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *100 + - *101 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -17966,7 +18013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *100 + - *101 - name: sha in: path required: true @@ -17977,9 +18024,9 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: *99 + default: *100 '422': *15 '404': *6 '403': *29 @@ -18019,7 +18066,7 @@ paths: - Bancha - C - C++ - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18104,7 +18151,7 @@ paths: *.exe *.out *.app - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18140,7 +18187,7 @@ paths: type: array items: allOf: - - *82 + - *83 - type: object properties: custom_properties: @@ -18275,9 +18322,9 @@ paths: environment: production service: web headers: - Link: *70 + Link: *71 '403': *29 - '304': *37 + '304': *38 '401': *25 x-github: githubCloudOnly: false @@ -18359,7 +18406,7 @@ paths: - closed - all default: open - - &260 + - &261 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -18377,8 +18424,8 @@ paths: - updated - comments default: created - - *62 - - *95 + - *63 + - *96 - name: collab in: query required: false @@ -18408,9 +18455,9 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: &261 + default: &262 value: - id: 1 node_id: MDU6SXNzdWUx @@ -18655,9 +18702,9 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *70 + Link: *71 '422': *15 - '304': *37 + '304': *38 '404': *6 x-github: githubCloudOnly: false @@ -18694,8 +18741,8 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 examples: default: value: @@ -18734,7 +18781,7 @@ paths: spdx_id: GPL-3.0 url: https://api.github.com/licenses/gpl-3.0 node_id: MDc6TGljZW5zZW1pdA== - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18919,7 +18966,7 @@ paths: featured: true '403': *29 '404': *6 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18980,7 +19027,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &105 + X-CommonMarker-Version: &106 example: 0.17.4 schema: type: string @@ -18992,7 +19039,7 @@ paths: default: summary: Example response value: "

Hello world

" - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19035,7 +19082,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *105 + X-CommonMarker-Version: *106 content: text/html: schema: @@ -19044,7 +19091,7 @@ paths: default: summary: Example response value: "

Hello world

" - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19064,7 +19111,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &108 + - &109 name: account_id description: account_id parameter in: path @@ -19076,7 +19123,7 @@ paths: description: Response content: application/json: - schema: &107 + schema: &108 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -19106,7 +19153,7 @@ paths: nullable: true id: type: integer - plan: &106 + plan: &107 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -19195,7 +19242,7 @@ paths: nullable: true updated_at: type: string - plan: *106 + plan: *107 required: - url - id @@ -19203,7 +19250,7 @@ paths: - login - marketplace_purchase examples: - default: &109 + default: &110 value: url: https://api.github.com/orgs/github type: Organization @@ -19288,9 +19335,9 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: - default: &110 + default: &111 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -19308,7 +19355,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *70 + Link: *71 '404': *6 '401': *25 x-github: @@ -19330,14 +19377,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &111 + - &112 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &112 + - &113 name: sort description: The property to sort the results by. in: query @@ -19367,9 +19414,9 @@ paths: application/json: schema: type: array - items: *107 + items: *108 examples: - default: &113 + default: &114 value: - url: https://api.github.com/orgs/github type: Organization @@ -19420,7 +19467,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *70 + Link: *71 '404': *6 '422': *15 '401': *25 @@ -19443,15 +19490,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *108 + - *109 responses: '200': description: Response content: application/json: - schema: *107 + schema: *108 examples: - default: *109 + default: *110 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -19483,11 +19530,11 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: - default: *110 + default: *111 headers: - Link: *70 + Link: *71 '401': *25 x-github: githubCloudOnly: false @@ -19508,8 +19555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *111 - *112 + - *113 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -19529,11 +19576,11 @@ paths: application/json: schema: type: array - items: *107 + items: *108 examples: - default: *113 + default: *114 headers: - Link: *70 + Link: *71 '401': *25 x-github: githubCloudOnly: false @@ -19776,7 +19823,7 @@ paths: - "*.example.com" packages: - "*.example.com" - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19795,14 +19842,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &356 + - &357 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &357 + - &358 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -19819,7 +19866,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: default: value: @@ -19863,8 +19910,8 @@ paths: created_at: '2022-06-08T23:29:25Z' '404': *6 '403': *29 - '304': *37 - '301': &360 + '304': *38 + '301': &361 description: Moved permanently content: application/json: @@ -19903,7 +19950,7 @@ paths: schema: type: boolean default: false - - *95 + - *96 - &616 name: before description: 'Only show notifications updated before the given time. This @@ -19929,18 +19976,18 @@ paths: application/json: schema: type: array - items: &115 + items: &116 title: Thread description: Thread type: object properties: id: type: string - repository: &163 + repository: &164 title: Minimal Repository description: Minimal Repository type: object - properties: &226 + properties: &227 id: type: integer format: int64 @@ -20196,7 +20243,7 @@ paths: type: integer network_count: type: integer - code_of_conduct: *38 + code_of_conduct: *39 license: type: object properties: @@ -20226,7 +20273,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &312 + security_and_analysis: &313 nullable: true type: object properties: @@ -20346,7 +20393,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &227 + required: &228 - archive_url - assignees_url - blobs_url @@ -20516,8 +20563,8 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -20581,7 +20628,7 @@ paths: Notifications are being marked as read in the background. '205': description: Reset Content - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -20600,7 +20647,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &116 + - &117 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 @@ -20614,7 +20661,7 @@ paths: description: Response content: application/json: - schema: *115 + schema: *116 examples: default: value: @@ -20697,7 +20744,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': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -20716,11 +20763,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *116 + - *117 responses: '205': description: Reset Content - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -20738,7 +20785,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *116 + - *117 responses: '204': description: No content @@ -20761,13 +20808,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *116 + - *117 responses: '200': description: Response content: application/json: - schema: &117 + schema: &118 title: Thread Subscription description: Thread Subscription type: object @@ -20804,7 +20851,7 @@ paths: - url - subscribed examples: - default: &118 + default: &119 value: subscribed: true ignored: false @@ -20812,7 +20859,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': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -20835,7 +20882,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *116 + - *117 requestBody: required: false content: @@ -20856,10 +20903,10 @@ paths: description: Response content: application/json: - schema: *117 + schema: *118 examples: - default: *118 - '304': *37 + default: *119 + '304': *38 '403': *29 '401': *25 x-github: @@ -20881,11 +20928,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *116 + - *117 responses: '204': description: Response - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -20976,15 +21023,15 @@ paths: application/json: schema: type: array - items: *76 + items: *77 examples: - default: *119 + default: *120 headers: Link: example: ; rel="next" schema: type: string - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21005,13 +21052,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &120 + schema: &121 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -21022,7 +21069,7 @@ paths: type: integer example: 14 examples: - default: *42 + default: *43 '403': *29 '404': *6 x-github: @@ -21044,14 +21091,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: application/json: - schema: *120 + schema: *121 examples: - selected_actions: *42 + selected_actions: *43 responses: '204': description: Response @@ -21078,13 +21125,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &121 + schema: &122 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -21095,7 +21142,7 @@ paths: type: integer example: 10 examples: - default: *44 + default: *45 '403': *29 '404': *6 x-github: @@ -21117,14 +21164,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: application/json: - schema: *121 + schema: *122 examples: - selected_actions: *44 + selected_actions: *45 responses: '204': description: Response @@ -21150,8 +21197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-organization parameters: - - *78 - - &124 + - *79 + - &125 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, @@ -21160,7 +21207,7 @@ paths: required: false schema: type: integer - - &125 + - &126 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 @@ -21169,7 +21216,7 @@ paths: required: false schema: type: integer - - &126 + - &127 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 @@ -21178,21 +21225,21 @@ paths: required: false schema: type: integer - - &127 + - &128 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &128 + - &129 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &129 + - &130 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -21308,8 +21355,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21328,7 +21375,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *78 + - *79 - name: page description: The page number of the results to fetch. in: query @@ -21561,7 +21608,7 @@ paths: total_count: 2 '404': *6 '403': *29 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21579,7 +21626,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#create-a-budget-for-an-organization parameters: - - *78 + - *79 requestBody: required: false content: @@ -21808,8 +21855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *78 - - &123 + - *79 + - &124 name: budget_id description: The ID corresponding to the budget. in: path @@ -21913,8 +21960,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21931,8 +21978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *78 - - *123 + - *79 + - *124 requestBody: required: true content: @@ -22161,8 +22208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *78 - - *123 + - *79 + - *124 responses: '200': description: Response when deleting a budget @@ -22188,8 +22235,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22209,13 +22256,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *78 - - *124 + - *79 - *125 - *126 - *127 - *128 - *129 + - *130 responses: '200': description: Response when getting a billing premium request usage report @@ -22325,8 +22372,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22346,9 +22393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *78 - - *124 - - &786 + - *79 + - *125 + - &787 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 @@ -22357,7 +22404,7 @@ paths: required: false schema: type: integer - - *126 + - *127 responses: '200': description: Billing usage report response for an organization @@ -22432,8 +22479,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22456,19 +22503,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *78 - - *124 + - *79 - *125 - *126 - - &787 + - *127 + - &788 name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *129 - - &788 + - *130 + - &789 name: sku description: The SKU to query for usage. in: query @@ -22578,8 +22625,8 @@ paths: netAmount: 8.0 '400': *14 '403': *29 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22605,13 +22652,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &130 + schema: &131 title: Organization Full description: Organization Full type: object @@ -22930,7 +22977,7 @@ paths: - updated_at - archived_at examples: - default-response: &131 + default-response: &132 value: login: github id: 1 @@ -23030,7 +23077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *78 + - *79 requestBody: required: false content: @@ -23246,18 +23293,18 @@ paths: description: Response content: application/json: - schema: *130 + schema: *131 examples: - default: *131 + default: *132 '422': description: Validation failed content: application/json: schema: oneOf: - - *132 - *133 - '409': *54 + - *134 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23280,9 +23327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *78 + - *79 responses: - '202': *39 + '202': *40 '404': *6 '403': *29 x-github: @@ -23305,7 +23352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -23331,7 +23378,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23352,7 +23399,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: - - *78 + - *79 - *17 - *19 responses: @@ -23370,7 +23417,7 @@ paths: type: integer repository_cache_usages: type: array - items: &367 + items: &368 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -23405,7 +23452,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23425,7 +23472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *78 + - *79 - *17 - *19 responses: @@ -23443,7 +23490,7 @@ paths: type: integer runners: type: array - items: &134 + items: &135 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -23497,7 +23544,7 @@ paths: - display_name - source nullable: true - machine_size_details: &142 + machine_size_details: &143 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -23593,7 +23640,7 @@ paths: - public_ip_enabled - platform examples: - default: &162 + default: &163 value: total_count: 2 runners: @@ -23635,7 +23682,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23653,7 +23700,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -23730,9 +23777,9 @@ paths: description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: &143 + default: &144 value: id: 5 name: My hosted ubuntu runner @@ -23773,7 +23820,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -23789,7 +23836,7 @@ paths: type: integer images: type: array - items: &135 + items: &136 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -23840,7 +23887,7 @@ paths: - latest_version - state examples: - default: &137 + default: &138 value: total_count: 2 image_versions: @@ -23871,8 +23918,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: - - *78 - - &136 + - *79 + - &137 name: image_definition_id description: Image definition ID of custom image in: path @@ -23884,7 +23931,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *136 examples: default: value: @@ -23914,8 +23961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *78 - - *136 + - *79 + - *137 responses: '204': description: Response @@ -23938,8 +23985,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: - - *136 - - *78 + - *137 + - *79 responses: '200': description: Response @@ -23955,7 +24002,7 @@ paths: type: integer image_versions: type: array - items: &138 + items: &139 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -23988,7 +24035,7 @@ paths: - created_on - state_details examples: - default: *137 + default: *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24008,9 +24055,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: - - *78 - - *136 - - &139 + - *79 + - *137 + - &140 name: version description: Version of a custom image in: path @@ -24023,7 +24070,7 @@ paths: description: Response content: application/json: - schema: *138 + schema: *139 examples: default: value: @@ -24049,9 +24096,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: - - *78 - - *136 - - *139 + - *79 + - *137 + - *140 responses: '204': description: Response @@ -24072,7 +24119,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: - - *78 + - *79 responses: '200': description: Response @@ -24088,7 +24135,7 @@ paths: type: integer images: type: array - items: &140 + items: &141 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -24124,7 +24171,7 @@ paths: - display_name - source examples: - default: &141 + default: &142 value: id: ubuntu-20.04 platform: linux-x64 @@ -24148,7 +24195,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: - - *78 + - *79 responses: '200': description: Response @@ -24164,9 +24211,9 @@ paths: type: integer images: type: array - items: *140 + items: *141 examples: - default: *141 + default: *142 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24183,7 +24230,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: - - *78 + - *79 responses: '200': description: Response @@ -24236,7 +24283,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: - - *78 + - *79 responses: '200': description: Response @@ -24252,7 +24299,7 @@ paths: type: integer machine_specs: type: array - items: *142 + items: *143 examples: default: value: @@ -24277,7 +24324,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: - - *78 + - *79 responses: '200': description: Response @@ -24321,8 +24368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *78 - - &144 + - *79 + - &145 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -24334,11 +24381,11 @@ paths: description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: *143 + default: *144 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24356,8 +24403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *78 - - *144 + - *79 + - *145 requestBody: required: true content: @@ -24423,9 +24470,9 @@ paths: description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: *143 + default: *144 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -24441,16 +24488,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *78 - - *144 + - *79 + - *145 responses: '202': description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: *143 + default: *144 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24470,7 +24517,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *78 + - *79 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -24478,7 +24525,7 @@ paths: application/json: schema: type: array - items: *45 + items: *46 examples: default: value: @@ -24503,22 +24550,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: application/json: - schema: *145 + schema: *146 examples: - default: *46 + default: *47 responses: '201': description: OIDC custom property inclusion created content: application/json: - schema: *45 + schema: *46 examples: - default: *46 + default: *47 '400': description: Invalid input '403': *29 @@ -24542,7 +24589,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *78 + - *79 - name: custom_property_name in: path required: true @@ -24575,7 +24622,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: - - *78 + - *79 responses: '200': description: A JSON serialized template for OIDC subject claim customization @@ -24601,7 +24648,7 @@ paths: required: - include_claim_keys examples: - default: &146 + default: &147 value: include_claim_keys: - repo @@ -24623,7 +24670,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: - - *78 + - *79 requestBody: required: true content: @@ -24646,13 +24693,13 @@ paths: format. type: boolean examples: - default: *146 + default: *147 responses: '201': description: Empty response content: application/json: - schema: &172 + schema: &173 title: Empty Object description: An object without any properties. type: object @@ -24682,7 +24729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -24691,7 +24738,7 @@ paths: schema: type: object properties: - enabled_repositories: &147 + enabled_repositories: &148 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -24704,7 +24751,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: &148 + allowed_actions: &149 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -24712,12 +24759,12 @@ paths: - all - local_only - selected - selected_actions_url: &372 + selected_actions_url: &373 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: &149 + sha_pinning_required: &150 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -24748,7 +24795,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *78 + - *79 responses: '204': description: Response @@ -24759,9 +24806,9 @@ paths: schema: type: object properties: - enabled_repositories: *147 - allowed_actions: *148 - sha_pinning_required: *149 + enabled_repositories: *148 + allowed_actions: *149 + sha_pinning_required: *150 required: - enabled_repositories examples: @@ -24789,13 +24836,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &376 + schema: &377 type: object properties: days: @@ -24832,12 +24879,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: application/json: - schema: &377 + schema: &378 type: object properties: days: @@ -24854,7 +24901,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 x-github: enabledForGitHubApps: true @@ -24874,13 +24921,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &150 + schema: &151 type: object properties: approval_policy: @@ -24894,7 +24941,7 @@ paths: required: - approval_policy examples: - default: &378 + default: &379 value: approval_policy: first_time_contributors '404': *6 @@ -24915,7 +24962,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *78 + - *79 responses: '204': description: Response @@ -24925,7 +24972,7 @@ paths: required: true content: application/json: - schema: *150 + schema: *151 examples: default: summary: Set approval policy to first time contributors @@ -24947,13 +24994,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: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &379 + schema: &380 type: object required: - run_workflows_from_fork_pull_requests @@ -24979,7 +25026,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &151 + default: &152 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -25002,12 +25049,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: - - *78 + - *79 requestBody: required: true content: application/json: - schema: &380 + schema: &381 type: object required: - run_workflows_from_fork_pull_requests @@ -25030,7 +25077,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *151 + default: *152 responses: '204': description: Empty response for successful settings update @@ -25060,7 +25107,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: - - *78 + - *79 - *17 - *19 responses: @@ -25078,9 +25125,9 @@ paths: type: number repositories: type: array - items: *82 + items: *83 examples: - default: &155 + default: &156 value: total_count: 1 repositories: @@ -25220,7 +25267,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: - - *78 + - *79 responses: '204': description: Response @@ -25264,8 +25311,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: - - *78 - - &152 + - *79 + - &153 name: repository_id description: The unique identifier of the repository. in: path @@ -25293,8 +25340,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: Response @@ -25317,13 +25364,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &153 + schema: &154 type: object properties: github_owned_allowed: @@ -25345,7 +25392,7 @@ paths: items: type: string examples: - default: &154 + default: &155 value: github_owned_allowed: true verified_allowed: false @@ -25370,7 +25417,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *78 + - *79 responses: '204': description: Response @@ -25378,9 +25425,9 @@ paths: required: false content: application/json: - schema: *153 + schema: *154 examples: - selected_actions: *154 + selected_actions: *155 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -25400,7 +25447,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -25448,7 +25495,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -25475,7 +25522,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 x-github: enabledForGitHubApps: true @@ -25495,7 +25542,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: - - *78 + - *79 - *17 - *19 responses: @@ -25510,9 +25557,9 @@ paths: type: integer repositories: type: array - items: *82 + items: *83 examples: - default: *155 + default: *156 '403': *29 '404': *6 x-github: @@ -25532,7 +25579,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: - - *78 + - *79 requestBody: required: true content: @@ -25580,14 +25627,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: No content '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 x-github: enabledForGitHubApps: true @@ -25607,14 +25654,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: No content '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 x-github: enabledForGitHubApps: true @@ -25636,23 +25683,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &381 + schema: &382 type: object properties: - default_workflow_permissions: &156 + default_workflow_permissions: &157 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &157 + can_approve_pull_request_reviews: &158 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -25660,7 +25707,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &158 + default: &159 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -25685,7 +25732,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *78 + - *79 responses: '204': description: Success response @@ -25693,13 +25740,13 @@ paths: required: false content: application/json: - schema: &382 + schema: &383 type: object properties: - default_workflow_permissions: *156 - can_approve_pull_request_reviews: *157 + default_workflow_permissions: *157 + can_approve_pull_request_reviews: *158 examples: - default: *158 + default: *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25719,7 +25766,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: - - *78 + - *79 - *17 - *19 - name: visible_to_repository @@ -25744,7 +25791,7 @@ paths: type: number runner_groups: type: array - items: &159 + items: &160 type: object properties: id: @@ -25860,7 +25907,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: - - *78 + - *79 requestBody: required: true content: @@ -25932,9 +25979,9 @@ paths: description: Response content: application/json: - schema: *159 + schema: *160 examples: - default: &161 + default: &162 value: id: 2 name: octo-runner-group @@ -25969,8 +26016,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: - - *78 - - &160 + - *79 + - &161 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -25982,7 +26029,7 @@ paths: description: Response content: application/json: - schema: *159 + schema: *160 examples: default: value: @@ -26018,8 +26065,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: - - *78 - - *160 + - *79 + - *161 requestBody: required: true content: @@ -26073,9 +26120,9 @@ paths: description: Response content: application/json: - schema: *159 + schema: *160 examples: - default: *161 + default: *162 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26094,8 +26141,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: - - *78 - - *160 + - *79 + - *161 responses: '204': description: Response @@ -26118,8 +26165,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: - - *78 - - *160 + - *79 + - *161 - *17 - *19 responses: @@ -26137,11 +26184,11 @@ paths: type: number runners: type: array - items: *134 + items: *135 examples: - default: *162 + default: *163 headers: - Link: *70 + Link: *71 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26161,8 +26208,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: - - *78 - - *160 + - *79 + - *161 - *19 - *17 responses: @@ -26180,9 +26227,9 @@ paths: type: number repositories: type: array - items: *163 + items: *164 examples: - default: &211 + default: &212 value: total_count: 1 repositories: @@ -26434,8 +26481,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: - - *78 - - *160 + - *79 + - *161 requestBody: required: true content: @@ -26479,9 +26526,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: - - *78 - - *160 - - *152 + - *79 + - *161 + - *153 responses: '204': description: Response @@ -26503,9 +26550,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: - - *78 - - *160 - - *152 + - *79 + - *161 + - *153 responses: '204': description: Response @@ -26528,8 +26575,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: - - *78 - - *160 + - *79 + - *161 - *17 - *19 responses: @@ -26547,7 +26594,7 @@ paths: type: number runners: type: array - items: &165 + items: &166 title: Self hosted runners description: A self hosted runner type: object @@ -26576,7 +26623,7 @@ paths: type: boolean labels: type: array - items: &168 + items: &169 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -26613,7 +26660,7 @@ paths: - busy - labels examples: - default: &166 + default: &167 value: total_count: 2 runners: @@ -26655,7 +26702,7 @@ paths: name: no-gpu type: custom headers: - Link: *70 + Link: *71 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26674,8 +26721,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: - - *78 - - *160 + - *79 + - *161 requestBody: required: true content: @@ -26719,9 +26766,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: - - *78 - - *160 - - &164 + - *79 + - *161 + - &165 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -26749,9 +26796,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: - - *78 - - *160 - - *164 + - *79 + - *161 + - *165 responses: '204': description: Response @@ -26781,7 +26828,7 @@ paths: in: query schema: type: string - - *78 + - *79 - *17 - *19 responses: @@ -26799,11 +26846,11 @@ paths: type: integer runners: type: array - items: *165 + items: *166 examples: - default: *166 + default: *167 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26825,7 +26872,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -26833,7 +26880,7 @@ paths: application/json: schema: type: array - items: &383 + items: &384 title: Runner Application description: Runner Application type: object @@ -26858,7 +26905,7 @@ paths: - download_url - filename examples: - default: &384 + default: &385 value: - os: osx architecture: x64 @@ -26901,7 +26948,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: - - *78 + - *79 requestBody: required: true content: @@ -26944,7 +26991,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &385 + '201': &386 description: Response content: application/json: @@ -26954,7 +27001,7 @@ paths: - runner - encoded_jit_config properties: - runner: *165 + runner: *166 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -26983,7 +27030,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27011,13 +27058,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *78 + - *79 responses: '201': description: Response content: application/json: - schema: &167 + schema: &168 title: Authentication Token description: Authentication Token type: object @@ -27039,7 +27086,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *82 + items: *83 single_file: type: string example: config.yaml @@ -27055,7 +27102,7 @@ paths: - token - expires_at examples: - default: &386 + default: &387 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -27086,15 +27133,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *78 + - *79 responses: '201': description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: &387 + default: &388 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -27119,16 +27166,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: - - *78 - - *164 + - *79 + - *165 responses: '200': description: Response content: application/json: - schema: *165 + schema: *166 examples: - default: &388 + default: &389 value: id: 23 name: MBP @@ -27170,8 +27217,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: - - *78 - - *164 + - *79 + - *165 responses: '204': description: Response @@ -27197,10 +27244,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: - - *78 - - *164 + - *79 + - *165 responses: - '200': &169 + '200': &170 description: Response content: application/json: @@ -27214,7 +27261,7 @@ paths: type: integer labels: type: array - items: *168 + items: *169 examples: default: value: @@ -27253,8 +27300,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: - - *78 - - *164 + - *79 + - *165 requestBody: required: true content: @@ -27278,7 +27325,7 @@ paths: - gpu - accelerated responses: - '200': *169 + '200': *170 '404': *6 '422': *7 x-github: @@ -27302,8 +27349,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: - - *78 - - *164 + - *79 + - *165 requestBody: required: true content: @@ -27328,7 +27375,7 @@ paths: - gpu - accelerated responses: - '200': *169 + '200': *170 '404': *6 '422': *7 x-github: @@ -27352,10 +27399,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: - - *78 - - *164 + - *79 + - *165 responses: - '200': &389 + '200': &390 description: Response content: application/json: @@ -27369,7 +27416,7 @@ paths: type: integer labels: type: array - items: *168 + items: *169 examples: default: value: @@ -27410,9 +27457,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: - - *78 - - *164 - - &390 + - *79 + - *165 + - &391 name: name description: The name of a self-hosted runner's custom label. in: path @@ -27420,7 +27467,7 @@ paths: schema: type: string responses: - '200': *169 + '200': *170 '404': *6 '422': *7 x-github: @@ -27445,7 +27492,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *78 + - *79 - *17 - *19 responses: @@ -27463,7 +27510,7 @@ paths: type: integer secrets: type: array - items: &170 + items: &171 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -27495,7 +27542,7 @@ paths: - updated_at - visibility examples: - default: &176 + default: &177 value: total_count: 3 secrets: @@ -27513,7 +27560,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27536,13 +27583,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &177 + schema: &178 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -27571,7 +27618,7 @@ paths: - key_id - key examples: - default: &178 + default: &179 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27596,8 +27643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *78 - - &171 + - *79 + - &172 name: secret_name description: The name of the secret. in: path @@ -27609,9 +27656,9 @@ paths: description: Response content: application/json: - schema: *170 + schema: *171 examples: - default: &179 + default: &180 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27639,8 +27686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -27697,7 +27744,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -27723,8 +27770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '204': description: Response @@ -27750,8 +27797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - *19 - *17 responses: @@ -27769,9 +27816,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: &175 + default: &176 value: total_count: 1 repositories: @@ -27863,8 +27910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -27916,8 +27963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -27950,8 +27997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -27983,8 +28030,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *78 - - &180 + - *79 + - &181 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)." @@ -28008,7 +28055,7 @@ paths: type: integer variables: type: array - items: &173 + items: &174 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -28051,7 +28098,7 @@ paths: - updated_at - visibility examples: - default: &181 + default: &182 value: total_count: 3 variables: @@ -28072,7 +28119,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28093,7 +28140,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *78 + - *79 requestBody: required: true content: @@ -28141,7 +28188,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -28166,8 +28213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *78 - - &174 + - *79 + - &175 name: name description: The name of the variable. in: path @@ -28179,9 +28226,9 @@ paths: description: Response content: application/json: - schema: *173 + schema: *174 examples: - default: &182 + default: &183 value: name: USERNAME value: octocat @@ -28209,8 +28256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 requestBody: required: true content: @@ -28272,8 +28319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 responses: '204': description: Response @@ -28299,8 +28346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 - *19 - *17 responses: @@ -28318,9 +28365,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *175 + default: *176 '409': description: Response when the visibility of the variable is not set to `selected` @@ -28346,8 +28393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 requestBody: required: true content: @@ -28396,8 +28443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 - name: repository_id in: path required: true @@ -28431,8 +28478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 - name: repository_id in: path required: true @@ -28466,7 +28513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-organization-secrets parameters: - - *78 + - *79 - *17 - *19 responses: @@ -28484,11 +28531,11 @@ paths: type: integer secrets: type: array - items: *170 + items: *171 examples: - default: *176 + default: *177 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28511,15 +28558,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-an-organization-public-key parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28541,16 +28588,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '200': description: Response content: application/json: - schema: *170 + schema: *171 examples: - default: *179 + default: *180 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28572,8 +28619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -28630,7 +28677,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -28656,8 +28703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '204': description: Response @@ -28683,8 +28730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - *19 - *17 responses: @@ -28702,9 +28749,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *175 + default: *176 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28727,8 +28774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -28780,8 +28827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -28814,8 +28861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -28848,8 +28895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-organization-variables parameters: - - *78 - - *180 + - *79 + - *181 - *19 responses: '200': @@ -28866,11 +28913,11 @@ paths: type: integer variables: type: array - items: *173 + items: *174 examples: - default: *181 + default: *182 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28891,7 +28938,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-an-organization-variable parameters: - - *78 + - *79 requestBody: required: true content: @@ -28939,7 +28986,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -28964,16 +29011,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 responses: '200': description: Response content: application/json: - schema: *173 + schema: *174 examples: - default: *182 + default: *183 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28994,8 +29041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 requestBody: required: true content: @@ -29057,8 +29104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 responses: '204': description: Response @@ -29084,8 +29131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 - *19 - *17 responses: @@ -29103,9 +29150,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *175 + default: *176 '409': description: Response when the visibility of the variable is not set to `selected` @@ -29131,8 +29178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 requestBody: required: true content: @@ -29181,8 +29228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 - name: repository_id in: path required: true @@ -29216,8 +29263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 - name: repository_id in: path required: true @@ -29258,7 +29305,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *78 + - *79 requestBody: required: true content: @@ -29381,7 +29428,7 @@ paths: type: integer deployment_records: type: array - items: &183 + items: &184 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -29427,7 +29474,7 @@ paths: required: - total_count examples: - default: &184 + default: &185 value: total_count: 1 deployment_records: @@ -29468,7 +29515,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *78 + - *79 - name: cluster in: path description: The cluster name. @@ -29567,6 +29614,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 @@ -29607,11 +29662,109 @@ paths: type: integer deployment_records: type: array - items: *183 + items: *184 + required: + - total_count + examples: + default: *185 + '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: *184 + 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 + nullable: true + description: The version of the deployment. + status: + type: string + description: The deployment status. + github_repository: + type: string + nullable: true + 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: *184 + 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: @@ -29658,7 +29811,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *78 + - *79 requestBody: required: true content: @@ -29825,7 +29978,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *78 + - *79 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -29850,9 +30003,9 @@ paths: type: integer deployment_records: type: array - items: *183 + items: *184 examples: - default: *184 + default: *185 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29872,7 +30025,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *78 + - *79 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -29955,9 +30108,9 @@ paths: url: https://docs.github.com/rest/orgs/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *47 - *48 - - *78 + - *49 + - *79 requestBody: required: true content: @@ -29981,12 +30134,12 @@ paths: required: - subject_digests examples: - default: &767 + default: &768 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &768 + withPredicateType: &769 value: subject_digests: - sha256:abc123 @@ -30044,7 +30197,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &769 + default: &770 value: attestations_subject_digests: - sha256:abc: @@ -30153,7 +30306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *78 + - *79 requestBody: required: true content: @@ -30218,7 +30371,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *78 + - *79 - name: subject_digest description: Subject Digest in: path @@ -30251,9 +30404,9 @@ paths: url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories parameters: - *17 - - *47 - *48 - - *78 + - *49 + - *79 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -30301,7 +30454,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *78 + - *79 - name: attestation_id description: Attestation ID in: path @@ -30337,9 +30490,9 @@ paths: url: https://docs.github.com/rest/orgs/attestations#list-attestations parameters: - *17 - - *47 - *48 - - *78 + - *49 + - *79 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -30394,7 +30547,7 @@ paths: initiator: type: string examples: - default: &416 + default: &417 value: attestations: - bundle: @@ -30501,7 +30654,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *78 + - *79 - *17 - *19 responses: @@ -30513,7 +30666,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30532,8 +30685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: If the user is blocked @@ -30558,8 +30711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -30579,8 +30732,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -30605,15 +30758,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *78 + - *79 - *19 - *17 - - *62 + - *63 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &185 + schema: &186 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -30639,7 +30792,7 @@ paths: application/json: schema: type: array - items: &186 + items: &187 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -30670,7 +30823,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &210 + items: &211 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -30756,7 +30909,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &272 + properties: &273 id: description: Unique identifier of the team type: integer @@ -30828,7 +30981,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &273 + required: &274 - id - node_id - url @@ -30871,7 +31024,7 @@ paths: type: string format: date-time nullable: true - state: *185 + state: *186 contact_link: description: The contact link of the campaign. type: string @@ -30966,9 +31119,9 @@ paths: closed_at: state: open headers: - Link: *70 + Link: *71 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30992,7 +31145,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -31091,9 +31244,9 @@ paths: description: Response content: application/json: - schema: *186 + schema: *187 examples: - default: &187 + default: &188 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -31142,7 +31295,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31164,7 +31317,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *78 + - *79 - name: campaign_number description: The campaign number. in: path @@ -31176,16 +31329,16 @@ paths: description: Response content: application/json: - schema: *186 + schema: *187 examples: - default: *187 + default: *188 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31206,7 +31359,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *78 + - *79 - name: campaign_number description: The campaign number. in: path @@ -31255,7 +31408,7 @@ paths: type: string format: uri nullable: true - state: *185 + state: *186 examples: default: value: @@ -31265,9 +31418,9 @@ paths: description: Response content: application/json: - schema: *186 + schema: *187 examples: - default: *187 + default: *188 '400': description: Bad Request content: @@ -31279,7 +31432,7 @@ paths: content: application/json: schema: *3 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31300,7 +31453,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *78 + - *79 - name: campaign_number description: The campaign number. in: path @@ -31311,7 +31464,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31333,18 +31486,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *78 - - &443 + - *79 + - &444 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: &195 + schema: &196 type: string description: The name of the tool used to generate the code scanning analysis. - - &444 + - &445 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 @@ -31352,22 +31505,22 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &196 + schema: &197 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *47 - *48 + - *49 - *19 - *17 - - *62 + - *63 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &446 + schema: &447 type: string description: State of a code scanning alert. enum: @@ -31390,7 +31543,7 @@ paths: be returned. in: query required: false - schema: &447 + schema: &448 type: string description: Severity of a code scanning alert. enum: @@ -31419,18 +31572,18 @@ paths: items: type: object properties: - number: *188 - created_at: *189 - updated_at: *190 - url: *191 - html_url: *192 - instances_url: &448 + number: *189 + created_at: *190 + updated_at: *191 + url: *192 + html_url: *193 + instances_url: &449 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &197 + state: &198 type: string description: State of a code scanning alert. nullable: true @@ -31438,7 +31591,7 @@ paths: - open - dismissed - fixed - fixed_at: *193 + fixed_at: *194 dismissed_by: title: Simple User description: A GitHub user. @@ -31446,8 +31599,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *194 - dismissed_reason: &449 + dismissed_at: *195 + dismissed_reason: &450 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -31456,13 +31609,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &450 + dismissed_comment: &451 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &451 + rule: &452 type: object properties: id: @@ -31515,42 +31668,42 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &452 + tool: &453 type: object properties: - name: *195 + name: *196 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *196 - most_recent_instance: &453 + guid: *197 + most_recent_instance: &454 type: object properties: - ref: &445 + ref: &446 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &463 + analysis_key: &464 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: &464 + environment: &465 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: &465 + category: &466 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: *197 + state: *198 commit_sha: type: string message: @@ -31564,7 +31717,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: &466 + location: &467 type: object description: Describe a region within a file for the alert. properties: @@ -31585,7 +31738,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: &467 + items: &468 type: string description: A classification of the file. For example to identify it as generated. @@ -31595,7 +31748,7 @@ paths: - generated - test - library - repository: *67 + repository: *68 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -31850,9 +32003,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: *70 + Link: *71 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31874,7 +32027,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *78 + - *79 - name: target_type in: query description: The target type of the code security configuration @@ -31893,8 +32046,8 @@ paths: schema: type: integer default: 30 - - *47 - *48 + - *49 responses: '200': description: Response @@ -31902,7 +32055,7 @@ paths: application/json: schema: type: array - items: *49 + items: *50 examples: default: value: @@ -31980,7 +32133,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *78 + - *79 requestBody: required: true content: @@ -32067,7 +32220,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *53 + code_scanning_options: *54 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -32076,7 +32229,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *52 + code_scanning_default_setup_options: *53 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -32221,9 +32374,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *49 + schema: *50 examples: - default: *198 + default: *199 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32245,16 +32398,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *199 + schema: *200 examples: - default: *200 - '304': *37 + default: *201 + '304': *38 '403': *29 '404': *6 x-github: @@ -32279,7 +32432,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *78 + - *79 requestBody: required: true content: @@ -32307,11 +32460,11 @@ paths: - 32 - 91 responses: - '204': *61 + '204': *60 '400': *14 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32333,17 +32486,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *78 - - *51 + - *79 + - *52 responses: '200': description: Response content: application/json: - schema: *49 + schema: *50 examples: - default: *198 - '304': *37 + default: *199 + '304': *38 '403': *29 '404': *6 x-github: @@ -32366,8 +32519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *78 - - *51 + - *79 + - *52 requestBody: required: true content: @@ -32454,8 +32607,8 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *52 - code_scanning_options: *53 + code_scanning_default_setup_options: *53 + code_scanning_options: *54 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -32587,7 +32740,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *49 + schema: *50 examples: default: value: @@ -32646,14 +32799,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *78 - - *51 + - *79 + - *52 responses: - '204': *61 + '204': *60 '400': *14 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32677,8 +32830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *78 - - *51 + - *79 + - *52 requestBody: required: true content: @@ -32717,7 +32870,7 @@ paths: - 32 - 91 responses: - '202': *39 + '202': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32741,8 +32894,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: - - *78 - - *51 + - *79 + - *52 requestBody: required: true content: @@ -32782,12 +32935,12 @@ paths: - none - private_and_internal - public - configuration: *49 + configuration: *50 examples: default: value: default_for_new_repos: all - configuration: *198 + configuration: *199 '403': *29 '404': *6 x-github: @@ -32811,8 +32964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *78 - - *51 + - *79 + - *52 - 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)." @@ -32821,8 +32974,8 @@ paths: schema: type: integer default: 30 - - *47 - *48 + - *49 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -32840,13 +32993,13 @@ paths: application/json: schema: type: array - items: *201 + items: *202 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *202 + repository: *203 '403': *29 '404': *6 x-github: @@ -32870,7 +33023,7 @@ paths: parameters: - *17 - *19 - - *78 + - *79 responses: '200': description: Response @@ -32886,7 +33039,7 @@ paths: type: integer codespaces: type: array - items: &262 + items: &263 type: object title: Codespace description: A codespace. @@ -32911,12 +33064,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *163 + repository: *164 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &479 + properties: &480 name: type: string description: The name of the machine. @@ -32958,7 +33111,7 @@ paths: - ready - in_progress nullable: true - required: &480 + required: &481 - name - display_name - operating_system @@ -33163,7 +33316,7 @@ paths: - pulls_url - recent_folders examples: - default: &263 + default: &264 value: total_count: 3 codespaces: @@ -33572,8 +33725,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': *37 - '500': *55 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -33595,7 +33748,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *78 + - *79 deprecated: true requestBody: required: true @@ -33634,12 +33787,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *37 + '304': *38 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33662,7 +33815,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *78 + - *79 deprecated: true requestBody: required: true @@ -33689,12 +33842,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *37 + '304': *38 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33717,7 +33870,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *78 + - *79 requestBody: required: true content: @@ -33743,12 +33896,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *37 + '304': *38 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33769,7 +33922,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *78 + - *79 - *17 - *19 responses: @@ -33787,7 +33940,7 @@ paths: type: integer secrets: type: array - items: &203 + items: &204 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -33826,7 +33979,7 @@ paths: - updated_at - visibility examples: - default: &481 + default: &482 value: total_count: 2 secrets: @@ -33839,7 +33992,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33858,13 +34011,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &482 + schema: &483 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -33893,7 +34046,7 @@ paths: - key_id - key examples: - default: &483 + default: &484 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33916,23 +34069,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '200': description: Response content: application/json: - schema: *203 + schema: *204 examples: - default: &485 + default: &486 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33952,8 +34105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -34008,7 +34161,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -34034,8 +34187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '204': description: Response @@ -34060,8 +34213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - *19 - *17 responses: @@ -34079,9 +34232,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *175 + default: *176 '404': *6 x-github: githubCloudOnly: false @@ -34103,8 +34256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -34154,8 +34307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -34188,8 +34341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -34225,7 +34378,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#list-organization-copilot-spaces parameters: - - *78 + - *79 - name: per_page description: The number of results per page (max 100). in: query @@ -34259,7 +34412,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &204 + items: &205 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -34307,7 +34460,7 @@ paths: owner: anyOf: - *4 - - *76 + - *77 description: The user or organization that owns this space. creator: *4 created_at: @@ -34522,7 +34675,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: *70 + Link: *71 '403': *29 '404': *6 x-github: @@ -34546,7 +34699,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#create-an-organization-copilot-space parameters: - - *78 + - *79 requestBody: required: true content: @@ -34640,9 +34793,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: &205 + default: &206 summary: Example response for an organization copilot space value: id: 84 @@ -34735,7 +34888,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#get-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -34747,9 +34900,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: *205 + default: *206 '403': *29 '404': *6 x-github: @@ -34773,7 +34926,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#set-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -34875,9 +35028,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: *205 + default: *206 '403': *29 '404': *6 '422': *15 @@ -34904,7 +35057,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#delete-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -34940,7 +35093,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#list-collaborators-for-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -34960,7 +35113,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &206 + items: &207 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -35132,7 +35285,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#add-a-collaborator-to-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35183,7 +35336,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *207 examples: user: value: @@ -35263,7 +35416,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: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35313,7 +35466,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *207 examples: user: value: @@ -35395,7 +35548,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#remove-a-collaborator-from-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35444,7 +35597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#list-resources-for-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35464,7 +35617,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &207 + items: &208 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -35553,7 +35706,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#create-a-resource-for-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35607,7 +35760,7 @@ paths: description: Resource created content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -35623,7 +35776,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -35660,7 +35813,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#get-a-resource-for-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35678,7 +35831,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -35712,7 +35865,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#set-a-resource-for-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35747,7 +35900,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -35782,7 +35935,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#delete-a-resource-from-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35825,7 +35978,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: - - *78 + - *79 responses: '200': description: OK @@ -35934,7 +36087,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -35966,7 +36119,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: - - *78 + - *79 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -35989,7 +36142,7 @@ paths: currently being billed. seats: type: array - items: &265 + items: &266 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -36006,15 +36159,15 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *208 - required: *209 + properties: *209 + required: *210 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *210 - - *71 + - *211 + - *72 nullable: true pending_cancellation_date: type: string @@ -36138,8 +36291,8 @@ paths: type: User site_admin: false headers: - Link: *70 - '500': *55 + Link: *71 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36172,7 +36325,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: - - *78 + - *79 requestBody: content: application/json: @@ -36214,7 +36367,7 @@ paths: default: value: seats_created: 5 - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36250,7 +36403,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: - - *78 + - *79 requestBody: content: application/json: @@ -36292,7 +36445,7 @@ paths: default: value: seats_cancelled: 5 - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36330,7 +36483,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: - - *78 + - *79 requestBody: content: application/json: @@ -36371,7 +36524,7 @@ paths: default: value: seats_created: 5 - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36407,7 +36560,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: - - *78 + - *79 requestBody: content: application/json: @@ -36449,7 +36602,7 @@ paths: default: value: seats_cancelled: 5 - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36485,7 +36638,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: - - *78 + - *79 responses: '200': description: Response @@ -36522,7 +36675,7 @@ paths: summary: No repositories enabled value: enabled_repositories: none - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36550,7 +36703,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: - - *78 + - *79 requestBody: required: true content: @@ -36575,7 +36728,7 @@ paths: responses: '204': description: No Content - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36605,7 +36758,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: - - *78 + - *79 - *17 - *19 responses: @@ -36620,17 +36773,17 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 required: - total_count - repositories examples: - default: *211 - '500': *55 + default: *212 + '500': *56 '401': *25 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36654,7 +36807,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: - - *78 + - *79 requestBody: required: true content: @@ -36680,11 +36833,11 @@ paths: responses: '204': description: No Content - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 x-github: githubCloudOnly: false @@ -36710,16 +36863,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: No Content - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 x-github: githubCloudOnly: false @@ -36744,16 +36897,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: No Content - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36784,7 +36937,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: - - *78 + - *79 responses: '200': description: OK @@ -36804,7 +36957,7 @@ paths: value: octo-repo: - "/src/some-dir/kernel.rs" - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36837,7 +36990,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: - - *78 + - *79 requestBody: description: The content exclusion rules to set required: true @@ -36889,7 +37042,7 @@ paths: default: value: message: Content exclusion rules updated successfully. - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36924,18 +37077,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: - - *78 - - *56 + - *79 + - *57 responses: '200': description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 - '204': *61 - '500': *55 + default: *59 + '204': *60 + '500': *56 '403': *29 '404': *6 x-github: @@ -36963,16 +37116,55 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics parameters: - - *78 + - *79 + responses: + '200': + description: Response + content: + application/json: + schema: *61 + examples: + default: *62 + '500': *56 + '403': *29 + '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: + - *79 + - *57 responses: '200': description: Response content: application/json: - schema: *59 + schema: *58 examples: - default: *60 - '500': *55 + default: *59 + '204': *60 + '500': *56 '403': *29 '404': *6 x-github: @@ -37000,18 +37192,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: - - *78 - - *56 + - *79 + - *57 responses: '200': description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 - '204': *61 - '500': *55 + default: *59 + '204': *60 + '500': *56 '403': *29 '404': *6 x-github: @@ -37039,18 +37231,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: - - *78 - - *56 + - *79 + - *57 responses: '200': description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 - '204': *61 - '500': *55 + default: *59 + '204': *60 + '500': *56 '403': *29 '404': *6 x-github: @@ -37078,16 +37270,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *59 + schema: *61 examples: - default: *60 - '500': *55 + default: *62 + '500': *56 '403': *29 '404': *6 x-github: @@ -37111,13 +37303,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *78 - - *212 + - *79 - *213 - *214 - *215 - *216 - *217 + - *218 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -37147,7 +37339,7 @@ paths: enum: - patch - deployment - - *218 + - *219 - name: runtime_risk in: query description: |- @@ -37156,11 +37348,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *219 - *220 - - *62 - - *47 + - *221 + - *63 - *48 + - *49 - *17 responses: '200': @@ -37169,10 +37361,10 @@ paths: application/json: schema: type: array - items: *221 + items: *222 examples: - default: *222 - '304': *37 + default: *223 + '304': *38 '400': *14 '403': *29 '404': *6 @@ -37197,7 +37389,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: - - *78 + - *79 - name: page in: query description: The page number of results to fetch. @@ -37220,9 +37412,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *224 + default: *225 '403': *29 '404': *6 x-github: @@ -37253,7 +37445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -37319,7 +37511,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *78 + - *79 requestBody: required: true content: @@ -37367,7 +37559,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *78 + - *79 - *17 - *19 responses: @@ -37385,7 +37577,7 @@ paths: type: integer secrets: type: array - items: &225 + items: &226 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -37435,7 +37627,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37456,13 +37648,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &516 + schema: &517 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -37479,7 +37671,7 @@ paths: - key_id - key examples: - default: &517 + default: &518 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37502,14 +37694,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '200': description: Response content: application/json: - schema: *225 + schema: *226 examples: default: value: @@ -37537,8 +37729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -37595,7 +37787,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -37619,8 +37811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '204': description: Response @@ -37644,8 +37836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - *19 - *17 responses: @@ -37663,9 +37855,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *175 + default: *176 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37686,8 +37878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -37737,8 +37929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -37769,8 +37961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -37800,7 +37992,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: - - *78 + - *79 responses: '200': description: Response @@ -37808,7 +38000,7 @@ paths: application/json: schema: type: array - items: &275 + items: &276 title: Package description: A software package type: object @@ -37858,8 +38050,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *226 - required: *227 + properties: *227 + required: *228 nullable: true created_at: type: string @@ -37878,7 +38070,7 @@ paths: - created_at - updated_at examples: - default: &276 + default: &277 value: - id: 197 name: hello_docker @@ -37956,7 +38148,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *78 + - *79 - *17 - *19 responses: @@ -37966,7 +38158,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: 200-response: value: @@ -38038,7 +38230,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *78 + - *79 - *17 - *19 responses: @@ -38048,7 +38240,7 @@ paths: application/json: schema: type: array - items: &251 + items: &252 title: Organization Invitation description: Organization Invitation type: object @@ -38095,7 +38287,7 @@ paths: - invitation_teams_url - node_id examples: - default: &252 + default: &253 value: - id: 1 login: monalisa @@ -38128,7 +38320,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -38152,7 +38344,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *78 + - *79 - *17 - *19 responses: @@ -38162,7 +38354,7 @@ paths: application/json: schema: type: array - items: &228 + items: &229 title: Org Hook description: Org Hook type: object @@ -38250,7 +38442,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -38273,7 +38465,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *78 + - *79 requestBody: required: true content: @@ -38333,9 +38525,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: &229 + default: &230 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -38382,8 +38574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *78 - - &230 + - *79 + - &231 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. @@ -38396,9 +38588,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *229 + default: *230 '404': *6 x-github: githubCloudOnly: false @@ -38425,8 +38617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *78 - - *230 + - *79 + - *231 requestBody: required: false content: @@ -38471,7 +38663,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: default: value: @@ -38512,8 +38704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *78 - - *230 + - *79 + - *231 responses: '204': description: Response @@ -38540,8 +38732,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *78 - - *230 + - *79 + - *231 responses: '200': description: Response @@ -38571,8 +38763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *78 - - *230 + - *79 + - *231 requestBody: required: false content: @@ -38622,11 +38814,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *78 - - *230 - - *17 + - *79 - *231 + - *17 - *232 + - *233 responses: '200': description: Response @@ -38634,9 +38826,9 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *234 + default: *235 '400': *14 '422': *15 x-github: @@ -38661,17 +38853,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *78 - - *230 + - *79 + - *231 - *16 responses: '200': description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: *236 + default: *237 '400': *14 '422': *15 x-github: @@ -38696,11 +38888,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *78 - - *230 + - *79 + - *231 - *16 responses: - '202': *39 + '202': *40 '400': *14 '422': *15 x-github: @@ -38726,8 +38918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *78 - - *230 + - *79 + - *231 responses: '204': description: Response @@ -38749,8 +38941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *78 - - &241 + - *79 + - &242 name: actor_type in: path description: The type of the actor @@ -38763,14 +38955,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &242 + - &243 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &237 + - &238 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`.' @@ -38778,7 +38970,7 @@ paths: required: true schema: type: string - - &238 + - &239 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) @@ -38789,7 +38981,7 @@ paths: type: string - *19 - *17 - - *62 + - *63 - name: sort description: The property to sort the results by. in: query @@ -38871,13 +39063,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *78 - - *237 + - *79 - *238 + - *239 - *19 - *17 - - *62 - - &247 + - *63 + - &248 name: sort description: The property to sort the results by. in: query @@ -38954,15 +39146,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *78 - - *237 + - *79 - *238 + - *239 responses: '200': description: Response content: application/json: - schema: &239 + schema: &240 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -38978,7 +39170,7 @@ paths: type: integer format: int64 examples: - default: &240 + default: &241 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -38998,24 +39190,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *78 - - &243 + - *79 + - &244 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *237 - *238 + - *239 responses: '200': description: Response content: application/json: - schema: *239 + schema: *240 examples: - default: *240 + default: *241 x-github: enabledForGitHubApps: true category: orgs @@ -39033,19 +39225,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *78 - - *237 + - *79 - *238 - - *241 + - *239 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *239 + schema: *240 examples: - default: *240 + default: *241 x-github: enabledForGitHubApps: true category: orgs @@ -39062,10 +39254,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *78 - - *237 + - *79 - *238 - - &244 + - *239 + - &245 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -39078,7 +39270,7 @@ paths: description: Response content: application/json: - schema: &245 + schema: &246 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -39094,7 +39286,7 @@ paths: type: integer format: int64 examples: - default: &246 + default: &247 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -39130,19 +39322,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *78 - - *243 - - *237 - - *238 + - *79 - *244 + - *238 + - *239 + - *245 responses: '200': description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 x-github: enabledForGitHubApps: true category: orgs @@ -39159,20 +39351,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *78 - - *241 + - *79 - *242 - - *237 + - *243 - *238 - - *244 + - *239 + - *245 responses: '200': description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 x-github: enabledForGitHubApps: true category: orgs @@ -39189,14 +39381,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *78 - - *243 - - *237 + - *79 + - *244 - *238 + - *239 - *19 - *17 - - *62 - - *247 + - *63 + - *248 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -39269,7 +39461,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *78 + - *79 responses: '200': description: Response @@ -39277,7 +39469,7 @@ paths: application/json: schema: *22 examples: - default: &554 + default: &555 value: id: 1 account: @@ -39346,7 +39538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *78 + - *79 - *17 - *19 responses: @@ -39416,7 +39608,7 @@ paths: suspended_at: suspended_by: headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39435,7 +39627,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -39443,12 +39635,12 @@ paths: application/json: schema: anyOf: - - &249 + - &250 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &248 + limit: &249 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -39473,7 +39665,7 @@ paths: properties: {} additionalProperties: false examples: - default: &250 + default: &251 value: limit: collaborators_only origin: organization @@ -39497,18 +39689,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: application/json: - schema: &555 + schema: &556 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *248 + limit: *249 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -39532,9 +39724,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: *250 + default: *251 '422': *15 x-github: githubCloudOnly: false @@ -39552,7 +39744,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *78 + - *79 responses: '204': description: Response @@ -39576,7 +39768,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *78 + - *79 - *17 - *19 - name: role @@ -39610,11 +39802,11 @@ paths: application/json: schema: type: array - items: *251 + items: *252 examples: - default: *252 + default: *253 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -39635,7 +39827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *78 + - *79 requestBody: required: false content: @@ -39689,7 +39881,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *252 examples: default: value: @@ -39743,8 +39935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *78 - - &253 + - *79 + - &254 name: invitation_id description: The unique identifier of the invitation. in: path @@ -39774,8 +39966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *78 - - *253 + - *79 + - *254 - *17 - *19 responses: @@ -39785,9 +39977,9 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: &274 + default: &275 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -39803,7 +39995,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -39822,7 +40014,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -39830,7 +40022,7 @@ paths: application/json: schema: type: array - items: &254 + items: &255 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -39992,7 +40184,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -40083,9 +40275,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *255 examples: - default: &255 + default: &256 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -40140,8 +40332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *78 - - &256 + - *79 + - &257 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -40249,9 +40441,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *255 examples: - default: *255 + default: *256 '404': *6 '422': *7 x-github: @@ -40275,10 +40467,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *78 - - *256 + - *79 + - *257 responses: - '204': *61 + '204': *60 '404': *6 '422': *7 x-github: @@ -40298,7 +40490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -40306,9 +40498,9 @@ paths: application/json: schema: type: array - items: *257 + items: *258 examples: - default: &559 + default: &560 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -40344,7 +40536,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -40391,9 +40583,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *258 examples: - default: &258 + default: &259 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -40425,8 +40617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *78 - - &259 + - *79 + - &260 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -40479,9 +40671,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *258 examples: - default: *258 + default: *259 '404': *6 '422': *7 x-github: @@ -40505,8 +40697,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *78 - - *259 + - *79 + - *260 responses: '204': description: Response @@ -40539,7 +40731,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *78 + - *79 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -40569,7 +40761,7 @@ paths: - closed - all default: open - - *260 + - *261 - name: type description: Can be the name of an issue type. in: query @@ -40587,8 +40779,8 @@ paths: - updated - comments default: created - - *62 - - *95 + - *63 + - *96 - *17 - *19 responses: @@ -40598,11 +40790,11 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: *261 + default: *262 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -40622,7 +40814,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *78 + - *79 - 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) @@ -40660,9 +40852,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 '422': *15 x-github: githubCloudOnly: false @@ -40680,8 +40872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response if requester is an organization member and user is @@ -40715,8 +40907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -40742,8 +40934,8 @@ paths: parameters: - *17 - *19 - - *78 - - *74 + - *79 + - *75 responses: '200': description: Response @@ -40759,11 +40951,11 @@ paths: type: integer codespaces: type: array - items: *262 + items: *263 examples: - default: *263 - '304': *37 - '500': *55 + default: *264 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -40786,9 +40978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *78 - - *74 - - &264 + - *79 + - *75 + - &265 name: codespace_name in: path required: true @@ -40796,9 +40988,9 @@ paths: schema: type: string responses: - '202': *39 - '304': *37 - '500': *55 + '202': *40 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -40821,17 +41013,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *78 - - *74 - - *264 + - *79 + - *75 + - *265 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: &478 + default: &479 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -40972,8 +41164,8 @@ paths: pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls/1 recent_folders: [] template: - '304': *37 - '500': *55 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -41004,14 +41196,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: - - *78 - - *74 + - *79 + - *75 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *265 + schema: *266 examples: default: value: @@ -41055,7 +41247,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -41080,14 +41272,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '200': description: Response content: application/json: - schema: &266 + schema: &267 title: Org Membership description: Org Membership type: object @@ -41131,7 +41323,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *76 + organization: *77 user: title: Simple User description: A GitHub user. @@ -41154,7 +41346,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &267 + response-if-user-has-an-active-admin-membership-with-organization: &268 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -41226,8 +41418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *78 - - *74 + - *79 + - *75 requestBody: required: false content: @@ -41255,9 +41447,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: - response-if-user-already-had-membership-with-organization: *267 + response-if-user-already-had-membership-with-organization: *268 '422': *15 '403': *29 x-github: @@ -41281,8 +41473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -41307,7 +41499,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *78 + - *79 - *17 - *19 - name: exclude @@ -41328,7 +41520,7 @@ paths: application/json: schema: type: array - items: &268 + items: &269 title: Migration description: A migration. type: object @@ -41369,7 +41561,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *82 + items: *83 url: type: string format: uri @@ -41565,7 +41757,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -41581,7 +41773,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *78 + - *79 requestBody: required: true content: @@ -41657,7 +41849,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: default: value: @@ -41835,8 +42027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *78 - - &269 + - *79 + - &270 name: migration_id description: The unique identifier of the migration. in: path @@ -41863,7 +42055,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *268 + schema: *269 examples: default: value: @@ -42032,8 +42224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *78 - - *269 + - *79 + - *270 responses: '302': description: Response @@ -42054,8 +42246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *78 - - *269 + - *79 + - *270 responses: '204': description: Response @@ -42078,9 +42270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *78 - - *269 - - &750 + - *79 + - *270 + - &751 name: repo_name description: repo_name parameter in: path @@ -42107,8 +42299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *78 - - *269 + - *79 + - *270 - *17 - *19 responses: @@ -42118,9 +42310,9 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: &281 + default: &282 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42233,7 +42425,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -42259,7 +42451,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response - list of organization roles @@ -42275,7 +42467,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &271 + items: &272 title: Organization Role description: Organization roles type: object @@ -42422,8 +42614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *78 - - *80 + - *79 + - *81 responses: '204': description: Response @@ -42448,9 +42640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *78 - - *80 - - &270 + - *79 + - *81 + - &271 name: role_id description: The unique identifier of the role. in: path @@ -42485,9 +42677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *78 - - *80 - - *270 + - *79 + - *81 + - *271 responses: '204': description: Response @@ -42512,8 +42704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -42538,9 +42730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *78 - - *74 - - *270 + - *79 + - *75 + - *271 responses: '204': description: Response @@ -42570,9 +42762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *78 - - *74 - - *270 + - *79 + - *75 + - *271 responses: '204': description: Response @@ -42600,14 +42792,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *78 - - *270 + - *79 + - *271 responses: '200': description: Response content: application/json: - schema: *271 + schema: *272 examples: default: value: @@ -42657,8 +42849,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: - - *78 - - *270 + - *79 + - *271 - *17 - *19 responses: @@ -42736,8 +42928,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *272 - required: *273 + properties: *273 + required: *274 nullable: true type: description: The ownership type of the team @@ -42769,9 +42961,9 @@ paths: - type - parent examples: - default: *274 + default: *275 headers: - Link: *70 + Link: *71 '404': description: Response if the organization or role does not exist. '422': @@ -42798,8 +42990,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: - - *78 - - *270 + - *79 + - *271 - *17 - *19 responses: @@ -42827,13 +43019,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &348 + items: &349 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *272 - required: *273 + properties: *273 + required: *274 name: nullable: true type: string @@ -42928,9 +43120,9 @@ paths: - type - url examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 '404': description: Response if the organization or role does not exist. '422': @@ -42952,7 +43144,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *78 + - *79 - 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) @@ -42979,9 +43171,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43004,8 +43196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *78 - - *74 + - *79 + - *75 requestBody: required: false content: @@ -43062,8 +43254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -43120,8 +43312,8 @@ paths: - docker - nuget - container - - *78 - - &751 + - *79 + - &752 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -43157,12 +43349,12 @@ paths: application/json: schema: type: array - items: *275 + items: *276 examples: - default: *276 + default: *277 '403': *29 '401': *25 - '400': &753 + '400': &754 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -43184,7 +43376,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &277 + - &278 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 @@ -43202,20 +43394,20 @@ paths: - docker - nuget - container - - &278 + - &279 name: package_name description: The name of the package. in: path required: true schema: type: string - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *275 + schema: *276 examples: default: value: @@ -43267,9 +43459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *277 - *278 - - *78 + - *279 + - *79 responses: '204': description: Response @@ -43301,9 +43493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *277 - *278 - - *78 + - *279 + - *79 - name: token description: package token schema: @@ -43335,9 +43527,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: - - *277 - *278 - - *78 + - *279 + - *79 - *19 - *17 - name: state @@ -43357,7 +43549,7 @@ paths: application/json: schema: type: array - items: &279 + items: &280 title: Package Version description: A version of a software package type: object @@ -43482,10 +43674,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *277 - *278 - - *78 - - &280 + - *279 + - *79 + - &281 name: package_version_id description: Unique identifier of the package version. in: path @@ -43497,7 +43689,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: default: value: @@ -43533,10 +43725,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *277 - *278 - - *78 - - *280 + - *279 + - *79 + - *281 responses: '204': description: Response @@ -43568,10 +43760,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *277 - *278 - - *78 - - *280 + - *279 + - *79 + - *281 responses: '204': description: Response @@ -43598,10 +43790,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: - - *78 + - *79 - *17 - *19 - - &282 + - &283 name: sort description: The property by which to sort the results. in: query @@ -43611,8 +43803,8 @@ paths: enum: - created_at default: created_at - - *62 - - &283 + - *63 + - &284 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -43623,7 +43815,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &284 + - &285 name: repository description: The name of the repository to use to filter the results. in: query @@ -43631,7 +43823,7 @@ paths: schema: type: string example: Hello-World - - &285 + - &286 name: permission description: The permission to use to filter the results. in: query @@ -43639,7 +43831,7 @@ paths: schema: type: string example: issues_read - - &286 + - &287 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) @@ -43649,7 +43841,7 @@ paths: schema: type: string format: date-time - - &287 + - &288 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) @@ -43659,7 +43851,7 @@ paths: schema: type: string format: date-time - - &288 + - &289 name: token_id description: The ID of the token in: query @@ -43671,7 +43863,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *55 + '500': *56 '422': *15 '404': *6 '403': *29 @@ -43803,7 +43995,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43823,7 +44015,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: - - *78 + - *79 requestBody: required: true content: @@ -43864,11 +44056,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *55 + '500': *56 '422': *15 '404': *6 '403': *29 - '202': *39 + '202': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43889,7 +44081,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: - - *78 + - *79 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -43925,11 +44117,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *55 + '500': *56 '422': *15 '404': *6 '403': *29 - '204': *61 + '204': *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43950,7 +44142,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: - - *78 + - *79 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -43961,7 +44153,7 @@ paths: - *17 - *19 responses: - '500': *55 + '500': *56 '404': *6 '403': *29 '200': @@ -43970,11 +44162,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *281 + default: *282 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43995,19 +44187,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: - - *78 + - *79 - *17 - *19 - - *282 - - *62 - *283 + - *63 - *284 - *285 - *286 - *287 - *288 + - *289 responses: - '500': *55 + '500': *56 '422': *15 '404': *6 '403': *29 @@ -44134,7 +44326,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44154,7 +44346,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: - - *78 + - *79 requestBody: required: true content: @@ -44189,9 +44381,9 @@ paths: - 1296269 - 1296280 responses: - '500': *55 + '500': *56 '404': *6 - '202': *39 + '202': *40 '403': *29 '422': *15 x-github: @@ -44214,7 +44406,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: - - *78 + - *79 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -44242,9 +44434,9 @@ paths: value: action: revoke responses: - '500': *55 + '500': *56 '404': *6 - '204': *61 + '204': *60 '403': *29 '422': *15 x-github: @@ -44266,7 +44458,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: - - *78 + - *79 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -44276,7 +44468,7 @@ paths: - *17 - *19 responses: - '500': *55 + '500': *56 '404': *6 '403': *29 '200': @@ -44285,11 +44477,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *281 + default: *282 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44311,7 +44503,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *78 + - *79 - *17 - *19 responses: @@ -44329,7 +44521,7 @@ paths: type: integer configurations: type: array - items: &289 + items: &290 title: Organization private registry description: Private registry configuration for an organization type: object @@ -44468,7 +44660,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *70 + Link: *71 '400': *14 '404': *6 x-github: @@ -44491,7 +44683,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -44840,7 +45032,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &290 + org-private-registry-with-selected-visibility: &291 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -44881,7 +45073,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: - - *78 + - *79 responses: '200': description: Response @@ -44907,7 +45099,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -44929,16 +45121,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *78 - - *171 + - *79 + - *172 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *289 + schema: *290 examples: - default: *290 + default: *291 '404': *6 x-github: githubCloudOnly: false @@ -44960,8 +45152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -45148,8 +45340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *78 - - *171 + - *79 + - *172 responses: '204': description: Response @@ -45172,15 +45364,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *78 + - *79 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *47 - *48 + - *49 - *17 responses: '200': @@ -45189,7 +45381,7 @@ paths: application/json: schema: type: array - items: &291 + items: &292 title: Projects v2 Project description: A projects v2 project type: object @@ -45259,7 +45451,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &841 + properties: &842 id: type: number description: The unique identifier of the status update. @@ -45307,7 +45499,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &842 + required: &843 - id - node_id - created_at @@ -45332,7 +45524,7 @@ paths: - deleted_at - deleted_by examples: - default: &292 + default: &293 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -45415,8 +45607,8 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -45435,25 +45627,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &293 + - &294 name: project_number description: The project's number. in: path required: true schema: type: integer - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: *292 + default: *293 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -45472,8 +45664,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *78 - - *293 + - *79 + - *294 requestBody: required: true description: Details of the draft item to create in the project. @@ -45507,7 +45699,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &300 title: Projects v2 Item description: An item belonging to a project type: object @@ -45520,8 +45712,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *88 - - &495 + - *89 + - &496 title: Pull Request Simple description: Pull Request Simple type: object @@ -45627,8 +45819,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *294 - required: *295 + properties: *295 + required: *296 nullable: true active_lock_reason: type: string @@ -45671,7 +45863,7 @@ paths: items: *4 requested_teams: type: array - items: *210 + items: *211 head: type: object properties: @@ -45679,7 +45871,7 @@ paths: type: string ref: type: string - repo: *82 + repo: *83 sha: type: string user: @@ -45702,7 +45894,7 @@ paths: type: string ref: type: string - repo: *82 + repo: *83 sha: type: string user: @@ -45721,7 +45913,7 @@ paths: _links: type: object properties: - comments: &296 + comments: &297 title: Link description: Hypermedia Link type: object @@ -45730,13 +45922,13 @@ paths: type: string required: - href - commits: *296 - statuses: *296 - html: *296 - issue: *296 - review_comments: *296 - review_comment: *296 - self: *296 + commits: *297 + statuses: *297 + html: *297 + issue: *297 + review_comments: *297 + review_comment: *297 + self: *297 required: - comments - commits @@ -45746,7 +45938,7 @@ paths: - review_comments - review_comment - self - author_association: *85 + author_association: *86 auto_merge: &624 title: Auto merge description: The status of auto merging a pull request. @@ -45772,6 +45964,45 @@ paths: - commit_title - commit_message nullable: true + stack: &625 + title: Pull Request Stack + description: The stack information associated with a pull + request. + type: object + 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 + nullable: true draft: description: Indicates whether or not the pull request is a draft. @@ -45849,7 +46080,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &298 + content_type: &299 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -45889,7 +46120,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &300 + draft_issue: &301 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -45944,7 +46175,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': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -45963,11 +46194,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *293 - - *78 + - *294 + - *79 - *17 - - *47 - *48 + - *49 responses: '200': description: Response @@ -45975,7 +46206,7 @@ paths: application/json: schema: type: array - items: &297 + items: &298 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -46125,7 +46356,7 @@ paths: - updated_at - project_url examples: - default: &773 + default: &774 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46236,8 +46467,8 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -46255,8 +46486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *293 - - *78 + - *294 + - *79 requestBody: required: true content: @@ -46302,7 +46533,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &774 + items: &775 type: object properties: name: @@ -46339,7 +46570,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &775 + iteration_configuration: &776 type: object description: The configuration for iteration fields. properties: @@ -46389,7 +46620,7 @@ paths: value: name: Due date data_type: date - single_select_field: &776 + single_select_field: &777 summary: Create a single select field value: name: Priority @@ -46416,7 +46647,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &777 + iteration_field: &778 summary: Create an iteration field value: name: Sprint @@ -46440,9 +46671,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *297 + schema: *298 examples: - text_field: &778 + text_field: &779 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -46451,7 +46682,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: &779 + number_field: &780 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -46460,7 +46691,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: &780 + date_field: &781 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -46469,7 +46700,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: &781 + single_select_field: &782 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46503,7 +46734,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &782 + iteration_field: &783 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -46528,7 +46759,7 @@ paths: duration: 14 created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' - '304': *37 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -46548,23 +46779,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *293 - - &783 + - *294 + - &784 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: &784 + default: &785 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46599,8 +46830,8 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -46620,8 +46851,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *293 - - *78 + - *294 + - *79 - 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. @@ -46643,8 +46874,8 @@ paths: maxItems: 50 items: type: string - - *47 - *48 + - *49 - *17 responses: '200': @@ -46653,7 +46884,7 @@ paths: application/json: schema: type: array - items: &301 + items: &302 title: Projects v2 Item description: An item belonging to a project type: object @@ -46669,7 +46900,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *298 + content_type: *299 content: type: object additionalProperties: true @@ -46712,7 +46943,7 @@ paths: - updated_at - archived_at examples: - default: &302 + default: &303 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -47389,8 +47620,8 @@ paths: data_type: sub_issues_progress value: headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -47409,8 +47640,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *78 - - *293 + - *79 + - *294 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -47480,23 +47711,23 @@ paths: description: Response content: application/json: - schema: *299 + schema: *300 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *300 + value: *301 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *300 + value: *301 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *300 + value: *301 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *300 - '304': *37 + value: *301 + '304': *38 '403': *29 '401': *25 x-github: @@ -47515,9 +47746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *293 - - *78 - - &303 + - *294 + - *79 + - &304 name: item_id description: The unique identifier of the project item. in: path @@ -47543,12 +47774,12 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -47566,9 +47797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *293 - - *78 - - *303 + - *294 + - *79 + - *304 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -47638,13 +47869,13 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - text_field: *302 - number_field: *302 - date_field: *302 - single_select_field: *302 - iteration_field: *302 + text_field: *303 + number_field: *303 + date_field: *303 + single_select_field: *303 + iteration_field: *303 '401': *25 '403': *29 '404': *6 @@ -47664,9 +47895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *293 - - *78 - - *303 + - *294 + - *79 + - *304 responses: '204': description: Response @@ -47689,8 +47920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *78 - - *293 + - *79 + - *294 requestBody: required: true content: @@ -47761,7 +47992,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &764 + schema: &765 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -47859,7 +48090,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &304 + value: &305 value: id: 1 number: 1 @@ -47905,11 +48136,11 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *304 + value: *305 roadmap_view: summary: Response for creating a roadmap view - value: *304 - '304': *37 + value: *305 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -47936,9 +48167,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *293 - - *78 - - &785 + - *294 + - *79 + - &786 name: view_number description: The number that identifies the project view. in: path @@ -47960,8 +48191,8 @@ paths: maxItems: 50 items: type: string - - *47 - *48 + - *49 - *17 responses: '200': @@ -47970,12 +48201,12 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *302 + default: *303 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -47997,7 +48228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -48005,7 +48236,7 @@ paths: application/json: schema: type: array - items: &305 + items: &306 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -48073,7 +48304,7 @@ paths: - property_name - value_type examples: - default: &306 + default: &307 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -48122,7 +48353,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -48133,7 +48364,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *305 + items: *306 minItems: 1 maxItems: 100 required: @@ -48163,9 +48394,9 @@ paths: application/json: schema: type: array - items: *305 + items: *306 examples: - default: *306 + default: *307 '403': *29 '404': *6 x-github: @@ -48186,8 +48417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *78 - - &307 + - *79 + - &308 name: custom_property_name description: The custom property name in: path @@ -48199,9 +48430,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: &308 + default: &309 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -48235,8 +48466,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: - - *78 - - *307 + - *79 + - *308 requestBody: required: true content: @@ -48307,9 +48538,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *308 + default: *309 '403': *29 '404': *6 x-github: @@ -48332,10 +48563,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *78 - - *307 + - *79 + - *308 responses: - '204': *61 + '204': *60 '403': *29 '404': *6 x-github: @@ -48356,7 +48587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *78 + - *79 - *17 - *19 - name: repository_query @@ -48394,7 +48625,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &309 + items: &310 title: Custom Property Value description: Custom property name and associated value type: object @@ -48433,7 +48664,7 @@ paths: - property_name: team value: octocat headers: - Link: *70 + Link: *71 '403': *29 '404': *6 x-github: @@ -48461,7 +48692,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: - - *78 + - *79 requestBody: required: true content: @@ -48481,7 +48712,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *309 + items: *310 required: - repository_names - properties @@ -48522,7 +48753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *78 + - *79 - *17 - *19 responses: @@ -48534,9 +48765,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48553,8 +48784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response if user is a public member @@ -48578,8 +48809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -48600,8 +48831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -48625,7 +48856,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *78 + - *79 - name: type description: Specifies the types of repositories you want returned. in: query @@ -48671,11 +48902,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *281 + default: *282 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48694,7 +48925,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *78 + - *79 requestBody: required: true content: @@ -48875,7 +49106,7 @@ paths: description: Response content: application/json: - schema: &359 + schema: &360 title: Full Repository description: Full Repository type: object @@ -49163,8 +49394,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *310 - required: *311 + properties: *311 + required: *312 nullable: true temp_clone_token: type: string @@ -49251,8 +49482,8 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true organization: title: Simple User @@ -49261,8 +49492,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *82 - source: *82 + parent: *83 + source: *83 forks: type: integer master_branch: @@ -49279,7 +49510,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &500 + properties: &501 url: type: string format: uri @@ -49295,12 +49526,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &501 + required: &502 - url - key - name - html_url - security_and_analysis: *312 + security_and_analysis: *313 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -49384,7 +49615,7 @@ paths: - network_count - subscribers_count examples: - default: &361 + default: &362 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -49902,10 +50133,10 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *79 - *17 - *19 - - &647 + - &648 name: targets description: | A comma-separated list of rule targets to filter by. @@ -49923,7 +50154,7 @@ paths: application/json: schema: type: array - items: &339 + items: &340 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -49958,7 +50189,7 @@ paths: source: type: string description: The name of the source - enforcement: &315 + enforcement: &316 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -49971,7 +50202,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &316 + items: &317 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -50042,7 +50273,7 @@ paths: conditions: nullable: true anyOf: - - &313 + - &314 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -50066,7 +50297,7 @@ paths: match. items: type: string - - &317 + - &318 title: Organization ruleset conditions type: object description: |- @@ -50080,7 +50311,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *313 + - *314 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -50114,7 +50345,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *313 + - *314 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -50136,7 +50367,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *313 + - *314 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -50149,7 +50380,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &314 + items: &315 title: Repository ruleset property targeting definition type: object @@ -50182,17 +50413,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *314 + items: *315 required: - repository_property rules: type: array - items: &648 + items: &649 title: Repository Rule type: object description: A repository rule. oneOf: - - &318 + - &319 title: creation description: Only allow users with bypass permission to create matching refs. @@ -50204,7 +50435,7 @@ paths: type: string enum: - creation - - &319 + - &320 title: update description: Only allow users with bypass permission to update matching refs. @@ -50225,7 +50456,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &320 + - &321 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -50237,7 +50468,7 @@ paths: type: string enum: - deletion - - &321 + - &322 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -50249,7 +50480,7 @@ paths: type: string enum: - required_linear_history - - &645 + - &646 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -50327,7 +50558,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &322 + - &323 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -50351,7 +50582,7 @@ paths: type: string required: - required_deployment_environments - - &323 + - &324 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -50363,7 +50594,7 @@ paths: type: string enum: - required_signatures - - &324 + - &325 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -50506,7 +50737,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &325 + - &326 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -50554,7 +50785,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &326 + - &327 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -50566,7 +50797,7 @@ paths: type: string enum: - non_fast_forward - - &327 + - &328 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -50603,7 +50834,7 @@ paths: required: - operator - pattern - - &328 + - &329 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -50640,7 +50871,7 @@ paths: required: - operator - pattern - - &329 + - &330 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -50677,7 +50908,7 @@ paths: required: - operator - pattern - - &330 + - &331 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -50714,7 +50945,7 @@ paths: required: - operator - pattern - - &331 + - &332 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -50751,7 +50982,7 @@ paths: required: - operator - pattern - - &336 + - &337 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -50801,7 +51032,7 @@ paths: - repository_id required: - workflows - - &337 + - &338 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -50862,7 +51093,7 @@ paths: - tool required: - code_scanning_tools - - &338 + - &339 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -50888,7 +51119,7 @@ paths: type: boolean description: Copilot automatically reviews each new push to the pull request. - - &646 + - &647 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -50900,7 +51131,7 @@ paths: type: string enum: - license_compliance_scanning - - &332 + - &333 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -50925,7 +51156,7 @@ paths: type: string required: - restricted_file_paths - - &333 + - &334 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -50949,7 +51180,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &334 + - &335 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -50972,7 +51203,7 @@ paths: type: string required: - restricted_file_extensions - - &335 + - &336 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -51033,7 +51264,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *55 + '500': *56 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -51049,7 +51280,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *79 requestBody: description: Request body required: true @@ -51070,21 +51301,20 @@ paths: - push - repository default: branch - enforcement: *315 + enforcement: *316 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *316 - conditions: *317 + items: *317 + conditions: *318 rules: type: array description: An array of rules within the ruleset. - items: &341 + items: &342 title: Repository Rule type: object description: A repository rule. oneOf: - - *318 - *319 - *320 - *321 @@ -51105,6 +51335,7 @@ paths: - *336 - *337 - *338 + - *339 required: - name - enforcement @@ -51142,9 +51373,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *340 examples: - default: &340 + default: &341 value: id: 21 name: super cool ruleset @@ -51185,7 +51416,7 @@ paths: updated_at: '2023-09-23T16:29:47Z' '404': *6 '422': *15 - '500': *55 + '500': *56 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -51199,8 +51430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *78 - - &649 + - *79 + - &650 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 @@ -51215,7 +51446,7 @@ paths: in: query schema: type: string - - &650 + - &651 name: time_period description: |- The time period to filter by. @@ -51231,14 +51462,14 @@ paths: - week - month default: day - - &651 + - &652 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 - - &652 + - &653 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -51251,7 +51482,7 @@ paths: - bypass - all default: all - - &653 + - &654 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. @@ -51274,7 +51505,7 @@ paths: description: Response content: application/json: - schema: &654 + schema: &655 title: Rule Suites description: Response type: array @@ -51329,7 +51560,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &655 + default: &656 value: - id: 21 actor_id: 12 @@ -51353,7 +51584,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51372,8 +51603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *78 - - &656 + - *79 + - &657 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -51389,7 +51620,7 @@ paths: description: Response content: application/json: - schema: &657 + schema: &658 title: Rule Suite description: Response type: object @@ -51488,7 +51719,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &658 + default: &659 value: id: 21 actor_id: 12 @@ -51523,7 +51754,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51549,7 +51780,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *79 - name: ruleset_id description: The ID of the ruleset. in: path @@ -51561,11 +51792,11 @@ paths: description: Response content: application/json: - schema: *339 + schema: *340 examples: - default: *340 + default: *341 '404': *6 - '500': *55 + '500': *56 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -51581,7 +51812,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *79 - name: ruleset_id description: The ID of the ruleset. in: path @@ -51607,16 +51838,16 @@ paths: - tag - push - repository - enforcement: *315 + enforcement: *316 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *316 - conditions: *317 + items: *317 + conditions: *318 rules: description: An array of rules within the ruleset. type: array - items: *341 + items: *342 examples: default: value: @@ -51651,12 +51882,12 @@ paths: description: Response content: application/json: - schema: *339 + schema: *340 examples: - default: *340 + default: *341 '404': *6 '422': *15 - '500': *55 + '500': *56 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -51672,7 +51903,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *79 - name: ruleset_id description: The ID of the ruleset. in: path @@ -51683,7 +51914,7 @@ paths: '204': description: Response '404': *6 - '500': *55 + '500': *56 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -51695,7 +51926,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *78 + - *79 - *17 - *19 - name: ruleset_id @@ -51711,7 +51942,7 @@ paths: application/json: schema: type: array - items: &342 + items: &343 title: Ruleset version type: object description: The historical version of a ruleset @@ -51735,7 +51966,7 @@ paths: type: string format: date-time examples: - default: &660 + default: &661 value: - version_id: 3 actor: @@ -51753,7 +51984,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51770,7 +52001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *78 + - *79 - name: ruleset_id description: The ID of the ruleset. in: path @@ -51788,9 +52019,9 @@ paths: description: Response content: application/json: - schema: &661 + schema: &662 allOf: - - *342 + - *343 - type: object required: - state @@ -51837,7 +52068,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51859,8 +52090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *78 - - &662 + - *79 + - &663 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -51871,7 +52102,7 @@ paths: enum: - open - resolved - - &663 + - &664 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -51881,7 +52112,7 @@ paths: required: false schema: type: string - - &664 + - &665 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -51892,7 +52123,7 @@ paths: required: false schema: type: string - - &665 + - &666 name: exclude_providers in: query description: |- @@ -51903,7 +52134,7 @@ paths: required: false schema: type: string - - &666 + - &667 name: providers in: query description: |- @@ -51914,7 +52145,7 @@ paths: required: false schema: type: string - - &667 + - &668 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -51923,7 +52154,7 @@ paths: required: false schema: type: string - - &668 + - &669 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -51942,7 +52173,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &669 + - &670 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. @@ -51954,10 +52185,10 @@ paths: - created - updated default: created - - *62 + - *63 - *19 - *17 - - &670 + - &671 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 @@ -51967,7 +52198,7 @@ paths: required: false schema: type: string - - &671 + - &672 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 @@ -51977,7 +52208,7 @@ paths: required: false schema: type: string - - &672 + - &673 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -51986,7 +52217,7 @@ paths: required: false schema: type: string - - &673 + - &674 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -51995,7 +52226,7 @@ paths: schema: type: boolean default: false - - &674 + - &675 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -52004,7 +52235,7 @@ paths: schema: type: boolean default: false - - &675 + - &676 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -52013,7 +52244,7 @@ paths: schema: type: boolean default: false - - &676 + - &677 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -52024,7 +52255,7 @@ paths: required: false schema: type: boolean - - &677 + - &678 name: included_metadata in: query description: |- @@ -52035,7 +52266,7 @@ paths: required: false schema: type: string - - &678 + - &679 name: owner_email_hash in: query description: |- @@ -52057,8 +52288,8 @@ paths: items: type: object properties: - number: *188 - created_at: *189 + number: *189 + created_at: *190 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -52066,21 +52297,21 @@ paths: format: date-time readOnly: true nullable: true - url: *191 - html_url: *192 + url: *192 + html_url: *193 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &679 + state: &680 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: &680 + resolution: &681 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -52124,7 +52355,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *67 + repository: *68 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -52197,8 +52428,8 @@ paths: pull request. ' - oneOf: &681 - - &683 + oneOf: &682 + - &684 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -52256,7 +52487,7 @@ paths: - blob_url - commit_sha - commit_url - - &684 + - &685 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. @@ -52311,7 +52542,7 @@ paths: - page_url - commit_sha - commit_url - - &685 + - &686 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -52331,7 +52562,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &686 + - &687 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -52351,7 +52582,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &687 + - &688 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -52371,7 +52602,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &688 + - &689 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -52385,7 +52616,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &689 + - &690 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -52399,7 +52630,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &690 + - &691 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -52413,7 +52644,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &691 + - &692 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. @@ -52433,7 +52664,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &692 + - &693 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. @@ -52453,7 +52684,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &693 + - &694 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. @@ -52473,7 +52704,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &694 + - &695 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. @@ -52493,7 +52724,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &695 + - &696 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -52717,9 +52948,9 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52744,8 +52975,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *78 - - &696 + - *79 + - &697 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -52756,7 +52987,7 @@ paths: enum: - published - unpublished - - &697 + - &698 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -52767,7 +52998,7 @@ paths: enum: - enabled - disabled - - &698 + - &699 name: sort description: The property to sort the results by. in: query @@ -52779,7 +53010,7 @@ paths: - updated - name default: created - - *62 + - *63 - *19 - *17 responses: @@ -52789,7 +53020,7 @@ paths: application/json: schema: type: array - items: &343 + items: &344 title: Secret Scanning Custom Pattern description: A custom pattern for secret scanning. type: object @@ -52837,7 +53068,7 @@ paths: nullable: true items: type: string - custom_pattern_version: &344 + custom_pattern_version: &345 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -52861,7 +53092,7 @@ paths: - state - push_protection_enabled examples: - default: &699 + default: &700 value: - id: 1 name: Example Custom Pattern @@ -52890,7 +53121,7 @@ paths: created_at: '2024-01-16T14:20:00Z' updated_at: '2024-01-17T09:15:00Z' headers: - Link: *70 + Link: *71 '403': *29 '404': *6 post: @@ -52911,7 +53142,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *78 + - *79 requestBody: required: true content: @@ -52924,7 +53155,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &700 + items: &701 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -52961,7 +53192,7 @@ paths: items: type: string examples: - default: &701 + default: &702 value: patterns: - name: Example Custom Pattern @@ -52985,9 +53216,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *343 + items: *344 examples: - default: &702 + default: &703 value: created_patterns: - id: 1 @@ -53039,7 +53270,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &703 + items: &704 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -53082,7 +53313,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *78 + - *79 requestBody: required: true content: @@ -53096,7 +53327,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &704 + items: &705 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -53106,7 +53337,7 @@ paths: pattern_id: type: integer description: The ID of the custom pattern to delete. - custom_pattern_version: *344 + custom_pattern_version: *345 post_delete_action: type: string description: |- @@ -53119,7 +53350,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &705 + default: &706 value: patterns: - pattern_id: 2 @@ -53130,7 +53361,7 @@ paths: '400': *14 '403': *29 '404': *6 - '412': &345 + '412': &346 description: Precondition Failed content: application/json: @@ -53154,7 +53385,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *78 + - *79 - name: pattern_id in: path required: true @@ -53165,7 +53396,7 @@ paths: required: true content: application/json: - schema: &706 + schema: &707 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`, @@ -53204,9 +53435,9 @@ paths: description: Updated list of regexes that the secret must not match. items: type: string - custom_pattern_version: *344 + custom_pattern_version: *345 examples: - default: &707 + default: &708 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -53221,9 +53452,9 @@ paths: description: Pattern updated successfully. content: application/json: - schema: *343 + schema: *344 examples: - default: &708 + default: &709 value: id: 1 name: Example Custom Pattern @@ -53243,7 +53474,7 @@ paths: '400': *14 '403': *29 '404': *6 - '412': *345 + '412': *346 '422': *15 "/orgs/{org}/secret-scanning/pattern-configurations": get: @@ -53264,7 +53495,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *78 + - *79 responses: '200': description: Response @@ -53276,11 +53507,11 @@ paths: related to push protection. type: object properties: - pattern_config_version: *344 + pattern_config_version: *345 provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &346 + items: &347 type: object properties: token_type: @@ -53346,7 +53577,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *346 + items: *347 examples: default: value: @@ -53395,7 +53626,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *78 + - *79 requestBody: required: true content: @@ -53403,7 +53634,7 @@ paths: schema: type: object properties: - pattern_config_version: *344 + pattern_config_version: *345 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -53429,7 +53660,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *344 + custom_pattern_version: *345 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -53465,7 +53696,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 "/orgs/{org}/security-advisories": get: @@ -53483,8 +53714,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *78 - - *62 + - *79 + - *63 - name: sort description: The property to sort the results by. in: query @@ -53496,8 +53727,8 @@ paths: - updated - published default: created - - *47 - *48 + - *49 - 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)." @@ -53527,7 +53758,7 @@ paths: application/json: schema: type: array - items: &712 + items: &713 description: A repository security advisory. type: object properties: @@ -53714,7 +53945,7 @@ paths: required: - vector_string - score - cvss_severities: *64 + cvss_severities: *65 cwes: type: array nullable: true @@ -53747,7 +53978,7 @@ paths: login: type: string description: The username of the user credited. - type: *347 + type: *348 credits_detailed: type: array nullable: true @@ -53757,7 +53988,7 @@ paths: type: object properties: user: *4 - type: *347 + type: *348 state: type: string description: The state of the user's acceptance of the @@ -53781,14 +54012,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *210 + items: *211 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *67 + - *68 required: - ghsa_id - cve_id @@ -53818,7 +54049,7 @@ paths: - private_fork additionalProperties: false examples: - default: &713 + default: &714 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -54197,7 +54428,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *78 + - *79 responses: '200': description: Response @@ -54205,7 +54436,7 @@ paths: application/json: schema: type: array - items: *348 + items: *349 examples: default: value: @@ -54245,8 +54476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *78 - - *80 + - *79 + - *81 responses: '204': description: Response @@ -54271,8 +54502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *78 - - *80 + - *79 + - *81 responses: '204': description: Response @@ -54299,7 +54530,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Immutable releases settings response @@ -54348,7 +54579,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *78 + - *79 responses: '204': description: Response @@ -54405,7 +54636,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *78 + - *79 - *19 - *17 responses: @@ -54423,9 +54654,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *175 + default: *176 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54444,7 +54675,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *78 + - *79 requestBody: required: true content: @@ -54493,8 +54724,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: Response @@ -54516,8 +54747,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: Response @@ -54540,7 +54771,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *78 + - *79 - *17 - *19 responses: @@ -54558,7 +54789,7 @@ paths: type: integer network_configurations: type: array - items: &349 + items: &350 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -54629,7 +54860,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54648,7 +54879,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: - - *78 + - *79 requestBody: required: true content: @@ -54704,9 +54935,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *350 examples: - default: &350 + default: &351 value: id: 123456789ABCDEF name: My network configuration @@ -54734,8 +54965,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: - - *78 - - &351 + - *79 + - &352 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -54747,11 +54978,11 @@ paths: description: Response content: application/json: - schema: *349 + schema: *350 examples: - default: *350 + default: *351 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54770,8 +55001,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: - - *78 - - *351 + - *79 + - *352 requestBody: required: true content: @@ -54824,9 +55055,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *350 examples: - default: *350 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54845,8 +55076,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: - - *78 - - *351 + - *79 + - *352 responses: '204': description: Response @@ -54869,7 +55100,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: - - *78 + - *79 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -54923,7 +55154,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: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54941,7 +55172,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *78 + - *79 - *17 - *19 - name: team_type @@ -54963,11 +55194,11 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: *274 + default: *275 headers: - Link: *70 + Link: *71 '403': *29 x-github: githubCloudOnly: false @@ -54987,7 +55218,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *78 + - *79 requestBody: required: true content: @@ -55059,7 +55290,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &353 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -55122,8 +55353,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *272 - required: *273 + properties: *273 + required: *274 nullable: true members_count: type: integer @@ -55386,7 +55617,7 @@ paths: - repos_count - organization examples: - default: &353 + default: &354 value: id: 1 node_id: MDQ6VGVhbTE= @@ -55456,16 +55687,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *78 - - *80 + - *79 + - *81 responses: '200': description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: *353 + default: *354 '404': *6 x-github: githubCloudOnly: false @@ -55486,8 +55717,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *78 - - *80 + - *79 + - *81 requestBody: required: false content: @@ -55549,16 +55780,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *352 + schema: *353 examples: - default: *353 + default: *354 '201': description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: *353 + default: *354 '404': *6 '422': *15 '403': *29 @@ -55583,12 +55814,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *78 - - *80 + - *79 + - *81 responses: '204': description: Response - '422': &354 + '422': &355 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -55611,8 +55842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *78 - - *80 + - *79 + - *81 - *17 - *19 responses: @@ -55622,12 +55853,12 @@ paths: application/json: schema: type: array - items: *251 + items: *252 examples: - default: *252 + default: *253 headers: - Link: *70 - '422': *354 + Link: *71 + '422': *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55649,8 +55880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *78 - - *80 + - *79 + - *81 - name: role description: Filters members returned by their role in the team. in: query @@ -55671,7 +55902,7 @@ paths: application/json: schema: type: array - items: &728 + items: &729 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 @@ -55790,7 +56021,7 @@ paths: - type - url examples: - default: &729 + default: &730 value: - login: octocat id: 1 @@ -55813,7 +56044,7 @@ paths: role: member inherited: false headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55841,15 +56072,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *78 - - *80 - - *74 + - *79 + - *81 + - *75 responses: '200': description: Response content: application/json: - schema: &355 + schema: &356 title: Team Membership description: Team Membership type: object @@ -55876,7 +56107,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &730 + response-if-user-is-a-team-maintainer: &731 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -55912,9 +56143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *78 - - *80 - - *74 + - *79 + - *81 + - *75 requestBody: required: false content: @@ -55939,9 +56170,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *356 examples: - response-if-users-membership-with-team-is-now-pending: &731 + response-if-users-membership-with-team-is-now-pending: &732 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -55976,9 +56207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *78 - - *80 - - *74 + - *79 + - *81 + - *75 responses: '204': description: Response @@ -56004,8 +56235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *78 - - *80 + - *79 + - *81 - *17 - *19 responses: @@ -56015,11 +56246,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *281 + default: *282 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56046,16 +56277,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *78 - - *80 - - *356 + - *79 + - *81 - *357 + - *358 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &732 + schema: &733 title: Team Repository description: A team's access to a repository. type: object @@ -56078,8 +56309,8 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true forks: type: integer @@ -56624,10 +56855,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *78 - - *80 - - *356 + - *79 + - *81 - *357 + - *358 requestBody: required: false content: @@ -56672,10 +56903,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *78 - - *80 - - *356 + - *79 + - *81 - *357 + - *358 responses: '204': description: Response @@ -56699,8 +56930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *78 - - *80 + - *79 + - *81 - *17 - *19 responses: @@ -56710,9 +56941,9 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - response-if-child-teams-exist: &733 + response-if-child-teams-exist: &734 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -56740,7 +56971,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56765,7 +56996,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *78 + - *79 - name: security_product in: path description: The security feature to enable or disable. @@ -56865,7 +57096,7 @@ paths: resources: type: object properties: - core: &358 + core: &359 title: Rate Limit type: object properties: @@ -56882,21 +57113,21 @@ paths: - remaining - reset - used - graphql: *358 - search: *358 - code_search: *358 - source_import: *358 - integration_manifest: *358 - actions_runner_registration: *358 - scim: *358 - dependency_snapshots: *358 - dependency_sbom: *358 - code_scanning_autofix: *358 - copilot_usage_records: *358 + graphql: *359 + search: *359 + code_search: *359 + source_import: *359 + integration_manifest: *359 + actions_runner_registration: *359 + scim: *359 + dependency_snapshots: *359 + dependency_sbom: *359 + code_scanning_autofix: *359 + copilot_usage_records: *359 required: - core - search - rate: *358 + rate: *359 required: - rate - resources @@ -56973,7 +57204,7 @@ paths: schema: type: integer format: timestamp - '304': *37 + '304': *38 '404': *6 x-github: githubCloudOnly: false @@ -56996,14 +57227,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *359 + schema: *360 examples: default-response: summary: Default response @@ -57508,7 +57739,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *360 + '301': *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57526,8 +57757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *356 - *357 + - *358 requestBody: required: false content: @@ -57837,10 +58068,10 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: - default: *361 - '307': &362 + default: *362 + '307': &363 description: Temporary Redirect content: application/json: @@ -57869,8 +58100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -57892,9 +58123,9 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *362 + '307': *363 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57916,11 +58147,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *356 - *357 + - *358 - *17 - *19 - - &394 + - &395 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -57943,7 +58174,7 @@ paths: type: integer artifacts: type: array - items: &363 + items: &364 title: Artifact description: An artifact type: object @@ -58021,7 +58252,7 @@ paths: - expires_at - updated_at examples: - default: &395 + default: &396 value: total_count: 2 artifacts: @@ -58060,7 +58291,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58082,9 +58313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *356 - *357 - - &364 + - *358 + - &365 name: artifact_id description: The unique identifier of the artifact. in: path @@ -58096,7 +58327,7 @@ paths: description: Response content: application/json: - schema: *363 + schema: *364 examples: default: value: @@ -58134,9 +58365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *356 - *357 - - *364 + - *358 + - *365 responses: '204': description: Response @@ -58160,9 +58391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *356 - *357 - - *364 + - *358 + - *365 - name: archive_format in: path required: true @@ -58172,15 +58403,11 @@ paths: '302': description: Response headers: - Location: &519 + Location: &520 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': &560 - description: Gone - content: - application/json: - schema: *3 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58201,14 +58428,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: &365 + schema: &366 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -58219,7 +58446,7 @@ paths: type: integer example: 14 examples: - default: *42 + default: *43 '403': *29 '404': *6 x-github: @@ -58241,15 +58468,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *356 - *357 + - *358 requestBody: required: true content: application/json: - schema: *365 + schema: *366 examples: - selected_actions: *42 + selected_actions: *43 responses: '204': description: Response @@ -58276,14 +58503,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: &366 + schema: &367 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -58294,7 +58521,7 @@ paths: type: integer example: 10 examples: - default: *44 + default: *45 '403': *29 '404': *6 x-github: @@ -58316,15 +58543,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *356 - *357 + - *358 requestBody: required: true content: application/json: - schema: *366 + schema: *367 examples: - selected_actions: *44 + selected_actions: *45 responses: '204': description: Response @@ -58353,14 +58580,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: default: value: @@ -58386,11 +58613,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *356 - *357 + - *358 - *17 - *19 - - &368 + - &369 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 @@ -58418,13 +58645,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *62 + - *63 responses: '200': description: Response content: application/json: - schema: &369 + schema: &370 title: Repository actions caches description: Repository actions caches type: object @@ -58466,7 +58693,7 @@ paths: - total_count - actions_caches examples: - default: &370 + default: &371 value: total_count: 1 actions_caches: @@ -58478,7 +58705,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58498,23 +58725,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: - - *356 - *357 + - *358 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *369 + schema: *370 examples: - default: *370 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58534,8 +58761,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: - - *356 - *357 + - *358 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -58564,10 +58791,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *356 - *357 + - *358 - *17 - - *48 + - *49 responses: '200': description: Response @@ -58615,7 +58842,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: *70 + Link: *71 '422': *15 x-github: githubCloudOnly: false @@ -58647,8 +58874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *356 - *357 + - *358 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -58800,9 +59027,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *356 - *357 - - &371 + - *358 + - &372 name: job_id description: The unique identifier of the job. in: path @@ -58814,7 +59041,7 @@ paths: description: Response content: application/json: - schema: &398 + schema: &399 title: Job description: Information of a job execution in a workflow run type: object @@ -59121,9 +59348,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *356 - *357 - - *371 + - *358 + - *372 responses: '302': description: Response @@ -59151,9 +59378,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *356 - *357 - - *371 + - *358 + - *372 requestBody: required: false content: @@ -59179,7 +59406,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -59203,8 +59430,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: - - *356 - *357 + - *358 responses: '200': description: Status response @@ -59263,8 +59490,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: - - *356 - *357 + - *358 requestBody: required: true content: @@ -59303,7 +59530,7 @@ paths: description: Empty response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -59332,8 +59559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -59351,7 +59578,7 @@ paths: type: integer secrets: type: array - items: &400 + items: &401 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -59371,7 +59598,7 @@ paths: - created_at - updated_at examples: - default: &401 + default: &402 value: total_count: 2 secrets: @@ -59382,7 +59609,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59404,9 +59631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *356 - *357 - - *180 + - *358 + - *181 - *19 responses: '200': @@ -59423,7 +59650,7 @@ paths: type: integer variables: type: array - items: &402 + items: &403 title: Actions Variable type: object properties: @@ -59453,7 +59680,7 @@ paths: - created_at - updated_at examples: - default: &403 + default: &404 value: total_count: 2 variables: @@ -59466,7 +59693,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59486,8 +59713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -59496,12 +59723,12 @@ paths: schema: type: object properties: - enabled: &373 + enabled: &374 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *148 - selected_actions_url: *372 - sha_pinning_required: *149 + allowed_actions: *149 + selected_actions_url: *373 + sha_pinning_required: *150 required: - enabled examples: @@ -59529,8 +59756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -59541,9 +59768,9 @@ paths: schema: type: object properties: - enabled: *373 - allowed_actions: *148 - sha_pinning_required: *149 + enabled: *374 + allowed_actions: *149 + sha_pinning_required: *150 required: - enabled examples: @@ -59573,14 +59800,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: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: &374 + schema: &375 type: object properties: access_level: @@ -59597,7 +59824,7 @@ paths: required: - access_level examples: - default: &375 + default: &376 value: access_level: organization x-github: @@ -59621,15 +59848,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: - - *356 - *357 + - *358 requestBody: required: true content: application/json: - schema: *374 + schema: *375 examples: - default: *375 + default: *376 responses: '204': description: Response @@ -59653,14 +59880,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *376 + schema: *377 examples: default: value: @@ -59684,8 +59911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *356 - *357 + - *358 responses: '204': description: Empty response for successful settings update @@ -59695,7 +59922,7 @@ paths: required: true content: application/json: - schema: *377 + schema: *378 examples: default: summary: Set retention days @@ -59719,16 +59946,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *378 + default: *379 '404': *6 x-github: enabledForGitHubApps: true @@ -59747,8 +59974,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -59758,7 +59985,7 @@ paths: required: true content: application/json: - schema: *150 + schema: *151 examples: default: summary: Set approval policy to first time contributors @@ -59782,16 +60009,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: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: *151 + default: *152 '403': *29 '404': *6 x-github: @@ -59811,15 +60038,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: - - *356 - *357 + - *358 requestBody: required: true content: application/json: - schema: *380 + schema: *381 examples: - default: *151 + default: *152 responses: '204': description: Empty response for successful settings update @@ -59843,16 +60070,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *153 + schema: *154 examples: - default: *154 + default: *155 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59871,8 +60098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -59880,9 +60107,9 @@ paths: required: false content: application/json: - schema: *153 + schema: *154 examples: - selected_actions: *154 + selected_actions: *155 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59904,16 +60131,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *381 + schema: *382 examples: - default: *158 + default: *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59934,8 +60161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *356 - *357 + - *358 responses: '204': description: Success response @@ -59946,9 +60173,9 @@ paths: required: true content: application/json: - schema: *382 + schema: *383 examples: - default: *158 + default: *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59975,8 +60202,8 @@ paths: in: query schema: type: string - - *356 - *357 + - *358 - *17 - *19 responses: @@ -59994,11 +60221,11 @@ paths: type: integer runners: type: array - items: *165 + items: *166 examples: - default: *166 + default: *167 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60020,8 +60247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -60029,9 +60256,9 @@ paths: application/json: schema: type: array - items: *383 + items: *384 examples: - default: *384 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60053,8 +60280,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: - - *356 - *357 + - *358 requestBody: required: true content: @@ -60097,10 +60324,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *385 + '201': *386 '404': *6 '422': *7 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60128,16 +60355,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *356 - *357 + - *358 responses: '201': description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: *386 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60165,16 +60392,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *356 - *357 + - *358 responses: '201': description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: *387 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60196,17 +60423,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: - - *356 - *357 - - *164 + - *358 + - *165 responses: '200': description: Response content: application/json: - schema: *165 + schema: *166 examples: - default: *388 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60227,9 +60454,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: - - *356 - *357 - - *164 + - *358 + - *165 responses: '204': description: Response @@ -60255,11 +60482,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: - - *356 - *357 - - *164 + - *358 + - *165 responses: - '200': *169 + '200': *170 '404': *6 x-github: githubCloudOnly: false @@ -60281,9 +60508,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: - - *356 - *357 - - *164 + - *358 + - *165 requestBody: required: true content: @@ -60307,7 +60534,7 @@ paths: - gpu - accelerated responses: - '200': *169 + '200': *170 '404': *6 '422': *7 x-github: @@ -60331,9 +60558,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: - - *356 - *357 - - *164 + - *358 + - *165 requestBody: required: true content: @@ -60358,7 +60585,7 @@ paths: - gpu - accelerated responses: - '200': *169 + '200': *170 '404': *6 '422': *7 x-github: @@ -60382,11 +60609,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: - - *356 - *357 - - *164 + - *358 + - *165 responses: - '200': *389 + '200': *390 '404': *6 x-github: githubCloudOnly: false @@ -60413,12 +60640,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: - - *356 - *357 - - *164 - - *390 + - *358 + - *165 + - *391 responses: - '200': *169 + '200': *170 '404': *6 '422': *7 x-github: @@ -60444,9 +60671,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *356 - *357 - - &406 + - *358 + - &407 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. @@ -60454,7 +60681,7 @@ paths: required: false schema: type: string - - &407 + - &408 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -60462,7 +60689,7 @@ paths: required: false schema: type: string - - &408 + - &409 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -60471,7 +60698,7 @@ paths: required: false schema: type: string - - &409 + - &410 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 @@ -60498,7 +60725,7 @@ paths: - pending - *17 - *19 - - &410 + - &411 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)." @@ -60507,7 +60734,7 @@ paths: schema: type: string format: date-time - - &391 + - &392 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -60516,13 +60743,13 @@ paths: schema: type: boolean default: false - - &411 + - &412 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &412 + - &413 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -60545,7 +60772,7 @@ paths: type: integer workflow_runs: type: array - items: &392 + items: &393 title: Workflow Run description: An invocation of a workflow type: object @@ -60640,7 +60867,7 @@ paths: that triggered the run. type: array nullable: true - items: *93 + items: *94 created_at: type: string format: date-time @@ -60693,7 +60920,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &436 + properties: &437 id: type: string description: SHA for the commit @@ -60744,7 +60971,7 @@ paths: - name - email nullable: true - required: &437 + required: &438 - id - tree_id - message @@ -60752,8 +60979,8 @@ paths: - author - committer nullable: true - repository: *163 - head_repository: *163 + repository: *164 + head_repository: *164 head_repository_id: type: integer example: 5 @@ -60791,7 +61018,7 @@ paths: - workflow_url - pull_requests examples: - default: &413 + default: &414 value: total_count: 1 workflow_runs: @@ -61005,7 +61232,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: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61027,24 +61254,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *356 - *357 - - &393 + - *358 + - &394 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *391 + - *392 responses: '200': description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: &396 + default: &397 value: id: 30433642 name: Build @@ -61285,9 +61512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *356 - *357 - - *393 + - *358 + - *394 responses: '204': description: Response @@ -61310,9 +61537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *356 - *357 - - *393 + - *358 + - *394 responses: '200': description: Response @@ -61431,15 +61658,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: - - *356 - *357 - - *393 + - *358 + - *394 responses: '201': description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -61466,13 +61693,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *356 - *357 - - *393 + - *358 + - *394 - *17 - *19 - - *394 - - *62 + - *395 + - *63 responses: '200': description: Response @@ -61488,11 +61715,11 @@ paths: type: integer artifacts: type: array - items: *363 + items: *364 examples: - default: *395 + default: *396 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61514,25 +61741,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *356 - *357 - - *393 - - &397 + - *358 + - *394 + - &398 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *391 + - *392 responses: '200': description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: *396 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61555,10 +61782,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *356 - *357 - - *393 - - *397 + - *358 + - *394 + - *398 - *17 - *19 responses: @@ -61576,9 +61803,9 @@ paths: type: integer jobs: type: array - items: *398 + items: *399 examples: - default: &399 + default: &400 value: total_count: 1 jobs: @@ -61667,7 +61894,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -61691,10 +61918,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *356 - *357 - - *393 - - *397 + - *358 + - *394 + - *398 responses: '302': description: Response @@ -61722,19 +61949,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *356 - *357 - - *393 + - *358 + - *394 responses: '202': description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61770,12 +61997,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *356 - *357 - - *393 + - *358 + - *394 - *17 - - *47 - *48 + - *49 responses: '200': description: Response @@ -61918,7 +62145,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: *70 + Link: *71 '404': *6 '422': *15 x-github: @@ -61943,9 +62170,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: - - *356 - *357 - - *393 + - *358 + - *394 requestBody: required: true content: @@ -62012,19 +62239,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *356 - *357 - - *393 + - *358 + - *394 responses: '202': description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62047,9 +62274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *356 - *357 - - *393 + - *358 + - *394 - 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 @@ -62079,11 +62306,11 @@ paths: type: integer jobs: type: array - items: *398 + items: *399 examples: - default: *399 + default: *400 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62106,9 +62333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *356 - *357 - - *393 + - *358 + - *394 responses: '302': description: Response @@ -62135,14 +62362,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *356 - *357 - - *393 + - *358 + - *394 responses: '204': description: Response '403': *29 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62164,9 +62391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *356 - *357 - - *393 + - *358 + - *394 responses: '200': description: Response @@ -62226,7 +62453,7 @@ paths: items: type: object properties: - type: &526 + type: &527 type: string description: The type of reviewer. enum: @@ -62236,7 +62463,7 @@ paths: reviewer: anyOf: - *4 - - *210 + - *211 required: - environment - wait_timer @@ -62311,9 +62538,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *356 - *357 - - *393 + - *358 + - *394 requestBody: required: true content: @@ -62360,12 +62587,12 @@ paths: application/json: schema: type: array - items: &521 + items: &522 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &804 + properties: &805 url: type: string format: uri @@ -62448,9 +62675,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 - required: &805 + properties: *84 + required: *85 + required: &806 - id - node_id - sha @@ -62466,7 +62693,7 @@ paths: - created_at - updated_at examples: - default: &522 + default: &523 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -62522,9 +62749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *356 - *357 - - *393 + - *358 + - *394 requestBody: required: false content: @@ -62545,7 +62772,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -62568,9 +62795,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *356 - *357 - - *393 + - *358 + - *394 requestBody: required: false content: @@ -62591,7 +62818,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -62623,9 +62850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *356 - *357 - - *393 + - *358 + - *394 responses: '200': description: Response @@ -62762,8 +62989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -62781,11 +63008,11 @@ paths: type: integer secrets: type: array - items: *400 + items: *401 examples: - default: *401 + default: *402 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62808,16 +63035,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62839,17 +63066,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 responses: '200': description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: &414 + default: &415 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -62875,9 +63102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 requestBody: required: true content: @@ -62908,7 +63135,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -62934,9 +63161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 responses: '204': description: Response @@ -62961,9 +63188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *356 - *357 - - *180 + - *358 + - *181 - *19 responses: '200': @@ -62980,11 +63207,11 @@ paths: type: integer variables: type: array - items: *402 + items: *403 examples: - default: *403 + default: *404 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63005,8 +63232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -63033,7 +63260,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -63058,17 +63285,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *356 - *357 - - *174 + - *358 + - *175 responses: '200': description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: &415 + default: &416 value: name: USERNAME value: octocat @@ -63094,9 +63321,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *356 - *357 - - *174 + - *358 + - *175 requestBody: required: true content: @@ -63138,9 +63365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *356 - *357 - - *174 + - *358 + - *175 responses: '204': description: Response @@ -63165,8 +63392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -63184,7 +63411,7 @@ paths: type: integer workflows: type: array - items: &404 + items: &405 title: Workflow description: A GitHub Actions workflow type: object @@ -63268,7 +63495,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: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63291,9 +63518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *356 - *357 - - &405 + - *358 + - &406 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -63308,7 +63535,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: default: value: @@ -63341,9 +63568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *356 - *357 - - *405 + - *358 + - *406 responses: '204': description: Response @@ -63368,9 +63595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *356 - *357 - - *405 + - *358 + - *406 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -63457,9 +63684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *356 - *357 - - *405 + - *358 + - *406 responses: '204': description: Response @@ -63486,19 +63713,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *356 - *357 - - *405 + - *358 - *406 - *407 - *408 - *409 + - *410 - *17 - *19 - - *410 - - *391 - *411 + - *392 - *412 + - *413 responses: '200': description: Response @@ -63514,11 +63741,11 @@ paths: type: integer workflow_runs: type: array - items: *392 + items: *393 examples: - default: *413 + default: *414 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63548,9 +63775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *356 - *357 - - *405 + - *358 + - *406 responses: '200': description: Response @@ -63611,12 +63838,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *356 - *357 - - *62 + - *358 + - *63 - *17 - - *47 - *48 + - *49 - name: ref description: |- The Git reference for the activities you want to list. @@ -63757,7 +63984,7 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 '422': *7 x-github: githubCloudOnly: false @@ -63781,8 +64008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -63800,11 +64027,11 @@ paths: type: integer secrets: type: array - items: *400 + items: *401 examples: - default: *401 + default: *402 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63826,9 +64053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables parameters: - - *356 - *357 - - *180 + - *358 + - *181 - *19 responses: '200': @@ -63845,11 +64072,11 @@ paths: type: integer variables: type: array - items: *402 + items: *403 examples: - default: *403 + default: *404 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63872,8 +64099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-secrets parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -63891,11 +64118,11 @@ paths: type: integer secrets: type: array - items: *400 + items: *401 examples: - default: *401 + default: *402 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63918,16 +64145,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63949,17 +64176,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 responses: '200': description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: *414 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63981,9 +64208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 requestBody: required: true content: @@ -64014,7 +64241,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -64040,9 +64267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 responses: '204': description: Response @@ -64067,9 +64294,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-variables parameters: - - *356 - *357 - - *180 + - *358 + - *181 - *19 responses: '200': @@ -64086,11 +64313,11 @@ paths: type: integer variables: type: array - items: *402 + items: *403 examples: - default: *403 + default: *404 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64111,8 +64338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-a-repository-variable parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -64139,7 +64366,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -64164,17 +64391,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-a-repository-variable parameters: - - *356 - *357 - - *174 + - *358 + - *175 responses: '200': description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: *415 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64195,9 +64422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-a-repository-variable parameters: - - *356 - *357 - - *174 + - *358 + - *175 requestBody: required: true content: @@ -64239,9 +64466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable parameters: - - *356 - *357 - - *174 + - *358 + - *175 responses: '204': description: Response @@ -64262,8 +64489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -64275,9 +64502,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -64300,8 +64527,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *356 - *357 + - *358 - name: assignee in: path required: true @@ -64337,8 +64564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -64448,11 +64675,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *356 - *357 + - *358 - *17 - - *47 - *48 + - *49 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -64506,7 +64733,7 @@ paths: initiator: type: string examples: - default: *416 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64526,8 +64753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -64535,7 +64762,7 @@ paths: application/json: schema: type: array - items: &417 + items: &418 title: Autolink reference description: An autolink reference. type: object @@ -64589,8 +64816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -64629,9 +64856,9 @@ paths: description: response content: application/json: - schema: *417 + schema: *418 examples: - default: &418 + default: &419 value: id: 1 key_prefix: TICKET- @@ -64662,9 +64889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *356 - *357 - - &419 + - *358 + - &420 name: autolink_id description: The unique identifier of the autolink. in: path @@ -64676,9 +64903,9 @@ paths: description: Response content: application/json: - schema: *417 + schema: *418 examples: - default: *418 + default: *419 '404': *6 x-github: githubCloudOnly: false @@ -64698,9 +64925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *356 - *357 - - *419 + - *358 + - *420 responses: '204': description: Response @@ -64724,8 +64951,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: - - *356 - *357 + - *358 responses: '200': description: Response if Dependabot is enabled @@ -64773,8 +65000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -64795,8 +65022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -64816,8 +65043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *356 - *357 + - *358 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -64855,7 +65082,7 @@ paths: - url protected: type: boolean - protection: &421 + protection: &422 title: Branch Protection description: Branch Protection type: object @@ -64897,7 +65124,7 @@ paths: required: - contexts - checks - enforce_admins: &424 + enforce_admins: &425 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -64912,7 +65139,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &426 + required_pull_request_reviews: &427 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -64933,7 +65160,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *210 + items: *211 apps: description: The list of apps with review dismissal access. @@ -64962,7 +65189,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *210 + items: *211 apps: description: The list of apps allowed to bypass pull request requirements. @@ -64988,7 +65215,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &423 + restrictions: &424 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -65051,7 +65278,7 @@ paths: type: string teams: type: array - items: *210 + items: *211 apps: type: array items: @@ -65247,7 +65474,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -65265,9 +65492,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *356 - *357 - - &422 + - *358 + - &423 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). @@ -65281,14 +65508,14 @@ paths: description: Response content: application/json: - schema: &432 + schema: &433 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &491 + commit: &492 title: Commit description: Commit type: object @@ -65322,7 +65549,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &420 + properties: &421 name: type: string example: '"Chris Wanstrath"' @@ -65338,7 +65565,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *420 + properties: *421 nullable: true message: type: string @@ -65359,7 +65586,7 @@ paths: required: - sha - url - verification: &544 + verification: &545 title: Verification type: object properties: @@ -65393,12 +65620,12 @@ paths: nullable: true oneOf: - *4 - - *172 + - *173 committer: nullable: true oneOf: - *4 - - *172 + - *173 parents: type: array items: @@ -65429,7 +65656,7 @@ paths: type: integer files: type: array - items: &504 + items: &505 title: Diff Entry description: Diff Entry type: object @@ -65513,7 +65740,7 @@ paths: - self protected: type: boolean - protection: *421 + protection: *422 protection_url: type: string format: uri @@ -65620,7 +65847,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *360 + '301': *361 '404': *6 x-github: githubCloudOnly: false @@ -65642,15 +65869,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *421 + schema: *422 examples: default: value: @@ -65844,9 +66071,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: true content: @@ -66101,7 +66328,7 @@ paths: url: type: string format: uri - required_status_checks: &429 + required_status_checks: &430 title: Status Check Policy description: Status Check Policy type: object @@ -66177,7 +66404,7 @@ paths: items: *4 teams: type: array - items: *210 + items: *211 apps: type: array items: *5 @@ -66195,7 +66422,7 @@ paths: items: *4 teams: type: array - items: *210 + items: *211 apps: type: array items: *5 @@ -66253,7 +66480,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *423 + restrictions: *424 required_conversation_resolution: type: object properties: @@ -66365,9 +66592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '204': description: Response @@ -66392,17 +66619,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *424 + schema: *425 examples: - default: &425 + default: &426 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -66424,17 +66651,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *424 + schema: *425 examples: - default: *425 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66453,9 +66680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '204': description: Response @@ -66480,17 +66707,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: &427 + default: &428 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -66586,9 +66813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: false content: @@ -66686,9 +66913,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: *427 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -66709,9 +66936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '204': description: Response @@ -66738,17 +66965,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *424 + schema: *425 examples: - default: &428 + default: &429 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -66771,17 +66998,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *424 + schema: *425 examples: - default: *428 + default: *429 '404': *6 x-github: githubCloudOnly: false @@ -66801,9 +67028,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '204': description: Response @@ -66828,17 +67055,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *429 + schema: *430 examples: - default: &430 + default: &431 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -66864,9 +67091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: false content: @@ -66918,9 +67145,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *430 examples: - default: *430 + default: *431 '404': *6 '422': *15 x-github: @@ -66942,9 +67169,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '204': description: Response @@ -66968,9 +67195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response @@ -67004,9 +67231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: false content: @@ -67073,9 +67300,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: false content: @@ -67139,9 +67366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: content: application/json: @@ -67207,15 +67434,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -67306,9 +67533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '204': description: Response @@ -67331,9 +67558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response @@ -67343,7 +67570,7 @@ paths: type: array items: *5 examples: - default: &431 + default: &432 value: - id: 1 slug: octoapp @@ -67400,9 +67627,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: true content: @@ -67436,7 +67663,7 @@ paths: type: array items: *5 examples: - default: *431 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -67457,9 +67684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: true content: @@ -67493,7 +67720,7 @@ paths: type: array items: *5 examples: - default: *431 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -67514,9 +67741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: true content: @@ -67550,7 +67777,7 @@ paths: type: array items: *5 examples: - default: *431 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -67572,9 +67799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response @@ -67582,9 +67809,9 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: *274 + default: *275 '404': *6 x-github: githubCloudOnly: false @@ -67604,9 +67831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: false content: @@ -67642,9 +67869,9 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: *274 + default: *275 '422': *15 x-github: githubCloudOnly: false @@ -67665,9 +67892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: false content: @@ -67703,9 +67930,9 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: *274 + default: *275 '422': *15 x-github: githubCloudOnly: false @@ -67726,9 +67953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: content: application/json: @@ -67763,9 +67990,9 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: *274 + default: *275 '422': *15 x-github: githubCloudOnly: false @@ -67787,9 +68014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response @@ -67799,7 +68026,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 '404': *6 x-github: githubCloudOnly: false @@ -67823,9 +68050,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: true content: @@ -67858,7 +68085,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 '422': *15 x-github: githubCloudOnly: false @@ -67883,9 +68110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: true content: @@ -67918,7 +68145,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 '422': *15 x-github: githubCloudOnly: false @@ -67943,9 +68170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: true content: @@ -67978,7 +68205,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 '422': *15 x-github: githubCloudOnly: false @@ -68005,9 +68232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: true content: @@ -68029,7 +68256,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *433 examples: default: value: @@ -68145,8 +68372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -68425,7 +68652,7 @@ paths: description: Response content: application/json: - schema: &433 + schema: &434 title: CheckRun description: A check performed on the code of a given code change type: object @@ -68536,16 +68763,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *93 - deployment: &797 + items: *94 + deployment: &798 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -68612,8 +68839,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 required: - id - node_id @@ -68825,9 +69052,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *356 - *357 - - &434 + - *358 + - &435 name: check_run_id description: The unique identifier of the check run. in: path @@ -68839,9 +69066,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *434 examples: - default: &435 + default: &436 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -68941,9 +69168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *356 - *357 - - *434 + - *358 + - *435 requestBody: required: true content: @@ -69183,9 +69410,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *434 examples: - default: *435 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69205,9 +69432,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *356 - *357 - - *434 + - *358 + - *435 - *17 - *19 responses: @@ -69282,7 +69509,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: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69302,15 +69529,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *356 - *357 - - *434 + - *358 + - *435 responses: '201': description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -69348,8 +69575,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -69371,7 +69598,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &438 + schema: &439 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -69435,7 +69662,7 @@ paths: nullable: true pull_requests: type: array - items: *93 + items: *94 nullable: true app: title: GitHub app @@ -69446,9 +69673,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 - repository: *163 + properties: *84 + required: *85 + repository: *164 created_at: type: string format: date-time @@ -69457,12 +69684,12 @@ paths: type: string format: date-time nullable: true - head_commit: &825 + head_commit: &826 title: Simple Commit description: A commit. type: object - properties: *436 - required: *437 + properties: *437 + required: *438 latest_check_runs_count: type: integer check_runs_url: @@ -69490,7 +69717,7 @@ paths: - check_runs_url - pull_requests examples: - default: &439 + default: &440 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -69781,9 +70008,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69802,8 +70029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -69864,7 +70091,7 @@ paths: required: - app_id - setting - repository: *163 + repository: *164 examples: default: value: @@ -70112,9 +70339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *356 - *357 - - &440 + - *358 + - &441 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -70126,9 +70353,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70151,17 +70378,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *356 - *357 - - *440 - - &497 + - *358 + - *441 + - &498 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &498 + - &499 name: status description: Returns check runs with the specified `status`. in: query @@ -70200,9 +70427,9 @@ paths: type: integer check_runs: type: array - items: *433 + items: *434 examples: - default: &499 + default: &500 value: total_count: 1 check_runs: @@ -70284,7 +70511,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70304,15 +70531,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *356 - *357 - - *440 + - *358 + - *441 responses: '201': description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -70335,12 +70562,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository parameters: - - *356 - *357 + - *358 - *17 - - *62 - - *47 + - *63 - *48 + - *49 - name: state description: If specified, only code quality findings with this state will be returned. @@ -70358,7 +70585,7 @@ paths: application/json: schema: type: array - items: &441 + items: &442 description: Code quality finding type: object properties: @@ -70488,14 +70715,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': &442 + '403': &443 description: Response if the user is not authorized to access Code quality for this repository. content: application/json: schema: *3 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70515,8 +70742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding parameters: - - *356 - *357 + - *358 - name: finding_number in: path description: The number that identifies a finding. @@ -70528,7 +70755,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *442 examples: default: value: @@ -70557,9 +70784,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': *442 + '403': *443 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70579,8 +70806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -70644,9 +70871,9 @@ paths: runner_label: updated_at: '2023-01-01T00:00:00Z' schedule: weekly - '403': *442 + '403': *443 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70665,8 +70892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -70727,7 +70954,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -70770,7 +70997,7 @@ paths: content: application/json: schema: *3 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70794,30 +71021,30 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *356 - *357 - - *443 + - *358 - *444 + - *445 - *19 - *17 - - &461 + - &462 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: *445 - - &462 + schema: *446 + - &463 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *62 - - *47 + - *63 - *48 + - *49 - name: sort description: The property by which to sort the results. in: query @@ -70833,13 +71060,13 @@ paths: be returned. in: query required: false - schema: *446 + schema: *447 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *447 + schema: *448 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -70858,14 +71085,14 @@ paths: items: type: object properties: - number: *188 - created_at: *189 - updated_at: *190 - url: *191 - html_url: *192 - instances_url: *448 - state: *197 - fixed_at: *193 + number: *189 + created_at: *190 + updated_at: *191 + url: *192 + html_url: *193 + instances_url: *449 + state: *198 + fixed_at: *194 dismissed_by: title: Simple User description: A GitHub user. @@ -70873,12 +71100,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *194 - dismissed_reason: *449 - dismissed_comment: *450 - rule: *451 - tool: *452 - most_recent_instance: *453 + dismissed_at: *195 + dismissed_reason: *450 + dismissed_comment: *451 + rule: *452 + tool: *453 + most_recent_instance: *454 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -71003,15 +71230,15 @@ paths: end_column: 18 classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances - '304': *37 - '403': &454 + '304': *38 + '403': &455 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71031,9 +71258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *356 - *357 - - &455 + - *358 + - &456 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -71041,23 +71268,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *188 + schema: *189 responses: '200': description: Response content: application/json: - schema: &456 + schema: &457 type: object properties: - number: *188 - created_at: *189 - updated_at: *190 - url: *191 - html_url: *192 - instances_url: *448 - state: *197 - fixed_at: *193 + number: *189 + created_at: *190 + updated_at: *191 + url: *192 + html_url: *193 + instances_url: *449 + state: *198 + fixed_at: *194 dismissed_by: title: Simple User description: A GitHub user. @@ -71065,9 +71292,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *194 - dismissed_reason: *449 - dismissed_comment: *450 + dismissed_at: *195 + dismissed_reason: *450 + dismissed_comment: *451 rule: type: object properties: @@ -71121,8 +71348,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *452 - most_recent_instance: *453 + tool: *453 + most_recent_instance: *454 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -71220,10 +71447,10 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '304': *37 - '403': *454 + '304': *38 + '403': *455 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71241,9 +71468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *356 - *357 - - *455 + - *358 + - *456 requestBody: required: true content: @@ -71258,8 +71485,8 @@ paths: enum: - open - dismissed - dismissed_reason: *449 - dismissed_comment: *450 + dismissed_reason: *450 + dismissed_comment: *451 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -71287,7 +71514,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *457 examples: default: value: @@ -71363,14 +71590,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &460 + '403': &461 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': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -71390,15 +71617,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: - - *356 - *357 - - *455 + - *358 + - *456 responses: '200': description: Response content: application/json: - schema: &457 + schema: &458 type: object properties: status: @@ -71424,13 +71651,13 @@ paths: - description - started_at examples: - default: &458 + default: &459 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &459 + '400': &460 description: Bad Request content: application/json: @@ -71441,9 +71668,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': *454 + '403': *455 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71466,29 +71693,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: - - *356 - *357 - - *455 + - *358 + - *456 responses: '200': description: OK content: application/json: - schema: *457 + schema: *458 examples: - default: *458 + default: *459 '202': description: Accepted content: application/json: - schema: *457 + schema: *458 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *459 + '400': *460 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -71498,7 +71725,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71520,9 +71747,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: - - *356 - *357 - - *455 + - *358 + - *456 requestBody: required: false content: @@ -71567,12 +71794,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *459 - '403': *460 + '400': *460 + '403': *461 '404': *6 '422': description: Unprocessable Entity - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71592,13 +71819,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *356 - *357 - - *455 + - *358 + - *456 - *19 - *17 - - *461 - *462 + - *463 responses: '200': description: Response @@ -71609,10 +71836,10 @@ paths: items: type: object properties: - ref: *445 - analysis_key: *463 - environment: *464 - category: *465 + ref: *446 + analysis_key: *464 + environment: *465 + category: *466 state: type: string description: State of a code scanning alert instance. @@ -71627,7 +71854,7 @@ paths: properties: text: type: string - location: *466 + location: *467 html_url: type: string classifications: @@ -71635,7 +71862,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: *467 + items: *468 examples: default: value: @@ -71672,9 +71899,9 @@ paths: end_column: 50 classifications: - source - '403': *454 + '403': *455 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71706,29 +71933,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *356 - *357 - - *443 + - *358 - *444 + - *445 - *19 - *17 - - *462 + - *463 - 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: *445 + schema: *446 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &468 + schema: &469 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *62 + - *63 - name: sort description: The property by which to sort the results. in: query @@ -71745,23 +71972,23 @@ paths: application/json: schema: type: array - items: &469 + items: &470 type: object properties: - ref: *445 - commit_sha: &477 + ref: *446 + commit_sha: &478 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: *463 + analysis_key: *464 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *465 + category: *466 error: type: string example: error reading field xyz @@ -71785,8 +72012,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *468 - tool: *452 + sarif_id: *469 + tool: *453 deletable: type: boolean warning: @@ -71847,9 +72074,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *454 + '403': *455 '404': *6 - '503': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -71883,8 +72110,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: - - *356 - *357 + - *358 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -71897,7 +72124,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *470 examples: response: summary: application/json response @@ -71951,14 +72178,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *454 + '403': *455 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72038,8 +72265,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: - - *356 - *357 + - *358 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72092,9 +72319,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': *460 + '403': *461 '404': *6 - '503': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72114,8 +72341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -72123,7 +72350,7 @@ paths: application/json: schema: type: array - items: &470 + items: &471 title: CodeQL Database description: A CodeQL database. type: object @@ -72234,9 +72461,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': *454 + '403': *455 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72263,8 +72490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *356 - *357 + - *358 - name: language in: path description: The language of the CodeQL database. @@ -72276,7 +72503,7 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: default: value: @@ -72308,11 +72535,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': &508 + '302': &509 description: Found - '403': *454 + '403': *455 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72332,8 +72559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *356 - *357 + - *358 - name: language in: path description: The language of the CodeQL database. @@ -72343,9 +72570,9 @@ paths: responses: '204': description: Response - '403': *460 + '403': *461 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72371,8 +72598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -72381,7 +72608,7 @@ paths: type: object additionalProperties: false properties: - language: &471 + language: &472 type: string description: The language targeted by the CodeQL query enum: @@ -72461,7 +72688,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &475 + schema: &476 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -72469,9 +72696,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *67 + controller_repo: *68 actor: *4 - query_language: *471 + query_language: *472 query_pack_url: type: string description: The download url for the query pack. @@ -72518,7 +72745,7 @@ paths: items: type: object properties: - repository: &472 + repository: &473 title: Repository Identifier description: Repository Identifier type: object @@ -72554,7 +72781,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &476 + analysis_status: &477 type: string description: The new status of the CodeQL variant analysis repository task. @@ -72586,7 +72813,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &473 + access_mismatch_repos: &474 type: object properties: repository_count: @@ -72600,7 +72827,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: *472 + items: *473 required: - repository_count - repositories @@ -72622,8 +72849,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *473 - over_limit_repos: *473 + no_codeql_db_repos: *474 + over_limit_repos: *474 required: - access_mismatch_repos - not_found_repos @@ -72639,7 +72866,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &474 + value: &475 summary: Default response value: id: 1 @@ -72785,17 +73012,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *474 + value: *475 repository_lists: summary: Response for a successful variant analysis submission - value: *474 + value: *475 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72816,8 +73043,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: - - *356 - *357 + - *358 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -72829,11 +73056,11 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *474 + default: *475 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72854,7 +73081,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: - - *356 + - *357 - name: repo in: path description: The name of the controller repository. @@ -72888,8 +73115,8 @@ paths: schema: type: object properties: - repository: *67 - analysis_status: *476 + repository: *68 + analysis_status: *477 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -72993,7 +73220,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73014,8 +73241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -73100,9 +73327,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *454 + '403': *455 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73121,8 +73348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -73189,7 +73416,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -73214,7 +73441,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *460 + '403': *461 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -73228,7 +73455,7 @@ paths: content: application/json: schema: *3 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73285,8 +73512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -73294,7 +73521,7 @@ paths: schema: type: object properties: - commit_sha: *477 + commit_sha: *478 ref: type: string description: |- @@ -73352,7 +73579,7 @@ paths: schema: type: object properties: - id: *468 + id: *469 url: type: string description: The REST API URL for checking the status of the upload. @@ -73366,11 +73593,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': *460 + '403': *461 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73389,8 +73616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *356 - *357 + - *358 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -73436,10 +73663,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': *454 + '403': *455 '404': description: Not Found if the sarif id does not match any upload - '503': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73461,8 +73688,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: - - *356 - *357 + - *358 responses: '200': description: Response @@ -73486,7 +73713,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *49 + configuration: *50 examples: default: value: @@ -73518,8 +73745,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': *61 - '304': *37 + '204': *60 + '304': *38 '403': *29 '404': *6 x-github: @@ -73543,8 +73770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *356 - *357 + - *358 - 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 @@ -73664,8 +73891,8 @@ paths: parameters: - *17 - *19 - - *356 - *357 + - *358 responses: '200': description: Response @@ -73681,7 +73908,7 @@ paths: type: integer codespaces: type: array - items: *262 + items: *263 examples: default: value: @@ -73957,7 +74184,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': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -73979,8 +74206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -74043,22 +74270,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *262 + schema: *263 examples: - default: *478 + default: *479 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *262 + schema: *263 examples: - default: *478 + default: *479 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -74082,8 +74309,8 @@ paths: parameters: - *17 - *19 - - *356 - *357 + - *358 responses: '200': description: Response @@ -74123,7 +74350,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *55 + '500': *56 '400': *14 '401': *25 '403': *29 @@ -74147,8 +74374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *356 - *357 + - *358 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -74183,14 +74410,14 @@ paths: type: integer machines: type: array - items: &739 + items: &740 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *479 - required: *480 + properties: *480 + required: *481 examples: - default: &740 + default: &741 value: total_count: 2 machines: @@ -74206,8 +74433,8 @@ paths: storage_in_bytes: 68719476736 memory_in_bytes: 34359738368 cpus: 8 - '304': *37 - '500': *55 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -74230,8 +74457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *356 - *357 + - *358 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -74315,8 +74542,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: - - *356 - *357 + - *358 - 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 @@ -74361,7 +74588,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74382,8 +74609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -74401,7 +74628,7 @@ paths: type: integer secrets: type: array - items: &484 + items: &485 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -74421,9 +74648,9 @@ paths: - created_at - updated_at examples: - default: *481 + default: *482 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74444,16 +74671,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *482 + schema: *483 examples: - default: *483 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -74473,17 +74700,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 responses: '200': description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: *485 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74503,9 +74730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 requestBody: required: true content: @@ -74533,7 +74760,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -74557,9 +74784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 responses: '204': description: Response @@ -74587,8 +74814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *356 - *357 + - *358 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -74630,7 +74857,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &486 + properties: &487 login: type: string example: octocat @@ -74723,7 +74950,7 @@ paths: user_view_type: type: string example: public - required: &487 + required: &488 - avatar_url - events_url - followers_url @@ -74772,7 +74999,7 @@ paths: admin: false role_name: write headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -74797,9 +75024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *356 - *357 - - *74 + - *358 + - *75 responses: '204': description: Response if user is a collaborator @@ -74845,9 +75072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *356 - *357 - - *74 + - *358 + - *75 requestBody: required: false content: @@ -74873,7 +75100,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &558 + schema: &559 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -74884,7 +75111,7 @@ paths: example: 42 type: integer format: int64 - repository: *163 + repository: *164 invitee: title: Simple User description: A GitHub user. @@ -75062,7 +75289,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *132 + schema: *133 '403': *29 x-github: triggersNotification: true @@ -75102,9 +75329,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *356 - *357 - - *74 + - *358 + - *75 responses: '204': description: No Content when collaborator was removed from the repository. @@ -75135,9 +75362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *356 - *357 - - *74 + - *358 + - *75 responses: '200': description: if user has admin permissions @@ -75157,8 +75384,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *486 - required: *487 + properties: *487 + required: *488 nullable: true required: - permission @@ -75213,8 +75440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -75224,7 +75451,7 @@ paths: application/json: schema: type: array - items: &488 + items: &489 title: Commit Comment description: Commit Comment type: object @@ -75265,8 +75492,8 @@ paths: updated_at: type: string format: date-time - author_association: *85 - reactions: *86 + author_association: *86 + reactions: *87 required: - url - html_url @@ -75282,7 +75509,7 @@ paths: - created_at - updated_at examples: - default: &493 + default: &494 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75316,7 +75543,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75341,17 +75568,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 responses: '200': description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: &494 + default: &495 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75408,9 +75635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 requestBody: required: true content: @@ -75432,7 +75659,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: default: value: @@ -75483,9 +75710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 responses: '204': description: Response @@ -75506,9 +75733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 - 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. @@ -75534,7 +75761,7 @@ paths: application/json: schema: type: array - items: &489 + items: &490 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -75603,7 +75830,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -75622,9 +75849,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 requestBody: required: true content: @@ -75656,9 +75883,9 @@ paths: description: Reaction exists content: application/json: - schema: *489 + schema: *490 examples: - default: &490 + default: &491 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -75687,9 +75914,9 @@ paths: description: Reaction created content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '422': *15 x-github: githubCloudOnly: false @@ -75711,9 +75938,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *356 - *357 - - *104 + - *358 + - *105 - &564 name: reaction_id description: The unique identifier of the reaction. @@ -75769,8 +75996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *356 - *357 + - *358 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -75826,9 +76053,9 @@ paths: application/json: schema: type: array - items: *491 + items: *492 examples: - default: &631 + default: &632 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -75898,11 +76125,11 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *70 - '500': *55 + Link: *71 + '500': *56 '400': *14 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75922,9 +76149,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *356 - *357 - - &492 + - *358 + - &493 name: commit_sha description: The SHA of the commit. in: path @@ -75971,7 +76198,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75996,9 +76223,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *356 - *357 - - *492 + - *358 + - *493 - *17 - *19 responses: @@ -76008,11 +76235,11 @@ paths: application/json: schema: type: array - items: *488 + items: *489 examples: - default: *493 + default: *494 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76038,9 +76265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *356 - *357 - - *492 + - *358 + - *493 requestBody: required: true content: @@ -76075,9 +76302,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: *494 + default: *495 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76105,9 +76332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *356 - *357 - - *492 + - *358 + - *493 - *17 - *19 responses: @@ -76117,7 +76344,7 @@ paths: application/json: schema: type: array - items: *495 + items: *496 examples: default: &623 value: @@ -76598,8 +76825,8 @@ paths: auto_merge: draft: false headers: - Link: *70 - '409': *54 + Link: *71 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76656,11 +76883,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *356 - *357 + - *358 - *19 - *17 - - &496 + - &497 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)" @@ -76675,7 +76902,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: default: &610 value: @@ -76765,7 +76992,7 @@ paths: schema: type: string examples: - default: &505 + default: &506 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -76778,7 +77005,7 @@ paths: schema: type: string examples: - default: &506 + default: &507 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -76804,9 +77031,9 @@ paths: value: ac3282a2725be3b1d4979169a7a311c89066af1c '422': *15 '404': *6 - '500': *55 - '503': *122 - '409': *54 + '500': *56 + '503': *123 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76831,11 +77058,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *356 - *357 - - *496 + - *358 - *497 - *498 + - *499 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -76869,11 +77096,11 @@ paths: type: integer check_runs: type: array - items: *433 + items: *434 examples: - default: *499 + default: *500 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76896,9 +77123,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *356 - *357 - - *496 + - *358 + - *497 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -76906,7 +77133,7 @@ paths: schema: type: integer example: 1 - - *497 + - *498 - *17 - *19 responses: @@ -76924,7 +77151,7 @@ paths: type: integer check_suites: type: array - items: *438 + items: *439 examples: default: value: @@ -77099,7 +77326,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: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77124,9 +77351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *356 - *357 - - *496 + - *358 + - *497 - *17 - *19 responses: @@ -77193,7 +77420,7 @@ paths: type: string total_count: type: integer - repository: *163 + repository: *164 commit_url: type: string format: uri @@ -77324,9 +77551,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *356 - *357 - - *496 + - *358 + - *497 - *17 - *19 responses: @@ -77336,7 +77563,7 @@ paths: application/json: schema: type: array - items: &717 + items: &718 title: Status description: The status of a commit. type: object @@ -77416,8 +77643,8 @@ paths: type: User site_admin: false headers: - Link: *70 - '301': *360 + Link: *71 + '301': *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77445,8 +77672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -77475,20 +77702,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *500 - required: *501 + properties: *501 + required: *502 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &502 + properties: &503 url: type: string format: uri html_url: type: string format: uri - required: &503 + required: &504 - url - html_url nullable: true @@ -77496,32 +77723,32 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true contributing: title: Community Health File type: object - properties: *502 - required: *503 + properties: *503 + required: *504 nullable: true readme: title: Community Health File type: object - properties: *502 - required: *503 + properties: *503 + required: *504 nullable: true issue_template: title: Community Health File type: object - properties: *502 - required: *503 + properties: *503 + required: *504 nullable: true pull_request_template: title: Community Health File type: object - properties: *502 - required: *503 + properties: *503 + required: *504 nullable: true required: - code_of_conduct @@ -77648,8 +77875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *356 - *357 + - *358 - *19 - *17 - name: basehead @@ -77692,8 +77919,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *491 - merge_base_commit: *491 + base_commit: *492 + merge_base_commit: *492 status: type: string enum: @@ -77713,10 +77940,10 @@ paths: example: 6 commits: type: array - items: *491 + items: *492 files: type: array - items: *504 + items: *505 required: - url - html_url @@ -77962,15 +78189,15 @@ paths: schema: type: string examples: - default: *505 + default: *506 application/vnd.github.patch: schema: type: string examples: - default: *506 + default: *507 '404': *6 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78012,8 +78239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *356 - *357 + - *358 - name: path description: path parameter in: path @@ -78173,7 +78400,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &507 + response-if-content-is-a-file-github-object: &508 summary: Response if content is a file value: type: file @@ -78305,7 +78532,7 @@ paths: - size - type - url - - &636 + - &637 title: Content File description: Content File type: object @@ -78506,7 +78733,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *507 + response-if-content-is-a-file: *508 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -78575,8 +78802,8 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *508 - '304': *37 + '302': *509 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78598,8 +78825,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *356 - *357 + - *358 - name: path description: path parameter in: path @@ -78692,7 +78919,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &510 title: File Commit description: File Commit type: object @@ -78844,7 +79071,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *510 examples: example-for-creating-a-file: value: @@ -78898,7 +79125,7 @@ paths: schema: oneOf: - *3 - - &539 + - &540 description: Repository rule violation was detected type: object properties: @@ -78919,7 +79146,7 @@ paths: items: type: object properties: - placeholder_id: &709 + placeholder_id: &710 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -78951,8 +79178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *356 - *357 + - *358 - name: path description: path parameter in: path @@ -79013,7 +79240,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *510 examples: default: value: @@ -79047,8 +79274,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *54 - '503': *122 + '409': *55 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79068,8 +79295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *356 - *357 + - *358 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -79169,7 +79396,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *70 + Link: *71 '204': description: Response if repository is empty '403': *29 @@ -79198,8 +79425,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: - - *356 - *357 + - *358 responses: '200': description: Response @@ -79309,7 +79536,7 @@ paths: custom_allowlist: - sentry.io - https://api.example.com - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -79331,27 +79558,27 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *356 - *357 - - *212 + - *358 - *213 - *214 - *215 - *216 + - *217 - 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 - - *217 - - *510 - *218 + - *511 - *219 - *220 - - *62 - - *47 + - *221 + - *63 - *48 + - *49 - *17 responses: '200': @@ -79360,11 +79587,11 @@ paths: application/json: schema: type: array - items: &514 + items: &515 type: object description: A Dependabot alert. properties: - number: *188 + number: *189 state: type: string description: The state of the Dependabot alert. @@ -79379,7 +79606,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *63 + package: *64 manifest_path: type: string description: The full path to the dependency manifest file, @@ -79407,13 +79634,13 @@ paths: - direct - transitive - inconclusive - security_advisory: *511 - security_vulnerability: *66 - url: *191 - html_url: *192 - created_at: *189 - updated_at: *190 - dismissed_at: *194 + security_advisory: *512 + security_vulnerability: *67 + url: *192 + html_url: *193 + created_at: *190 + updated_at: *191 + dismissed_at: *195 dismissed_by: title: Simple User description: A GitHub user. @@ -79437,9 +79664,9 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *193 - auto_dismissed_at: *512 - dismissal_request: *513 + fixed_at: *194 + auto_dismissed_at: *513 + dismissal_request: *514 assignees: type: array description: The users assigned to this alert. @@ -79670,7 +79897,7 @@ paths: dismissed_comment: fixed_at: assignees: [] - '304': *37 + '304': *38 '400': *14 '403': *29 '404': *6 @@ -79694,9 +79921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *356 - *357 - - &515 + - *358 + - &516 name: alert_number in: path description: |- @@ -79705,13 +79932,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *188 + schema: *189 responses: '200': description: Response content: application/json: - schema: *514 + schema: *515 examples: default: value: @@ -79821,7 +80048,7 @@ paths: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false - '304': *37 + '304': *38 '403': *29 '404': *6 x-github: @@ -79843,9 +80070,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *356 - *357 - - *515 + - *358 + - *516 requestBody: required: true content: @@ -79918,7 +80145,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: default: value: @@ -80025,7 +80252,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *7 x-github: githubCloudOnly: false @@ -80048,8 +80275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -80067,7 +80294,7 @@ paths: type: integer secrets: type: array - items: &518 + items: &519 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -80098,7 +80325,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80120,16 +80347,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *517 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80149,15 +80376,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 responses: '200': description: Response content: application/json: - schema: *518 + schema: *519 examples: default: value: @@ -80183,9 +80410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 requestBody: required: true content: @@ -80213,7 +80440,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -80237,9 +80464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 responses: '204': description: Response @@ -80261,8 +80488,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: - - *356 - *357 + - *358 - 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 @@ -80398,7 +80625,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *70 + Link: *71 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -80407,8 +80634,8 @@ paths: application/json: schema: *3 '400': *14 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false category: dependency-graph @@ -80425,8 +80652,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: - - *356 - *357 + - *358 responses: '200': description: Response @@ -80642,7 +80869,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *70 + Link: *71 '404': *6 '403': *29 x-github: @@ -80664,8 +80891,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: - - *356 - *357 + - *358 - name: sbom_uuid in: path required: true @@ -80676,7 +80903,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *519 + Location: *520 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -80697,8 +80924,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: - - *356 - *357 + - *358 responses: '201': description: Response @@ -80736,8 +80963,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: - - *356 - *357 + - *358 requestBody: required: true content: @@ -80812,7 +81039,7 @@ paths: - version - url additionalProperties: false - metadata: &520 + metadata: &521 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -80845,7 +81072,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *520 + metadata: *521 resolved: type: object description: A collection of resolved package dependencies. @@ -80858,7 +81085,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *520 + metadata: *521 relationship: type: string description: A notation of whether a dependency is requested @@ -80987,8 +81214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *356 - *357 + - *358 - name: sha description: The SHA recorded at creation time. in: query @@ -81028,11 +81255,11 @@ paths: application/json: schema: type: array - items: *521 + items: *522 examples: - default: *522 + default: *523 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81096,8 +81323,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -81178,7 +81405,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: simple-example: summary: Simple example @@ -81251,9 +81478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *356 - *357 - - &523 + - *358 + - &524 name: deployment_id description: deployment_id parameter in: path @@ -81265,7 +81492,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: default: value: @@ -81330,9 +81557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *356 - *357 - - *523 + - *358 + - *524 responses: '204': description: Response @@ -81354,9 +81581,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *356 - *357 - - *523 + - *358 + - *524 - *17 - *19 responses: @@ -81366,7 +81593,7 @@ paths: application/json: schema: type: array - items: &524 + items: &525 title: Deployment Status description: The status of a deployment. type: object @@ -81457,8 +81684,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 required: - id - node_id @@ -81507,7 +81734,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -81527,9 +81754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *356 - *357 - - *523 + - *358 + - *524 requestBody: required: true content: @@ -81604,9 +81831,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *525 examples: - default: &525 + default: &526 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -81662,9 +81889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *356 - *357 - - *523 + - *358 + - *524 - name: status_id in: path required: true @@ -81675,9 +81902,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *525 examples: - default: *525 + default: *526 '404': *6 x-github: githubCloudOnly: false @@ -81702,8 +81929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -81760,8 +81987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -81778,7 +82005,7 @@ paths: type: integer environments: type: array - items: &527 + items: &528 title: Environment description: Details of a deployment environment type: object @@ -81830,7 +82057,7 @@ paths: type: type: string example: wait_timer - wait_timer: &529 + wait_timer: &530 type: integer example: 30 description: The amount of time to delay a job after @@ -81867,11 +82094,11 @@ paths: items: type: object properties: - type: *526 + type: *527 reviewer: anyOf: - *4 - - *210 + - *211 required: - id - node_id @@ -81891,7 +82118,7 @@ paths: - id - node_id - type - deployment_branch_policy: &530 + deployment_branch_policy: &531 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -82007,9 +82234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *356 - *357 - - &528 + - *358 + - &529 name: environment_name in: path required: true @@ -82022,9 +82249,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: &531 + default: &532 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -82108,9 +82335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *356 - *357 - - *528 + - *358 + - *529 requestBody: required: false content: @@ -82119,7 +82346,7 @@ paths: type: object nullable: true properties: - wait_timer: *529 + wait_timer: *530 prevent_self_review: type: boolean example: false @@ -82136,13 +82363,13 @@ paths: items: type: object properties: - type: *526 + type: *527 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *530 + deployment_branch_policy: *531 additionalProperties: false examples: default: @@ -82162,9 +82389,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *531 + default: *532 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -82188,9 +82415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *356 - *357 - - *528 + - *358 + - *529 responses: '204': description: Default response @@ -82215,9 +82442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *356 - *357 - - *528 + - *358 + - *529 - *17 - *19 responses: @@ -82235,7 +82462,7 @@ paths: example: 2 branch_policies: type: array - items: &532 + items: &533 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -82292,9 +82519,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *356 - *357 - - *528 + - *358 + - *529 requestBody: required: true content: @@ -82340,9 +82567,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *533 examples: - example-wildcard: &533 + example-wildcard: &534 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -82384,10 +82611,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *356 - *357 - - *528 - - &534 + - *358 + - *529 + - &535 name: branch_policy_id in: path required: true @@ -82399,9 +82626,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *533 examples: - default: *533 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82420,10 +82647,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *356 - *357 - - *528 - - *534 + - *358 + - *529 + - *535 requestBody: required: true content: @@ -82451,9 +82678,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *533 examples: - default: *533 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82472,10 +82699,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *356 - *357 - - *528 - - *534 + - *358 + - *529 + - *535 responses: '204': description: Response @@ -82500,9 +82727,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *528 + - *529 + - *358 - *357 - - *356 responses: '200': description: List of deployment protection rules @@ -82518,7 +82745,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &535 + items: &536 title: Deployment protection rule description: Deployment protection rule type: object @@ -82537,7 +82764,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &536 + app: &537 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -82636,9 +82863,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: - - *528 + - *529 + - *358 - *357 - - *356 requestBody: content: application/json: @@ -82659,9 +82886,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *535 + schema: *536 examples: - default: &537 + default: &538 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -82696,9 +82923,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: - - *528 + - *529 + - *358 - *357 - - *356 - *19 - *17 responses: @@ -82717,7 +82944,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *536 + items: *537 examples: default: value: @@ -82752,10 +82979,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *356 - *357 - - *528 - - &538 + - *358 + - *529 + - &539 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -82767,9 +82994,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: *537 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82790,10 +83017,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *528 + - *529 + - *358 - *357 - - *356 - - *538 + - *539 responses: '204': description: Response @@ -82819,9 +83046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *356 - *357 - - *528 + - *358 + - *529 - *17 - *19 responses: @@ -82839,11 +83066,11 @@ paths: type: integer secrets: type: array - items: *400 + items: *401 examples: - default: *401 + default: *402 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82866,17 +83093,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *356 - *357 - - *528 + - *358 + - *529 responses: '200': description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82898,18 +83125,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *356 - *357 - - *528 - - *171 + - *358 + - *529 + - *172 responses: '200': description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: *414 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82931,10 +83158,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *356 - *357 - - *528 - - *171 + - *358 + - *529 + - *172 requestBody: required: true content: @@ -82965,7 +83192,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -82991,10 +83218,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *356 - *357 - - *528 - - *171 + - *358 + - *529 + - *172 responses: '204': description: Default response @@ -83019,10 +83246,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *356 - *357 - - *528 - - *180 + - *358 + - *529 + - *181 - *19 responses: '200': @@ -83039,11 +83266,11 @@ paths: type: integer variables: type: array - items: *402 + items: *403 examples: - default: *403 + default: *404 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83064,9 +83291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *356 - *357 - - *528 + - *358 + - *529 requestBody: required: true content: @@ -83093,7 +83320,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -83118,18 +83345,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *356 - *357 - - *528 - - *174 + - *358 + - *529 + - *175 responses: '200': description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: *415 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83150,10 +83377,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *356 - *357 - - *174 - - *528 + - *358 + - *175 + - *529 requestBody: required: true content: @@ -83195,10 +83422,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *356 - *357 - - *174 - - *528 + - *358 + - *175 + - *529 responses: '204': description: Response @@ -83220,8 +83447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -83231,7 +83458,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: 200-response: value: @@ -83289,8 +83516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *356 - *357 + - *358 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -83312,7 +83539,7 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: default: value: @@ -83425,7 +83652,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *70 + Link: *71 '400': *14 x-github: githubCloudOnly: false @@ -83449,8 +83676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *356 - *357 + - *358 requestBody: required: false content: @@ -83482,9 +83709,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: - default: *361 + default: *362 '400': *14 '422': *15 '403': *29 @@ -83505,8 +83732,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -83557,7 +83784,7 @@ paths: schema: type: string '404': *6 - '409': *54 + '409': *55 '403': *29 '422': description: Validation failed @@ -83565,8 +83792,8 @@ paths: application/json: schema: oneOf: - - *132 - - *539 + - *133 + - *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83591,8 +83818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *356 - *357 + - *358 - name: file_sha in: path required: true @@ -83643,7 +83870,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83691,8 +83918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -83801,7 +84028,7 @@ paths: description: Response content: application/json: - schema: &540 + schema: &541 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -83965,7 +84192,7 @@ paths: type: string '422': *15 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84015,15 +84242,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *356 - *357 - - *492 + - *358 + - *493 responses: '200': description: Response content: application/json: - schema: *540 + schema: *541 examples: default: value: @@ -84054,7 +84281,7 @@ paths: payload: verified_at: '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84079,9 +84306,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *356 - *357 - - &541 + - *358 + - &542 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. @@ -84098,7 +84325,7 @@ paths: application/json: schema: type: array - items: &542 + items: &543 title: Git Reference description: Git references within a repository type: object @@ -84151,8 +84378,8 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *70 - '409': *54 + Link: *71 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84173,17 +84400,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *356 - *357 - - *541 + - *358 + - *542 responses: '200': description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: &543 + default: &544 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -84193,7 +84420,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84212,8 +84439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -84242,16 +84469,16 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: *543 + default: *544 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84270,9 +84497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *356 - *357 - - *541 + - *358 + - *542 requestBody: required: true content: @@ -84301,11 +84528,11 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: *543 + default: *544 '422': *15 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84321,16 +84548,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *356 - *357 - - *541 + - *358 + - *542 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84378,8 +84605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -84446,7 +84673,7 @@ paths: description: Response content: application/json: - schema: &545 + schema: &546 title: Git Tag description: Metadata for a Git tag type: object @@ -84497,7 +84724,7 @@ paths: - sha - type - url - verification: *544 + verification: *545 required: - sha - url @@ -84507,7 +84734,7 @@ paths: - tag - message examples: - default: &546 + default: &547 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -84534,7 +84761,7 @@ paths: schema: type: string '422': *15 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84580,8 +84807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *356 - *357 + - *358 - name: tag_sha in: path required: true @@ -84592,11 +84819,11 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: - default: *546 + default: *547 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84618,8 +84845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -84692,7 +84919,7 @@ paths: description: Response content: application/json: - schema: &547 + schema: &548 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -84765,7 +84992,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84788,8 +85015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *356 - *357 + - *358 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -84812,7 +85039,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: default-response: summary: Default response @@ -84853,7 +85080,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84870,8 +85097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -84914,8 +85141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -84925,7 +85152,7 @@ paths: application/json: schema: type: array - items: &548 + items: &549 title: Webhook description: Webhooks for repositories. type: object @@ -84979,7 +85206,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &833 + last_response: &834 title: Hook Response type: object properties: @@ -85034,7 +85261,7 @@ paths: status: unused message: headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -85053,8 +85280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *356 - *357 + - *358 requestBody: required: false content: @@ -85106,9 +85333,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *549 examples: - default: &549 + default: &550 value: type: Repository id: 12345678 @@ -85156,17 +85383,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *356 - *357 - - *230 + - *358 + - *231 responses: '200': description: Response content: application/json: - schema: *548 + schema: *549 examples: - default: *549 + default: *550 '404': *6 x-github: githubCloudOnly: false @@ -85186,9 +85413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *356 - *357 - - *230 + - *358 + - *231 requestBody: required: true content: @@ -85233,9 +85460,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *549 examples: - default: *549 + default: *550 '422': *15 '404': *6 x-github: @@ -85256,9 +85483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *356 - *357 - - *230 + - *358 + - *231 responses: '204': description: Response @@ -85282,9 +85509,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *356 - *357 - - *230 + - *358 + - *231 responses: '200': description: Response @@ -85311,9 +85538,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *356 - *357 - - *230 + - *358 + - *231 requestBody: required: false content: @@ -85357,12 +85584,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *356 - *357 - - *230 - - *17 + - *358 - *231 + - *17 - *232 + - *233 responses: '200': description: Response @@ -85370,9 +85597,9 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *234 + default: *235 '400': *14 '422': *15 x-github: @@ -85391,18 +85618,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *356 - *357 - - *230 + - *358 + - *231 - *16 responses: '200': description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: *236 + default: *237 '400': *14 '422': *15 x-github: @@ -85421,12 +85648,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *356 - *357 - - *230 + - *358 + - *231 - *16 responses: - '202': *39 + '202': *40 '400': *14 '422': *15 x-github: @@ -85446,9 +85673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *356 - *357 - - *230 + - *358 + - *231 responses: '204': description: Response @@ -85473,9 +85700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *356 - *357 - - *230 + - *358 + - *231 responses: '204': description: Response @@ -85498,8 +85725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response if immutable releases are enabled @@ -85545,11 +85772,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *356 - *357 + - *358 responses: - '204': *61 - '409': *54 + '204': *60 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85566,11 +85793,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *356 - *357 + - *358 responses: - '204': *61 - '409': *54 + '204': *60 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85624,14 +85851,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: &550 + schema: &551 title: Import description: A repository import from an external source. type: object @@ -85730,7 +85957,7 @@ paths: - html_url - authors_url examples: - default: &553 + default: &554 value: vcs: subversion use_lfs: true @@ -85746,7 +85973,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': &551 + '503': &552 description: Unavailable due to service under maintenance. content: application/json: @@ -85775,8 +86002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -85824,7 +86051,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: default: value: @@ -85849,7 +86076,7 @@ paths: type: string '422': *15 '404': *6 - '503': *551 + '503': *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85877,8 +86104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *356 - *357 + - *358 requestBody: required: false content: @@ -85927,7 +86154,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: example-1: summary: Example 1 @@ -85975,7 +86202,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': *551 + '503': *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85998,12 +86225,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *356 - *357 + - *358 responses: '204': description: Response - '503': *551 + '503': *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86029,9 +86256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *356 - *357 - - &762 + - *358 + - &763 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -86045,7 +86272,7 @@ paths: application/json: schema: type: array - items: &552 + items: &553 title: Porter Author description: Porter Author type: object @@ -86099,7 +86326,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': *551 + '503': *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86124,8 +86351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *356 - *357 + - *358 - name: author_id in: path required: true @@ -86155,7 +86382,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -86168,7 +86395,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *551 + '503': *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86192,8 +86419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -86234,7 +86461,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *551 + '503': *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86262,8 +86489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -86290,11 +86517,11 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *553 + default: *554 '422': *15 - '503': *551 + '503': *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86317,8 +86544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -86326,8 +86553,8 @@ paths: application/json: schema: *22 examples: - default: *554 - '301': *360 + default: *555 + '301': *361 '404': *6 x-github: githubCloudOnly: false @@ -86347,8 +86574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -86356,12 +86583,12 @@ paths: application/json: schema: anyOf: - - *249 + - *250 - type: object properties: {} additionalProperties: false examples: - default: &556 + default: &557 value: limit: collaborators_only origin: repository @@ -86386,13 +86613,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *356 - *357 + - *358 requestBody: required: true content: application/json: - schema: *555 + schema: *556 examples: default: summary: Example request body @@ -86404,9 +86631,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: *556 + default: *557 '409': description: Response x-github: @@ -86428,8 +86655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -86456,8 +86683,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: - - *356 - *357 + - *358 responses: '200': description: Response @@ -86511,13 +86738,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: - - *356 - *357 + - *358 requestBody: required: true content: application/json: - schema: &557 + schema: &558 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. @@ -86567,13 +86794,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: - - *356 - *357 + - *358 requestBody: required: true content: application/json: - schema: *557 + schema: *558 examples: default: summary: Example request body @@ -86606,8 +86833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -86660,8 +86887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -86737,8 +86964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -86748,9 +86975,9 @@ paths: application/json: schema: type: array - items: *558 + items: *559 examples: - default: &755 + default: &756 value: - id: 1 repository: @@ -86864,7 +87091,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86881,9 +87108,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *356 - *357 - - *253 + - *358 + - *254 requestBody: required: false content: @@ -86912,7 +87139,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: default: value: @@ -87043,9 +87270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *356 - *357 - - *253 + - *358 + - *254 responses: '204': description: Response @@ -87068,8 +87295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -87077,9 +87304,9 @@ paths: application/json: schema: type: array - items: *257 + items: *258 examples: - default: *559 + default: *560 '404': *6 x-github: githubCloudOnly: false @@ -87108,8 +87335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *356 - *357 + - *358 - 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 @@ -87171,7 +87398,7 @@ paths: required: false schema: type: string - - *260 + - *261 - name: sort description: What to sort results by. in: query @@ -87183,8 +87410,8 @@ paths: - updated - comments default: created - - *62 - - *95 + - *63 + - *96 - *17 - *19 responses: @@ -87194,7 +87421,7 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: default: &574 value: @@ -87344,8 +87571,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *70 - '301': *360 + Link: *71 + '301': *361 '422': *15 '404': *6 x-github: @@ -87374,8 +87601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -87482,7 +87709,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: &571 value: @@ -87639,9 +87866,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *122 + '503': *123 '404': *6 - '410': *560 + '410': *33 x-github: triggersNotification: true githubCloudOnly: false @@ -87669,9 +87896,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *356 - *357 - - *112 + - *358 + - *113 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -87681,7 +87908,7 @@ paths: enum: - asc - desc - - *95 + - *96 - *17 - *19 responses: @@ -87725,7 +87952,7 @@ paths: author_association: COLLABORATOR minimized: headers: - Link: *70 + Link: *71 '422': *15 '404': *6 x-github: @@ -87752,9 +87979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 responses: '200': description: Response @@ -87818,9 +88045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 requestBody: required: true content: @@ -87862,9 +88089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 responses: '204': description: Response @@ -87892,9 +88119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 responses: '200': description: Response @@ -87956,7 +88183,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *560 + '410': *33 '422': *15 x-github: githubCloudOnly: false @@ -87973,17 +88200,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 responses: '204': description: Response '401': *25 '403': *29 '404': *6 - '410': *560 - '503': *122 + '410': *33 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88000,9 +88227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 - 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. @@ -88028,11 +88255,11 @@ paths: application/json: schema: type: array - items: *489 + items: *490 examples: default: *563 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -88051,9 +88278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 requestBody: required: true content: @@ -88085,16 +88312,16 @@ paths: description: Reaction exists content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '201': description: Reaction created content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '422': *15 x-github: githubCloudOnly: false @@ -88116,9 +88343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *356 - *357 - - *104 + - *358 + - *105 - *564 responses: '204': @@ -88139,8 +88366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -88238,7 +88465,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *210 + requested_team: *211 dismissed_review: title: Issue Event Dismissed Review type: object @@ -88352,7 +88579,7 @@ paths: type: string description: The reason for the referenced issue's state. nullable: true - repository: *67 + repository: *68 issue_type: title: Issue Type description: The type of the referenced issue. @@ -88406,7 +88633,7 @@ paths: nullable: true properties: *568 required: *569 - author_association: *85 + author_association: *86 lock_reason: type: string nullable: true @@ -88419,8 +88646,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 required: - id - node_id @@ -88587,7 +88814,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *70 + Link: *71 '422': *15 x-github: githubCloudOnly: false @@ -88605,8 +88832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *356 - *357 + - *358 - name: event_id in: path required: true @@ -88810,7 +89037,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *560 + '410': *33 '403': *29 x-github: githubCloudOnly: false @@ -88844,8 +89071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *356 - *357 + - *358 - &572 name: issue_number description: The number that identifies the issue. @@ -88858,7 +89085,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: summary: Issue @@ -89061,10 +89288,10 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *360 + '301': *361 '404': *6 - '410': *560 - '304': *37 + '410': *33 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89088,8 +89315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: false @@ -89231,17 +89458,17 @@ paths: application/json: schema: allOf: - - *88 + - *89 - type: object properties: {} examples: default: *571 '422': *15 - '503': *122 + '503': *123 '403': *29 - '301': *360 + '301': *361 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89259,8 +89486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: false @@ -89287,7 +89514,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *571 x-github: @@ -89305,8 +89532,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: content: @@ -89332,7 +89559,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *571 x-github: @@ -89356,8 +89583,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: - - *356 - *357 + - *358 - *572 - name: assignee in: path @@ -89398,10 +89625,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *356 - *357 + - *358 - *572 - - *95 + - *96 - *17 - *19 responses: @@ -89415,9 +89642,9 @@ paths: examples: default: *573 headers: - Link: *70 + Link: *71 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89446,8 +89673,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *356 - *357 + - *358 - *572 requestBody: required: true @@ -89479,7 +89706,7 @@ paths: schema: type: string '403': *29 - '410': *560 + '410': *33 '422': *15 '404': *6 x-github: @@ -89507,8 +89734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *356 - *357 + - *358 - *572 - *17 - *19 @@ -89519,14 +89746,14 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: default: *574 headers: - Link: *70 - '301': *360 + Link: *71 + '301': *361 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89554,8 +89781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *356 - *357 + - *358 - *572 requestBody: required: true @@ -89578,7 +89805,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *571 headers: @@ -89586,9 +89813,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *360 + '301': *361 '403': *29 - '410': *560 + '410': *33 '422': *15 '404': *6 x-github: @@ -89619,8 +89846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *356 - *357 + - *358 - *572 - name: issue_id in: path @@ -89633,15 +89860,15 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *571 - '301': *360 + '301': *361 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *560 + '410': *33 x-github: triggersNotification: true githubCloudOnly: false @@ -89667,8 +89894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *356 - *357 + - *358 - *572 - *17 - *19 @@ -89679,14 +89906,14 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: default: *574 headers: - Link: *70 - '301': *360 + Link: *71 + '301': *361 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89703,8 +89930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *356 - *357 + - *358 - *572 - *17 - *19 @@ -89750,8 +89977,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 label: type: object properties: @@ -89804,8 +90031,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 label: type: object properties: @@ -89893,8 +90120,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 assignee: *4 assigner: *4 required: @@ -89940,8 +90167,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 milestone: type: object properties: @@ -89991,8 +90218,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 milestone: type: object properties: @@ -90042,8 +90269,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 rename: type: object properties: @@ -90096,10 +90323,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 review_requester: *4 - requested_team: *210 + requested_team: *211 requested_reviewer: *4 required: - review_requester @@ -90143,10 +90370,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 review_requester: *4 - requested_team: *210 + requested_team: *211 requested_reviewer: *4 required: - review_requester @@ -90190,8 +90417,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 dismissed_review: type: object properties: @@ -90250,8 +90477,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 lock_reason: type: string example: '"off-topic"' @@ -90298,8 +90525,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 project_card: type: object properties: @@ -90364,8 +90591,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 project_card: type: object properties: @@ -90430,8 +90657,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 project_card: type: object properties: @@ -90552,8 +90779,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 issue_type: *567 required: - issue_type @@ -90597,8 +90824,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 prev_issue_type: *567 required: - prev_issue_type @@ -90642,8 +90869,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 issue_type: *567 prev_issue_type: *567 required: @@ -90689,8 +90916,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -90742,8 +90969,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -90795,8 +91022,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -90848,8 +91075,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -90901,8 +91128,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -90954,8 +91181,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -91007,8 +91234,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -91060,8 +91287,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -91116,8 +91343,8 @@ paths: name: label color: red headers: - Link: *70 - '410': *560 + Link: *71 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91134,8 +91361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *356 - *357 + - *358 - *572 - *17 - *19 @@ -91187,10 +91414,10 @@ paths: name: Backend color: green headers: - Link: *70 - '301': *360 + Link: *71 + '301': *361 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91219,8 +91446,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: true @@ -91298,7 +91525,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *122 + '503': *123 x-github: triggersNotification: true githubCloudOnly: false @@ -91329,8 +91556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: true @@ -91403,7 +91630,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *122 + '503': *123 x-github: triggersNotification: true githubCloudOnly: false @@ -91429,17 +91656,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: - - *356 - *357 + - *358 - *572 - - *256 + - *257 responses: '204': description: Issue field value deleted successfully '403': *29 '404': *6 '422': *15 - '503': *122 + '503': *123 x-github: triggersNotification: true githubCloudOnly: false @@ -91457,8 +91684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *356 - *357 + - *358 - *572 - *17 - *19 @@ -91469,7 +91696,7 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: default: &577 value: @@ -91488,10 +91715,10 @@ paths: color: a2eeef default: false headers: - Link: *70 - '301': *360 + Link: *71 + '301': *361 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91507,8 +91734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: false @@ -91552,12 +91779,12 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: default: *577 - '301': *360 + '301': *361 '404': *6 - '410': *560 + '410': *33 '422': *15 x-github: githubCloudOnly: false @@ -91574,8 +91801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: false @@ -91636,12 +91863,12 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: default: *577 - '301': *360 + '301': *361 '404': *6 - '410': *560 + '410': *33 '422': *15 x-github: githubCloudOnly: false @@ -91658,15 +91885,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *356 - *357 + - *358 - *572 responses: '204': description: Response - '301': *360 + '301': *361 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91685,8 +91912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *356 - *357 + - *358 - *572 - name: name in: path @@ -91700,7 +91927,7 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: default: value: @@ -91711,9 +91938,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *360 + '301': *361 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91733,8 +91960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: false @@ -91763,7 +91990,7 @@ paths: '204': description: Response '403': *29 - '410': *560 + '410': *33 '404': *6 '422': *15 x-github: @@ -91781,8 +92008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *356 - *357 + - *358 - *572 responses: '204': @@ -91813,20 +92040,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *356 - *357 + - *358 - *572 responses: '200': description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *571 - '301': *360 + '301': *361 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91843,8 +92070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *356 - *357 + - *358 - *572 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -91871,13 +92098,13 @@ paths: application/json: schema: type: array - items: *489 + items: *490 examples: default: *563 headers: - Link: *70 + Link: *71 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91895,8 +92122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: true @@ -91929,16 +92156,16 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '201': description: Response content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '422': *15 x-github: githubCloudOnly: false @@ -91960,8 +92187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *356 - *357 + - *358 - *572 - *564 responses: @@ -91992,8 +92219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: true @@ -92016,7 +92243,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *571 headers: @@ -92051,8 +92278,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *356 - *357 + - *358 - *572 - *17 - *19 @@ -92063,13 +92290,13 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: default: *574 headers: - Link: *70 + Link: *71 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92097,8 +92324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: true @@ -92126,7 +92353,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *571 headers: @@ -92135,7 +92362,7 @@ paths: schema: type: string '403': *29 - '410': *560 + '410': *33 '422': *15 '404': *6 x-github: @@ -92155,8 +92382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: true @@ -92188,13 +92415,13 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *571 '403': *29 '404': *6 '422': *7 - '503': *122 + '503': *123 x-github: triggersNotification: true githubCloudOnly: false @@ -92212,8 +92439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *356 - *357 + - *358 - *572 - *17 - *19 @@ -92284,7 +92511,7 @@ paths: issue_url: type: string format: uri - author_association: *85 + author_association: *86 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -92294,9 +92521,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 - reactions: *86 + properties: *84 + required: *85 + reactions: *87 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and @@ -92342,7 +92569,7 @@ paths: properties: type: type: string - issue: *88 + issue: *89 required: - event - created_at @@ -92542,7 +92769,7 @@ paths: type: string body_text: type: string - author_association: *85 + author_association: *86 required: - event - id @@ -92565,7 +92792,7 @@ paths: type: string comments: type: array - items: &625 + items: &626 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -92660,7 +92887,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *85 + author_association: *86 _links: type: object properties: @@ -92744,7 +92971,7 @@ paths: enum: - line - file - reactions: *86 + reactions: *87 body_html: type: string example: '"

comment body

"' @@ -92780,7 +93007,7 @@ paths: type: string comments: type: array - items: *488 + items: *489 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -92811,8 +93038,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 assignee: *4 required: - id @@ -92855,8 +93082,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 assignee: *4 required: - id @@ -92899,8 +93126,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 state_reason: type: string nullable: true @@ -93078,10 +93305,10 @@ paths: type: User site_admin: true headers: - Link: *70 + Link: *71 '404': *6 '400': *14 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93098,8 +93325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -93159,7 +93386,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93175,8 +93402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -93248,8 +93475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *356 - *357 + - *358 - &608 name: key_id description: The unique identifier of the key. @@ -93282,8 +93509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *356 - *357 + - *358 - *608 responses: '204': @@ -93304,8 +93531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -93315,11 +93542,11 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: default: *577 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -93338,8 +93565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -93375,7 +93602,7 @@ paths: description: Response content: application/json: - schema: *87 + schema: *88 examples: default: &609 value: @@ -93409,8 +93636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *356 - *357 + - *358 - name: name in: path required: true @@ -93421,7 +93648,7 @@ paths: description: Response content: application/json: - schema: *87 + schema: *88 examples: default: *609 '404': *6 @@ -93440,8 +93667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *356 - *357 + - *358 - name: name in: path required: true @@ -93480,7 +93707,7 @@ paths: description: Response content: application/json: - schema: *87 + schema: *88 examples: default: value: @@ -93506,8 +93733,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *356 - *357 + - *358 - name: name in: path required: true @@ -93533,8 +93760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -93573,9 +93800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *356 - *357 - - *461 + - *358 + - *462 responses: '200': description: Response @@ -93637,8 +93864,8 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true required: - _links @@ -93720,8 +93947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -93786,8 +94013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -93821,7 +94048,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *491 + schema: *492 examples: default: *610 '204': @@ -93848,8 +94075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *356 - *357 + - *358 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -93894,8 +94121,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *294 - required: *295 + properties: *295 + required: *296 examples: default: value: @@ -93934,7 +94161,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -93951,8 +94178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -94053,8 +94280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *356 - *357 + - *358 - &613 name: milestone_number description: The number that identifies the milestone. @@ -94086,8 +94313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *356 - *357 + - *358 - *613 requestBody: required: false @@ -94144,8 +94371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *356 - *357 + - *358 - *613 responses: '204': @@ -94167,8 +94394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *356 - *357 + - *358 - *613 - *17 - *19 @@ -94179,11 +94406,11 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: default: *577 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94200,11 +94427,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *356 - *357 + - *358 - *614 - *615 - - *95 + - *96 - *616 - *17 - *19 @@ -94215,11 +94442,11 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *617 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94241,8 +94468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *356 - *357 + - *358 requestBody: required: false content: @@ -94300,8 +94527,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -94473,8 +94700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -94532,7 +94759,7 @@ paths: examples: default: *619 '422': *15 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94553,8 +94780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -94632,7 +94859,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94653,14 +94880,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *356 - *357 + - *358 responses: '204': description: Response '422': *15 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94680,8 +94907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -94766,7 +94993,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94785,8 +95012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *356 - *357 + - *358 responses: '201': description: Response @@ -94831,8 +95058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -94888,8 +95115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *356 - *357 + - *358 - name: build_id in: path required: true @@ -94922,8 +95149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -95028,8 +95255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *356 - *357 + - *358 - &622 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -95088,11 +95315,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *356 - *357 + - *358 - *622 responses: - '204': *61 + '204': *60 '404': *6 x-github: githubCloudOnly: false @@ -95117,8 +95344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -95349,7 +95576,7 @@ paths: description: Empty response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -95376,8 +95603,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: - - *356 - *357 + - *358 responses: '200': description: Private vulnerability reporting status @@ -95414,10 +95641,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *356 - *357 + - *358 responses: - '204': *61 + '204': *60 '422': *14 x-github: githubCloudOnly: false @@ -95436,10 +95663,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *356 - *357 + - *358 responses: - '204': *61 + '204': *60 '422': *14 x-github: githubCloudOnly: false @@ -95459,8 +95686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -95468,7 +95695,7 @@ paths: application/json: schema: type: array - items: *309 + items: *310 examples: default: value: @@ -95499,8 +95726,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: - - *356 - *357 + - *358 requestBody: required: true content: @@ -95512,7 +95739,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *309 + items: *310 required: - properties examples: @@ -95562,8 +95789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *356 - *357 + - *358 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -95623,12 +95850,12 @@ paths: application/json: schema: type: array - items: *495 + items: *496 examples: default: *623 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '422': *15 x-github: githubCloudOnly: false @@ -95657,8 +95884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -95723,7 +95950,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &628 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -95834,8 +96061,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *294 - required: *295 + properties: *295 + required: *296 nullable: true active_lock_reason: type: string @@ -95878,7 +96105,7 @@ paths: items: *4 requested_teams: type: array - items: *348 + items: *349 head: type: object properties: @@ -95886,7 +96113,7 @@ paths: type: string ref: type: string - repo: *82 + repo: *83 sha: type: string user: *4 @@ -95903,7 +96130,7 @@ paths: type: string ref: type: string - repo: *82 + repo: *83 sha: type: string user: *4 @@ -95916,14 +96143,14 @@ paths: _links: type: object properties: - comments: *296 - commits: *296 - statuses: *296 - html: *296 - issue: *296 - review_comments: *296 - review_comment: *296 - self: *296 + comments: *297 + commits: *297 + statuses: *297 + html: *297 + issue: *297 + review_comments: *297 + review_comment: *297 + self: *297 required: - comments - commits @@ -95933,8 +96160,9 @@ paths: - review_comments - review_comment - self - author_association: *85 + author_association: *86 auto_merge: *624 + stack: *625 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -96026,7 +96254,7 @@ paths: - merged_by - review_comments examples: - default: &628 + default: &629 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -96553,8 +96781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *356 - *357 + - *358 - name: sort in: query required: false @@ -96573,7 +96801,7 @@ paths: enum: - asc - desc - - *95 + - *96 - *17 - *19 responses: @@ -96583,9 +96811,9 @@ paths: application/json: schema: type: array - items: *625 + items: *626 examples: - default: &630 + default: &631 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96637,7 +96865,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96662,17 +96890,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *356 - *357 - - *104 + - *358 + - *105 responses: '200': description: Response content: application/json: - schema: *625 + schema: *626 examples: - default: &626 + default: &627 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96747,9 +96975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *356 - *357 - - *104 + - *358 + - *105 requestBody: required: true content: @@ -96771,9 +96999,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: - default: *626 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96789,9 +97017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *356 - *357 - - *104 + - *358 + - *105 responses: '204': description: Response @@ -96812,9 +97040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 - 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. @@ -96840,11 +97068,11 @@ paths: application/json: schema: type: array - items: *489 + items: *490 examples: default: *563 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -96863,9 +97091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 requestBody: required: true content: @@ -96897,16 +97125,16 @@ paths: description: Reaction exists content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '201': description: Reaction created content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '422': *15 x-github: githubCloudOnly: false @@ -96928,9 +97156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *356 - *357 - - *104 + - *358 + - *105 - *564 responses: '204': @@ -96974,9 +97202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *356 - *357 - - &629 + - *358 + - &630 name: pull_number description: The number that identifies the pull request. in: path @@ -96989,18 +97217,18 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *627 + schema: *628 examples: - default: *628 - '304': *37 + default: *629 + '304': *38 '404': *6 '406': description: Unacceptable content: application/json: schema: *3 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97026,9 +97254,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 requestBody: required: false content: @@ -97070,9 +97298,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *628 examples: - default: *628 + default: *629 '422': *15 '403': *29 x-github: @@ -97094,9 +97322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 requestBody: required: true content: @@ -97156,21 +97384,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *262 + schema: *263 examples: - default: *478 + default: *479 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *262 + schema: *263 examples: - default: *478 + default: *479 '401': *25 '403': *29 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97196,10 +97424,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *356 - *357 - - *629 - - *112 + - *358 + - *630 + - *113 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -97209,7 +97437,7 @@ paths: enum: - asc - desc - - *95 + - *96 - *17 - *19 responses: @@ -97219,11 +97447,11 @@ paths: application/json: schema: type: array - items: *625 + items: *626 examples: - default: *630 + default: *631 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97254,9 +97482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 requestBody: required: true content: @@ -97361,7 +97589,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: example-for-a-multi-line-comment: value: @@ -97449,10 +97677,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *356 - *357 - - *629 - - *104 + - *358 + - *630 + - *105 requestBody: required: true content: @@ -97474,7 +97702,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: default: value: @@ -97560,9 +97788,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 - *17 - *19 responses: @@ -97572,11 +97800,11 @@ paths: application/json: schema: type: array - items: *491 + items: *492 examples: - default: *631 + default: *632 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97604,9 +97832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *356 - *357 - - *629 + - *358 + - *630 - *17 - *19 responses: @@ -97616,7 +97844,7 @@ paths: application/json: schema: type: array - items: *504 + items: *505 examples: default: value: @@ -97632,10 +97860,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *70 + Link: *71 '422': *15 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97654,9 +97882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *356 - *357 - - *629 + - *358 + - *630 responses: '204': description: Response if pull request has been merged @@ -97679,9 +97907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 requestBody: required: false content: @@ -97792,9 +98020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 responses: '200': description: Response @@ -97810,7 +98038,7 @@ paths: items: *4 teams: type: array - items: *210 + items: *211 required: - users - teams @@ -97851,7 +98079,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97869,9 +98097,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 requestBody: required: false content: @@ -97908,7 +98136,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: default: value: @@ -98444,9 +98672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 requestBody: required: true content: @@ -98480,7 +98708,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: default: value: @@ -98985,9 +99213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 - *17 - *19 responses: @@ -98997,7 +99225,7 @@ paths: application/json: schema: type: array - items: &632 + items: &633 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -99066,7 +99294,7 @@ paths: type: string body_text: type: string - author_association: *85 + author_association: *86 required: - id - node_id @@ -99115,7 +99343,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99148,9 +99376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 requestBody: required: false content: @@ -99236,9 +99464,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: &634 + default: &635 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99301,10 +99529,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *356 - *357 - - *629 - - &633 + - *358 + - *630 + - &634 name: review_id description: The unique identifier of the review. in: path @@ -99316,9 +99544,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: &635 + default: &636 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99377,10 +99605,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *356 - *357 - - *629 - - *633 + - *358 + - *630 + - *634 requestBody: required: true content: @@ -99403,7 +99631,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: default: value: @@ -99465,18 +99693,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *356 - *357 - - *629 - - *633 + - *358 + - *630 + - *634 responses: '200': description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *634 + default: *635 '422': *7 '404': *6 x-github: @@ -99503,10 +99731,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *356 - *357 - - *629 - - *633 + - *358 + - *630 + - *634 - *17 - *19 responses: @@ -99585,13 +99813,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *85 + author_association: *86 _links: type: object properties: - self: *296 - html: *296 - pull_request: *296 + self: *297 + html: *297 + pull_request: *297 required: - self - html @@ -99600,7 +99828,7 @@ paths: type: string body_html: type: string - reactions: *86 + reactions: *87 side: description: The side of the first line of the range for a multi-line comment. @@ -99712,7 +99940,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -99741,10 +99969,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *356 - *357 - - *629 - - *633 + - *358 + - *630 + - *634 requestBody: required: true content: @@ -99772,7 +100000,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: default: value: @@ -99835,10 +100063,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *356 - *357 - - *629 - - *633 + - *358 + - *630 + - *634 requestBody: required: true content: @@ -99873,9 +100101,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *635 + default: *636 '404': *6 '422': *7 '403': *29 @@ -99897,9 +100125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *356 - *357 - - *629 + - *358 + - *630 requestBody: required: false content: @@ -99962,8 +100190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *356 - *357 + - *358 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -99976,9 +100204,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: &637 + default: &638 value: type: file encoding: base64 @@ -99995,7 +100223,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': *37 + '304': *38 '404': *6 '422': *15 x-github: @@ -100020,8 +100248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *356 - *357 + - *358 - name: dir description: The alternate path to look for a README file in: path @@ -100041,9 +100269,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: *637 + default: *638 '404': *6 '422': *15 x-github: @@ -100065,8 +100293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -100076,7 +100304,7 @@ paths: application/json: schema: type: array - items: *638 + items: *639 examples: default: value: @@ -100150,7 +100378,7 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -100170,8 +100398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -100247,9 +100475,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: - default: &642 + default: &643 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -100354,9 +100582,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *356 - *357 - - &640 + - *358 + - &641 name: asset_id description: The unique identifier of the asset. in: path @@ -100368,9 +100596,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: &641 + default: &642 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 @@ -100405,7 +100633,7 @@ paths: type: User site_admin: false '404': *6 - '302': *508 + '302': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100421,9 +100649,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *356 - *357 - - *640 + - *358 + - *641 requestBody: required: false content: @@ -100451,9 +100679,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *641 + default: *642 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100469,9 +100697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *356 - *357 - - *640 + - *358 + - *641 responses: '204': description: Response @@ -100496,8 +100724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -100582,16 +100810,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *638 + schema: *639 examples: - default: *642 + default: *643 '404': *6 x-github: githubCloudOnly: false @@ -100609,8 +100837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *356 - *357 + - *358 - name: tag description: tag parameter in: path @@ -100623,9 +100851,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: - default: *642 + default: *643 '404': *6 x-github: githubCloudOnly: false @@ -100647,9 +100875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *356 - *357 - - &643 + - *358 + - &644 name: release_id description: The unique identifier of the release. in: path @@ -100663,9 +100891,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: *638 + schema: *639 examples: - default: *642 + default: *643 '401': description: Unauthorized x-github: @@ -100683,9 +100911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *356 - *357 - - *643 + - *358 + - *644 requestBody: required: false content: @@ -100749,9 +100977,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: - default: *642 + default: *643 '404': description: Not Found if the discussion category name is invalid content: @@ -100772,9 +101000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *356 - *357 - - *643 + - *358 + - *644 responses: '204': description: Response @@ -100795,9 +101023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *356 - *357 - - *643 + - *358 + - *644 - *17 - *19 responses: @@ -100807,7 +101035,7 @@ paths: application/json: schema: type: array - items: *639 + items: *640 examples: default: value: @@ -100844,7 +101072,7 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100888,9 +101116,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: - - *356 - *357 - - *643 + - *358 + - *644 - name: name in: query required: true @@ -100916,7 +101144,7 @@ paths: description: Response for successful upload content: application/json: - schema: *639 + schema: *640 examples: response-for-successful-upload: value: @@ -100971,9 +101199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *356 - *357 - - *643 + - *358 + - *644 - 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. @@ -100997,11 +101225,11 @@ paths: application/json: schema: type: array - items: *489 + items: *490 examples: default: *563 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -101020,9 +101248,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *356 - *357 - - *643 + - *358 + - *644 requestBody: required: true content: @@ -101052,16 +101280,16 @@ paths: description: Reaction exists content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '201': description: Reaction created content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '422': *15 x-github: githubCloudOnly: false @@ -101083,9 +101311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *356 - *357 - - *643 + - *358 + - *644 - *564 responses: '204': @@ -101110,9 +101338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *356 - *357 - - *422 + - *358 + - *423 - *17 - *19 responses: @@ -101128,8 +101356,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *318 - - &644 + - *319 + - &645 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -101148,72 +101376,72 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *319 - - *644 - allOf: - *320 - - *644 + - *645 - allOf: - *321 - - *644 - - allOf: - *645 - - *644 - allOf: - *322 - - *644 + - *645 + - allOf: + - *646 + - *645 - allOf: - *323 - - *644 + - *645 - allOf: - *324 - - *644 + - *645 - allOf: - *325 - - *644 + - *645 - allOf: - *326 - - *644 + - *645 - allOf: - *327 - - *644 + - *645 - allOf: - *328 - - *644 + - *645 - allOf: - *329 - - *644 + - *645 - allOf: - *330 - - *644 + - *645 - allOf: - *331 - - *644 + - *645 - allOf: - - *336 - - *644 + - *332 + - *645 - allOf: - *337 - - *644 + - *645 - allOf: - *338 - - *644 + - *645 - allOf: - - *646 - - *644 + - *339 + - *645 - allOf: - - *332 - - *644 + - *647 + - *645 - allOf: - *333 - - *644 + - *645 - allOf: - *334 - - *644 + - *645 - allOf: - *335 - - *644 + - *645 + - allOf: + - *336 + - *645 examples: default: value: @@ -101252,8 +101480,8 @@ paths: category: repos subcategory: rules parameters: - - *356 - *357 + - *358 - *17 - *19 - name: includes_parents @@ -101264,7 +101492,7 @@ paths: schema: type: boolean default: true - - *647 + - *648 responses: '200': description: Response @@ -101272,7 +101500,7 @@ paths: application/json: schema: type: array - items: *339 + items: *340 examples: default: value: @@ -101303,7 +101531,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *55 + '500': *56 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -101319,8 +101547,8 @@ paths: category: repos subcategory: rules parameters: - - *356 - *357 + - *358 requestBody: description: Request body required: true @@ -101340,16 +101568,16 @@ paths: - tag - push default: branch - enforcement: *315 + enforcement: *316 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *316 - conditions: *313 + items: *317 + conditions: *314 rules: type: array description: An array of rules within the ruleset. - items: *648 + items: *649 required: - name - enforcement @@ -101380,9 +101608,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *340 examples: - default: &659 + default: &660 value: id: 42 name: super cool ruleset @@ -101416,7 +101644,7 @@ paths: updated_at: '2023-08-23T16:29:47Z' '404': *6 '422': *15 - '500': *55 + '500': *56 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -101430,13 +101658,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *356 - *357 - - *649 + - *358 - *650 - *651 - *652 - *653 + - *654 - *17 - *19 responses: @@ -101444,11 +101672,11 @@ paths: description: Response content: application/json: - schema: *654 + schema: *655 examples: - default: *655 + default: *656 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101467,19 +101695,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *356 - *357 - - *656 + - *358 + - *657 responses: '200': description: Response content: application/json: - schema: *657 + schema: *658 examples: - default: *658 + default: *659 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101505,8 +101733,8 @@ paths: category: repos subcategory: rules parameters: - - *356 - *357 + - *358 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101526,11 +101754,11 @@ paths: description: Response content: application/json: - schema: *339 + schema: *340 examples: - default: *659 + default: *660 '404': *6 - '500': *55 + '500': *56 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -101546,8 +101774,8 @@ paths: category: repos subcategory: rules parameters: - - *356 - *357 + - *358 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101572,16 +101800,16 @@ paths: - branch - tag - push - enforcement: *315 + enforcement: *316 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *316 - conditions: *313 + items: *317 + conditions: *314 rules: description: An array of rules within the ruleset. type: array - items: *648 + items: *649 examples: default: value: @@ -101609,12 +101837,12 @@ paths: description: Response content: application/json: - schema: *339 + schema: *340 examples: - default: *659 + default: *660 '404': *6 '422': *15 - '500': *55 + '500': *56 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -101630,8 +101858,8 @@ paths: category: repos subcategory: rules parameters: - - *356 - *357 + - *358 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101642,7 +101870,7 @@ paths: '204': description: Response '404': *6 - '500': *55 + '500': *56 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -101654,8 +101882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *356 - *357 + - *358 - *17 - *19 - name: ruleset_id @@ -101671,11 +101899,11 @@ paths: application/json: schema: type: array - items: *342 + items: *343 examples: - default: *660 + default: *661 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101692,8 +101920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *356 - *357 + - *358 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101711,7 +101939,7 @@ paths: description: Response content: application/json: - schema: *661 + schema: *662 examples: default: value: @@ -101744,7 +101972,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101766,9 +101994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *356 - *357 - - *662 + - *358 - *663 - *664 - *665 @@ -101776,10 +102003,10 @@ paths: - *667 - *668 - *669 - - *62 + - *670 + - *63 - *19 - *17 - - *670 - *671 - *672 - *673 @@ -101788,6 +102015,7 @@ paths: - *676 - *677 - *678 + - *679 responses: '200': description: Response @@ -101798,8 +102026,8 @@ paths: items: type: object properties: - number: *188 - created_at: *189 + number: *189 + created_at: *190 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -101807,15 +102035,15 @@ paths: format: date-time readOnly: true nullable: true - url: *191 - html_url: *192 + url: *192 + html_url: *193 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *679 - resolution: *680 + state: *680 + resolution: *681 resolved_at: type: string format: date-time @@ -101921,7 +102149,7 @@ paths: pull request. ' - oneOf: *681 + oneOf: *682 nullable: true has_more_locations: type: boolean @@ -102063,7 +102291,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102085,20 +102313,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *356 - *357 - - *455 - - *675 + - *358 + - *456 + - *676 responses: '200': description: Response content: application/json: - schema: &682 + schema: &683 type: object properties: - number: *188 - created_at: *189 + number: *189 + created_at: *190 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -102106,14 +102334,14 @@ paths: format: date-time readOnly: true nullable: true - url: *191 - html_url: *192 + url: *192 + html_url: *193 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *679 - resolution: *680 + state: *680 + resolution: *681 resolved_at: type: string format: date-time @@ -102219,7 +102447,7 @@ paths: pull request. ' - oneOf: *681 + oneOf: *682 nullable: true has_more_locations: type: boolean @@ -102247,7 +102475,7 @@ paths: properties: *20 required: *21 nullable: true - metadata: &854 + metadata: &855 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -102293,11 +102521,11 @@ paths: metadata: - key: owner_email value: owner@example.com - '304': *37 + '304': *38 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102320,9 +102548,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *356 - *357 - - *455 + - *358 + - *456 requestBody: required: true content: @@ -102330,8 +102558,8 @@ paths: schema: type: object properties: - state: *679 - resolution: *680 + state: *680 + resolution: *681 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -102375,7 +102603,7 @@ paths: description: Response content: application/json: - schema: *682 + schema: *683 examples: default: value: @@ -102455,7 +102683,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': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -102477,9 +102705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *356 - *357 - - *455 + - *358 + - *456 - *19 - *17 responses: @@ -102490,7 +102718,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &856 + items: &857 type: object properties: type: @@ -102516,7 +102744,6 @@ paths: example: commit details: oneOf: - - *683 - *684 - *685 - *686 @@ -102529,6 +102756,7 @@ paths: - *693 - *694 - *695 + - *696 examples: default: value: @@ -102588,11 +102816,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *70 + Link: *71 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102617,12 +102845,12 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *356 - *357 - - *696 + - *358 - *697 - *698 - - *62 + - *699 + - *63 - *19 - *17 responses: @@ -102632,11 +102860,11 @@ paths: application/json: schema: type: array - items: *343 + items: *344 examples: - default: *699 + default: *700 headers: - Link: *70 + Link: *71 '403': *29 '404': *6 post: @@ -102657,8 +102885,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -102671,9 +102899,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *700 + items: *701 examples: - default: *701 + default: *702 responses: '201': description: All patterns created successfully. @@ -102685,9 +102913,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *343 + items: *344 examples: - default: *702 + default: *703 '400': *14 '403': *29 '404': *6 @@ -102711,7 +102939,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *703 + items: *704 delete: summary: Bulk delete repository custom patterns description: |- @@ -102730,8 +102958,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -102745,7 +102973,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *704 + items: *705 post_delete_action: type: string description: |- @@ -102758,14 +102986,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *705 + default: *706 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *29 '404': *6 - '412': *345 + '412': *346 "/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update a repository custom pattern @@ -102785,8 +103013,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *356 - *357 + - *358 - name: pattern_id in: path required: true @@ -102797,21 +103025,21 @@ paths: required: true content: application/json: - schema: *706 + schema: *707 examples: - default: *707 + default: *708 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *343 + schema: *344 examples: - default: *708 + default: *709 '400': *14 '403': *29 '404': *6 - '412': *345 + '412': *346 '422': *15 "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": post: @@ -102829,8 +103057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -102838,14 +103066,14 @@ paths: schema: type: object properties: - reason: &710 + reason: &711 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *709 + placeholder_id: *710 required: - reason - placeholder_id @@ -102862,7 +103090,7 @@ paths: schema: type: object properties: - reason: *710 + reason: *711 expire_at: type: string format: date-time @@ -102885,7 +103113,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -102908,13 +103136,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: - - *356 - *357 + - *358 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *122 + '503': *123 '200': description: Response content: @@ -102924,7 +103152,7 @@ paths: properties: incremental_scans: type: array - items: &711 + items: &712 description: Information on a single scan performed by secret scanning on the repository type: object @@ -102955,15 +103183,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *711 + items: *712 backfill_scans: type: array - items: *711 + items: *712 custom_pattern_backfill_scans: type: array items: allOf: - - *711 + - *712 - type: object properties: pattern_name: @@ -102976,7 +103204,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *711 + items: *712 examples: default: value: @@ -103041,9 +103269,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *356 - *357 - - *62 + - *358 + - *63 - name: sort description: The property to sort the results by. in: query @@ -103055,8 +103283,8 @@ paths: - updated - published default: created - - *47 - *48 + - *49 - 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)." @@ -103086,9 +103314,9 @@ paths: application/json: schema: type: array - items: *712 + items: *713 examples: - default: *713 + default: *714 '400': *14 '404': *6 x-github: @@ -103111,8 +103339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -103185,7 +103413,7 @@ paths: login: type: string description: The username of the user credited. - type: *347 + type: *348 required: - login - type @@ -103272,9 +103500,9 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: - default: &715 + default: &716 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -103507,8 +103735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -103612,7 +103840,7 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: default: value: @@ -103759,17 +103987,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *356 - *357 - - *714 + - *358 + - *715 responses: '200': description: Response content: application/json: - schema: *712 + schema: *713 examples: - default: *715 + default: *716 '403': *29 '404': *6 x-github: @@ -103793,9 +104021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *356 - *357 - - *714 + - *358 + - *715 requestBody: required: true content: @@ -103868,7 +104096,7 @@ paths: login: type: string description: The username of the user credited. - type: *347 + type: *348 required: - login - type @@ -103954,17 +104182,17 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: - default: *715 - add_credit: *715 + default: *716 + add_credit: *716 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *132 + schema: *133 examples: invalid_state_transition: value: @@ -103995,11 +104223,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: - - *356 - *357 - - *714 + - *358 + - *715 responses: - '202': *39 + '202': *40 '400': *14 '403': *29 '404': *6 @@ -104024,17 +104252,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *356 - *357 - - *714 + - *358 + - *715 responses: '202': description: Response content: application/json: - schema: *359 + schema: *360 examples: - default: *361 + default: *362 '400': *14 '422': *15 '403': *29 @@ -104060,8 +104288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -104138,7 +104366,7 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 '422': *15 x-github: githubCloudOnly: false @@ -104160,8 +104388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *356 - *357 + - *358 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -104170,7 +104398,7 @@ paths: application/json: schema: type: array - items: &716 + items: &717 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -104182,8 +104410,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *39 - '204': *61 + '202': *40 + '204': *60 '422': description: Repository contains more than 10,000 commits x-github: @@ -104203,8 +104431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -104252,8 +104480,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *39 - '204': *61 + '202': *40 + '204': *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104280,8 +104508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -104354,8 +104582,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *39 - '204': *61 + '202': *40 + '204': *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104377,8 +104605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *356 - *357 + - *358 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -104532,8 +104760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *356 - *357 + - *358 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -104543,7 +104771,7 @@ paths: application/json: schema: type: array - items: *716 + items: *717 examples: default: value: @@ -104556,7 +104784,7 @@ paths: - - 0 - 2 - 21 - '204': *61 + '204': *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104576,8 +104804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *356 - *357 + - *358 - name: sha in: path required: true @@ -104631,7 +104859,7 @@ paths: description: Response content: application/json: - schema: *717 + schema: *718 examples: default: value: @@ -104685,8 +104913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -104698,9 +104926,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104718,14 +104946,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *356 - *357 + - *358 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &718 + schema: &719 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -104793,8 +105021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *356 - *357 + - *358 requestBody: required: false content: @@ -104820,7 +105048,7 @@ paths: description: Response content: application/json: - schema: *718 + schema: *719 examples: default: value: @@ -104847,8 +105075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -104868,8 +105096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -104925,7 +105153,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104948,8 +105176,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *356 - *357 + - *358 - name: ref in: path required: true @@ -104985,8 +105213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -104996,11 +105224,11 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: *274 + default: *275 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -105018,8 +105246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *356 - *357 + - *358 - *19 - *17 responses: @@ -105027,7 +105255,7 @@ paths: description: Response content: application/json: - schema: &719 + schema: &720 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -105039,7 +105267,7 @@ paths: required: - names examples: - default: &720 + default: &721 value: names: - octocat @@ -105062,8 +105290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -105094,9 +105322,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *720 examples: - default: *720 + default: *721 '404': *6 '422': *7 x-github: @@ -105117,9 +105345,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *356 - *357 - - &721 + - *358 + - &722 name: per description: The time frame to display results for. in: query @@ -105148,7 +105376,7 @@ paths: example: 128 clones: type: array - items: &722 + items: &723 title: Traffic type: object properties: @@ -105235,8 +105463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -105326,8 +105554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -105387,9 +105615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *356 - *357 - - *721 + - *358 + - *722 responses: '200': description: Response @@ -105408,7 +105636,7 @@ paths: example: 3782 views: type: array - items: *722 + items: *723 required: - uniques - count @@ -105485,8 +105713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -105522,7 +105750,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *164 examples: default: value: @@ -105760,8 +105988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *356 - *357 + - *358 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -105784,8 +106012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -105807,8 +106035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -105834,8 +106062,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *356 - *357 + - *358 - name: ref in: path required: true @@ -105927,9 +106155,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: - default: *361 + default: *362 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105970,7 +106198,7 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: default: value: @@ -106046,7 +106274,7 @@ paths: schema: type: string '422': *15 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106162,7 +106390,7 @@ paths: html_url: type: string format: uri - repository: *163 + repository: *164 score: type: number file_size: @@ -106180,7 +106408,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &723 + text_matches: &724 title: Search Result Text Matches type: array items: @@ -106293,8 +106521,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': *37 - '503': *122 + '304': *38 + '503': *123 '422': *15 '403': *29 x-github: @@ -106342,7 +106570,7 @@ paths: enum: - author-date - committer-date - - &724 + - &725 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 @@ -106413,7 +106641,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *420 + properties: *421 nullable: true comment_count: type: integer @@ -106433,7 +106661,7 @@ paths: url: type: string format: uri - verification: *544 + verification: *545 required: - author - committer @@ -106452,7 +106680,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *420 + properties: *421 nullable: true parents: type: array @@ -106465,12 +106693,12 @@ paths: type: string sha: type: string - repository: *163 + repository: *164 score: type: number node_id: type: string - text_matches: *723 + text_matches: *724 required: - sha - node_id @@ -106599,7 +106827,7 @@ paths: deployments_url: https://api.github.com/repos/octocat/Spoon-Knife/deployments score: 1 node_id: MDQ6VXNlcjU4MzIzMQ== - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106662,7 +106890,7 @@ paths: - interactions - created - updated - - *724 + - *725 - *17 - *19 - name: advanced_search @@ -106776,8 +107004,8 @@ paths: description: type: string nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -106797,8 +107025,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *294 - required: *295 + properties: *295 + required: *296 nullable: true comments: type: integer @@ -106812,7 +107040,7 @@ paths: type: string format: date-time nullable: true - text_matches: *723 + text_matches: *724 pull_request: type: object properties: @@ -106845,10 +107073,10 @@ paths: type: string score: type: number - author_association: *85 + author_association: *86 draft: type: boolean - repository: *82 + repository: *83 body_html: type: string body_text: @@ -106856,7 +107084,7 @@ paths: timeline_url: type: string format: uri - type: *257 + type: *258 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -106866,17 +107094,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - reactions: *86 + reactions: *87 required: - assignee - closed_at @@ -107040,9 +107268,9 @@ paths: - quoted_text items: - "..." - '503': *122 + '503': *123 '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -107094,7 +107322,7 @@ paths: enum: - created - updated - - *724 + - *725 - *17 - *19 responses: @@ -107138,7 +107366,7 @@ paths: nullable: true score: type: number - text_matches: *723 + text_matches: *724 required: - id - node_id @@ -107170,7 +107398,7 @@ paths: default: true description: Something isn't working. score: 1 - '304': *37 + '304': *38 '404': *6 '403': *29 '422': *15 @@ -107223,7 +107451,7 @@ paths: - forks - help-wanted-issues - updated - - *724 + - *725 - *17 - *19 responses: @@ -107451,8 +107679,8 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true permissions: type: object @@ -107471,7 +107699,7 @@ paths: - admin - pull - push - text_matches: *723 + text_matches: *724 temp_clone_token: type: string allow_merge_commit: @@ -107673,9 +107901,9 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *122 + '503': *123 '422': *15 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107771,7 +107999,7 @@ paths: type: string format: uri nullable: true - text_matches: *723 + text_matches: *724 related: type: array nullable: true @@ -107912,7 +108140,7 @@ paths: featured: true curated: true score: 1 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107962,7 +108190,7 @@ paths: - followers - repositories - joined - - *724 + - *725 - *17 - *19 responses: @@ -108066,7 +108294,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *723 + text_matches: *724 blog: type: string nullable: true @@ -108124,8 +108352,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': *37 - '503': *122 + '304': *38 + '503': *123 '422': *15 x-github: githubCloudOnly: false @@ -108145,7 +108373,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &727 + - &728 name: team_id description: The unique identifier of the team. in: path @@ -108157,9 +108385,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: *353 + default: *354 '404': *6 x-github: githubCloudOnly: false @@ -108186,7 +108414,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *727 + - *728 requestBody: required: true content: @@ -108249,16 +108477,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *352 + schema: *353 examples: - default: *353 + default: *354 '201': description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: *353 + default: *354 '404': *6 '422': *15 '403': *29 @@ -108286,7 +108514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *727 + - *728 responses: '204': description: Response @@ -108315,7 +108543,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *727 + - *728 - *17 - *19 responses: @@ -108325,11 +108553,11 @@ paths: application/json: schema: type: array - items: *251 + items: *252 examples: - default: *252 + default: *253 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108355,7 +108583,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *727 + - *728 - name: role description: Filters members returned by their role in the team. in: query @@ -108376,11 +108604,11 @@ paths: application/json: schema: type: array - items: *728 + items: *729 examples: - default: *729 + default: *730 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -108406,8 +108634,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *727 - - *74 + - *728 + - *75 responses: '204': description: if user is a member @@ -108443,8 +108671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *727 - - *74 + - *728 + - *75 responses: '204': description: Response @@ -108483,8 +108711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *727 - - *74 + - *728 + - *75 responses: '204': description: Response @@ -108520,16 +108748,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *727 - - *74 + - *728 + - *75 responses: '200': description: Response content: application/json: - schema: *355 + schema: *356 examples: - response-if-user-is-a-team-maintainer: *730 + response-if-user-is-a-team-maintainer: *731 '404': *6 x-github: githubCloudOnly: false @@ -108562,8 +108790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *727 - - *74 + - *728 + - *75 requestBody: required: false content: @@ -108588,9 +108816,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *356 examples: - response-if-users-membership-with-team-is-now-pending: *731 + response-if-users-membership-with-team-is-now-pending: *732 '403': description: Forbidden if team synchronization is set up '422': @@ -108624,8 +108852,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *727 - - *74 + - *728 + - *75 responses: '204': description: Response @@ -108652,7 +108880,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *727 + - *728 - *17 - *19 responses: @@ -108662,11 +108890,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *281 + default: *282 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -108694,15 +108922,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *727 - - *356 + - *728 - *357 + - *358 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *732 + schema: *733 examples: alternative-response-with-extra-repository-information: value: @@ -108853,9 +109081,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *727 - - *356 + - *728 - *357 + - *358 requestBody: required: false content: @@ -108905,9 +109133,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *727 - - *356 + - *728 - *357 + - *358 responses: '204': description: Response @@ -108932,7 +109160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *727 + - *728 - *17 - *19 responses: @@ -108942,11 +109170,11 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - response-if-child-teams-exist: *733 + response-if-child-teams-exist: *734 headers: - Link: *70 + Link: *71 '404': *6 '403': *29 '422': *15 @@ -108977,7 +109205,7 @@ paths: application/json: schema: oneOf: - - &735 + - &736 title: Private User description: Private User type: object @@ -109180,7 +109408,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *734 + - *735 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -109263,7 +109491,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -109333,7 +109561,7 @@ paths: description: Response content: application/json: - schema: *735 + schema: *736 examples: default: value: @@ -109380,7 +109608,7 @@ paths: space: 400 private_repos: 20 collaborators: 0 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -109412,8 +109640,8 @@ paths: type: array items: *4 examples: - default: *73 - '304': *37 + default: *74 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -109435,7 +109663,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: - - *74 + - *75 responses: '204': description: If the user is blocked @@ -109444,7 +109672,7 @@ paths: content: application/json: schema: *3 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -109463,11 +109691,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *74 + - *75 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -109487,11 +109715,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *74 + - *75 responses: '204': description: Response - '304': *37 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -109536,11 +109764,11 @@ paths: type: integer codespaces: type: array - items: *262 + items: *263 examples: - default: *263 - '304': *37 - '500': *55 + default: *264 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -109677,21 +109905,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *262 + schema: *263 examples: - default: *478 + default: *479 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *262 + schema: *263 examples: - default: *478 + default: *479 '401': *25 '403': *29 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109731,7 +109959,7 @@ paths: type: integer secrets: type: array - items: &736 + items: &737 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -109771,9 +109999,9 @@ paths: - visibility - selected_repositories_url examples: - default: *481 + default: *482 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109841,13 +110069,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *171 + - *172 responses: '200': description: Response content: application/json: - schema: *736 + schema: *737 examples: default: value: @@ -109877,7 +110105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *171 + - *172 requestBody: required: true content: @@ -109922,7 +110150,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -109950,7 +110178,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *171 + - *172 responses: '204': description: Response @@ -109975,7 +110203,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *171 + - *172 responses: '200': description: Response @@ -109991,13 +110219,13 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *211 + default: *212 '401': *25 '403': *29 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110018,7 +110246,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *171 + - *172 requestBody: required: true content: @@ -110050,7 +110278,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110072,7 +110300,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *171 + - *172 - name: repository_id in: path required: true @@ -110084,7 +110312,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110105,7 +110333,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *171 + - *172 - name: repository_id in: path required: true @@ -110117,7 +110345,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110137,17 +110365,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *264 + - *265 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *478 - '304': *37 - '500': *55 + default: *479 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -110171,7 +110399,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *264 + - *265 requestBody: required: false content: @@ -110201,9 +110429,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *478 + default: *479 '401': *25 '403': *29 '404': *6 @@ -110225,11 +110453,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *264 + - *265 responses: - '202': *39 - '304': *37 - '500': *55 + '202': *40 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -110254,13 +110482,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *264 + - *265 responses: '202': description: Response content: application/json: - schema: &737 + schema: &738 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -110301,7 +110529,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &738 + default: &739 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -110309,7 +110537,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -110333,7 +110561,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *264 + - *265 - name: export_id in: path required: true @@ -110346,9 +110574,9 @@ paths: description: Response content: application/json: - schema: *737 + schema: *738 examples: - default: *738 + default: *739 '404': *6 x-github: githubCloudOnly: false @@ -110369,7 +110597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *264 + - *265 responses: '200': description: Response @@ -110385,11 +110613,11 @@ paths: type: integer machines: type: array - items: *739 + items: *740 examples: - default: *740 - '304': *37 - '500': *55 + default: *741 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -110416,7 +110644,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *264 + - *265 requestBody: required: true content: @@ -110466,13 +110694,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *359 + repository: *360 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *479 - required: *480 + properties: *480 + required: *481 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -111246,17 +111474,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *264 + - *265 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *478 - '304': *37 - '500': *55 + default: *479 + '304': *38 + '500': *56 '400': *14 '401': *25 '402': @@ -111266,7 +111494,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111286,16 +111514,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *264 + - *265 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *478 - '500': *55 + default: *479 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -111324,9 +111552,9 @@ paths: application/json: schema: type: array - items: *275 + items: *276 examples: - default: &752 + default: &753 value: - id: 197 name: hello_docker @@ -111427,7 +111655,7 @@ paths: application/json: schema: type: array - items: &741 + items: &742 title: Email description: Email type: object @@ -111458,7 +111686,7 @@ paths: primary: true verified: true visibility: private - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -111492,17 +111720,17 @@ paths: application/json: schema: type: array - items: *741 + items: *742 examples: - default: &754 + default: &755 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -111569,7 +111797,7 @@ paths: application/json: schema: type: array - items: *741 + items: *742 examples: default: value: @@ -111586,7 +111814,7 @@ paths: verified: false visibility: '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -111647,7 +111875,7 @@ paths: responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -111679,10 +111907,10 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -111712,10 +111940,10 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -111734,7 +111962,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: - - *74 + - *75 responses: '204': description: if the person is followed by the authenticated user @@ -111743,7 +111971,7 @@ paths: content: application/json: schema: *3 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -111764,11 +111992,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *74 + - *75 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -111789,11 +112017,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *74 + - *75 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -111825,7 +112053,7 @@ paths: application/json: schema: type: array - items: &742 + items: &743 title: GPG Key description: A unique encryption key type: object @@ -111956,7 +112184,7 @@ paths: - subkeys - revoked examples: - default: &771 + default: &772 value: - id: 3 name: Octocat's GPG Key @@ -111988,8 +112216,8 @@ paths: revoked: false raw_key: string headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -112041,9 +112269,9 @@ paths: description: Response content: application/json: - schema: *742 + schema: *743 examples: - default: &743 + default: &744 value: id: 3 name: Octocat's GPG Key @@ -112077,7 +112305,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': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -112100,7 +112328,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &744 + - &745 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -112112,11 +112340,11 @@ paths: description: Response content: application/json: - schema: *742 + schema: *743 examples: - default: *743 + default: *744 '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -112137,13 +112365,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *744 + - *745 responses: '204': description: Response '404': *6 '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -112280,8 +112508,8 @@ paths: suspended_at: suspended_by: headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -112328,7 +112556,7 @@ paths: type: array items: allOf: - - *82 + - *83 - type: object properties: custom_properties: @@ -112339,12 +112567,12 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *155 + default: *156 headers: - Link: *70 + Link: *71 '404': *6 '403': *29 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112365,12 +112593,12 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *152 + - *153 responses: '204': description: Response '403': *29 - '304': *37 + '304': *38 '404': *6 x-github: githubCloudOnly: false @@ -112391,12 +112619,12 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *152 + - *153 responses: '204': description: Response '403': *29 - '304': *37 + '304': *38 '404': *6 '422': description: Returned when the application is installed on `all` repositories @@ -112425,12 +112653,12 @@ paths: application/json: schema: anyOf: - - *249 + - *250 - type: object properties: {} additionalProperties: false examples: - default: *250 + default: *251 '204': description: Response when there are no restrictions x-github: @@ -112454,7 +112682,7 @@ paths: required: true content: application/json: - schema: *555 + schema: *556 examples: default: value: @@ -112465,7 +112693,7 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: default: value: @@ -112546,7 +112774,7 @@ paths: - closed - all default: open - - *260 + - *261 - name: sort description: What to sort results by. in: query @@ -112558,8 +112786,8 @@ paths: - updated - comments default: created - - *62 - - *95 + - *63 + - *96 - *17 - *19 responses: @@ -112569,13 +112797,13 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: *261 + default: *262 headers: - Link: *70 + Link: *71 '404': *6 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112604,7 +112832,7 @@ paths: application/json: schema: type: array - items: &745 + items: &746 title: Key description: Key type: object @@ -112655,8 +112883,8 @@ paths: verified: false read_only: false headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -112705,9 +112933,9 @@ paths: description: Response content: application/json: - schema: *745 + schema: *746 examples: - default: &746 + default: &747 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -112717,7 +112945,7 @@ paths: verified: false read_only: false '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -112746,11 +112974,11 @@ paths: description: Response content: application/json: - schema: *745 + schema: *746 examples: - default: *746 + default: *747 '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -112775,7 +113003,7 @@ paths: responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -112804,7 +113032,7 @@ paths: application/json: schema: type: array - items: &747 + items: &748 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -112861,7 +113089,7 @@ paths: - id - type - login - plan: *106 + plan: *107 required: - billing_cycle - next_billing_date @@ -112872,7 +113100,7 @@ paths: - account - plan examples: - default: &748 + default: &749 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -112905,8 +113133,8 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '401': *25 '404': *6 x-github: @@ -112934,12 +113162,12 @@ paths: application/json: schema: type: array - items: *747 + items: *748 examples: - default: *748 + default: *749 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '401': *25 x-github: githubCloudOnly: false @@ -112976,7 +113204,7 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: default: value: @@ -113059,8 +113287,8 @@ paths: type: User site_admin: false headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -113084,13 +113312,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *266 + schema: *267 examples: default: value: @@ -113152,7 +113380,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *78 + - *79 requestBody: required: true content: @@ -113177,9 +113405,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *266 + schema: *267 examples: - default: &749 + default: &750 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -113226,9 +113454,9 @@ paths: processed asynchronously. content: application/json: - schema: *266 + schema: *267 examples: - default: *749 + default: *750 '403': *29 '404': *6 '422': *15 @@ -113257,7 +113485,7 @@ paths: application/json: schema: type: array - items: *268 + items: *269 examples: default: value: @@ -113410,8 +113638,8 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -113510,7 +113738,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: default: value: @@ -113663,7 +113891,7 @@ paths: created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -113690,7 +113918,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *269 + - *270 - name: exclude in: query required: false @@ -113703,7 +113931,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: default: value: @@ -113857,7 +114085,7 @@ paths: created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -113897,11 +114125,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *269 + - *270 responses: '302': description: Response - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -113923,12 +114151,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *269 + - *270 responses: '204': description: Response '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -113952,12 +114180,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *269 - - *750 + - *270 + - *751 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -113977,7 +114205,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *269 + - *270 - *17 - *19 responses: @@ -113987,11 +114215,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *281 + default: *282 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -114024,12 +114252,12 @@ paths: application/json: schema: type: array - items: *76 + items: *77 examples: - default: *119 + default: *120 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -114068,7 +114296,7 @@ paths: - docker - nuget - container - - *751 + - *752 - *19 - *17 responses: @@ -114078,10 +114306,10 @@ paths: application/json: schema: type: array - items: *275 + items: *276 examples: - default: *752 - '400': *753 + default: *753 + '400': *754 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114101,16 +114329,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *277 - *278 + - *279 responses: '200': description: Response content: application/json: - schema: *275 + schema: *276 examples: - default: &772 + default: &773 value: id: 40201 name: octo-name @@ -114223,8 +114451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *277 - *278 + - *279 responses: '204': description: Response @@ -114254,8 +114482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *277 - *278 + - *279 - name: token description: package token schema: @@ -114287,8 +114515,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: - - *277 - *278 + - *279 - *19 - *17 - name: state @@ -114308,7 +114536,7 @@ paths: application/json: schema: type: array - items: *279 + items: *280 examples: default: value: @@ -114357,15 +114585,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *277 - *278 - - *280 + - *279 + - *281 responses: '200': description: Response content: application/json: - schema: *279 + schema: *280 examples: default: value: @@ -114401,9 +114629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *277 - *278 - - *280 + - *279 + - *281 responses: '204': description: Response @@ -114433,9 +114661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *277 - *278 - - *280 + - *279 + - *281 responses: '204': description: Response @@ -114472,12 +114700,12 @@ paths: application/json: schema: type: array - items: *741 + items: *742 examples: - default: *754 + default: *755 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -114585,9 +114813,9 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default: &761 + default: &762 summary: Default response value: - id: 1296269 @@ -114708,9 +114936,9 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *70 + Link: *71 '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -114891,16 +115119,16 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: - default: *361 + default: *362 headers: Location: example: https://api.github.com/repos/octocat/Hello-World schema: type: string '401': *25 - '304': *37 + '304': *38 '404': *6 '403': *29 '422': *15 @@ -114931,12 +115159,12 @@ paths: application/json: schema: type: array - items: *558 + items: *559 examples: - default: *755 + default: *756 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -114956,14 +115184,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *253 + - *254 responses: '204': description: Response '403': *29 - '409': *54 + '409': *55 '404': *6 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114979,12 +115207,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *253 + - *254 responses: '204': description: Response - '409': *54 - '304': *37 + '409': *55 + '304': *38 '404': *6 '403': *29 x-github: @@ -115012,7 +115240,7 @@ paths: application/json: schema: type: array - items: &756 + items: &757 title: Social account description: Social media account type: object @@ -115027,13 +115255,13 @@ paths: - provider - url examples: - default: &757 + default: &758 value: - provider: twitter url: https://twitter.com/github headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -115089,11 +115317,11 @@ paths: application/json: schema: type: array - items: *756 + items: *757 examples: - default: *757 + default: *758 '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -115146,7 +115374,7 @@ paths: '204': description: Response '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -115178,7 +115406,7 @@ paths: application/json: schema: type: array - items: &758 + items: &759 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -115198,7 +115426,7 @@ paths: - title - created_at examples: - default: &789 + default: &790 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -115209,8 +115437,8 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -115262,16 +115490,16 @@ paths: description: Response content: application/json: - schema: *758 + schema: *759 examples: - default: &759 + default: &760 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 title: ssh-rsa AAAAB3NzaC1yc2EAAA created_at: '2020-06-11T21:31:57Z' '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -115294,7 +115522,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: - - &760 + - &761 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -115306,11 +115534,11 @@ paths: description: Response content: application/json: - schema: *758 + schema: *759 examples: - default: *759 + default: *760 '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -115331,11 +115559,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: - - *760 + - *761 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -115360,7 +115588,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &790 + - &791 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 @@ -115373,7 +115601,7 @@ paths: - created - updated default: created - - *62 + - *63 - *17 - *19 responses: @@ -115383,13 +115611,13 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default-response: *761 + default-response: *762 application/vnd.github.v3.star+json: schema: type: array - items: &791 + items: &792 title: Starred Repository description: Starred Repository type: object @@ -115397,7 +115625,7 @@ paths: starred_at: type: string format: date-time - repo: *82 + repo: *83 required: - starred_at - repo @@ -115525,8 +115753,8 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -115545,8 +115773,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: - - *356 - *357 + - *358 responses: '204': description: Response if this repository is starred by you @@ -115556,7 +115784,7 @@ paths: application/json: schema: *3 '401': *25 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -115574,15 +115802,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *356 - *357 + - *358 responses: '204': description: Response '403': *29 '404': *6 '401': *25 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115599,14 +115827,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *356 - *357 + - *358 responses: '204': description: Response '404': *6 '401': *25 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -115633,12 +115861,12 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *281 + default: *282 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -115672,7 +115900,7 @@ paths: application/json: schema: type: array - items: *352 + items: *353 examples: default: value: @@ -115723,8 +115951,8 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 x-github: @@ -115750,7 +115978,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *108 + - *109 responses: '200': description: Response @@ -115758,10 +115986,10 @@ paths: application/json: schema: oneOf: + - *736 - *735 - - *734 examples: - default-response: &765 + default-response: &766 summary: Default response value: login: octocat @@ -115796,7 +116024,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &766 + response-with-git-hub-plan-information: &767 summary: Response with GitHub plan information value: login: octocat @@ -115853,14 +116081,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &763 + - &764 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *293 + - *294 requestBody: required: true description: Details of the draft item to create in the project. @@ -115894,10 +116122,10 @@ paths: description: Response content: application/json: - schema: *299 + schema: *300 examples: - draft_issue: *300 - '304': *37 + draft_issue: *301 + '304': *38 '403': *29 '401': *25 x-github: @@ -115919,7 +116147,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *762 + - *763 - *17 responses: '200': @@ -115930,13 +116158,13 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: Link: example: ; rel="next" schema: type: string - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115954,8 +116182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *763 - - *293 + - *764 + - *294 requestBody: required: true content: @@ -116026,18 +116254,18 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *764 + schema: *765 examples: table_view: summary: Response for creating a table view - value: *304 + value: *305 board_view: summary: Response for creating a board view with filter - value: *304 + value: *305 roadmap_view: summary: Response for creating a roadmap view - value: *304 - '304': *37 + value: *305 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -116070,7 +116298,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *74 + - *75 responses: '200': description: Response @@ -116078,11 +116306,11 @@ paths: application/json: schema: oneOf: + - *736 - *735 - - *734 examples: - default-response: *765 - response-with-git-hub-plan-information: *766 + default-response: *766 + response-with-git-hub-plan-information: *767 '404': *6 x-github: githubCloudOnly: false @@ -116106,9 +116334,9 @@ paths: url: https://docs.github.com/rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *47 - *48 - - *74 + - *49 + - *75 requestBody: required: true content: @@ -116132,8 +116360,8 @@ paths: required: - subject_digests examples: - default: *767 - withPredicateType: *768 + default: *768 + withPredicateType: *769 responses: '200': description: Response @@ -116186,7 +116414,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *769 + default: *770 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116204,7 +116432,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *74 + - *75 requestBody: required: true content: @@ -116269,7 +116497,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *74 + - *75 - name: subject_digest description: Subject Digest in: path @@ -116300,7 +116528,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *74 + - *75 - name: attestation_id description: Attestation ID in: path @@ -116336,9 +116564,9 @@ paths: url: https://docs.github.com/rest/users/attestations#list-attestations parameters: - *17 - - *47 - *48 - - *74 + - *49 + - *75 - name: subject_digest description: Subject Digest in: path @@ -116391,12 +116619,12 @@ paths: initiator: type: string examples: - default: *416 + default: *417 '201': description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -116424,7 +116652,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#list-copilot-spaces-for-a-user parameters: - - *74 + - *75 - name: per_page description: The number of results per page (max 100). in: query @@ -116458,7 +116686,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *204 + items: *205 examples: default: summary: Example response for listing user copilot spaces @@ -116557,7 +116785,7 @@ paths: html_url: https://github.com/copilot/spaces/octocat/2 api_url: https://api.github.com/user/1/copilot-spaces/2 headers: - Link: *70 + Link: *71 '403': *29 '404': *6 x-github: @@ -116579,7 +116807,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#create-a-copilot-space-for-a-user parameters: - - *74 + - *75 requestBody: required: true content: @@ -116670,9 +116898,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: &770 + default: &771 summary: Example response for a user copilot space value: id: 42 @@ -116759,7 +116987,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#get-a-copilot-space-for-a-user parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -116771,9 +116999,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: *770 + default: *771 '403': *29 '404': *6 x-github: @@ -116795,7 +117023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#set-a-copilot-space-for-a-user parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -116894,9 +117122,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: *770 + default: *771 '403': *29 '404': *6 '422': *15 @@ -116919,7 +117147,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#delete-a-copilot-space-for-a-user parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -116953,7 +117181,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -116973,7 +117201,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *206 + items: *207 examples: default: value: @@ -117069,7 +117297,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -117116,7 +117344,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *207 examples: default: value: @@ -117176,7 +117404,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -117227,7 +117455,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *207 examples: default: value: @@ -117289,7 +117517,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -117337,7 +117565,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -117357,7 +117585,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *207 + items: *208 examples: default: value: @@ -117395,7 +117623,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -117449,7 +117677,7 @@ paths: description: Resource created content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -117465,7 +117693,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -117500,7 +117728,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -117518,7 +117746,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -117550,7 +117778,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -117585,7 +117813,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -117618,7 +117846,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -117654,7 +117882,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: - - *74 + - *75 responses: '200': description: Response @@ -117662,9 +117890,9 @@ paths: application/json: schema: type: array - items: *275 + items: *276 examples: - default: *752 + default: *753 '403': *29 '401': *25 x-github: @@ -117687,7 +117915,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -117697,7 +117925,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: default: value: @@ -117759,8 +117987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *74 - - *78 + - *75 + - *79 - *17 - *19 responses: @@ -117770,7 +117998,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: default: value: @@ -117847,7 +118075,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -117857,7 +118085,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: default: value: @@ -117915,7 +118143,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -117927,9 +118155,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117946,7 +118174,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *74 + - *75 - *17 - *19 responses: @@ -117958,9 +118186,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117977,7 +118205,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *74 + - *75 - name: target_user in: path required: true @@ -118004,8 +118232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *74 - - *95 + - *75 + - *96 - *17 - *19 responses: @@ -118015,11 +118243,11 @@ paths: application/json: schema: type: array - items: *96 + items: *97 examples: - default: *97 + default: *98 headers: - Link: *70 + Link: *71 '422': *15 x-github: githubCloudOnly: false @@ -118038,7 +118266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -118048,11 +118276,11 @@ paths: application/json: schema: type: array - items: *742 + items: *743 examples: - default: *771 + default: *772 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118074,7 +118302,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *74 + - *75 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -118146,7 +118374,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *74 + - *75 responses: '200': description: Response @@ -118154,7 +118382,7 @@ paths: application/json: schema: *22 examples: - default: *554 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118172,7 +118400,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -118207,7 +118435,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118227,7 +118455,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -118237,11 +118465,11 @@ paths: application/json: schema: type: array - items: *76 + items: *77 examples: - default: *119 + default: *120 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118278,8 +118506,8 @@ paths: - docker - nuget - container - - *751 - - *74 + - *752 + - *75 - *19 - *17 responses: @@ -118289,12 +118517,12 @@ paths: application/json: schema: type: array - items: *275 + items: *276 examples: - default: *752 + default: *753 '403': *29 '401': *25 - '400': *753 + '400': *754 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118314,17 +118542,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *277 - *278 - - *74 + - *279 + - *75 responses: '200': description: Response content: application/json: - schema: *275 + schema: *276 examples: - default: *772 + default: *773 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118345,9 +118573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *277 - *278 - - *74 + - *279 + - *75 responses: '204': description: Response @@ -118379,9 +118607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *277 - *278 - - *74 + - *279 + - *75 - name: token description: package token schema: @@ -118413,9 +118641,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: - - *277 - *278 - - *74 + - *279 + - *75 responses: '200': description: Response @@ -118423,7 +118651,7 @@ paths: application/json: schema: type: array - items: *279 + items: *280 examples: default: value: @@ -118481,16 +118709,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *277 - *278 - - *280 - - *74 + - *279 + - *281 + - *75 responses: '200': description: Response content: application/json: - schema: *279 + schema: *280 examples: default: value: @@ -118525,10 +118753,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *277 - *278 - - *74 - - *280 + - *279 + - *75 + - *281 responses: '204': description: Response @@ -118560,10 +118788,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *277 - *278 - - *74 - - *280 + - *279 + - *75 + - *281 responses: '204': description: Response @@ -118587,15 +118815,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *74 + - *75 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *47 - *48 + - *49 - *17 responses: '200': @@ -118604,12 +118832,12 @@ paths: application/json: schema: type: array - items: *291 + items: *292 examples: - default: *292 + default: *293 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -118628,19 +118856,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *293 - - *74 + - *294 + - *75 responses: '200': description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: *292 + default: *293 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -118659,11 +118887,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *293 - - *74 + - *294 + - *75 - *17 - - *47 - *48 + - *49 responses: '200': description: Response @@ -118671,12 +118899,12 @@ paths: application/json: schema: type: array - items: *297 + items: *298 examples: - default: *773 + default: *774 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -118694,8 +118922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *74 - - *293 + - *75 + - *294 requestBody: required: true content: @@ -118733,7 +118961,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *774 + items: *775 required: - name - data_type @@ -118749,7 +118977,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *775 + iteration_configuration: *776 required: - name - data_type @@ -118771,21 +118999,21 @@ paths: value: name: Due date data_type: date - single_select_field: *776 - iteration_field: *777 + single_select_field: *777 + iteration_field: *778 responses: '201': description: Response content: application/json: - schema: *297 + schema: *298 examples: - text_field: *778 - number_field: *779 - date_field: *780 - single_select_field: *781 - iteration_field: *782 - '304': *37 + text_field: *779 + number_field: *780 + date_field: *781 + single_select_field: *782 + iteration_field: *783 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -118805,20 +119033,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *293 - - *783 - - *74 + - *294 + - *784 + - *75 responses: '200': description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *784 + default: *785 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -118838,10 +119066,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *293 - - *74 - - *47 + - *294 + - *75 - *48 + - *49 - *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) @@ -118871,12 +119099,12 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *302 + default: *303 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -118894,8 +119122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *74 - - *293 + - *75 + - *294 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -118965,23 +119193,23 @@ paths: description: Response content: application/json: - schema: *299 + schema: *300 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *300 + value: *301 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *300 + value: *301 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *300 + value: *301 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *300 - '304': *37 + value: *301 + '304': *38 '403': *29 '401': *25 x-github: @@ -119000,9 +119228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *293 - - *74 - - *303 + - *294 + - *75 + - *304 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -119022,12 +119250,12 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -119045,9 +119273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *293 - - *74 - - *303 + - *294 + - *75 + - *304 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -119117,13 +119345,13 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - text_field: *302 - number_field: *302 - date_field: *302 - single_select_field: *302 - iteration_field: *302 + text_field: *303 + number_field: *303 + date_field: *303 + single_select_field: *303 + iteration_field: *303 '401': *25 '403': *29 '404': *6 @@ -119143,9 +119371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *293 - - *74 - - *303 + - *294 + - *75 + - *304 responses: '204': description: Response @@ -119167,9 +119395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *293 - - *74 - - *785 + - *294 + - *75 + - *786 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -119185,8 +119413,8 @@ paths: maxItems: 50 items: type: string - - *47 - *48 + - *49 - *17 responses: '200': @@ -119195,12 +119423,12 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *302 + default: *303 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -119225,7 +119453,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -119235,7 +119463,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: default: value: @@ -119300,7 +119528,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -119310,7 +119538,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: default: value: @@ -119373,7 +119601,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *74 + - *75 - name: type description: Limit results to repositories of the specified type. in: query @@ -119416,11 +119644,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *281 + default: *282 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119440,12 +119668,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-ai-credit-usage-report-for-a-user parameters: - - *74 - - *124 + - *75 - *125 - *126 - - *128 + - *127 - *129 + - *130 responses: '200': description: Response when getting a billing AI credit usage report @@ -119552,8 +119780,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119573,12 +119801,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *74 - - *124 + - *75 - *125 - *126 - - *128 + - *127 - *129 + - *130 responses: '200': description: Response when getting a billing premium request usage report @@ -119685,8 +119913,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119706,10 +119934,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *74 - - *124 - - *786 - - *126 + - *75 + - *125 + - *787 + - *127 responses: '200': description: Response when getting a billing usage report @@ -119779,8 +120007,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119803,13 +120031,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *74 - - *124 + - *75 - *125 - *126 - - *787 - - *129 + - *127 - *788 + - *130 + - *789 responses: '200': description: Response when getting a billing usage summary @@ -119914,8 +120142,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119933,7 +120161,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -119943,11 +120171,11 @@ paths: application/json: schema: type: array - items: *756 + items: *757 examples: - default: *757 + default: *758 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119965,7 +120193,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -119975,11 +120203,11 @@ paths: application/json: schema: type: array - items: *758 + items: *759 examples: - default: *789 + default: *790 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120001,9 +120229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *74 - - *790 - - *62 + - *75 + - *791 + - *63 - *17 - *19 responses: @@ -120014,13 +120242,13 @@ paths: schema: anyOf: - type: array - items: *791 + items: *792 - type: array - items: *82 + items: *83 examples: - default-response: *761 + default-response: *762 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120037,7 +120265,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -120047,11 +120275,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *281 + default: *282 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120177,7 +120405,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &792 + enterprise: &793 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -120235,7 +120463,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &793 + installation: &794 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -120254,7 +120482,7 @@ x-webhooks: required: - id - node_id - organization: &794 + organization: &795 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -120314,13 +120542,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &795 + repository: &796 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &827 + properties: &828 id: description: Unique identifier of the repository example: 42 @@ -120340,8 +120568,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true organization: title: Simple User @@ -121015,7 +121243,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &828 + required: &829 - archive_url - assignees_url - blobs_url @@ -121166,10 +121394,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -121245,11 +121473,11 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - rule: &796 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + rule: &797 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) @@ -121472,11 +121700,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - rule: *796 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + rule: *797 sender: *4 required: - action @@ -121659,11 +121887,11 @@ x-webhooks: - everyone required: - from - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - rule: *796 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + rule: *797 sender: *4 required: - action @@ -121747,7 +121975,7 @@ x-webhooks: type: string enum: - completed - check_run: &798 + check_run: &799 title: CheckRun description: A check performed on the code of a given code change type: object @@ -121800,8 +122028,8 @@ x-webhooks: type: string pull_requests: type: array - items: *93 - repository: *163 + items: *94 + repository: *164 status: example: completed type: string @@ -121838,7 +122066,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *797 + deployment: *798 details_url: example: https://example.com type: string @@ -121888,7 +122116,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *93 + items: *94 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -121923,10 +122151,10 @@ x-webhooks: - output - app - pull_requests - installation: *793 - enterprise: *792 - organization: *794 - repository: *795 + installation: *794 + enterprise: *793 + organization: *795 + repository: *796 sender: *4 required: - check_run @@ -122317,11 +122545,11 @@ x-webhooks: type: string enum: - created - check_run: *798 - installation: *793 - enterprise: *792 - organization: *794 - repository: *795 + check_run: *799 + installation: *794 + enterprise: *793 + organization: *795 + repository: *796 sender: *4 required: - check_run @@ -122715,11 +122943,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *798 - installation: *793 - enterprise: *792 - organization: *794 - repository: *795 + check_run: *799 + installation: *794 + enterprise: *793 + organization: *795 + repository: *796 requested_action: description: The action requested by the user. type: object @@ -123122,11 +123350,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *798 - installation: *793 - enterprise: *792 - organization: *794 - repository: *795 + check_run: *799 + installation: *794 + enterprise: *793 + organization: *795 + repository: *796 sender: *4 required: - check_run @@ -124096,10 +124324,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -124798,10 +125026,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -125494,10 +125722,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -125663,7 +125891,7 @@ x-webhooks: required: - login - id - dismissed_comment: *450 + dismissed_comment: *451 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -125808,20 +126036,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &799 + commit_oid: &800 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: *792 - installation: *793 - organization: *794 - ref: &800 + enterprise: *793 + installation: *794 + organization: *795 + ref: &801 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: *795 + repository: *796 sender: *4 required: - action @@ -125986,7 +126214,7 @@ x-webhooks: required: - login - id - dismissed_comment: *450 + dismissed_comment: *451 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -126216,12 +126444,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *799 - enterprise: *792 - installation: *793 - organization: *794 - ref: *800 - repository: *795 + commit_oid: *800 + enterprise: *793 + installation: *794 + organization: *795 + ref: *801 + repository: *796 sender: *4 required: - action @@ -126316,7 +126544,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *450 + dismissed_comment: *451 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -126487,12 +126715,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *799 - enterprise: *792 - installation: *793 - organization: *794 - ref: *800 - repository: *795 + commit_oid: *800 + enterprise: *793 + installation: *794 + organization: *795 + ref: *801 + repository: *796 sender: *4 required: - action @@ -126658,7 +126886,7 @@ x-webhooks: required: - login - id - dismissed_comment: *450 + dismissed_comment: *451 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -126824,12 +127052,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *799 - enterprise: *792 - installation: *793 - organization: *794 - ref: *800 - repository: *795 + commit_oid: *800 + enterprise: *793 + installation: *794 + organization: *795 + ref: *801 + repository: *796 sender: *4 required: - action @@ -126928,7 +127156,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *450 + dismissed_comment: *451 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127103,16 +127331,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *795 + repository: *796 sender: *4 required: - action @@ -127209,7 +127437,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *450 + dismissed_comment: *451 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127349,12 +127577,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *799 - enterprise: *792 - installation: *793 - organization: *794 - ref: *800 - repository: *795 + commit_oid: *800 + enterprise: *793 + installation: *794 + organization: *795 + ref: *801 + repository: *796 sender: *4 required: - action @@ -127520,7 +127748,7 @@ x-webhooks: required: - login - id - dismissed_comment: *450 + dismissed_comment: *451 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127665,10 +127893,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -127923,10 +128151,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -128006,18 +128234,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *794 - pusher_type: &801 + organization: *795 + pusher_type: &802 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &802 + ref: &803 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -128027,7 +128255,7 @@ x-webhooks: enum: - tag - branch - repository: *795 + repository: *796 sender: *4 required: - ref @@ -128109,10 +128337,10 @@ x-webhooks: type: string enum: - created - definition: *305 - enterprise: *792 - installation: *793 - organization: *794 + definition: *306 + enterprise: *793 + installation: *794 + organization: *795 sender: *4 required: - action @@ -128197,9 +128425,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 sender: *4 required: - action @@ -128276,10 +128504,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *305 - enterprise: *792 - installation: *793 - organization: *794 + definition: *306 + enterprise: *793 + installation: *794 + organization: *795 sender: *4 required: - action @@ -128356,10 +128584,10 @@ x-webhooks: type: string enum: - updated - definition: *305 - enterprise: *792 - installation: *793 - organization: *794 + definition: *306 + enterprise: *793 + installation: *794 + organization: *795 sender: *4 required: - action @@ -128436,19 +128664,19 @@ x-webhooks: type: string enum: - updated - enterprise: *792 - installation: *793 - repository: *795 - organization: *794 + enterprise: *793 + installation: *794 + repository: *796 + organization: *795 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *309 + items: *310 old_property_values: type: array description: The old custom property values for the repository. - items: *309 + items: *310 required: - action - repository @@ -128524,18 +128752,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *792 - installation: *793 - organization: *794 - pusher_type: *801 - ref: *802 + enterprise: *793 + installation: *794 + organization: *795 + pusher_type: *802 + ref: *803 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *795 + repository: *796 sender: *4 required: - ref @@ -128615,11 +128843,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *514 - installation: *793 - organization: *794 - enterprise: *792 - repository: *795 + alert: *515 + installation: *794 + organization: *795 + enterprise: *793 + repository: *796 sender: *4 required: - action @@ -128699,11 +128927,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *514 - installation: *793 - organization: *794 - enterprise: *792 - repository: *795 + alert: *515 + installation: *794 + organization: *795 + enterprise: *793 + repository: *796 sender: *4 required: - action @@ -128784,11 +129012,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *514 - installation: *793 - organization: *794 - enterprise: *792 - repository: *795 + alert: *515 + installation: *794 + organization: *795 + enterprise: *793 + repository: *796 sender: *4 required: - action @@ -128869,11 +129097,11 @@ x-webhooks: type: string enum: - created - alert: *514 - installation: *793 - organization: *794 - enterprise: *792 - repository: *795 + alert: *515 + installation: *794 + organization: *795 + enterprise: *793 + repository: *796 sender: *4 required: - action @@ -128952,11 +129180,11 @@ x-webhooks: type: string enum: - dismissed - alert: *514 - installation: *793 - organization: *794 - enterprise: *792 - repository: *795 + alert: *515 + installation: *794 + organization: *795 + enterprise: *793 + repository: *796 sender: *4 required: - action @@ -129035,11 +129263,11 @@ x-webhooks: type: string enum: - fixed - alert: *514 - installation: *793 - organization: *794 - enterprise: *792 - repository: *795 + alert: *515 + installation: *794 + organization: *795 + enterprise: *793 + repository: *796 sender: *4 required: - action @@ -129119,11 +129347,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *514 - installation: *793 - organization: *794 - enterprise: *792 - repository: *795 + alert: *515 + installation: *794 + organization: *795 + enterprise: *793 + repository: *796 sender: *4 required: - action @@ -129202,11 +129430,11 @@ x-webhooks: type: string enum: - reopened - alert: *514 - installation: *793 - organization: *794 - enterprise: *792 - repository: *795 + alert: *515 + installation: *794 + organization: *795 + enterprise: *793 + repository: *796 sender: *4 required: - action @@ -129283,9 +129511,9 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - key: &803 + enterprise: *793 + installation: *794 + key: &804 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -129321,8 +129549,8 @@ x-webhooks: - verified - created_at - read_only - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -129399,11 +129627,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - key: *803 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + key: *804 + organization: *795 + repository: *796 sender: *4 required: - action @@ -129959,12 +130187,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - workflow: &809 + workflow: &810 title: Workflow type: object nullable: true @@ -130705,15 +130933,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *804 - required: *805 + properties: *805 + required: *806 nullable: true pull_requests: type: array - items: *627 - repository: *795 - organization: *794 - installation: *793 + items: *628 + repository: *796 + organization: *795 + installation: *794 sender: *4 responses: '200': @@ -130784,7 +131012,7 @@ x-webhooks: type: string enum: - approved - approver: &806 + approver: &807 type: object properties: avatar_url: @@ -130827,11 +131055,11 @@ x-webhooks: type: string comment: type: string - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - reviewers: &807 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + reviewers: &808 type: array items: type: object @@ -130910,7 +131138,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &808 + workflow_job_run: &809 type: object properties: conclusion: @@ -131641,18 +131869,18 @@ x-webhooks: type: string enum: - rejected - approver: *806 + approver: *807 comment: type: string - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - reviewers: *807 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + reviewers: *808 sender: *4 since: type: string - workflow_job_run: *808 + workflow_job_run: *809 workflow_job_runs: type: array items: @@ -132356,13 +132584,13 @@ x-webhooks: type: string enum: - requested - enterprise: *792 + enterprise: *793 environment: type: string - installation: *793 - organization: *794 - repository: *795 - requestor: &814 + installation: *794 + organization: *795 + repository: *796 + requestor: &815 title: User type: object nullable: true @@ -134251,12 +134479,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - workflow: *809 + workflow: *810 workflow_run: title: Deployment Workflow Run type: object @@ -134936,7 +135164,7 @@ x-webhooks: type: string enum: - answered - answer: &812 + answer: &813 type: object properties: author_association: @@ -135093,11 +135321,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -135224,11 +135452,11 @@ x-webhooks: - from required: - category - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -135311,11 +135539,11 @@ x-webhooks: type: string enum: - closed - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -135397,7 +135625,7 @@ x-webhooks: type: string enum: - created - comment: &811 + comment: &812 type: object properties: author_association: @@ -135554,11 +135782,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -135641,12 +135869,12 @@ x-webhooks: type: string enum: - deleted - comment: *811 - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + comment: *812 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -135741,12 +135969,12 @@ x-webhooks: - from required: - body - comment: *811 - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + comment: *812 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -135830,11 +136058,11 @@ x-webhooks: type: string enum: - created - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -135916,11 +136144,11 @@ x-webhooks: type: string enum: - deleted - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -136020,11 +136248,11 @@ x-webhooks: type: string required: - from - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -136106,10 +136334,10 @@ x-webhooks: type: string enum: - labeled - discussion: *810 - enterprise: *792 - installation: *793 - label: &813 + discussion: *811 + enterprise: *793 + installation: *794 + label: &814 title: Label type: object properties: @@ -136141,8 +136369,8 @@ x-webhooks: - color - default - description - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -136225,11 +136453,11 @@ x-webhooks: type: string enum: - locked - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -136311,11 +136539,11 @@ x-webhooks: type: string enum: - pinned - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -136397,11 +136625,11 @@ x-webhooks: type: string enum: - reopened - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -136486,16 +136714,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *810 - new_repository: *795 + new_discussion: *811 + new_repository: *796 required: - new_discussion - new_repository - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -136578,10 +136806,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *810 - old_answer: *812 - organization: *794 - repository: *795 + discussion: *811 + old_answer: *813 + organization: *795 + repository: *796 sender: *4 required: - action @@ -136663,12 +136891,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *810 - enterprise: *792 - installation: *793 - label: *813 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + label: *814 + organization: *795 + repository: *796 sender: *4 required: - action @@ -136751,11 +136979,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -136837,11 +137065,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -136914,7 +137142,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *792 + enterprise: *793 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -137574,9 +137802,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *793 - organization: *794 - repository: *795 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - forkee @@ -137722,9 +137950,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 pages: description: The pages that were updated. type: array @@ -137761,7 +137989,7 @@ x-webhooks: - action - sha - html_url - repository: *795 + repository: *796 sender: *4 required: - pages @@ -137837,10 +138065,10 @@ x-webhooks: type: string enum: - created - enterprise: *792 + enterprise: *793 installation: *22 - organization: *794 - repositories: &815 + organization: *795 + repositories: &816 description: An array of repository objects that the installation can access. type: array @@ -137866,8 +138094,8 @@ x-webhooks: - name - full_name - private - repository: *795 - requester: *814 + repository: *796 + requester: *815 sender: *4 required: - action @@ -137942,11 +138170,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 + enterprise: *793 installation: *22 - organization: *794 - repositories: *815 - repository: *795 + organization: *795 + repositories: *816 + repository: *796 requester: nullable: true sender: *4 @@ -138022,11 +138250,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *792 + enterprise: *793 installation: *22 - organization: *794 - repositories: *815 - repository: *795 + organization: *795 + repositories: *816 + repository: *796 requester: nullable: true sender: *4 @@ -138102,10 +138330,10 @@ x-webhooks: type: string enum: - added - enterprise: *792 + enterprise: *793 installation: *22 - organization: *794 - repositories_added: &816 + organization: *795 + repositories_added: &817 description: An array of repository objects, which were added to the installation. type: array @@ -138151,15 +138379,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *795 - repository_selection: &817 + repository: *796 + repository_selection: &818 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *814 + requester: *815 sender: *4 required: - action @@ -138238,10 +138466,10 @@ x-webhooks: type: string enum: - removed - enterprise: *792 + enterprise: *793 installation: *22 - organization: *794 - repositories_added: *816 + organization: *795 + repositories_added: *817 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -138268,9 +138496,9 @@ x-webhooks: - name - full_name - private - repository: *795 - repository_selection: *817 - requester: *814 + repository: *796 + repository_selection: *818 + requester: *815 sender: *4 required: - action @@ -138349,11 +138577,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *792 + enterprise: *793 installation: *22 - organization: *794 - repositories: *815 - repository: *795 + organization: *795 + repositories: *816 + repository: *796 requester: nullable: true sender: *4 @@ -138531,10 +138759,10 @@ x-webhooks: type: string required: - from - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 target_type: type: string @@ -138613,11 +138841,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *792 + enterprise: *793 installation: *22 - organization: *794 - repositories: *815 - repository: *795 + organization: *795 + repositories: *816 + repository: *796 requester: nullable: true sender: *4 @@ -138741,8 +138969,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 reactions: title: Reactions type: object @@ -138884,8 +139112,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -139674,8 +139902,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139691,7 +139919,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -140024,8 +140252,8 @@ x-webhooks: - state - locked - assignee - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -140105,7 +140333,7 @@ x-webhooks: type: string enum: - deleted - comment: &818 + comment: &819 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -140285,8 +140513,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -141071,8 +141299,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141088,7 +141316,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -141423,8 +141651,8 @@ x-webhooks: - state - locked - assignee - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -141504,7 +141732,7 @@ x-webhooks: type: string enum: - edited - changes: &847 + changes: &848 description: The changes to the comment. type: object properties: @@ -141516,9 +141744,9 @@ x-webhooks: type: string required: - from - comment: *818 - enterprise: *792 - installation: *793 + comment: *819 + enterprise: *793 + installation: *794 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -142306,8 +142534,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142323,7 +142551,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -142656,8 +142884,8 @@ x-webhooks: - state - locked - assignee - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -142738,9 +142966,9 @@ x-webhooks: type: string enum: - pinned - comment: *818 - enterprise: *792 - installation: *793 + comment: *819 + enterprise: *793 + installation: *794 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -143530,8 +143758,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143547,7 +143775,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -143882,8 +144110,8 @@ x-webhooks: - state - locked - assignee - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -143963,9 +144191,9 @@ x-webhooks: type: string enum: - unpinned - comment: *818 - enterprise: *792 - installation: *793 + comment: *819 + enterprise: *793 + installation: *794 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -144755,8 +144983,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144772,7 +145000,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -145107,8 +145335,8 @@ x-webhooks: - state - locked - assignee - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -145191,15 +145419,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *88 + blocked_issue: *89 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *88 - blocking_issue_repo: *82 - installation: *793 - organization: *794 - repository: *795 + blocking_issue: *89 + blocking_issue_repo: *83 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -145282,15 +145510,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *88 + blocked_issue: *89 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *88 - blocking_issue_repo: *82 - installation: *793 - organization: *794 - repository: *795 + blocking_issue: *89 + blocking_issue_repo: *83 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -145372,15 +145600,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *88 - blocked_issue_repo: *82 + blocked_issue: *89 + blocked_issue_repo: *83 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *88 - installation: *793 - organization: *794 - repository: *795 + blocking_issue: *89 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -145463,15 +145691,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *88 - blocked_issue_repo: *82 + blocked_issue: *89 + blocked_issue_repo: *83 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *88 - installation: *793 - organization: *794 - repository: *795 + blocking_issue: *89 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -145551,10 +145779,10 @@ x-webhooks: type: string enum: - assigned - assignee: *814 - enterprise: *792 - installation: *793 - issue: &819 + assignee: *815 + enterprise: *793 + installation: *794 + issue: &820 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -146343,11 +146571,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -146366,7 +146594,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -146467,8 +146695,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -146548,8 +146776,8 @@ x-webhooks: type: string enum: - closed - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -147343,11 +147571,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -147366,7 +147594,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -147602,8 +147830,8 @@ x-webhooks: required: - state - closed_at - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -147682,8 +147910,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148468,11 +148696,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -148491,7 +148719,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -148591,8 +148819,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -148671,8 +148899,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -149479,11 +149707,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -149502,7 +149730,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -149581,7 +149809,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &820 + milestone: &821 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149719,8 +149947,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -149819,8 +150047,8 @@ x-webhooks: type: string required: - from - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150609,11 +150837,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -150629,7 +150857,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *257 + type: *258 title: description: Title of the issue type: string @@ -150733,9 +150961,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *813 - organization: *794 - repository: *795 + label: *814 + organization: *795 + repository: *796 sender: *4 required: - action @@ -150815,9 +151043,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *792 - installation: *793 - issue: *819 + enterprise: *793 + installation: *794 + issue: *820 issue_field: type: object description: The issue field whose value was set or updated on the @@ -150971,8 +151199,8 @@ x-webhooks: - id required: - from - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -151052,9 +151280,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *792 - installation: *793 - issue: *819 + enterprise: *793 + installation: *794 + issue: *820 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -151135,8 +151363,8 @@ x-webhooks: nullable: true required: - id - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -151216,8 +151444,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152005,11 +152233,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -152025,7 +152253,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *257 + type: *258 title: description: Title of the issue type: string @@ -152129,9 +152357,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *813 - organization: *794 - repository: *795 + label: *814 + organization: *795 + repository: *796 sender: *4 required: - action @@ -152211,8 +152439,8 @@ x-webhooks: type: string enum: - locked - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153024,11 +153252,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -153044,7 +153272,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *257 + type: *258 title: description: Title of the issue type: string @@ -153125,8 +153353,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -153205,8 +153433,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154012,11 +154240,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -154035,7 +154263,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -154113,9 +154341,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *820 - organization: *794 - repository: *795 + milestone: *821 + organization: *795 + repository: *796 sender: *4 required: - action @@ -154978,8 +155206,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -155010,8 +155238,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true user: title: User @@ -155083,7 +155311,7 @@ x-webhooks: required: - login - id - type: *257 + type: *258 required: - id - number @@ -155563,8 +155791,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -156348,8 +156576,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -156368,7 +156596,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -156381,8 +156609,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true user: title: User @@ -156476,8 +156704,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -156557,9 +156785,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *792 - installation: *793 - issue: &821 + enterprise: *793 + installation: *794 + issue: &822 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -157342,11 +157570,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -157365,7 +157593,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -157465,8 +157693,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -157545,8 +157773,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -158356,11 +158584,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -158457,9 +158685,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *257 - organization: *794 - repository: *795 + type: *258 + organization: *795 + repository: *796 sender: *4 required: - action @@ -159325,11 +159553,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -159348,7 +159576,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -159927,11 +160155,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *792 - installation: *793 - issue: *821 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + issue: *822 + organization: *795 + repository: *796 sender: *4 required: - action @@ -160011,12 +160239,12 @@ x-webhooks: type: string enum: - typed - enterprise: *792 - installation: *793 - issue: *819 - type: *257 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + issue: *820 + type: *258 + organization: *795 + repository: *796 sender: *4 required: - action @@ -160097,7 +160325,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &850 + assignee: &851 title: User type: object nullable: true @@ -160167,11 +160395,11 @@ x-webhooks: required: - login - id - enterprise: *792 - installation: *793 - issue: *819 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + issue: *820 + organization: *795 + repository: *796 sender: *4 required: - action @@ -160250,12 +160478,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *792 - installation: *793 - issue: *819 - label: *813 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + issue: *820 + label: *814 + organization: *795 + repository: *796 sender: *4 required: - action @@ -160335,8 +160563,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -161146,11 +161374,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -161169,7 +161397,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -161247,8 +161475,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -161328,11 +161556,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *792 - installation: *793 - issue: *821 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + issue: *822 + organization: *795 + repository: *796 sender: *4 required: - action @@ -161411,12 +161639,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *792 - installation: *793 - issue: *819 - type: *257 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + issue: *820 + type: *258 + organization: *795 + repository: *796 sender: *4 required: - action @@ -161496,11 +161724,11 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - label: *813 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + label: *814 + organization: *795 + repository: *796 sender: *4 required: - action @@ -161578,11 +161806,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - label: *813 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + label: *814 + organization: *795 + repository: *796 sender: *4 required: - action @@ -161692,11 +161920,11 @@ x-webhooks: type: string required: - from - enterprise: *792 - installation: *793 - label: *813 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + label: *814 + organization: *795 + repository: *796 sender: *4 required: - action @@ -161778,9 +162006,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *792 - installation: *793 - marketplace_purchase: &822 + enterprise: *793 + installation: *794 + marketplace_purchase: &823 title: Marketplace Purchase type: object required: @@ -161863,8 +162091,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *794 - previous_marketplace_purchase: &823 + organization: *795 + previous_marketplace_purchase: &824 title: Marketplace Purchase type: object properties: @@ -161944,7 +162172,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *795 + repository: *796 sender: *4 required: - action @@ -162024,10 +162252,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *792 - installation: *793 - marketplace_purchase: *822 - organization: *794 + enterprise: *793 + installation: *794 + marketplace_purchase: *823 + organization: *795 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -162110,7 +162338,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *795 + repository: *796 sender: *4 required: - action @@ -162192,10 +162420,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *792 - installation: *793 - marketplace_purchase: *822 - organization: *794 + enterprise: *793 + installation: *794 + marketplace_purchase: *823 + organization: *795 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -162277,7 +162505,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *795 + repository: *796 sender: *4 required: - action @@ -162358,8 +162586,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 marketplace_purchase: title: Marketplace Purchase type: object @@ -162441,9 +162669,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *794 - previous_marketplace_purchase: *823 - repository: *795 + organization: *795 + previous_marketplace_purchase: *824 + repository: *796 sender: *4 required: - action @@ -162523,12 +162751,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *792 - installation: *793 - marketplace_purchase: *822 - organization: *794 - previous_marketplace_purchase: *823 - repository: *795 + enterprise: *793 + installation: *794 + marketplace_purchase: *823 + organization: *795 + previous_marketplace_purchase: *824 + repository: *796 sender: *4 required: - action @@ -162630,11 +162858,11 @@ x-webhooks: type: string required: - to - enterprise: *792 - installation: *793 - member: *814 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + member: *815 + organization: *795 + repository: *796 sender: *4 required: - action @@ -162734,11 +162962,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *792 - installation: *793 - member: *814 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + member: *815 + organization: *795 + repository: *796 sender: *4 required: - action @@ -162817,11 +163045,11 @@ x-webhooks: type: string enum: - removed - enterprise: *792 - installation: *793 - member: *814 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + member: *815 + organization: *795 + repository: *796 sender: *4 required: - action @@ -162899,11 +163127,11 @@ x-webhooks: type: string enum: - added - enterprise: *792 - installation: *793 - member: *814 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + member: *815 + organization: *795 + repository: *796 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162979,7 +163207,7 @@ x-webhooks: required: - login - id - team: &824 + team: &825 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -163202,11 +163430,11 @@ x-webhooks: type: string enum: - removed - enterprise: *792 - installation: *793 - member: *814 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + member: *815 + organization: *795 + repository: *796 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163283,7 +163511,7 @@ x-webhooks: required: - login - id - team: *824 + team: *825 required: - action - scope @@ -163365,8 +163593,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *793 - merge_group: &826 + installation: *794 + merge_group: &827 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -163385,15 +163613,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *825 + head_commit: *826 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -163479,10 +163707,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *793 - merge_group: *826 - organization: *794 - repository: *795 + installation: *794 + merge_group: *827 + organization: *795 + repository: *796 sender: *4 required: - action @@ -163555,7 +163783,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 + enterprise: *793 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -163664,16 +163892,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *793 - organization: *794 + installation: *794 + organization: *795 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *827 - required: *828 + properties: *828 + required: *829 nullable: true sender: *4 required: @@ -163754,11 +163982,11 @@ x-webhooks: type: string enum: - closed - enterprise: *792 - installation: *793 - milestone: *820 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + milestone: *821 + organization: *795 + repository: *796 sender: *4 required: - action @@ -163837,9 +164065,9 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - milestone: &829 + enterprise: *793 + installation: *794 + milestone: &830 title: Milestone description: A collection of related issues and pull requests. type: object @@ -163976,8 +164204,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -164056,11 +164284,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - milestone: *820 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + milestone: *821 + organization: *795 + repository: *796 sender: *4 required: - action @@ -164170,11 +164398,11 @@ x-webhooks: type: string required: - from - enterprise: *792 - installation: *793 - milestone: *820 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + milestone: *821 + organization: *795 + repository: *796 sender: *4 required: - action @@ -164254,11 +164482,11 @@ x-webhooks: type: string enum: - opened - enterprise: *792 - installation: *793 - milestone: *829 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + milestone: *830 + organization: *795 + repository: *796 sender: *4 required: - action @@ -164337,11 +164565,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *814 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + blocked_user: *815 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -164420,11 +164648,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *814 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + blocked_user: *815 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -164503,9 +164731,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - membership: &830 + enterprise: *793 + installation: *794 + membership: &831 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -164612,8 +164840,8 @@ x-webhooks: - role - organization_url - user - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -164691,11 +164919,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *792 - installation: *793 - membership: *830 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + membership: *831 + organization: *795 + repository: *796 sender: *4 required: - action @@ -164774,8 +165002,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -164891,10 +165119,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 - user: *814 + user: *815 required: - action - invitation @@ -164972,11 +165200,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *792 - installation: *793 - membership: *830 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + membership: *831 + organization: *795 + repository: *796 sender: *4 required: - action @@ -165063,11 +165291,11 @@ x-webhooks: properties: from: type: string - enterprise: *792 - installation: *793 - membership: *830 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + membership: *831 + organization: *795 + repository: *796 sender: *4 required: - action @@ -165144,9 +165372,9 @@ x-webhooks: type: string enum: - published - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 package: description: Information about the package. type: object @@ -165645,7 +165873,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &831 + items: &832 title: Ruby Gems metadata type: object properties: @@ -165740,7 +165968,7 @@ x-webhooks: - owner - package_version - registry - repository: *795 + repository: *796 sender: *4 required: - action @@ -165816,9 +166044,9 @@ x-webhooks: type: string enum: - updated - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 package: description: Information about the package. type: object @@ -166171,7 +166399,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *831 + items: *832 source_url: type: string format: uri @@ -166241,7 +166469,7 @@ x-webhooks: - owner - package_version - registry - repository: *795 + repository: *796 sender: *4 required: - action @@ -166417,12 +166645,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *792 + enterprise: *793 id: type: integer - installation: *793 - organization: *794 - repository: *795 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - id @@ -166499,7 +166727,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &832 + personal_access_token_request: &833 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -166645,10 +166873,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *792 - organization: *794 + enterprise: *793 + organization: *795 sender: *4 - installation: *793 + installation: *794 required: - action - personal_access_token_request @@ -166725,11 +166953,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *832 - enterprise: *792 - organization: *794 + personal_access_token_request: *833 + enterprise: *793 + organization: *795 sender: *4 - installation: *793 + installation: *794 required: - action - personal_access_token_request @@ -166805,11 +167033,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *832 - enterprise: *792 - organization: *794 + personal_access_token_request: *833 + enterprise: *793 + organization: *795 sender: *4 - installation: *793 + installation: *794 required: - action - personal_access_token_request @@ -166884,11 +167112,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *832 - organization: *794 - enterprise: *792 + personal_access_token_request: *833 + organization: *795 + enterprise: *793 sender: *4 - installation: *793 + installation: *794 required: - action - personal_access_token_request @@ -166993,7 +167221,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *833 + last_response: *834 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -167025,8 +167253,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 zen: description: Random string of GitHub zen. @@ -167271,10 +167499,10 @@ x-webhooks: - from required: - note - enterprise: *792 - installation: *793 - organization: *794 - project_card: &834 + enterprise: *793 + installation: *794 + organization: *795 + project_card: &835 title: Project Card type: object properties: @@ -167393,7 +167621,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *795 + repository: *796 sender: *4 required: - action @@ -167474,11 +167702,11 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 - project_card: *834 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + project_card: *835 + repository: *796 sender: *4 required: - action @@ -167558,9 +167786,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 project_card: title: Project Card type: object @@ -167688,8 +167916,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *827 - required: *828 + properties: *828 + required: *829 nullable: true sender: *4 required: @@ -167783,11 +168011,11 @@ x-webhooks: - from required: - note - enterprise: *792 - installation: *793 - organization: *794 - project_card: *834 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + project_card: *835 + repository: *796 sender: *4 required: - action @@ -167881,9 +168109,9 @@ x-webhooks: - from required: - column_id - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 project_card: allOf: - title: Project Card @@ -168073,7 +168301,7 @@ x-webhooks: type: string required: - after_id - repository: *795 + repository: *796 sender: *4 required: - action @@ -168153,10 +168381,10 @@ x-webhooks: type: string enum: - closed - enterprise: *792 - installation: *793 - organization: *794 - project: &836 + enterprise: *793 + installation: *794 + organization: *795 + project: &837 title: Project type: object properties: @@ -168280,7 +168508,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *795 + repository: *796 sender: *4 required: - action @@ -168360,10 +168588,10 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 - project_column: &835 + enterprise: *793 + installation: *794 + organization: *795 + project_column: &836 title: Project Column type: object properties: @@ -168402,7 +168630,7 @@ x-webhooks: - name - created_at - updated_at - repository: *795 + repository: *796 sender: *4 required: - action @@ -168481,18 +168709,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - organization: *794 - project_column: *835 + enterprise: *793 + installation: *794 + organization: *795 + project_column: *836 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *827 - required: *828 + properties: *828 + required: *829 nullable: true sender: *4 required: @@ -168582,11 +168810,11 @@ x-webhooks: type: string required: - from - enterprise: *792 - installation: *793 - organization: *794 - project_column: *835 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + project_column: *836 + repository: *796 sender: *4 required: - action @@ -168666,11 +168894,11 @@ x-webhooks: type: string enum: - moved - enterprise: *792 - installation: *793 - organization: *794 - project_column: *835 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + project_column: *836 + repository: *796 sender: *4 required: - action @@ -168750,11 +168978,11 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 - project: *836 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + project: *837 + repository: *796 sender: *4 required: - action @@ -168834,18 +169062,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - organization: *794 - project: *836 + enterprise: *793 + installation: *794 + organization: *795 + project: *837 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *827 - required: *828 + properties: *828 + required: *829 nullable: true sender: *4 required: @@ -168947,11 +169175,11 @@ x-webhooks: type: string required: - from - enterprise: *792 - installation: *793 - organization: *794 - project: *836 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + project: *837 + repository: *796 sender: *4 required: - action @@ -169030,11 +169258,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *792 - installation: *793 - organization: *794 - project: *836 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + project: *837 + repository: *796 sender: *4 required: - action @@ -169115,9 +169343,9 @@ x-webhooks: type: string enum: - closed - installation: *793 - organization: *794 - projects_v2: *291 + installation: *794 + organization: *795 + projects_v2: *292 sender: *4 required: - action @@ -169198,9 +169426,9 @@ x-webhooks: type: string enum: - created - installation: *793 - organization: *794 - projects_v2: *291 + installation: *794 + organization: *795 + projects_v2: *292 sender: *4 required: - action @@ -169281,9 +169509,9 @@ x-webhooks: type: string enum: - deleted - installation: *793 - organization: *794 - projects_v2: *291 + installation: *794 + organization: *795 + projects_v2: *292 sender: *4 required: - action @@ -169400,9 +169628,9 @@ x-webhooks: type: string to: type: string - installation: *793 - organization: *794 - projects_v2: *291 + installation: *794 + organization: *795 + projects_v2: *292 sender: *4 required: - action @@ -169485,7 +169713,7 @@ x-webhooks: type: string enum: - archived - changes: &840 + changes: &841 type: object properties: archived_at: @@ -169499,9 +169727,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *793 - organization: *794 - projects_v2_item: &837 + installation: *794 + organization: *795 + projects_v2_item: &838 title: Projects v2 Item description: An item belonging to a project type: object @@ -169519,7 +169747,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *298 + content_type: *299 creator: *4 created_at: type: string @@ -169636,9 +169864,9 @@ x-webhooks: nullable: true to: type: string - installation: *793 - organization: *794 - projects_v2_item: *837 + installation: *794 + organization: *795 + projects_v2_item: *838 sender: *4 required: - action @@ -169720,9 +169948,9 @@ x-webhooks: type: string enum: - created - installation: *793 - organization: *794 - projects_v2_item: *837 + installation: *794 + organization: *795 + projects_v2_item: *838 sender: *4 required: - action @@ -169803,9 +170031,9 @@ x-webhooks: type: string enum: - deleted - installation: *793 - organization: *794 - projects_v2_item: *837 + installation: *794 + organization: *795 + projects_v2_item: *838 sender: *4 required: - action @@ -169911,7 +170139,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &838 + - &839 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -169933,7 +170161,7 @@ x-webhooks: required: - id - name - - &839 + - &840 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -169967,8 +170195,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *838 - *839 + - *840 required: - field_value - type: object @@ -169984,9 +170212,9 @@ x-webhooks: nullable: true required: - body - installation: *793 - organization: *794 - projects_v2_item: *837 + installation: *794 + organization: *795 + projects_v2_item: *838 sender: *4 required: - action @@ -170081,9 +170309,9 @@ x-webhooks: to: type: string nullable: true - installation: *793 - organization: *794 - projects_v2_item: *837 + installation: *794 + organization: *795 + projects_v2_item: *838 sender: *4 required: - action @@ -170166,10 +170394,10 @@ x-webhooks: type: string enum: - restored - changes: *840 - installation: *793 - organization: *794 - projects_v2_item: *837 + changes: *841 + installation: *794 + organization: *795 + projects_v2_item: *838 sender: *4 required: - action @@ -170251,9 +170479,9 @@ x-webhooks: type: string enum: - reopened - installation: *793 - organization: *794 - projects_v2: *291 + installation: *794 + organization: *795 + projects_v2: *292 sender: *4 required: - action @@ -170334,14 +170562,14 @@ x-webhooks: type: string enum: - created - installation: *793 - organization: *794 - projects_v2_status_update: &843 + installation: *794 + organization: *795 + projects_v2_status_update: &844 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *841 - required: *842 + properties: *842 + required: *843 sender: *4 required: - action @@ -170422,9 +170650,9 @@ x-webhooks: type: string enum: - deleted - installation: *793 - organization: *794 - projects_v2_status_update: *843 + installation: *794 + organization: *795 + projects_v2_status_update: *844 sender: *4 required: - action @@ -170560,9 +170788,9 @@ x-webhooks: type: string format: date nullable: true - installation: *793 - organization: *794 - projects_v2_status_update: *843 + installation: *794 + organization: *795 + projects_v2_status_update: *844 sender: *4 required: - action @@ -170633,10 +170861,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - repository @@ -170713,13 +170941,13 @@ x-webhooks: type: string enum: - assigned - assignee: *814 - enterprise: *792 - installation: *793 - number: &844 + assignee: *815 + enterprise: *793 + installation: *794 + number: &845 description: The pull request number. type: integer - organization: *794 + organization: *795 pull_request: title: Pull Request type: object @@ -172898,6 +173126,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -173024,7 +173253,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -173106,11 +173335,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 number: type: integer - organization: *794 + organization: *795 pull_request: title: Pull Request type: object @@ -175282,6 +175511,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -175410,7 +175640,7 @@ x-webhooks: - draft reason: type: string - repository: *795 + repository: *796 sender: *4 required: - action @@ -175492,11 +175722,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 number: type: integer - organization: *794 + organization: *795 pull_request: title: Pull Request type: object @@ -177668,6 +177898,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -177796,7 +178027,7 @@ x-webhooks: - draft reason: type: string - repository: *795 + repository: *796 sender: *4 required: - action @@ -177878,13 +178109,13 @@ x-webhooks: type: string enum: - closed - enterprise: *792 - installation: *793 - number: *844 - organization: *794 - pull_request: &845 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 + pull_request: &846 allOf: - - *627 + - *628 - type: object properties: allow_auto_merge: @@ -177946,7 +178177,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *795 + repository: *796 sender: *4 required: - action @@ -178027,12 +178258,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *792 - installation: *793 - number: *844 - organization: *794 - pull_request: *845 - repository: *795 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 + pull_request: *846 + repository: *796 sender: *4 required: - action @@ -178112,11 +178343,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *792 + enterprise: *793 milestone: *611 - number: *844 - organization: *794 - pull_request: &846 + number: *845 + organization: *795 + pull_request: &847 title: Pull Request type: object properties: @@ -180275,6 +180506,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -180401,7 +180633,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -180480,11 +180712,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 number: type: integer - organization: *794 + organization: *795 pull_request: title: Pull Request type: object @@ -182647,6 +182879,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -182788,7 +183021,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *795 + repository: *796 sender: *4 required: - action @@ -182912,12 +183145,12 @@ x-webhooks: type: string required: - from - enterprise: *792 - installation: *793 - number: *844 - organization: *794 - pull_request: *845 - repository: *795 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 + pull_request: *846 + repository: *796 sender: *4 required: - action @@ -182997,11 +183230,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 number: type: integer - organization: *794 + organization: *795 pull_request: title: Pull Request type: object @@ -185164,6 +185397,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -185290,7 +185524,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -185370,11 +185604,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *792 - installation: *793 - label: *813 - number: *844 - organization: *794 + enterprise: *793 + installation: *794 + label: *814 + number: *845 + organization: *795 pull_request: title: Pull Request type: object @@ -187552,6 +187786,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -187678,7 +187913,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -187759,10 +187994,10 @@ x-webhooks: type: string enum: - locked - enterprise: *792 - installation: *793 - number: *844 - organization: *794 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 pull_request: title: Pull Request type: object @@ -189938,6 +190173,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -190064,7 +190300,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -190144,12 +190380,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *792 + enterprise: *793 milestone: *611 - number: *844 - organization: *794 - pull_request: *846 - repository: *795 + number: *845 + organization: *795 + pull_request: *847 + repository: *796 sender: *4 required: - action @@ -190228,12 +190464,12 @@ x-webhooks: type: string enum: - opened - enterprise: *792 - installation: *793 - number: *844 - organization: *794 - pull_request: *845 - repository: *795 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 + pull_request: *846 + repository: *796 sender: *4 required: - action @@ -190314,12 +190550,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *792 - installation: *793 - number: *844 - organization: *794 - pull_request: *845 - repository: *795 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 + pull_request: *846 + repository: *796 sender: *4 required: - action @@ -190399,12 +190635,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *792 - installation: *793 - number: *844 - organization: *794 - pull_request: *845 - repository: *795 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 + pull_request: *846 + repository: *796 sender: *4 required: - action @@ -190770,9 +191006,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 pull_request: type: object properties: @@ -192843,6 +193079,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: type: string enum: @@ -192964,7 +193201,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *795 + repository: *796 sender: *4 required: - action @@ -193044,7 +193281,7 @@ x-webhooks: type: string enum: - deleted - comment: &848 + comment: &849 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -193329,9 +193566,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 pull_request: type: object properties: @@ -195390,6 +195627,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: type: string enum: @@ -195511,7 +195749,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *795 + repository: *796 sender: *4 required: - action @@ -195591,11 +195829,11 @@ x-webhooks: type: string enum: - edited - changes: *847 - comment: *848 - enterprise: *792 - installation: *793 - organization: *794 + changes: *848 + comment: *849 + enterprise: *793 + installation: *794 + organization: *795 pull_request: type: object properties: @@ -197657,6 +197895,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: type: string enum: @@ -197778,7 +198017,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *795 + repository: *796 sender: *4 required: - action @@ -197859,9 +198098,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 pull_request: title: Simple Pull Request type: object @@ -199933,6 +200172,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: type: string enum: @@ -200056,7 +200296,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *795 + repository: *796 review: description: The review that was affected. type: object @@ -200303,9 +200543,9 @@ x-webhooks: type: string required: - from - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 pull_request: title: Simple Pull Request type: object @@ -202359,8 +202599,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *795 - review: &849 + repository: *796 + review: &850 description: The review that was affected. type: object properties: @@ -202593,12 +202833,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 number: description: The pull request number. type: integer - organization: *794 + organization: *795 pull_request: title: Pull Request type: object @@ -204777,6 +205017,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. @@ -204903,7 +205144,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 requested_reviewer: title: User type: object @@ -204987,12 +205228,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 number: description: The pull request number. type: integer - organization: *794 + organization: *795 pull_request: title: Pull Request type: object @@ -207178,6 +207419,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. @@ -207304,7 +207546,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 requested_team: title: Team description: Groups of organization members that gives permissions @@ -207496,12 +207738,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 number: description: The pull request number. type: integer - organization: *794 + organization: *795 pull_request: title: Pull Request type: object @@ -209681,6 +209923,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. @@ -209808,7 +210051,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 requested_reviewer: title: User type: object @@ -209893,12 +210136,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 number: description: The pull request number. type: integer - organization: *794 + organization: *795 pull_request: title: Pull Request type: object @@ -212069,6 +212312,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. @@ -212196,7 +212440,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 requested_team: title: Team description: Groups of organization members that gives permissions @@ -212377,9 +212621,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 pull_request: title: Simple Pull Request type: object @@ -214453,6 +214697,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: type: string enum: @@ -214576,8 +214821,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *795 - review: *849 + repository: *796 + review: *850 sender: *4 required: - action @@ -214657,9 +214902,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 pull_request: title: Simple Pull Request type: object @@ -216628,6 +216873,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: type: string enum: @@ -216751,7 +216997,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *795 + repository: *796 sender: *4 thread: type: object @@ -217138,9 +217384,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 pull_request: title: Simple Pull Request type: object @@ -219096,6 +219342,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: type: string enum: @@ -219218,7 +219465,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *795 + repository: *796 sender: *4 thread: type: object @@ -219602,10 +219849,11 @@ x-webhooks: type: string enum: - stacked - enterprise: *792 - installation: *793 - number: *844 - organization: *794 + enterprise: *793 + installation: *794 + stack: *625 + number: *845 + organization: *795 pull_request: title: Pull Request type: object @@ -221783,6 +222031,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -221909,7 +222158,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -221995,10 +222244,10 @@ x-webhooks: type: string before: type: string - enterprise: *792 - installation: *793 - number: *844 - organization: *794 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 pull_request: title: Pull Request type: object @@ -224165,6 +224414,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -224291,7 +224541,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -224373,11 +224623,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *850 - enterprise: *792 - installation: *793 - number: *844 - organization: *794 + assignee: *851 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 pull_request: title: Pull Request type: object @@ -226556,6 +226806,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -226682,7 +226933,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -226761,11 +227012,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *792 - installation: *793 - label: *813 - number: *844 - organization: *794 + enterprise: *793 + installation: *794 + label: *814 + number: *845 + organization: *795 pull_request: title: Pull Request type: object @@ -228934,6 +229185,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -229060,7 +229312,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -229141,10 +229393,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *792 - installation: *793 - number: *844 - organization: *794 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 pull_request: title: Pull Request type: object @@ -231306,6 +231558,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -231431,7 +231684,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -231631,7 +231884,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *792 + enterprise: *793 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -231723,8 +231976,8 @@ x-webhooks: - url - author - committer - installation: *793 - organization: *794 + installation: *794 + organization: *795 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -232310,9 +232563,9 @@ x-webhooks: type: string enum: - published - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 registry_package: type: object properties: @@ -232758,7 +233011,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *831 + items: *832 summary: type: string tag_name: @@ -232812,7 +233065,7 @@ x-webhooks: - owner - package_version - registry - repository: *795 + repository: *796 sender: *4 required: - action @@ -232890,9 +233143,9 @@ x-webhooks: type: string enum: - updated - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 registry_package: type: object properties: @@ -233200,7 +233453,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *831 + items: *832 summary: type: string tag_name: @@ -233249,7 +233502,7 @@ x-webhooks: - owner - package_version - registry - repository: *795 + repository: *796 sender: *4 required: - action @@ -233326,10 +233579,10 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 - release: &851 + enterprise: *793 + installation: *794 + organization: *795 + release: &852 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -233647,7 +233900,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *795 + repository: *796 sender: *4 required: - action @@ -233724,11 +233977,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - organization: *794 - release: *851 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + release: *852 + repository: *796 sender: *4 required: - action @@ -233845,11 +234098,11 @@ x-webhooks: type: boolean required: - to - enterprise: *792 - installation: *793 - organization: *794 - release: *851 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + release: *852 + repository: *796 sender: *4 required: - action @@ -233927,9 +234180,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -234251,7 +234504,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *795 + repository: *796 sender: *4 required: - action @@ -234327,10 +234580,10 @@ x-webhooks: type: string enum: - published - enterprise: *792 - installation: *793 - organization: *794 - release: &852 + enterprise: *793 + installation: *794 + organization: *795 + release: &853 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -234649,7 +234902,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *795 + repository: *796 sender: *4 required: - action @@ -234725,11 +234978,11 @@ x-webhooks: type: string enum: - released - enterprise: *792 - installation: *793 - organization: *794 - release: *851 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + release: *852 + repository: *796 sender: *4 required: - action @@ -234805,11 +235058,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *792 - installation: *793 - organization: *794 - release: *852 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + release: *853 + repository: *796 sender: *4 required: - action @@ -234885,11 +235138,11 @@ x-webhooks: type: string enum: - published - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - repository_advisory: *712 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + repository_advisory: *713 sender: *4 required: - action @@ -234965,11 +235218,11 @@ x-webhooks: type: string enum: - reported - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - repository_advisory: *712 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + repository_advisory: *713 sender: *4 required: - action @@ -235045,10 +235298,10 @@ x-webhooks: type: string enum: - archived - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -235125,10 +235378,10 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -235206,10 +235459,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -235293,10 +235546,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -235408,10 +235661,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -235483,10 +235736,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 status: type: string @@ -235567,10 +235820,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -235647,10 +235900,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -235744,10 +235997,10 @@ x-webhooks: - name required: - repository - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -235827,11 +236080,11 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - repository_ruleset: *339 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + repository_ruleset: *340 sender: *4 required: - action @@ -235909,11 +236162,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - repository_ruleset: *339 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + repository_ruleset: *340 sender: *4 required: - action @@ -235991,11 +236244,11 @@ x-webhooks: type: string enum: - edited - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - repository_ruleset: *339 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + repository_ruleset: *340 changes: type: object properties: @@ -236014,16 +236267,16 @@ x-webhooks: properties: added: type: array - items: *313 + items: *314 deleted: type: array - items: *313 + items: *314 updated: type: array items: type: object properties: - condition: *313 + condition: *314 changes: type: object properties: @@ -236056,16 +236309,16 @@ x-webhooks: properties: added: type: array - items: *648 + items: *649 deleted: type: array - items: *648 + items: *649 updated: type: array items: type: object properties: - rule: *648 + rule: *649 changes: type: object properties: @@ -236299,10 +236552,10 @@ x-webhooks: - from required: - owner - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -236380,10 +236633,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -236461,7 +236714,7 @@ x-webhooks: type: string enum: - create - alert: &853 + alert: &854 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -236583,10 +236836,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -236792,10 +237045,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -236873,11 +237126,11 @@ x-webhooks: type: string enum: - reopen - alert: *853 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + alert: *854 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -237076,10 +237329,10 @@ x-webhooks: enum: - fixed - open - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -237157,11 +237410,11 @@ x-webhooks: type: string enum: - assigned - alert: &855 + alert: &856 type: object properties: - number: *188 - created_at: *189 + number: *189 + created_at: *190 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -237169,8 +237422,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *191 - html_url: *192 + url: *192 + html_url: *193 locations_url: type: string format: uri @@ -237221,6 +237474,14 @@ x-webhooks: description: The slug identifier for the provider of the secret that was detected. nullable: true + 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. @@ -237299,12 +237560,12 @@ x-webhooks: properties: *20 required: *21 nullable: true - metadata: *854 + metadata: *855 assignee: *4 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -237382,11 +237643,11 @@ x-webhooks: type: string enum: - created - alert: *855 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + alert: *856 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -237467,11 +237728,11 @@ x-webhooks: type: string enum: - created - alert: *855 - installation: *793 - location: *856 - organization: *794 - repository: *795 + alert: *856 + installation: *794 + location: *857 + organization: *795 + repository: *796 sender: *4 required: - location @@ -237709,11 +237970,11 @@ x-webhooks: type: string enum: - metadata_created - alert: *855 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + alert: *856 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -237790,11 +238051,11 @@ x-webhooks: type: string enum: - metadata_removed - alert: *855 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + alert: *856 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -237871,11 +238132,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *855 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + alert: *856 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -237953,11 +238214,11 @@ x-webhooks: type: string enum: - reopened - alert: *855 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + alert: *856 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -238035,11 +238296,11 @@ x-webhooks: type: string enum: - resolved - alert: *855 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + alert: *856 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -238117,12 +238378,12 @@ x-webhooks: type: string enum: - unassigned - alert: *855 + alert: *856 assignee: *4 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -238200,11 +238461,11 @@ x-webhooks: type: string enum: - validated - alert: *855 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + alert: *856 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -238330,10 +238591,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *795 - enterprise: *792 - installation: *793 - organization: *794 + repository: *796 + enterprise: *793 + installation: *794 + organization: *795 sender: *4 required: - action @@ -238411,11 +238672,11 @@ x-webhooks: type: string enum: - published - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - security_advisory: &857 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + security_advisory: &858 description: The details of the security advisory, including summary, description, and severity. type: object @@ -238431,7 +238692,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *64 + cvss_severities: *65 cwes: type: array items: @@ -238598,11 +238859,11 @@ x-webhooks: type: string enum: - updated - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - security_advisory: *857 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + security_advisory: *858 sender: *4 required: - action @@ -238675,10 +238936,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -238695,7 +238956,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *64 + cvss_severities: *65 cwes: type: array items: @@ -238862,11 +239123,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *312 - enterprise: *792 - installation: *793 - organization: *794 - repository: *359 + security_and_analysis: *313 + enterprise: *793 + installation: *794 + organization: *795 + repository: *360 sender: *4 required: - changes @@ -238944,12 +239205,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - sponsorship: &858 + sponsorship: &859 type: object properties: created_at: @@ -239250,12 +239511,12 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - sponsorship: *858 + sponsorship: *859 required: - action - sponsorship @@ -239343,12 +239604,12 @@ x-webhooks: type: string required: - from - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - sponsorship: *858 + sponsorship: *859 required: - action - changes @@ -239425,17 +239686,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &859 + effective_date: &860 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: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - sponsorship: *858 + sponsorship: *859 required: - action - sponsorship @@ -239509,7 +239770,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &860 + changes: &861 type: object properties: tier: @@ -239553,13 +239814,13 @@ x-webhooks: - from required: - tier - effective_date: *859 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + effective_date: *860 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - sponsorship: *858 + sponsorship: *859 required: - action - changes @@ -239636,13 +239897,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *860 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + changes: *861 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - sponsorship: *858 + sponsorship: *859 required: - action - changes @@ -239716,10 +239977,10 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -239802,10 +240063,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -240225,15 +240486,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *792 + enterprise: *793 id: description: The unique identifier of the status. type: integer - installation: *793 + installation: *794 name: type: string - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 sha: description: The Commit SHA. @@ -240342,15 +240603,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *88 - parent_issue_repo: *82 + parent_issue: *89 + parent_issue_repo: *83 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *88 - installation: *793 - organization: *794 - repository: *795 + sub_issue: *89 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -240433,15 +240694,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *88 - parent_issue_repo: *82 + parent_issue: *89 + parent_issue_repo: *83 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *88 - installation: *793 - organization: *794 - repository: *795 + sub_issue: *89 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -240524,15 +240785,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *88 - sub_issue_repo: *82 + sub_issue: *89 + sub_issue_repo: *83 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *88 - installation: *793 - organization: *794 - repository: *795 + parent_issue: *89 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -240615,15 +240876,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *88 - sub_issue_repo: *82 + sub_issue: *89 + sub_issue_repo: *83 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *88 - installation: *793 - organization: *794 - repository: *795 + parent_issue: *89 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -240699,12 +240960,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - team: &861 + team: &862 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -240927,9 +241188,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 repository: title: Repository description: A git repository @@ -241387,7 +241648,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *861 + team: *862 required: - action - team @@ -241463,9 +241724,9 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 repository: title: Repository description: A git repository @@ -241923,7 +242184,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *861 + team: *862 required: - action - team @@ -242000,9 +242261,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 repository: title: Repository description: A git repository @@ -242460,7 +242721,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *861 + team: *862 required: - action - team @@ -242604,9 +242865,9 @@ x-webhooks: - from required: - permissions - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 repository: title: Repository description: A git repository @@ -243064,7 +243325,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *861 + team: *862 required: - action - changes @@ -243142,9 +243403,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 repository: title: Repository description: A git repository @@ -243602,7 +243863,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *861 + team: *862 required: - action - team @@ -243678,10 +243939,10 @@ x-webhooks: type: string enum: - started - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -243754,16 +244015,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *792 + enterprise: *793 inputs: type: object nullable: true additionalProperties: true - installation: *793 - organization: *794 + installation: *794 + organization: *795 ref: type: string - repository: *795 + repository: *796 sender: *4 workflow: type: string @@ -243845,10 +244106,10 @@ x-webhooks: type: string enum: - completed - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 workflow_job: allOf: @@ -244085,7 +244346,7 @@ x-webhooks: type: string required: - conclusion - deployment: *521 + deployment: *522 required: - action - repository @@ -244164,10 +244425,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 workflow_job: allOf: @@ -244427,7 +244688,7 @@ x-webhooks: required: - status - steps - deployment: *521 + deployment: *522 required: - action - repository @@ -244506,10 +244767,10 @@ x-webhooks: type: string enum: - queued - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 workflow_job: type: object @@ -244644,7 +244905,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *521 + deployment: *522 required: - action - repository @@ -244723,10 +244984,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 workflow_job: type: object @@ -244862,7 +245123,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *521 + deployment: *522 required: - action - repository @@ -244942,12 +245203,12 @@ x-webhooks: type: string enum: - completed - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - workflow: *809 + workflow: *810 workflow_run: title: Workflow Run type: object @@ -245946,12 +246207,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - workflow: *809 + workflow: *810 workflow_run: title: Workflow Run type: object @@ -246935,12 +247196,12 @@ x-webhooks: type: string enum: - requested - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - workflow: *809 + workflow: *810 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index 33e0a5d8ac..7d313201e3 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -16565,6 +16565,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": { @@ -16951,6 +16977,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": { @@ -17117,241 +17169,319 @@ } } } - } - }, - "x-github": { - "enabledForGitHubApps": true, - "category": "classroom", - "subcategory": "classroom", - "deprecationDate": "2026-05-22", - "removalDate": "2026-08-28" - }, - "deprecated": true - } - }, - "/classrooms": { - "get": { - "summary": "Closing down - List classrooms", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nLists GitHub Classroom classrooms for the current user. Classrooms will only be returned if the current user is an administrator of one or more GitHub Classrooms.", - "tags": [ - "classroom" - ], - "operationId": "classroom/list-classrooms", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/classroom/classroom#closing-down---list-classrooms" - }, - "parameters": [ - { - "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/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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Simple Classroom", - "description": "A GitHub Classroom classroom", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the classroom.", - "example": 42, - "type": "integer" - }, - "name": { - "description": "The name of the classroom.", - "type": "string", - "example": "Programming Elixir" - }, - "archived": { - "description": "Returns whether classroom is archived or not.", - "type": "boolean", - "example": false - }, - "url": { - "description": "The url of the classroom on GitHub Classroom.", - "type": "string", - "example": "https://classroom.github.com/classrooms/1-programming-elixir" - } - }, - "required": [ - "id", - "name", - "archived", - "url" - ] - } - }, - "examples": { - "default": { - "value": { - "id": 1296269, - "name": "Programming Elixir", - "archived": "false,", - "url": "https://classroom.github.com/classrooms/1-programming-elixir" - } - } - } - } - } - } - }, - "x-github": { - "enabledForGitHubApps": true, - "category": "classroom", - "subcategory": "classroom", - "deprecationDate": "2026-05-22", - "removalDate": "2026-08-28" - }, - "deprecated": true - } - }, - "/classrooms/{classroom_id}": { - "get": { - "summary": "Closing down - Get a classroom", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nGets a GitHub Classroom classroom for the current user. Classroom will only be returned if the current user is an administrator of the GitHub Classroom.", - "tags": [ - "classroom" - ], - "operationId": "classroom/get-a-classroom", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/classroom/classroom#closing-down---get-a-classroom" - }, - "parameters": [ - { - "name": "classroom_id", - "description": "The unique identifier of the classroom.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Classroom", - "description": "A GitHub Classroom classroom", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the classroom.", - "example": 42, - "type": "integer" - }, - "name": { - "description": "The name of the classroom.", - "type": "string", - "example": "Programming Elixir" - }, - "archived": { - "description": "Whether classroom is archived.", - "type": "boolean", - "example": false - }, - "organization": { - "title": "Organization Simple for Classroom", - "description": "A GitHub organization.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 1 - }, - "login": { - "type": "string", - "example": "github" - }, - "node_id": { - "type": "string", - "example": "MDEyOk9yZ2FuaXphdGlvbjE=" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/github" - }, - "name": { - "type": "string", - "example": "Github - Code thigns happen here", - "nullable": true - }, - "avatar_url": { - "type": "string", - "example": "https://github.com/images/error/octocat_happy.gif" - } - }, - "required": [ - "id", - "login", - "node_id", - "html_url", - "name", - "avatar_url" - ] - }, - "url": { - "description": "The URL of the classroom on GitHub Classroom.", - "type": "string", - "example": "https://classroom.github.com/classrooms/1-programming-elixir" - } - }, - "required": [ - "id", - "name", - "archived", - "organization", - "url" - ] - }, - "examples": { - "default": { - "value": { - "id": 1296269, - "name": "Programming Elixir", - "archived": "false,", - "organization": { - "id": 1, - "login": "programming-elixir", - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "html_url": "https://github.com/programming-elixir", - "name": "Learn how to build fault tolerant applications", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4" - }, - "url": "https://classroom.github.com/classrooms/1-programming-elixir" - } - } - } - } - } }, - "404": { - "description": "Resource not found", + "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": { + "enabledForGitHubApps": true, + "category": "classroom", + "subcategory": "classroom", + "deprecationDate": "2026-05-22", + "removalDate": "2026-08-28" + }, + "deprecated": true + } + }, + "/classrooms": { + "get": { + "summary": "Closing down - List classrooms", + "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nLists GitHub Classroom classrooms for the current user. Classrooms will only be returned if the current user is an administrator of one or more GitHub Classrooms.", + "tags": [ + "classroom" + ], + "operationId": "classroom/list-classrooms", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/classroom/classroom#closing-down---list-classrooms" + }, + "parameters": [ + { + "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/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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Simple Classroom", + "description": "A GitHub Classroom classroom", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the classroom.", + "example": 42, + "type": "integer" + }, + "name": { + "description": "The name of the classroom.", + "type": "string", + "example": "Programming Elixir" + }, + "archived": { + "description": "Returns whether classroom is archived or not.", + "type": "boolean", + "example": false + }, + "url": { + "description": "The url of the classroom on GitHub Classroom.", + "type": "string", + "example": "https://classroom.github.com/classrooms/1-programming-elixir" + } + }, + "required": [ + "id", + "name", + "archived", + "url" + ] + } + }, + "examples": { + "default": { + "value": { + "id": 1296269, + "name": "Programming Elixir", + "archived": "false,", + "url": "https://classroom.github.com/classrooms/1-programming-elixir" + } + } + } + } + } + }, + "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": { + "enabledForGitHubApps": true, + "category": "classroom", + "subcategory": "classroom", + "deprecationDate": "2026-05-22", + "removalDate": "2026-08-28" + }, + "deprecated": true + } + }, + "/classrooms/{classroom_id}": { + "get": { + "summary": "Closing down - Get a classroom", + "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nGets a GitHub Classroom classroom for the current user. Classroom will only be returned if the current user is an administrator of the GitHub Classroom.", + "tags": [ + "classroom" + ], + "operationId": "classroom/get-a-classroom", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/classroom/classroom#closing-down---get-a-classroom" + }, + "parameters": [ + { + "name": "classroom_id", + "description": "The unique identifier of the classroom.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Classroom", + "description": "A GitHub Classroom classroom", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the classroom.", + "example": 42, + "type": "integer" + }, + "name": { + "description": "The name of the classroom.", + "type": "string", + "example": "Programming Elixir" + }, + "archived": { + "description": "Whether classroom is archived.", + "type": "boolean", + "example": false + }, + "organization": { + "title": "Organization Simple for Classroom", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "example": 1 + }, + "login": { + "type": "string", + "example": "github" + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/github" + }, + "name": { + "type": "string", + "example": "Github - Code thigns happen here", + "nullable": true + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + } + }, + "required": [ + "id", + "login", + "node_id", + "html_url", + "name", + "avatar_url" + ] + }, + "url": { + "description": "The URL of the classroom on GitHub Classroom.", + "type": "string", + "example": "https://classroom.github.com/classrooms/1-programming-elixir" + } + }, + "required": [ + "id", + "name", + "archived", + "organization", + "url" + ] + }, + "examples": { + "default": { + "value": { + "id": 1296269, + "name": "Programming Elixir", + "archived": "false,", + "organization": { + "id": 1, + "login": "programming-elixir", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "html_url": "https://github.com/programming-elixir", + "name": "Learn how to build fault tolerant applications", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4" + }, + "url": "https://classroom.github.com/classrooms/1-programming-elixir" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "410": { + "description": "Gone", "content": { "application/json": { "schema": { @@ -17618,6 +17748,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": { @@ -25160,166 +25316,333 @@ } } } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage-metrics" - } - } - }, - "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": { - "get": { - "summary": "Get Copilot enterprise usage metrics", - "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/copilot-enterprise-usage-metrics", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "title": "Copilot Metrics 28 Day Report", - "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", - "properties": { - "download_links": { - "type": "array", - "items": { - "type": "string", - "format": "uri" - }, - "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." - }, - "report_start_day": { - "type": "string", - "format": "date", - "description": "The start date of the report period in `YYYY-MM-DD` format." - }, - "report_end_day": { - "type": "string", - "format": "date", - "description": "The end date of the report period in `YYYY-MM-DD` format." - } - }, - "required": [ - "download_links", - "report_start_day", - "report_end_day" - ] - }, - "examples": { - "default": { - "value": { - "download_links": [ - "https://example.com/copilot-usage-report-1.ndjson", - "https://example.com/copilot-usage-report-2.ndjson" - ], - "report_start_day": "2025-07-01", - "report_end_day": "2025-07-28" - } - } - } - } - } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": { + "get": { + "summary": "Get Copilot enterprise usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.ndjson", + "https://example.com/copilot-usage-report-2.ndjson" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/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": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.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", @@ -97602,6 +97925,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, @@ -97742,6 +98070,193 @@ } } }, + "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", + "description": "The ID of the provenance attestation associated with the deployment record.", + "nullable": true + } + } + } + }, + "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", + "nullable": true, + "description": "The version of the deployment." + }, + "status": { + "type": "string", + "description": "The deployment status." + }, + "github_repository": { + "type": "string", + "nullable": true, + "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": { @@ -123834,166 +124349,333 @@ } } }, - "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": { - "get": { - "summary": "Get Copilot organization usage metrics", - "description": "Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", - "tags": [ - "copilot" - ], - "operationId": "copilot/copilot-organization-usage-metrics", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "title": "Copilot Metrics 28 Day Report", - "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", - "properties": { - "download_links": { - "type": "array", - "items": { - "type": "string", - "format": "uri" - }, - "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." - }, - "report_start_day": { - "type": "string", - "format": "date", - "description": "The start date of the report period in `YYYY-MM-DD` format." - }, - "report_end_day": { - "type": "string", - "format": "date", - "description": "The end date of the report period in `YYYY-MM-DD` format." - } - }, - "required": [ - "download_links", - "report_start_day", - "report_end_day" - ] - }, - "examples": { - "default": { - "value": { - "download_links": [ - "https://example.com/copilot-usage-report-1.ndjson", - "https://example.com/copilot-usage-report-2.ndjson" - ], - "report_start_day": "2025-07-01", - "report_end_day": "2025-07-28" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage-metrics" - } - } - }, + "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": { + "get": { + "summary": "Get Copilot organization usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.ndjson", + "https://example.com/copilot-usage-report-2.ndjson" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/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", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.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", @@ -181475,6 +182157,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -190724,6 +191450,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -329747,6 +330517,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -511210,6 +512024,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -514867,6 +515725,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -521392,6 +522294,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -525239,6 +526185,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -536076,6 +537066,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -539823,6 +540857,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -668082,6 +669160,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -725074,6 +726196,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -842965,6 +844131,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1154684,6 +1155894,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1159260,6 +1160514,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1163839,6 +1165137,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1168526,6 +1169868,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1173330,6 +1174716,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1178234,6 +1179664,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1182809,6 +1184283,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1187572,6 +1189090,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1192268,6 +1193830,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1196891,6 +1198497,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1201471,6 +1203121,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1206255,6 +1207949,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1210938,6 +1212676,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1215742,6 +1217524,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1220546,6 +1222372,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1225462,6 +1227332,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1230240,6 +1232154,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1235040,6 +1236998,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1239474,6 +1241476,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1248809,6 +1250855,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1253400,6 +1255490,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1258123,6 +1260257,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1262701,6 +1264879,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1267273,6 +1269495,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1271841,6 +1274107,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1276573,6 +1278883,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1278647,6 +1281001,50 @@ "node_id" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "number": { "description": "The pull request number.", "type": "integer" @@ -1281528,6 +1283926,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1286113,6 +1288555,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1290794,6 +1293280,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1295415,6 +1297945,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1299981,6 +1302555,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1365461,6 +1368079,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1367982,6 +1370608,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1370379,6 +1373013,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1373246,6 +1375888,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1375642,6 +1378292,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1378038,6 +1380696,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1380435,6 +1383101,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1382832,6 +1385506,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1385229,6 +1387911,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1387750,6 +1390440,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index 0773c35d48..84d733806a 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -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 - - &47 + - &48 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 - - &48 + - &49 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 - - &62 + - &63 name: direction description: The direction to sort the results by. in: query @@ -658,7 +658,7 @@ paths: - vulnerable_version_range - first_patched_version - vulnerable_functions - cvss_severities: &64 + cvss_severities: &65 type: object nullable: true properties: @@ -698,7 +698,7 @@ paths: required: - vector_string - score - epss: &65 + epss: &66 type: object nullable: true readOnly: true @@ -836,7 +836,7 @@ paths: - subscriptions_url - type - url - type: &347 + type: &348 type: string description: The type of credit the user is receiving. enum: @@ -968,7 +968,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &133 + schema: &134 title: Validation Error Simple description: Validation Error Simple type: object @@ -1001,7 +1001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &714 + - &715 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -3642,7 +3642,7 @@ paths: GitHub. type: object nullable: true - properties: &83 + properties: &84 id: description: Unique identifier of the GitHub app example: 37 @@ -3775,7 +3775,7 @@ paths: about itself. example: 5 type: integer - required: &84 + required: &85 - id - node_id - owner @@ -4080,7 +4080,7 @@ paths: schema: type: integer default: 30 - - &231 + - &232 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 @@ -4089,7 +4089,7 @@ paths: required: false schema: type: string - - &232 + - &233 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4109,7 +4109,7 @@ paths: application/json: schema: type: array - items: &233 + items: &234 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4189,7 +4189,7 @@ paths: - installation_id - repository_id examples: - default: &234 + default: &235 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4248,7 +4248,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &132 + schema: &133 title: Validation Error description: Validation Error type: object @@ -4317,7 +4317,7 @@ paths: description: Response content: application/json: - schema: &235 + schema: &236 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4431,7 +4431,7 @@ paths: - request - response examples: - default: &236 + default: &237 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4491,7 +4491,7 @@ paths: parameters: - *16 responses: - '202': &39 + '202': &40 description: Accepted content: application/json: @@ -4604,7 +4604,7 @@ paths: type: User site_admin: false created_at: '2022-07-08T16:18:44-04:00' - '304': &37 + '304': &38 description: Not modified '401': &25 description: Requires authentication @@ -4632,7 +4632,7 @@ paths: parameters: - *17 - *19 - - &95 + - &96 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) @@ -5224,7 +5224,7 @@ paths: suspended_at: suspended_by: headers: - Link: &70 + Link: &71 example: ; rel="next", ; rel="last" schema: @@ -5416,11 +5416,11 @@ paths: - selected repositories: type: array - items: &82 + items: &83 title: Repository description: A repository on GitHub. type: object - properties: &310 + properties: &311 id: description: Unique identifier of the repository example: 42 @@ -5440,7 +5440,7 @@ paths: title: License Simple description: License Simple type: object - properties: &91 + properties: &92 key: type: string example: mit @@ -5462,7 +5462,7 @@ paths: html_url: type: string format: uri - required: &92 + required: &93 - key - name - url @@ -5856,7 +5856,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &311 + required: &312 - archive_url - assignees_url - blobs_url @@ -6795,7 +6795,7 @@ paths: - node_id - private - default_branch - classroom: &34 + classroom: &35 title: Classroom description: A GitHub Classroom classroom type: object @@ -6907,6 +6907,11 @@ paths: archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir '404': *6 + '410': &33 + description: Gone + content: + application/json: + schema: *3 x-github: enabledForGitHubApps: true category: classroom @@ -6992,7 +6997,7 @@ paths: - avatar_url - html_url repository: *32 - assignment: &36 + assignment: &37 title: Simple Classroom Assignment description: A GitHub Classroom assignment type: object @@ -7081,7 +7086,7 @@ paths: format: date-time example: '2011-01-26T19:06:43Z' nullable: true - classroom: &33 + classroom: &34 title: Simple Classroom description: A GitHub Classroom classroom type: object @@ -7176,6 +7181,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7283,6 +7289,7 @@ paths: points_available: 15 group_name: monalisa-and-friends '404': *6 + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7315,7 +7322,7 @@ paths: application/json: schema: type: array - items: *33 + items: *34 examples: default: value: @@ -7323,6 +7330,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7346,7 +7354,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/classroom/classroom#closing-down---get-a-classroom parameters: - - &35 + - &36 name: classroom_id description: The unique identifier of the classroom. in: path @@ -7358,7 +7366,7 @@ paths: description: Response content: application/json: - schema: *34 + schema: *35 examples: default: value: @@ -7374,6 +7382,7 @@ paths: avatar_url: https://avatars.githubusercontent.com/u/9919?v=4 url: https://classroom.github.com/classrooms/1-programming-elixir '404': *6 + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7397,7 +7406,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/classroom/classroom#closing-down---list-assignments-for-a-classroom parameters: - - *35 + - *36 - *19 - *17 responses: @@ -7407,7 +7416,7 @@ paths: application/json: schema: type: array - items: *36 + items: *37 examples: default: value: @@ -7433,6 +7442,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7458,7 +7468,7 @@ paths: application/json: schema: type: array - items: &38 + items: &39 title: Code Of Conduct description: Code Of Conduct type: object @@ -7541,7 +7551,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': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -7568,7 +7578,7 @@ paths: description: Response content: application/json: - schema: *38 + schema: *39 examples: default: value: @@ -7623,7 +7633,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': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -7683,9 +7693,9 @@ paths: - ghu_1234567890abcdef1234567890abcdef12345678 - ghr_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab responses: - '202': *39 + '202': *40 '422': *7 - '500': &55 + '500': &56 description: Internal Error content: application/json: @@ -9594,7 +9604,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': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -9615,7 +9625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-enterprise parameters: - - &40 + - &41 name: enterprise description: The slug version of the enterprise name. in: path @@ -9627,7 +9637,7 @@ paths: description: Response content: application/json: - schema: &41 + schema: &42 title: Actions cache retention limit for an enterprise description: GitHub Actions cache retention policy for an enterprise. type: object @@ -9639,7 +9649,7 @@ paths: type: integer example: 14 examples: - default: &42 + default: &43 value: max_cache_retention_days: 80 '403': *29 @@ -9663,14 +9673,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-enterprise parameters: - - *40 + - *41 requestBody: required: true content: application/json: - schema: *41 + schema: *42 examples: - selected_actions: *42 + selected_actions: *43 responses: '204': description: Response @@ -9697,13 +9707,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-enterprise parameters: - - *40 + - *41 responses: '200': description: Response content: application/json: - schema: &43 + schema: &44 title: Actions cache storage limit for an enterprise description: GitHub Actions cache storage policy for an enterprise. type: object @@ -9715,7 +9725,7 @@ paths: type: integer example: 10 examples: - default: &44 + default: &45 value: max_cache_size_gb: 150 '403': *29 @@ -9739,14 +9749,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-enterprise parameters: - - *40 + - *41 requestBody: required: true content: application/json: - schema: *43 + schema: *44 examples: - selected_actions: *44 + selected_actions: *45 responses: '204': description: Response @@ -9772,7 +9782,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-enterprise parameters: - - *40 + - *41 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -9780,7 +9790,7 @@ paths: application/json: schema: type: array - items: &45 + items: &46 title: Actions OIDC Custom Property Inclusion description: An OIDC custom property inclusion for repository properties type: object @@ -9827,12 +9837,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-enterprise parameters: - - *40 + - *41 requestBody: required: true content: application/json: - schema: &145 + schema: &146 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -9844,7 +9854,7 @@ paths: required: - custom_property_name examples: - default: &46 + default: &47 value: custom_property_name: environment responses: @@ -9852,9 +9862,9 @@ paths: description: OIDC custom property inclusion created content: application/json: - schema: *45 + schema: *46 examples: - default: *46 + default: *47 '400': description: Invalid input '403': *29 @@ -9879,7 +9889,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-enterprise parameters: - - *40 + - *41 - name: custom_property_name in: path required: true @@ -9915,7 +9925,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise parameters: - - *40 + - *41 - name: per_page in: query description: The number of results per page (max 100). For more information, @@ -9924,8 +9934,8 @@ paths: schema: type: integer default: 30 - - *47 - *48 + - *49 responses: '200': description: Response @@ -9933,7 +9943,7 @@ paths: application/json: schema: type: array - items: &49 + items: &50 type: object description: A code security configuration properties: @@ -10253,7 +10263,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise parameters: - - *40 + - *41 requestBody: required: true content: @@ -10331,7 +10341,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &53 + code_scanning_options: &54 type: object description: Security Configuration feature options for code scanning nullable: true @@ -10348,7 +10358,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &52 + code_scanning_default_setup_options: &53 type: object description: Feature options for code scanning default setup nullable: true @@ -10472,9 +10482,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *49 + schema: *50 examples: - default: &50 + default: &51 value: id: 1325 target_type: enterprise @@ -10526,13 +10536,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise parameters: - - *40 + - *41 responses: '200': description: Response content: application/json: - schema: &199 + schema: &200 type: array description: A list of default code security configurations items: @@ -10546,9 +10556,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *49 + configuration: *50 examples: - default: &200 + default: &201 value: - default_for_new_repos: public configuration: @@ -10631,8 +10641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - - *40 - - &51 + - *41 + - &52 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -10644,10 +10654,10 @@ paths: description: Response content: application/json: - schema: *49 + schema: *50 examples: - default: *50 - '304': *37 + default: *51 + '304': *38 '403': *29 '404': *6 x-github: @@ -10670,8 +10680,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: - - *40 - - *51 + - *41 + - *52 requestBody: required: true content: @@ -10750,8 +10760,8 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *52 - code_scanning_options: *53 + code_scanning_default_setup_options: *53 + code_scanning_options: *54 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -10847,13 +10857,13 @@ paths: description: Response content: application/json: - schema: *49 + schema: *50 examples: - default: *50 - '304': *37 + default: *51 + '304': *38 '403': *29 '404': *6 - '409': &54 + '409': &55 description: Conflict content: application/json: @@ -10880,15 +10890,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - - *40 - - *51 + - *41 + - *52 responses: - '204': &61 + '204': &60 description: A header with no content is returned. '400': *14 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10912,8 +10922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - - *40 - - *51 + - *41 + - *52 requestBody: required: true content: @@ -10937,10 +10947,10 @@ paths: value: scope: all responses: - '202': *39 + '202': *40 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -10964,8 +10974,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: - - *40 - - *51 + - *41 + - *52 requestBody: required: true content: @@ -11005,12 +11015,12 @@ paths: - none - private_and_internal - public - configuration: *49 + configuration: *50 examples: default: value: default_for_new_repos: all - configuration: &198 + configuration: &199 value: id: 1325 target_type: organization @@ -11071,8 +11081,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: - - *40 - - *51 + - *41 + - *52 - 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)." @@ -11081,8 +11091,8 @@ paths: schema: type: integer default: 30 - - *47 - *48 + - *49 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -11100,7 +11110,7 @@ paths: application/json: schema: type: array - items: &201 + items: &202 type: object description: Repositories associated with a code security configuration and attachment status @@ -11118,11 +11128,11 @@ paths: - failed - updating - removed_by_enterprise - repository: &67 + repository: &68 title: Simple Repository description: A GitHub repository. type: object - properties: &68 + properties: &69 id: type: integer format: int64 @@ -11349,7 +11359,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &69 + required: &70 - archive_url - assignees_url - blobs_url @@ -11401,7 +11411,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &202 + repository: &203 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -11494,8 +11504,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: - - *40 - - &56 + - *41 + - &57 name: day description: The day to request data for, in `YYYY-MM-DD` format. in: query @@ -11509,7 +11519,7 @@ paths: description: Response content: application/json: - schema: &57 + schema: &58 type: object title: Copilot Metrics 1 Day Report description: Links to download the Copilot usage metrics report for @@ -11530,13 +11540,13 @@ paths: - download_links - report_day examples: - default: &58 + default: &59 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': *55 + '500': *56 '403': *29 '404': *6 x-github: @@ -11562,13 +11572,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics parameters: - - *40 + - *41 responses: '200': description: Response content: application/json: - schema: &59 + schema: &61 type: object title: Copilot Metrics 28 Day Report description: Links to download the latest Copilot usage metrics report @@ -11596,14 +11606,51 @@ paths: - report_start_day - report_end_day examples: - default: &60 + default: &62 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': *55 + '500': *56 + '403': *29 + '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: + - *41 + - *57 + responses: + '200': + description: Response + content: + application/json: + schema: *58 + examples: + default: *59 + '204': *60 + '500': *56 '403': *29 '404': *6 x-github: @@ -11629,17 +11676,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: - - *40 - - *56 + - *41 + - *57 responses: '200': description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 - '500': *55 + default: *59 + '500': *56 '403': *29 '404': *6 x-github: @@ -11665,17 +11712,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: - - *40 - - *56 + - *41 + - *57 responses: '200': description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 - '500': *55 + default: *59 + '500': *56 '403': *29 '404': *6 x-github: @@ -11701,16 +11748,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics parameters: - - *40 + - *41 responses: '200': description: Response content: application/json: - schema: *59 + schema: *61 examples: - default: *60 - '500': *55 + default: *62 + '500': *56 '403': *29 '404': *6 x-github: @@ -11738,7 +11785,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: - - *40 + - *41 requestBody: description: The coding agent policy configuration required: true @@ -11765,7 +11812,7 @@ paths: value: policy_state: enabled_for_all_orgs responses: - '204': *61 + '204': *60 '400': *14 x-github: enabledForGitHubApps: false @@ -11792,7 +11839,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: - - *40 + - *41 requestBody: description: The organizations to enable Copilot cloud agent for required: true @@ -11841,7 +11888,7 @@ paths: - engineering - security responses: - '204': *61 + '204': *60 '400': *14 x-github: enabledForGitHubApps: false @@ -11867,7 +11914,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: - - *40 + - *41 requestBody: description: The organizations to disable Copilot cloud agent for required: true @@ -11917,7 +11964,7 @@ paths: - engineering - security responses: - '204': *61 + '204': *60 '400': *14 x-github: enabledForGitHubApps: false @@ -11941,8 +11988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - - *40 - - &212 + - *41 + - &213 name: classification in: query description: |- @@ -11951,7 +11998,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &213 + - &214 name: state in: query description: |- @@ -11960,7 +12007,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &214 + - &215 name: severity in: query description: |- @@ -11969,7 +12016,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &215 + - &216 name: ecosystem in: query description: |- @@ -11978,14 +12025,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &216 + - &217 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 - - &217 + - &218 name: epss_percentage in: query description: |- @@ -11997,7 +12044,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 - - &510 + - &511 name: has in: query description: |- @@ -12011,7 +12058,7 @@ paths: type: string enum: - patch - - &218 + - &219 name: assignee in: query description: |- @@ -12020,7 +12067,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &219 + - &220 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12030,7 +12077,7 @@ paths: enum: - development - runtime - - &220 + - &221 name: sort in: query description: |- @@ -12045,9 +12092,9 @@ paths: - updated - epss_percentage default: created - - *62 - - *47 + - *63 - *48 + - *49 - *17 responses: '200': @@ -12056,11 +12103,11 @@ paths: application/json: schema: type: array - items: &221 + items: &222 type: object description: A Dependabot alert. properties: - number: &188 + number: &189 type: integer description: The security alert number. readOnly: true @@ -12078,7 +12125,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &63 + package: &64 type: object description: Details for the vulnerable package. readOnly: true @@ -12123,7 +12170,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &511 + security_advisory: &512 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12153,13 +12200,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &66 + items: &67 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *63 + package: *64 severity: type: string description: The severity of the vulnerability. @@ -12211,8 +12258,8 @@ paths: enum: - general - malware - cvss_severities: *64 - epss: *65 + cvss_severities: *65 + epss: *66 cwes: type: array description: Details for the advisory pertaining to Common @@ -12310,30 +12357,30 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *66 - url: &191 + security_vulnerability: *67 + url: &192 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &192 + html_url: &193 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &189 + created_at: &190 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: &190 + updated_at: &191 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: &194 + dismissed_at: &195 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12363,21 +12410,21 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &193 + fixed_at: &194 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &512 + auto_dismissed_at: &513 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &513 + dismissal_request: &514 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -12420,7 +12467,7 @@ paths: description: The users assigned to this alert. readOnly: true items: *4 - repository: *67 + repository: *68 required: - number - state @@ -12439,7 +12486,7 @@ paths: - repository additionalProperties: false examples: - default: &222 + default: &223 value: - number: 2 state: dismissed @@ -12777,7 +12824,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': *37 + '304': *38 '403': *29 '404': *6 '422': *7 @@ -12801,7 +12848,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: - - *40 + - *41 - name: page in: query description: The page number of results to fetch. @@ -12824,7 +12871,7 @@ paths: description: Response content: application/json: - schema: &223 + schema: &224 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -12845,12 +12892,12 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *68 - required: *69 + properties: *69 + required: *70 nullable: true additionalProperties: false examples: - default: &224 + default: &225 value: default_level: public accessible_repositories: @@ -12950,7 +12997,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise parameters: - - *40 + - *41 requestBody: required: true content: @@ -13014,7 +13061,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: - - *40 + - *41 requestBody: required: true content: @@ -13058,7 +13105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#list-enterprise-teams parameters: - - *40 + - *41 - *17 - *19 responses: @@ -13068,7 +13115,7 @@ paths: application/json: schema: type: array - items: &71 + items: &72 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -13147,7 +13194,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *70 + Link: *71 '403': *29 x-github: githubCloudOnly: false @@ -13165,7 +13212,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team parameters: - - *40 + - *41 requestBody: required: true content: @@ -13232,9 +13279,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *72 examples: - default: &79 + default: &80 value: id: 1 name: Justice League @@ -13262,8 +13309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - - *40 - - &72 + - *41 + - &73 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -13282,7 +13329,7 @@ paths: type: array items: *4 examples: - default: &73 + default: &74 value: - login: octocat id: 1 @@ -13303,7 +13350,7 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13320,8 +13367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - - *40 - - *72 + - *41 + - *73 requestBody: required: true content: @@ -13352,7 +13399,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13369,8 +13416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - - *40 - - *72 + - *41 + - *73 requestBody: required: true content: @@ -13401,7 +13448,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13418,9 +13465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - - *40 - - *72 - - &74 + - *41 + - *73 + - &75 name: username description: The handle for the GitHub user account. in: path @@ -13434,7 +13481,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &75 + exampleKey1: &76 value: login: octocat id: 1 @@ -13469,9 +13516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - - *40 - - *72 - - *74 + - *41 + - *73 + - *75 responses: '201': description: Successfully added team member @@ -13479,7 +13526,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *75 + exampleKey1: *76 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13496,9 +13543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - - *40 - - *72 - - *74 + - *41 + - *73 + - *75 responses: '204': description: Response @@ -13519,8 +13566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - - *40 - - *72 + - *41 + - *73 - *17 - *19 responses: @@ -13530,11 +13577,11 @@ paths: application/json: schema: type: array - items: &76 + items: &77 title: Organization Simple description: A GitHub organization. type: object - properties: &208 + properties: &209 login: type: string example: github @@ -13575,7 +13622,7 @@ paths: type: string example: A great organization nullable: true - required: &209 + required: &210 - login - url - id @@ -13589,7 +13636,7 @@ paths: - avatar_url - description examples: - default: &77 + default: &78 value: login: github id: 1 @@ -13619,8 +13666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - - *40 - - *72 + - *41 + - *73 requestBody: required: true content: @@ -13648,9 +13695,9 @@ paths: application/json: schema: type: array - items: *76 + items: *77 examples: - default: &119 + default: &120 value: - login: github id: 1 @@ -13680,8 +13727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - - *40 - - *72 + - *41 + - *73 requestBody: required: true content: @@ -13721,9 +13768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - - *40 - - *72 - - &78 + - *41 + - *73 + - &79 name: org description: The organization name. The name is not case sensitive. in: path @@ -13735,9 +13782,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *76 + schema: *77 examples: - default: *77 + default: *78 '404': description: The team is not assigned to the organization x-github: @@ -13755,17 +13802,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - - *40 - - *72 - - *78 + - *41 + - *73 + - *79 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *76 + schema: *77 examples: - default: *77 + default: *78 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13781,9 +13828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - - *40 - - *72 - - *78 + - *41 + - *73 + - *79 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -13806,8 +13853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - - *40 - - &80 + - *41 + - &81 name: team_slug description: The slug of the team name. in: path @@ -13819,11 +13866,11 @@ paths: description: Response content: application/json: - schema: *71 + schema: *72 examples: - default: *79 + default: *80 headers: - Link: *70 + Link: *71 '403': *29 x-github: githubCloudOnly: false @@ -13840,8 +13887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - - *40 - - *80 + - *41 + - *81 requestBody: required: true content: @@ -13906,11 +13953,11 @@ paths: description: Response content: application/json: - schema: *71 + schema: *72 examples: - default: *79 + default: *80 headers: - Link: *70 + Link: *71 '403': *29 x-github: githubCloudOnly: false @@ -13930,8 +13977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - - *40 - - *80 + - *41 + - *81 responses: '204': description: Response @@ -13969,7 +14016,7 @@ paths: application/json: schema: type: array - items: &114 + items: &115 title: Event description: Event type: object @@ -13979,7 +14026,7 @@ paths: type: type: string nullable: true - actor: &81 + actor: &82 title: Actor description: Actor type: object @@ -14019,7 +14066,7 @@ paths: - id - name - url - org: *81 + org: *82 payload: oneOf: - title: CreateEvent @@ -14065,7 +14112,7 @@ paths: properties: action: type: string - discussion: &810 + discussion: &811 title: Discussion description: A Discussion in a repository. type: object @@ -14352,7 +14399,7 @@ paths: - id labels: type: array - items: &87 + items: &88 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -14427,7 +14474,7 @@ paths: properties: action: type: string - issue: &88 + issue: &89 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -14538,7 +14585,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &294 + properties: &295 url: type: string format: uri @@ -14608,7 +14655,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &295 + required: &296 - closed_issues - creator - description @@ -14687,7 +14734,7 @@ paths: timeline_url: type: string format: uri - type: &257 + type: &258 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -14739,7 +14786,7 @@ paths: - node_id - name - description - repository: *82 + repository: *83 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -14750,9 +14797,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *83 - required: *84 - author_association: &85 + properties: *84 + required: *85 + author_association: &86 title: author_association type: string example: OWNER @@ -14767,7 +14814,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &86 + reactions: &87 title: Reaction Rollup type: object properties: @@ -14803,7 +14850,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &725 + sub_issues_summary: &726 title: Sub-issues Summary type: object properties: @@ -14828,7 +14875,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &89 + properties: &90 id: description: Unique identifier of the issue comment example: 42 @@ -14871,7 +14918,7 @@ paths: issue_url: type: string format: uri - author_association: *85 + author_association: *86 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -14882,9 +14929,9 @@ paths: class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 - reactions: *86 + properties: *84 + required: *85 + reactions: *87 pin: title: Pinned Issue Comment description: Context around who pinned an issue @@ -14920,7 +14967,7 @@ paths: required: &594 - reason nullable: true - required: &90 + required: &91 - id - node_id - html_url @@ -14930,7 +14977,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &726 + issue_dependencies_summary: &727 title: Issue Dependencies Summary type: object properties: @@ -15065,10 +15112,10 @@ paths: assignees: type: array items: *4 - label: *87 + label: *88 labels: type: array - items: *87 + items: *88 required: - action - issue @@ -15077,14 +15124,14 @@ paths: properties: action: type: string - issue: *88 + issue: *89 comment: &561 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 required: - action - issue @@ -15257,8 +15304,8 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true allow_forking: type: boolean @@ -15347,7 +15394,7 @@ paths: type: string number: type: integer - pull_request: &93 + pull_request: &94 title: Pull Request Minimal type: object properties: @@ -15418,10 +15465,10 @@ paths: assignees: type: array items: *4 - label: *87 + label: *88 labels: type: array - items: *87 + items: *88 required: - action - number @@ -15431,7 +15478,7 @@ paths: properties: action: type: string - pull_request: *93 + pull_request: *94 comment: type: object properties: @@ -15682,7 +15729,7 @@ paths: - pull_request updated_at: type: string - pull_request: *93 + pull_request: *94 required: - action - review @@ -15731,7 +15778,7 @@ paths: updated_at: type: string format: date-time - reactions: *86 + reactions: *87 required: - action - comment @@ -15742,7 +15789,7 @@ paths: type: string release: allOf: - - &638 + - &639 title: Release description: A release. type: object @@ -15813,7 +15860,7 @@ paths: author: *4 assets: type: array - items: &639 + items: &640 title: Release Asset description: Data related to a release. type: object @@ -15888,7 +15935,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *86 + reactions: *87 required: - assets_url - upload_url @@ -15978,9 +16025,9 @@ paths: before: 883efe034920928c47fe18598c01249d1a9fdabd public: true created_at: '2022-06-07T07:50:26Z' - '304': *37 + '304': *38 '403': *29 - '503': &122 + '503': &123 description: Service unavailable content: application/json: @@ -16073,7 +16120,7 @@ paths: _links: type: object properties: - timeline: &94 + timeline: &95 title: Link With Type description: Hypermedia Link with Type type: object @@ -16085,17 +16132,17 @@ paths: required: - href - type - user: *94 - security_advisories: *94 - current_user: *94 - current_user_public: *94 - current_user_actor: *94 - current_user_organization: *94 + user: *95 + security_advisories: *95 + current_user: *95 + current_user_public: *95 + current_user_actor: *95 + current_user_organization: *95 current_user_organizations: type: array - items: *94 - repository_discussions: *94 - repository_discussions_category: *94 + items: *95 + repository_discussions: *95 + repository_discussions_category: *95 required: - timeline - user @@ -16157,7 +16204,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *95 + - *96 - *17 - *19 responses: @@ -16167,7 +16214,7 @@ paths: application/json: schema: type: array - items: &96 + items: &97 title: Base Gist description: Base Gist type: object @@ -16252,7 +16299,7 @@ paths: - created_at - updated_at examples: - default: &97 + default: &98 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -16297,8 +16344,8 @@ paths: site_admin: false truncated: false headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -16373,7 +16420,7 @@ paths: description: Response content: application/json: - schema: &98 + schema: &99 title: Gist Simple description: Gist Simple type: object @@ -16541,7 +16588,7 @@ paths: truncated: type: boolean examples: - default: &99 + default: &100 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -16623,7 +16670,7 @@ paths: schema: type: string '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -16645,7 +16692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *95 + - *96 - *17 - *19 responses: @@ -16655,13 +16702,13 @@ paths: application/json: schema: type: array - items: *96 + items: *97 examples: - default: *97 + default: *98 headers: - Link: *70 + Link: *71 '422': *15 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -16679,7 +16726,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *95 + - *96 - *17 - *19 responses: @@ -16689,13 +16736,13 @@ paths: application/json: schema: type: array - items: *96 + items: *97 examples: - default: *97 + default: *98 headers: - Link: *70 + Link: *71 '401': *25 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -16718,7 +16765,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &100 + - &101 name: gist_id description: The unique identifier of the gist. in: path @@ -16730,10 +16777,10 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: *99 - '403': &103 + default: *100 + '403': &104 description: Forbidden Gist content: application/json: @@ -16755,7 +16802,7 @@ paths: documentation_url: type: string '404': *6 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -16780,7 +16827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *100 + - *101 requestBody: required: true content: @@ -16840,9 +16887,9 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - updateGist: *99 + updateGist: *100 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -17000,12 +17047,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *100 + - *101 responses: '204': description: Response '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -17028,7 +17075,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *100 + - *101 - *17 - *19 responses: @@ -17038,7 +17085,7 @@ paths: application/json: schema: type: array - items: &101 + items: &102 title: Gist Comment description: A comment made to a gist. type: object @@ -17073,7 +17120,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *85 + author_association: *86 required: - url - id @@ -17113,8 +17160,8 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 x-github: @@ -17137,7 +17184,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *100 + - *101 requestBody: required: true content: @@ -17162,9 +17209,9 @@ paths: description: Response content: application/json: - schema: *101 + schema: *102 examples: - default: &102 + default: &103 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -17197,7 +17244,7 @@ paths: example: https://api.github.com/gists/a6db0bec360bb87e9418/comments/1 schema: type: string - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -17221,8 +17268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *100 - - &104 + - *101 + - &105 name: comment_id description: The unique identifier of the comment. in: path @@ -17235,12 +17282,12 @@ paths: description: Response content: application/json: - schema: *101 + schema: *102 examples: - default: *102 - '304': *37 + default: *103 + '304': *38 '404': *6 - '403': *103 + '403': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17261,8 +17308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *100 - - *104 + - *101 + - *105 requestBody: required: true content: @@ -17287,9 +17334,9 @@ paths: description: Response content: application/json: - schema: *101 + schema: *102 examples: - default: *102 + default: *103 '404': *6 x-github: githubCloudOnly: false @@ -17306,12 +17353,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *100 - - *104 + - *101 + - *105 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -17330,7 +17377,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *100 + - *101 - *17 - *19 responses: @@ -17413,7 +17460,7 @@ paths: schema: type: string '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -17431,7 +17478,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *100 + - *101 - *17 - *19 responses: @@ -17441,7 +17488,7 @@ paths: application/json: schema: type: array - items: *98 + items: *99 examples: default: value: @@ -17487,9 +17534,9 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -17506,13 +17553,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *100 + - *101 responses: '201': description: Response content: application/json: - schema: *96 + schema: *97 examples: default: value: @@ -17564,7 +17611,7 @@ paths: type: string '404': *6 '422': *15 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -17582,7 +17629,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *100 + - *101 responses: '204': description: Response if gist is starred @@ -17594,7 +17641,7 @@ paths: type: object properties: {} additionalProperties: false - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -17612,12 +17659,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *100 + - *101 responses: '204': description: Response '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -17634,11 +17681,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *100 + - *101 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -17662,7 +17709,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *100 + - *101 - name: sha in: path required: true @@ -17673,9 +17720,9 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: *99 + default: *100 '422': *15 '404': *6 '403': *29 @@ -17715,7 +17762,7 @@ paths: - Bancha - C - C++ - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17800,7 +17847,7 @@ paths: *.exe *.out *.app - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17836,7 +17883,7 @@ paths: type: array items: allOf: - - *82 + - *83 - type: object properties: custom_properties: @@ -17971,9 +18018,9 @@ paths: environment: production service: web headers: - Link: *70 + Link: *71 '403': *29 - '304': *37 + '304': *38 '401': *25 x-github: githubCloudOnly: false @@ -18055,7 +18102,7 @@ paths: - closed - all default: open - - &260 + - &261 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -18073,8 +18120,8 @@ paths: - updated - comments default: created - - *62 - - *95 + - *63 + - *96 - name: collab in: query required: false @@ -18104,9 +18151,9 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: &261 + default: &262 value: - id: 1 node_id: MDU6SXNzdWUx @@ -18351,9 +18398,9 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *70 + Link: *71 '422': *15 - '304': *37 + '304': *38 '404': *6 x-github: githubCloudOnly: false @@ -18390,8 +18437,8 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 examples: default: value: @@ -18430,7 +18477,7 @@ paths: spdx_id: GPL-3.0 url: https://api.github.com/licenses/gpl-3.0 node_id: MDc6TGljZW5zZW1pdA== - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18615,7 +18662,7 @@ paths: featured: true '403': *29 '404': *6 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18676,7 +18723,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &105 + X-CommonMarker-Version: &106 example: 0.17.4 schema: type: string @@ -18688,7 +18735,7 @@ paths: default: summary: Example response value: "

Hello world

" - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18731,7 +18778,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *105 + X-CommonMarker-Version: *106 content: text/html: schema: @@ -18740,7 +18787,7 @@ paths: default: summary: Example response value: "

Hello world

" - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18760,7 +18807,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &108 + - &109 name: account_id description: account_id parameter in: path @@ -18772,7 +18819,7 @@ paths: description: Response content: application/json: - schema: &107 + schema: &108 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -18802,7 +18849,7 @@ paths: nullable: true id: type: integer - plan: &106 + plan: &107 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -18891,7 +18938,7 @@ paths: nullable: true updated_at: type: string - plan: *106 + plan: *107 required: - url - id @@ -18899,7 +18946,7 @@ paths: - login - marketplace_purchase examples: - default: &109 + default: &110 value: url: https://api.github.com/orgs/github type: Organization @@ -18984,9 +19031,9 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: - default: &110 + default: &111 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -19004,7 +19051,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *70 + Link: *71 '404': *6 '401': *25 x-github: @@ -19026,14 +19073,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &111 + - &112 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &112 + - &113 name: sort description: The property to sort the results by. in: query @@ -19063,9 +19110,9 @@ paths: application/json: schema: type: array - items: *107 + items: *108 examples: - default: &113 + default: &114 value: - url: https://api.github.com/orgs/github type: Organization @@ -19116,7 +19163,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *70 + Link: *71 '404': *6 '422': *15 '401': *25 @@ -19139,15 +19186,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *108 + - *109 responses: '200': description: Response content: application/json: - schema: *107 + schema: *108 examples: - default: *109 + default: *110 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -19179,11 +19226,11 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: - default: *110 + default: *111 headers: - Link: *70 + Link: *71 '401': *25 x-github: githubCloudOnly: false @@ -19204,8 +19251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *111 - *112 + - *113 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -19225,11 +19272,11 @@ paths: application/json: schema: type: array - items: *107 + items: *108 examples: - default: *113 + default: *114 headers: - Link: *70 + Link: *71 '401': *25 x-github: githubCloudOnly: false @@ -19472,7 +19519,7 @@ paths: - "*.example.com" packages: - "*.example.com" - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19491,14 +19538,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &356 + - &357 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &357 + - &358 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -19515,7 +19562,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: default: value: @@ -19559,8 +19606,8 @@ paths: created_at: '2022-06-08T23:29:25Z' '404': *6 '403': *29 - '304': *37 - '301': &360 + '304': *38 + '301': &361 description: Moved permanently content: application/json: @@ -19599,7 +19646,7 @@ paths: schema: type: boolean default: false - - *95 + - *96 - &616 name: before description: 'Only show notifications updated before the given time. This @@ -19625,18 +19672,18 @@ paths: application/json: schema: type: array - items: &115 + items: &116 title: Thread description: Thread type: object properties: id: type: string - repository: &163 + repository: &164 title: Minimal Repository description: Minimal Repository type: object - properties: &226 + properties: &227 id: type: integer format: int64 @@ -19890,7 +19937,7 @@ paths: type: integer network_count: type: integer - code_of_conduct: *38 + code_of_conduct: *39 license: type: object properties: @@ -19920,7 +19967,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &312 + security_and_analysis: &313 nullable: true type: object properties: @@ -20040,7 +20087,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &227 + required: &228 - archive_url - assignees_url - blobs_url @@ -20210,8 +20257,8 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -20275,7 +20322,7 @@ paths: Notifications are being marked as read in the background. '205': description: Reset Content - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -20294,7 +20341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &116 + - &117 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 @@ -20308,7 +20355,7 @@ paths: description: Response content: application/json: - schema: *115 + schema: *116 examples: default: value: @@ -20391,7 +20438,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': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -20410,11 +20457,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *116 + - *117 responses: '205': description: Reset Content - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -20432,7 +20479,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *116 + - *117 responses: '204': description: No content @@ -20455,13 +20502,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *116 + - *117 responses: '200': description: Response content: application/json: - schema: &117 + schema: &118 title: Thread Subscription description: Thread Subscription type: object @@ -20498,7 +20545,7 @@ paths: - url - subscribed examples: - default: &118 + default: &119 value: subscribed: true ignored: false @@ -20506,7 +20553,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': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -20529,7 +20576,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *116 + - *117 requestBody: required: false content: @@ -20550,10 +20597,10 @@ paths: description: Response content: application/json: - schema: *117 + schema: *118 examples: - default: *118 - '304': *37 + default: *119 + '304': *38 '403': *29 '401': *25 x-github: @@ -20575,11 +20622,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *116 + - *117 responses: '204': description: Response - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -20670,15 +20717,15 @@ paths: application/json: schema: type: array - items: *76 + items: *77 examples: - default: *119 + default: *120 headers: Link: example: ; rel="next" schema: type: string - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20699,13 +20746,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &120 + schema: &121 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -20716,7 +20763,7 @@ paths: type: integer example: 14 examples: - default: *42 + default: *43 '403': *29 '404': *6 x-github: @@ -20738,14 +20785,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: application/json: - schema: *120 + schema: *121 examples: - selected_actions: *42 + selected_actions: *43 responses: '204': description: Response @@ -20772,13 +20819,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &121 + schema: &122 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -20789,7 +20836,7 @@ paths: type: integer example: 10 examples: - default: *44 + default: *45 '403': *29 '404': *6 x-github: @@ -20811,14 +20858,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: application/json: - schema: *121 + schema: *122 examples: - selected_actions: *44 + selected_actions: *45 responses: '204': description: Response @@ -20844,8 +20891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-organization parameters: - - *78 - - &124 + - *79 + - &125 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, @@ -20854,7 +20901,7 @@ paths: required: false schema: type: integer - - &125 + - &126 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 @@ -20863,7 +20910,7 @@ paths: required: false schema: type: integer - - &126 + - &127 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 @@ -20872,21 +20919,21 @@ paths: required: false schema: type: integer - - &127 + - &128 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &128 + - &129 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &129 + - &130 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -21002,8 +21049,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21022,7 +21069,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *78 + - *79 - name: page description: The page number of the results to fetch. in: query @@ -21255,7 +21302,7 @@ paths: total_count: 2 '404': *6 '403': *29 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21273,7 +21320,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#create-a-budget-for-an-organization parameters: - - *78 + - *79 requestBody: required: false content: @@ -21502,8 +21549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *78 - - &123 + - *79 + - &124 name: budget_id description: The ID corresponding to the budget. in: path @@ -21607,8 +21654,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21625,8 +21672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *78 - - *123 + - *79 + - *124 requestBody: required: true content: @@ -21855,8 +21902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *78 - - *123 + - *79 + - *124 responses: '200': description: Response when deleting a budget @@ -21882,8 +21929,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21903,13 +21950,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *78 - - *124 + - *79 - *125 - *126 - *127 - *128 - *129 + - *130 responses: '200': description: Response when getting a billing premium request usage report @@ -22019,8 +22066,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22040,9 +22087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *78 - - *124 - - &786 + - *79 + - *125 + - &787 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 @@ -22051,7 +22098,7 @@ paths: required: false schema: type: integer - - *126 + - *127 responses: '200': description: Billing usage report response for an organization @@ -22126,8 +22173,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22150,19 +22197,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *78 - - *124 + - *79 - *125 - *126 - - &787 + - *127 + - &788 name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *129 - - &788 + - *130 + - &789 name: sku description: The SKU to query for usage. in: query @@ -22272,8 +22319,8 @@ paths: netAmount: 8.0 '400': *14 '403': *29 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22299,13 +22346,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &130 + schema: &131 title: Organization Full description: Organization Full type: object @@ -22619,7 +22666,7 @@ paths: - updated_at - archived_at examples: - default-response: &131 + default-response: &132 value: login: github id: 1 @@ -22718,7 +22765,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *78 + - *79 requestBody: required: false content: @@ -22930,18 +22977,18 @@ paths: description: Response content: application/json: - schema: *130 + schema: *131 examples: - default: *131 + default: *132 '422': description: Validation failed content: application/json: schema: oneOf: - - *132 - *133 - '409': *54 + - *134 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22964,9 +23011,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *78 + - *79 responses: - '202': *39 + '202': *40 '404': *6 '403': *29 '451': *15 @@ -22990,7 +23037,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -23016,7 +23063,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23037,7 +23084,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: - - *78 + - *79 - *17 - *19 responses: @@ -23055,7 +23102,7 @@ paths: type: integer repository_cache_usages: type: array - items: &367 + items: &368 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -23090,7 +23137,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23110,7 +23157,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *78 + - *79 - *17 - *19 responses: @@ -23128,7 +23175,7 @@ paths: type: integer runners: type: array - items: &134 + items: &135 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -23182,7 +23229,7 @@ paths: - display_name - source nullable: true - machine_size_details: &142 + machine_size_details: &143 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -23278,7 +23325,7 @@ paths: - public_ip_enabled - platform examples: - default: &162 + default: &163 value: total_count: 2 runners: @@ -23320,7 +23367,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23338,7 +23385,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -23415,9 +23462,9 @@ paths: description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: &143 + default: &144 value: id: 5 name: My hosted ubuntu runner @@ -23458,7 +23505,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -23474,7 +23521,7 @@ paths: type: integer images: type: array - items: &135 + items: &136 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -23525,7 +23572,7 @@ paths: - latest_version - state examples: - default: &137 + default: &138 value: total_count: 2 image_versions: @@ -23556,8 +23603,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: - - *78 - - &136 + - *79 + - &137 name: image_definition_id description: Image definition ID of custom image in: path @@ -23569,7 +23616,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *136 examples: default: value: @@ -23599,8 +23646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *78 - - *136 + - *79 + - *137 responses: '204': description: Response @@ -23623,8 +23670,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: - - *136 - - *78 + - *137 + - *79 responses: '200': description: Response @@ -23640,7 +23687,7 @@ paths: type: integer image_versions: type: array - items: &138 + items: &139 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -23673,7 +23720,7 @@ paths: - created_on - state_details examples: - default: *137 + default: *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23693,9 +23740,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: - - *78 - - *136 - - &139 + - *79 + - *137 + - &140 name: version description: Version of a custom image in: path @@ -23708,7 +23755,7 @@ paths: description: Response content: application/json: - schema: *138 + schema: *139 examples: default: value: @@ -23734,9 +23781,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: - - *78 - - *136 - - *139 + - *79 + - *137 + - *140 responses: '204': description: Response @@ -23757,7 +23804,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: - - *78 + - *79 responses: '200': description: Response @@ -23773,7 +23820,7 @@ paths: type: integer images: type: array - items: &140 + items: &141 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -23809,7 +23856,7 @@ paths: - display_name - source examples: - default: &141 + default: &142 value: id: ubuntu-20.04 platform: linux-x64 @@ -23833,7 +23880,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: - - *78 + - *79 responses: '200': description: Response @@ -23849,9 +23896,9 @@ paths: type: integer images: type: array - items: *140 + items: *141 examples: - default: *141 + default: *142 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23868,7 +23915,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: - - *78 + - *79 responses: '200': description: Response @@ -23921,7 +23968,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: - - *78 + - *79 responses: '200': description: Response @@ -23937,7 +23984,7 @@ paths: type: integer machine_specs: type: array - items: *142 + items: *143 examples: default: value: @@ -23962,7 +24009,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: - - *78 + - *79 responses: '200': description: Response @@ -24006,8 +24053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *78 - - &144 + - *79 + - &145 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -24019,11 +24066,11 @@ paths: description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: *143 + default: *144 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24041,8 +24088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *78 - - *144 + - *79 + - *145 requestBody: required: true content: @@ -24108,9 +24155,9 @@ paths: description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: *143 + default: *144 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -24126,16 +24173,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *78 - - *144 + - *79 + - *145 responses: '202': description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: *143 + default: *144 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24155,7 +24202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *78 + - *79 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -24163,7 +24210,7 @@ paths: application/json: schema: type: array - items: *45 + items: *46 examples: default: value: @@ -24188,22 +24235,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: application/json: - schema: *145 + schema: *146 examples: - default: *46 + default: *47 responses: '201': description: OIDC custom property inclusion created content: application/json: - schema: *45 + schema: *46 examples: - default: *46 + default: *47 '400': description: Invalid input '403': *29 @@ -24227,7 +24274,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *78 + - *79 - name: custom_property_name in: path required: true @@ -24260,7 +24307,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: - - *78 + - *79 responses: '200': description: A JSON serialized template for OIDC subject claim customization @@ -24286,7 +24333,7 @@ paths: required: - include_claim_keys examples: - default: &146 + default: &147 value: include_claim_keys: - repo @@ -24308,7 +24355,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: - - *78 + - *79 requestBody: required: true content: @@ -24331,13 +24378,13 @@ paths: format. type: boolean examples: - default: *146 + default: *147 responses: '201': description: Empty response content: application/json: - schema: &172 + schema: &173 title: Empty Object description: An object without any properties. type: object @@ -24367,7 +24414,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -24376,7 +24423,7 @@ paths: schema: type: object properties: - enabled_repositories: &147 + enabled_repositories: &148 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -24389,7 +24436,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: &148 + allowed_actions: &149 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -24397,12 +24444,12 @@ paths: - all - local_only - selected - selected_actions_url: &372 + selected_actions_url: &373 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: &149 + sha_pinning_required: &150 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -24433,7 +24480,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *78 + - *79 responses: '204': description: Response @@ -24444,9 +24491,9 @@ paths: schema: type: object properties: - enabled_repositories: *147 - allowed_actions: *148 - sha_pinning_required: *149 + enabled_repositories: *148 + allowed_actions: *149 + sha_pinning_required: *150 required: - enabled_repositories examples: @@ -24474,13 +24521,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &376 + schema: &377 type: object properties: days: @@ -24517,12 +24564,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: application/json: - schema: &377 + schema: &378 type: object properties: days: @@ -24539,7 +24586,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 x-github: enabledForGitHubApps: true @@ -24559,13 +24606,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &150 + schema: &151 type: object properties: approval_policy: @@ -24579,7 +24626,7 @@ paths: required: - approval_policy examples: - default: &378 + default: &379 value: approval_policy: first_time_contributors '404': *6 @@ -24600,7 +24647,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *78 + - *79 responses: '204': description: Response @@ -24610,7 +24657,7 @@ paths: required: true content: application/json: - schema: *150 + schema: *151 examples: default: summary: Set approval policy to first time contributors @@ -24632,13 +24679,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: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &379 + schema: &380 type: object required: - run_workflows_from_fork_pull_requests @@ -24664,7 +24711,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &151 + default: &152 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -24687,12 +24734,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: - - *78 + - *79 requestBody: required: true content: application/json: - schema: &380 + schema: &381 type: object required: - run_workflows_from_fork_pull_requests @@ -24715,7 +24762,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *151 + default: *152 responses: '204': description: Empty response for successful settings update @@ -24745,7 +24792,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: - - *78 + - *79 - *17 - *19 responses: @@ -24763,9 +24810,9 @@ paths: type: number repositories: type: array - items: *82 + items: *83 examples: - default: &155 + default: &156 value: total_count: 1 repositories: @@ -24905,7 +24952,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: - - *78 + - *79 responses: '204': description: Response @@ -24949,8 +24996,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: - - *78 - - &152 + - *79 + - &153 name: repository_id description: The unique identifier of the repository. in: path @@ -24978,8 +25025,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: Response @@ -25002,13 +25049,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &153 + schema: &154 type: object properties: github_owned_allowed: @@ -25030,7 +25077,7 @@ paths: items: type: string examples: - default: &154 + default: &155 value: github_owned_allowed: true verified_allowed: false @@ -25055,7 +25102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *78 + - *79 responses: '204': description: Response @@ -25063,9 +25110,9 @@ paths: required: false content: application/json: - schema: *153 + schema: *154 examples: - selected_actions: *154 + selected_actions: *155 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -25085,7 +25132,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -25133,7 +25180,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -25160,7 +25207,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 x-github: enabledForGitHubApps: true @@ -25180,7 +25227,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: - - *78 + - *79 - *17 - *19 responses: @@ -25195,9 +25242,9 @@ paths: type: integer repositories: type: array - items: *82 + items: *83 examples: - default: *155 + default: *156 '403': *29 '404': *6 x-github: @@ -25217,7 +25264,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: - - *78 + - *79 requestBody: required: true content: @@ -25265,14 +25312,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: No content '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 x-github: enabledForGitHubApps: true @@ -25292,14 +25339,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: No content '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 x-github: enabledForGitHubApps: true @@ -25321,23 +25368,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &381 + schema: &382 type: object properties: - default_workflow_permissions: &156 + default_workflow_permissions: &157 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &157 + can_approve_pull_request_reviews: &158 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -25345,7 +25392,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &158 + default: &159 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -25370,7 +25417,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *78 + - *79 responses: '204': description: Success response @@ -25378,13 +25425,13 @@ paths: required: false content: application/json: - schema: &382 + schema: &383 type: object properties: - default_workflow_permissions: *156 - can_approve_pull_request_reviews: *157 + default_workflow_permissions: *157 + can_approve_pull_request_reviews: *158 examples: - default: *158 + default: *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25404,7 +25451,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: - - *78 + - *79 - *17 - *19 - name: visible_to_repository @@ -25429,7 +25476,7 @@ paths: type: number runner_groups: type: array - items: &159 + items: &160 type: object properties: id: @@ -25545,7 +25592,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: - - *78 + - *79 requestBody: required: true content: @@ -25617,9 +25664,9 @@ paths: description: Response content: application/json: - schema: *159 + schema: *160 examples: - default: &161 + default: &162 value: id: 2 name: octo-runner-group @@ -25654,8 +25701,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: - - *78 - - &160 + - *79 + - &161 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -25667,7 +25714,7 @@ paths: description: Response content: application/json: - schema: *159 + schema: *160 examples: default: value: @@ -25703,8 +25750,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: - - *78 - - *160 + - *79 + - *161 requestBody: required: true content: @@ -25758,9 +25805,9 @@ paths: description: Response content: application/json: - schema: *159 + schema: *160 examples: - default: *161 + default: *162 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -25779,8 +25826,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: - - *78 - - *160 + - *79 + - *161 responses: '204': description: Response @@ -25803,8 +25850,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: - - *78 - - *160 + - *79 + - *161 - *17 - *19 responses: @@ -25822,11 +25869,11 @@ paths: type: number runners: type: array - items: *134 + items: *135 examples: - default: *162 + default: *163 headers: - Link: *70 + Link: *71 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -25846,8 +25893,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: - - *78 - - *160 + - *79 + - *161 - *19 - *17 responses: @@ -25865,9 +25912,9 @@ paths: type: number repositories: type: array - items: *163 + items: *164 examples: - default: &211 + default: &212 value: total_count: 1 repositories: @@ -26119,8 +26166,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: - - *78 - - *160 + - *79 + - *161 requestBody: required: true content: @@ -26164,9 +26211,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: - - *78 - - *160 - - *152 + - *79 + - *161 + - *153 responses: '204': description: Response @@ -26188,9 +26235,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: - - *78 - - *160 - - *152 + - *79 + - *161 + - *153 responses: '204': description: Response @@ -26213,8 +26260,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: - - *78 - - *160 + - *79 + - *161 - *17 - *19 responses: @@ -26232,7 +26279,7 @@ paths: type: number runners: type: array - items: &165 + items: &166 title: Self hosted runners description: A self hosted runner type: object @@ -26261,7 +26308,7 @@ paths: type: boolean labels: type: array - items: &168 + items: &169 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -26298,7 +26345,7 @@ paths: - busy - labels examples: - default: &166 + default: &167 value: total_count: 2 runners: @@ -26340,7 +26387,7 @@ paths: name: no-gpu type: custom headers: - Link: *70 + Link: *71 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26359,8 +26406,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: - - *78 - - *160 + - *79 + - *161 requestBody: required: true content: @@ -26404,9 +26451,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: - - *78 - - *160 - - &164 + - *79 + - *161 + - &165 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -26434,9 +26481,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: - - *78 - - *160 - - *164 + - *79 + - *161 + - *165 responses: '204': description: Response @@ -26466,7 +26513,7 @@ paths: in: query schema: type: string - - *78 + - *79 - *17 - *19 responses: @@ -26484,11 +26531,11 @@ paths: type: integer runners: type: array - items: *165 + items: *166 examples: - default: *166 + default: *167 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26510,7 +26557,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -26518,7 +26565,7 @@ paths: application/json: schema: type: array - items: &383 + items: &384 title: Runner Application description: Runner Application type: object @@ -26543,7 +26590,7 @@ paths: - download_url - filename examples: - default: &384 + default: &385 value: - os: osx architecture: x64 @@ -26586,7 +26633,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: - - *78 + - *79 requestBody: required: true content: @@ -26629,7 +26676,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &385 + '201': &386 description: Response content: application/json: @@ -26639,7 +26686,7 @@ paths: - runner - encoded_jit_config properties: - runner: *165 + runner: *166 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -26668,7 +26715,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26696,13 +26743,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *78 + - *79 responses: '201': description: Response content: application/json: - schema: &167 + schema: &168 title: Authentication Token description: Authentication Token type: object @@ -26724,7 +26771,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *82 + items: *83 single_file: type: string example: config.yaml @@ -26740,7 +26787,7 @@ paths: - token - expires_at examples: - default: &386 + default: &387 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -26771,15 +26818,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *78 + - *79 responses: '201': description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: &387 + default: &388 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -26804,16 +26851,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: - - *78 - - *164 + - *79 + - *165 responses: '200': description: Response content: application/json: - schema: *165 + schema: *166 examples: - default: &388 + default: &389 value: id: 23 name: MBP @@ -26855,8 +26902,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: - - *78 - - *164 + - *79 + - *165 responses: '204': description: Response @@ -26882,10 +26929,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: - - *78 - - *164 + - *79 + - *165 responses: - '200': &169 + '200': &170 description: Response content: application/json: @@ -26899,7 +26946,7 @@ paths: type: integer labels: type: array - items: *168 + items: *169 examples: default: value: @@ -26938,8 +26985,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: - - *78 - - *164 + - *79 + - *165 requestBody: required: true content: @@ -26963,7 +27010,7 @@ paths: - gpu - accelerated responses: - '200': *169 + '200': *170 '404': *6 '422': *7 x-github: @@ -26987,8 +27034,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: - - *78 - - *164 + - *79 + - *165 requestBody: required: true content: @@ -27013,7 +27060,7 @@ paths: - gpu - accelerated responses: - '200': *169 + '200': *170 '404': *6 '422': *7 x-github: @@ -27037,10 +27084,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: - - *78 - - *164 + - *79 + - *165 responses: - '200': &389 + '200': &390 description: Response content: application/json: @@ -27054,7 +27101,7 @@ paths: type: integer labels: type: array - items: *168 + items: *169 examples: default: value: @@ -27095,9 +27142,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: - - *78 - - *164 - - &390 + - *79 + - *165 + - &391 name: name description: The name of a self-hosted runner's custom label. in: path @@ -27105,7 +27152,7 @@ paths: schema: type: string responses: - '200': *169 + '200': *170 '404': *6 '422': *7 x-github: @@ -27130,7 +27177,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *78 + - *79 - *17 - *19 responses: @@ -27148,7 +27195,7 @@ paths: type: integer secrets: type: array - items: &170 + items: &171 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -27180,7 +27227,7 @@ paths: - updated_at - visibility examples: - default: &176 + default: &177 value: total_count: 3 secrets: @@ -27198,7 +27245,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27221,13 +27268,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &177 + schema: &178 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -27256,7 +27303,7 @@ paths: - key_id - key examples: - default: &178 + default: &179 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27281,8 +27328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *78 - - &171 + - *79 + - &172 name: secret_name description: The name of the secret. in: path @@ -27294,9 +27341,9 @@ paths: description: Response content: application/json: - schema: *170 + schema: *171 examples: - default: &179 + default: &180 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27324,8 +27371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -27382,7 +27429,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -27408,8 +27455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '204': description: Response @@ -27435,8 +27482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - *19 - *17 responses: @@ -27454,9 +27501,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: &175 + default: &176 value: total_count: 1 repositories: @@ -27548,8 +27595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -27601,8 +27648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -27635,8 +27682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -27668,8 +27715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *78 - - &180 + - *79 + - &181 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)." @@ -27693,7 +27740,7 @@ paths: type: integer variables: type: array - items: &173 + items: &174 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -27736,7 +27783,7 @@ paths: - updated_at - visibility examples: - default: &181 + default: &182 value: total_count: 3 variables: @@ -27757,7 +27804,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27778,7 +27825,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *78 + - *79 requestBody: required: true content: @@ -27826,7 +27873,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -27851,8 +27898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *78 - - &174 + - *79 + - &175 name: name description: The name of the variable. in: path @@ -27864,9 +27911,9 @@ paths: description: Response content: application/json: - schema: *173 + schema: *174 examples: - default: &182 + default: &183 value: name: USERNAME value: octocat @@ -27894,8 +27941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 requestBody: required: true content: @@ -27957,8 +28004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 responses: '204': description: Response @@ -27984,8 +28031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 - *19 - *17 responses: @@ -28003,9 +28050,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *175 + default: *176 '409': description: Response when the visibility of the variable is not set to `selected` @@ -28031,8 +28078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 requestBody: required: true content: @@ -28081,8 +28128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 - name: repository_id in: path required: true @@ -28116,8 +28163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 - name: repository_id in: path required: true @@ -28151,7 +28198,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-organization-secrets parameters: - - *78 + - *79 - *17 - *19 responses: @@ -28169,11 +28216,11 @@ paths: type: integer secrets: type: array - items: *170 + items: *171 examples: - default: *176 + default: *177 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28196,15 +28243,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-an-organization-public-key parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28226,16 +28273,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '200': description: Response content: application/json: - schema: *170 + schema: *171 examples: - default: *179 + default: *180 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28257,8 +28304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -28315,7 +28362,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -28341,8 +28388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '204': description: Response @@ -28368,8 +28415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - *19 - *17 responses: @@ -28387,9 +28434,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *175 + default: *176 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28412,8 +28459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -28465,8 +28512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -28499,8 +28546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -28533,8 +28580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-organization-variables parameters: - - *78 - - *180 + - *79 + - *181 - *19 responses: '200': @@ -28551,11 +28598,11 @@ paths: type: integer variables: type: array - items: *173 + items: *174 examples: - default: *181 + default: *182 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28576,7 +28623,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-an-organization-variable parameters: - - *78 + - *79 requestBody: required: true content: @@ -28624,7 +28671,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -28649,16 +28696,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 responses: '200': description: Response content: application/json: - schema: *173 + schema: *174 examples: - default: *182 + default: *183 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28679,8 +28726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 requestBody: required: true content: @@ -28742,8 +28789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 responses: '204': description: Response @@ -28769,8 +28816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 - *19 - *17 responses: @@ -28788,9 +28835,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *175 + default: *176 '409': description: Response when the visibility of the variable is not set to `selected` @@ -28816,8 +28863,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 requestBody: required: true content: @@ -28866,8 +28913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 - name: repository_id in: path required: true @@ -28901,8 +28948,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 - name: repository_id in: path required: true @@ -28943,7 +28990,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *78 + - *79 requestBody: required: true content: @@ -29066,7 +29113,7 @@ paths: type: integer deployment_records: type: array - items: &183 + items: &184 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -29112,7 +29159,7 @@ paths: required: - total_count examples: - default: &184 + default: &185 value: total_count: 1 deployment_records: @@ -29153,7 +29200,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *78 + - *79 - name: cluster in: path description: The cluster name. @@ -29252,6 +29299,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 @@ -29292,11 +29347,109 @@ paths: type: integer deployment_records: type: array - items: *183 + items: *184 + required: + - total_count + examples: + default: *185 + '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: *184 + 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 + nullable: true + description: The version of the deployment. + status: + type: string + description: The deployment status. + github_repository: + type: string + nullable: true + 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: *184 + 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: @@ -29343,7 +29496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *78 + - *79 requestBody: required: true content: @@ -29510,7 +29663,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *78 + - *79 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -29535,9 +29688,9 @@ paths: type: integer deployment_records: type: array - items: *183 + items: *184 examples: - default: *184 + default: *185 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29557,7 +29710,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *78 + - *79 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -29640,9 +29793,9 @@ paths: url: https://docs.github.com/rest/orgs/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *47 - *48 - - *78 + - *49 + - *79 requestBody: required: true content: @@ -29666,12 +29819,12 @@ paths: required: - subject_digests examples: - default: &767 + default: &768 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &768 + withPredicateType: &769 value: subject_digests: - sha256:abc123 @@ -29715,7 +29868,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &769 + default: &770 value: attestations_subject_digests: - sha256:abc: @@ -29824,7 +29977,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *78 + - *79 requestBody: required: true content: @@ -29889,7 +30042,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *78 + - *79 - name: subject_digest description: Subject Digest in: path @@ -29922,9 +30075,9 @@ paths: url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories parameters: - *17 - - *47 - *48 - - *78 + - *49 + - *79 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -29972,7 +30125,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *78 + - *79 - name: attestation_id description: Attestation ID in: path @@ -30008,9 +30161,9 @@ paths: url: https://docs.github.com/rest/orgs/attestations#list-attestations parameters: - *17 - - *47 - *48 - - *78 + - *49 + - *79 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -30048,7 +30201,7 @@ paths: initiator: type: string examples: - default: &416 + default: &417 value: attestations: - bundle: @@ -30155,7 +30308,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *78 + - *79 - *17 - *19 responses: @@ -30167,7 +30320,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30186,8 +30339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: If the user is blocked @@ -30212,8 +30365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -30233,8 +30386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -30259,15 +30412,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *78 + - *79 - *19 - *17 - - *62 + - *63 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &185 + schema: &186 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -30293,7 +30446,7 @@ paths: application/json: schema: type: array - items: &186 + items: &187 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -30324,7 +30477,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &210 + items: &211 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -30410,7 +30563,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &272 + properties: &273 id: description: Unique identifier of the team type: integer @@ -30482,7 +30635,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &273 + required: &274 - id - node_id - url @@ -30525,7 +30678,7 @@ paths: type: string format: date-time nullable: true - state: *185 + state: *186 contact_link: description: The contact link of the campaign. type: string @@ -30620,9 +30773,9 @@ paths: closed_at: state: open headers: - Link: *70 + Link: *71 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30646,7 +30799,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -30745,9 +30898,9 @@ paths: description: Response content: application/json: - schema: *186 + schema: *187 examples: - default: &187 + default: &188 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -30796,7 +30949,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30818,7 +30971,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *78 + - *79 - name: campaign_number description: The campaign number. in: path @@ -30830,16 +30983,16 @@ paths: description: Response content: application/json: - schema: *186 + schema: *187 examples: - default: *187 + default: *188 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30860,7 +31013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *78 + - *79 - name: campaign_number description: The campaign number. in: path @@ -30909,7 +31062,7 @@ paths: type: string format: uri nullable: true - state: *185 + state: *186 examples: default: value: @@ -30919,9 +31072,9 @@ paths: description: Response content: application/json: - schema: *186 + schema: *187 examples: - default: *187 + default: *188 '400': description: Bad Request content: @@ -30933,7 +31086,7 @@ paths: content: application/json: schema: *3 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30954,7 +31107,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *78 + - *79 - name: campaign_number description: The campaign number. in: path @@ -30965,7 +31118,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30987,18 +31140,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *78 - - &443 + - *79 + - &444 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: &195 + schema: &196 type: string description: The name of the tool used to generate the code scanning analysis. - - &444 + - &445 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 @@ -31006,22 +31159,22 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &196 + schema: &197 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *47 - *48 + - *49 - *19 - *17 - - *62 + - *63 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &446 + schema: &447 type: string description: State of a code scanning alert. enum: @@ -31044,7 +31197,7 @@ paths: be returned. in: query required: false - schema: &447 + schema: &448 type: string description: Severity of a code scanning alert. enum: @@ -31073,18 +31226,18 @@ paths: items: type: object properties: - number: *188 - created_at: *189 - updated_at: *190 - url: *191 - html_url: *192 - instances_url: &448 + number: *189 + created_at: *190 + updated_at: *191 + url: *192 + html_url: *193 + instances_url: &449 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &197 + state: &198 type: string description: State of a code scanning alert. nullable: true @@ -31092,7 +31245,7 @@ paths: - open - dismissed - fixed - fixed_at: *193 + fixed_at: *194 dismissed_by: title: Simple User description: A GitHub user. @@ -31100,8 +31253,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *194 - dismissed_reason: &449 + dismissed_at: *195 + dismissed_reason: &450 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -31110,13 +31263,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &450 + dismissed_comment: &451 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &451 + rule: &452 type: object properties: id: @@ -31169,42 +31322,42 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &452 + tool: &453 type: object properties: - name: *195 + name: *196 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *196 - most_recent_instance: &453 + guid: *197 + most_recent_instance: &454 type: object properties: - ref: &445 + ref: &446 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &463 + analysis_key: &464 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: &464 + environment: &465 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: &465 + category: &466 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: *197 + state: *198 commit_sha: type: string message: @@ -31218,7 +31371,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: &466 + location: &467 type: object description: Describe a region within a file for the alert. properties: @@ -31239,7 +31392,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: &467 + items: &468 type: string description: A classification of the file. For example to identify it as generated. @@ -31249,7 +31402,7 @@ paths: - generated - test - library - repository: *67 + repository: *68 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -31504,9 +31657,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: *70 + Link: *71 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31528,7 +31681,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *78 + - *79 - name: target_type in: query description: The target type of the code security configuration @@ -31547,8 +31700,8 @@ paths: schema: type: integer default: 30 - - *47 - *48 + - *49 responses: '200': description: Response @@ -31556,7 +31709,7 @@ paths: application/json: schema: type: array - items: *49 + items: *50 examples: default: value: @@ -31634,7 +31787,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *78 + - *79 requestBody: required: true content: @@ -31721,7 +31874,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *53 + code_scanning_options: *54 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -31730,7 +31883,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *52 + code_scanning_default_setup_options: *53 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -31875,9 +32028,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *49 + schema: *50 examples: - default: *198 + default: *199 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31899,16 +32052,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *199 + schema: *200 examples: - default: *200 - '304': *37 + default: *201 + '304': *38 '403': *29 '404': *6 x-github: @@ -31933,7 +32086,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *78 + - *79 requestBody: required: true content: @@ -31961,11 +32114,11 @@ paths: - 32 - 91 responses: - '204': *61 + '204': *60 '400': *14 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31987,17 +32140,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *78 - - *51 + - *79 + - *52 responses: '200': description: Response content: application/json: - schema: *49 + schema: *50 examples: - default: *198 - '304': *37 + default: *199 + '304': *38 '403': *29 '404': *6 x-github: @@ -32020,8 +32173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *78 - - *51 + - *79 + - *52 requestBody: required: true content: @@ -32108,8 +32261,8 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *52 - code_scanning_options: *53 + code_scanning_default_setup_options: *53 + code_scanning_options: *54 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -32241,7 +32394,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *49 + schema: *50 examples: default: value: @@ -32300,14 +32453,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *78 - - *51 + - *79 + - *52 responses: - '204': *61 + '204': *60 '400': *14 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32331,8 +32484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *78 - - *51 + - *79 + - *52 requestBody: required: true content: @@ -32371,7 +32524,7 @@ paths: - 32 - 91 responses: - '202': *39 + '202': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32395,8 +32548,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: - - *78 - - *51 + - *79 + - *52 requestBody: required: true content: @@ -32436,12 +32589,12 @@ paths: - none - private_and_internal - public - configuration: *49 + configuration: *50 examples: default: value: default_for_new_repos: all - configuration: *198 + configuration: *199 '403': *29 '404': *6 x-github: @@ -32465,8 +32618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *78 - - *51 + - *79 + - *52 - 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)." @@ -32475,8 +32628,8 @@ paths: schema: type: integer default: 30 - - *47 - *48 + - *49 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -32494,13 +32647,13 @@ paths: application/json: schema: type: array - items: *201 + items: *202 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *202 + repository: *203 '403': *29 '404': *6 x-github: @@ -32524,7 +32677,7 @@ paths: parameters: - *17 - *19 - - *78 + - *79 responses: '200': description: Response @@ -32540,7 +32693,7 @@ paths: type: integer codespaces: type: array - items: &262 + items: &263 type: object title: Codespace description: A codespace. @@ -32565,12 +32718,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *163 + repository: *164 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &479 + properties: &480 name: type: string description: The name of the machine. @@ -32612,7 +32765,7 @@ paths: - ready - in_progress nullable: true - required: &480 + required: &481 - name - display_name - operating_system @@ -32817,7 +32970,7 @@ paths: - pulls_url - recent_folders examples: - default: &263 + default: &264 value: total_count: 3 codespaces: @@ -33226,8 +33379,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': *37 - '500': *55 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -33249,7 +33402,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *78 + - *79 deprecated: true requestBody: required: true @@ -33288,12 +33441,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *37 + '304': *38 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33316,7 +33469,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *78 + - *79 deprecated: true requestBody: required: true @@ -33343,12 +33496,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *37 + '304': *38 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33371,7 +33524,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *78 + - *79 requestBody: required: true content: @@ -33397,12 +33550,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *37 + '304': *38 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33423,7 +33576,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *78 + - *79 - *17 - *19 responses: @@ -33441,7 +33594,7 @@ paths: type: integer secrets: type: array - items: &203 + items: &204 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -33480,7 +33633,7 @@ paths: - updated_at - visibility examples: - default: &481 + default: &482 value: total_count: 2 secrets: @@ -33493,7 +33646,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33512,13 +33665,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &482 + schema: &483 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -33547,7 +33700,7 @@ paths: - key_id - key examples: - default: &483 + default: &484 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33570,23 +33723,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '200': description: Response content: application/json: - schema: *203 + schema: *204 examples: - default: &485 + default: &486 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33606,8 +33759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -33662,7 +33815,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -33688,8 +33841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '204': description: Response @@ -33714,8 +33867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - *19 - *17 responses: @@ -33733,9 +33886,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *175 + default: *176 '404': *6 x-github: githubCloudOnly: false @@ -33757,8 +33910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -33808,8 +33961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -33842,8 +33995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -33879,7 +34032,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#list-organization-copilot-spaces parameters: - - *78 + - *79 - name: per_page description: The number of results per page (max 100). in: query @@ -33913,7 +34066,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &204 + items: &205 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -33961,7 +34114,7 @@ paths: owner: anyOf: - *4 - - *76 + - *77 description: The user or organization that owns this space. creator: *4 created_at: @@ -34176,7 +34329,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: *70 + Link: *71 '403': *29 '404': *6 x-github: @@ -34200,7 +34353,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#create-an-organization-copilot-space parameters: - - *78 + - *79 requestBody: required: true content: @@ -34294,9 +34447,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: &205 + default: &206 summary: Example response for an organization copilot space value: id: 84 @@ -34389,7 +34542,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#get-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -34401,9 +34554,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: *205 + default: *206 '403': *29 '404': *6 x-github: @@ -34427,7 +34580,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#set-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -34529,9 +34682,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: *205 + default: *206 '403': *29 '404': *6 '422': *15 @@ -34558,7 +34711,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#delete-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -34594,7 +34747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#list-collaborators-for-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -34614,7 +34767,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &206 + items: &207 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -34786,7 +34939,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#add-a-collaborator-to-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -34837,7 +34990,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *207 examples: user: value: @@ -34917,7 +35070,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: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -34967,7 +35120,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *207 examples: user: value: @@ -35049,7 +35202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#remove-a-collaborator-from-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35098,7 +35251,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#list-resources-for-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35118,7 +35271,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &207 + items: &208 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -35207,7 +35360,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#create-a-resource-for-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35261,7 +35414,7 @@ paths: description: Resource created content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -35277,7 +35430,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -35314,7 +35467,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#get-a-resource-for-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35332,7 +35485,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -35366,7 +35519,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#set-a-resource-for-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35401,7 +35554,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -35436,7 +35589,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#delete-a-resource-from-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35479,7 +35632,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: - - *78 + - *79 responses: '200': description: OK @@ -35588,7 +35741,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -35620,7 +35773,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: - - *78 + - *79 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -35643,7 +35796,7 @@ paths: currently being billed. seats: type: array - items: &265 + items: &266 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -35660,15 +35813,15 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *208 - required: *209 + properties: *209 + required: *210 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *210 - - *71 + - *211 + - *72 nullable: true pending_cancellation_date: type: string @@ -35792,8 +35945,8 @@ paths: type: User site_admin: false headers: - Link: *70 - '500': *55 + Link: *71 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -35826,7 +35979,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: - - *78 + - *79 requestBody: content: application/json: @@ -35868,7 +36021,7 @@ paths: default: value: seats_created: 5 - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -35904,7 +36057,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: - - *78 + - *79 requestBody: content: application/json: @@ -35946,7 +36099,7 @@ paths: default: value: seats_cancelled: 5 - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -35984,7 +36137,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: - - *78 + - *79 requestBody: content: application/json: @@ -36025,7 +36178,7 @@ paths: default: value: seats_created: 5 - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36061,7 +36214,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: - - *78 + - *79 requestBody: content: application/json: @@ -36103,7 +36256,7 @@ paths: default: value: seats_cancelled: 5 - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36139,7 +36292,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: - - *78 + - *79 responses: '200': description: Response @@ -36176,7 +36329,7 @@ paths: summary: No repositories enabled value: enabled_repositories: none - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36204,7 +36357,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: - - *78 + - *79 requestBody: required: true content: @@ -36229,7 +36382,7 @@ paths: responses: '204': description: No Content - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36259,7 +36412,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: - - *78 + - *79 - *17 - *19 responses: @@ -36274,17 +36427,17 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 required: - total_count - repositories examples: - default: *211 - '500': *55 + default: *212 + '500': *56 '401': *25 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36308,7 +36461,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: - - *78 + - *79 requestBody: required: true content: @@ -36334,11 +36487,11 @@ paths: responses: '204': description: No Content - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 x-github: githubCloudOnly: false @@ -36364,16 +36517,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: No Content - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 x-github: githubCloudOnly: false @@ -36398,16 +36551,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: No Content - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36438,7 +36591,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: - - *78 + - *79 responses: '200': description: OK @@ -36458,7 +36611,7 @@ paths: value: octo-repo: - "/src/some-dir/kernel.rs" - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36491,7 +36644,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: - - *78 + - *79 requestBody: description: The content exclusion rules to set required: true @@ -36543,7 +36696,7 @@ paths: default: value: message: Content exclusion rules updated successfully. - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36578,18 +36731,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: - - *78 - - *56 + - *79 + - *57 responses: '200': description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 - '204': *61 - '500': *55 + default: *59 + '204': *60 + '500': *56 '403': *29 '404': *6 x-github: @@ -36617,16 +36770,55 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics parameters: - - *78 + - *79 + responses: + '200': + description: Response + content: + application/json: + schema: *61 + examples: + default: *62 + '500': *56 + '403': *29 + '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: + - *79 + - *57 responses: '200': description: Response content: application/json: - schema: *59 + schema: *58 examples: - default: *60 - '500': *55 + default: *59 + '204': *60 + '500': *56 '403': *29 '404': *6 x-github: @@ -36654,18 +36846,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: - - *78 - - *56 + - *79 + - *57 responses: '200': description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 - '204': *61 - '500': *55 + default: *59 + '204': *60 + '500': *56 '403': *29 '404': *6 x-github: @@ -36693,18 +36885,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: - - *78 - - *56 + - *79 + - *57 responses: '200': description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 - '204': *61 - '500': *55 + default: *59 + '204': *60 + '500': *56 '403': *29 '404': *6 x-github: @@ -36732,16 +36924,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *59 + schema: *61 examples: - default: *60 - '500': *55 + default: *62 + '500': *56 '403': *29 '404': *6 x-github: @@ -36765,13 +36957,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *78 - - *212 + - *79 - *213 - *214 - *215 - *216 - *217 + - *218 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -36801,7 +36993,7 @@ paths: enum: - patch - deployment - - *218 + - *219 - name: runtime_risk in: query description: |- @@ -36810,11 +37002,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *219 - *220 - - *62 - - *47 + - *221 + - *63 - *48 + - *49 - *17 responses: '200': @@ -36823,10 +37015,10 @@ paths: application/json: schema: type: array - items: *221 + items: *222 examples: - default: *222 - '304': *37 + default: *223 + '304': *38 '400': *14 '403': *29 '404': *6 @@ -36851,7 +37043,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: - - *78 + - *79 - name: page in: query description: The page number of results to fetch. @@ -36874,9 +37066,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *224 + default: *225 '403': *29 '404': *6 x-github: @@ -36907,7 +37099,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -36973,7 +37165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *78 + - *79 requestBody: required: true content: @@ -37021,7 +37213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *78 + - *79 - *17 - *19 responses: @@ -37039,7 +37231,7 @@ paths: type: integer secrets: type: array - items: &225 + items: &226 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -37089,7 +37281,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37110,13 +37302,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &516 + schema: &517 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -37133,7 +37325,7 @@ paths: - key_id - key examples: - default: &517 + default: &518 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37156,14 +37348,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '200': description: Response content: application/json: - schema: *225 + schema: *226 examples: default: value: @@ -37191,8 +37383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -37247,7 +37439,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -37271,8 +37463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '204': description: Response @@ -37296,8 +37488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - *19 - *17 responses: @@ -37315,9 +37507,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *175 + default: *176 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37338,8 +37530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -37389,8 +37581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -37421,8 +37613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -37452,7 +37644,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: - - *78 + - *79 responses: '200': description: Response @@ -37460,7 +37652,7 @@ paths: application/json: schema: type: array - items: &275 + items: &276 title: Package description: A software package type: object @@ -37510,8 +37702,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *226 - required: *227 + properties: *227 + required: *228 nullable: true created_at: type: string @@ -37530,7 +37722,7 @@ paths: - created_at - updated_at examples: - default: &276 + default: &277 value: - id: 197 name: hello_docker @@ -37608,7 +37800,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *78 + - *79 - *17 - *19 responses: @@ -37618,7 +37810,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: 200-response: value: @@ -37690,7 +37882,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *78 + - *79 - *17 - *19 responses: @@ -37700,7 +37892,7 @@ paths: application/json: schema: type: array - items: &251 + items: &252 title: Organization Invitation description: Organization Invitation type: object @@ -37747,7 +37939,7 @@ paths: - invitation_teams_url - node_id examples: - default: &252 + default: &253 value: - id: 1 login: monalisa @@ -37780,7 +37972,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -37804,7 +37996,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *78 + - *79 - *17 - *19 responses: @@ -37814,7 +38006,7 @@ paths: application/json: schema: type: array - items: &228 + items: &229 title: Org Hook description: Org Hook type: object @@ -37902,7 +38094,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -37925,7 +38117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *78 + - *79 requestBody: required: true content: @@ -37985,9 +38177,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: &229 + default: &230 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -38034,8 +38226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *78 - - &230 + - *79 + - &231 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. @@ -38048,9 +38240,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *229 + default: *230 '404': *6 x-github: githubCloudOnly: false @@ -38077,8 +38269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *78 - - *230 + - *79 + - *231 requestBody: required: false content: @@ -38123,7 +38315,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: default: value: @@ -38164,8 +38356,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *78 - - *230 + - *79 + - *231 responses: '204': description: Response @@ -38192,8 +38384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *78 - - *230 + - *79 + - *231 responses: '200': description: Response @@ -38223,8 +38415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *78 - - *230 + - *79 + - *231 requestBody: required: false content: @@ -38274,11 +38466,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *78 - - *230 - - *17 + - *79 - *231 + - *17 - *232 + - *233 responses: '200': description: Response @@ -38286,9 +38478,9 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *234 + default: *235 '400': *14 '422': *15 x-github: @@ -38313,17 +38505,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *78 - - *230 + - *79 + - *231 - *16 responses: '200': description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: *236 + default: *237 '400': *14 '422': *15 x-github: @@ -38348,11 +38540,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *78 - - *230 + - *79 + - *231 - *16 responses: - '202': *39 + '202': *40 '400': *14 '422': *15 x-github: @@ -38378,8 +38570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *78 - - *230 + - *79 + - *231 responses: '204': description: Response @@ -38401,8 +38593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *78 - - &241 + - *79 + - &242 name: actor_type in: path description: The type of the actor @@ -38415,14 +38607,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &242 + - &243 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &237 + - &238 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`.' @@ -38430,7 +38622,7 @@ paths: required: true schema: type: string - - &238 + - &239 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) @@ -38441,7 +38633,7 @@ paths: type: string - *19 - *17 - - *62 + - *63 - name: sort description: The property to sort the results by. in: query @@ -38523,13 +38715,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *78 - - *237 + - *79 - *238 + - *239 - *19 - *17 - - *62 - - &247 + - *63 + - &248 name: sort description: The property to sort the results by. in: query @@ -38606,15 +38798,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *78 - - *237 + - *79 - *238 + - *239 responses: '200': description: Response content: application/json: - schema: &239 + schema: &240 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -38630,7 +38822,7 @@ paths: type: integer format: int64 examples: - default: &240 + default: &241 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -38650,24 +38842,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *78 - - &243 + - *79 + - &244 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *237 - *238 + - *239 responses: '200': description: Response content: application/json: - schema: *239 + schema: *240 examples: - default: *240 + default: *241 x-github: enabledForGitHubApps: true category: orgs @@ -38685,19 +38877,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *78 - - *237 + - *79 - *238 - - *241 + - *239 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *239 + schema: *240 examples: - default: *240 + default: *241 x-github: enabledForGitHubApps: true category: orgs @@ -38714,10 +38906,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *78 - - *237 + - *79 - *238 - - &244 + - *239 + - &245 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -38730,7 +38922,7 @@ paths: description: Response content: application/json: - schema: &245 + schema: &246 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -38746,7 +38938,7 @@ paths: type: integer format: int64 examples: - default: &246 + default: &247 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -38782,19 +38974,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *78 - - *243 - - *237 - - *238 + - *79 - *244 + - *238 + - *239 + - *245 responses: '200': description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 x-github: enabledForGitHubApps: true category: orgs @@ -38811,20 +39003,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *78 - - *241 + - *79 - *242 - - *237 + - *243 - *238 - - *244 + - *239 + - *245 responses: '200': description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 x-github: enabledForGitHubApps: true category: orgs @@ -38841,14 +39033,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *78 - - *243 - - *237 + - *79 + - *244 - *238 + - *239 - *19 - *17 - - *62 - - *247 + - *63 + - *248 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -38921,7 +39113,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *78 + - *79 responses: '200': description: Response @@ -38929,7 +39121,7 @@ paths: application/json: schema: *22 examples: - default: &554 + default: &555 value: id: 1 account: @@ -38998,7 +39190,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *78 + - *79 - *17 - *19 responses: @@ -39068,7 +39260,7 @@ paths: suspended_at: suspended_by: headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39087,7 +39279,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -39095,12 +39287,12 @@ paths: application/json: schema: anyOf: - - &249 + - &250 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &248 + limit: &249 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -39125,7 +39317,7 @@ paths: properties: {} additionalProperties: false examples: - default: &250 + default: &251 value: limit: collaborators_only origin: organization @@ -39149,18 +39341,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: application/json: - schema: &555 + schema: &556 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *248 + limit: *249 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -39184,9 +39376,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: *250 + default: *251 '422': *15 x-github: githubCloudOnly: false @@ -39204,7 +39396,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *78 + - *79 responses: '204': description: Response @@ -39228,7 +39420,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *78 + - *79 - *17 - *19 - name: role @@ -39262,11 +39454,11 @@ paths: application/json: schema: type: array - items: *251 + items: *252 examples: - default: *252 + default: *253 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -39287,7 +39479,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *78 + - *79 requestBody: required: false content: @@ -39341,7 +39533,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *252 examples: default: value: @@ -39395,8 +39587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *78 - - &253 + - *79 + - &254 name: invitation_id description: The unique identifier of the invitation. in: path @@ -39426,8 +39618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *78 - - *253 + - *79 + - *254 - *17 - *19 responses: @@ -39437,9 +39629,9 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: &274 + default: &275 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -39455,7 +39647,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -39474,7 +39666,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -39482,7 +39674,7 @@ paths: application/json: schema: type: array - items: &254 + items: &255 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -39644,7 +39836,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -39735,9 +39927,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *255 examples: - default: &255 + default: &256 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -39792,8 +39984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *78 - - &256 + - *79 + - &257 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -39901,9 +40093,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *255 examples: - default: *255 + default: *256 '404': *6 '422': *7 x-github: @@ -39927,10 +40119,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *78 - - *256 + - *79 + - *257 responses: - '204': *61 + '204': *60 '404': *6 '422': *7 x-github: @@ -39950,7 +40142,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -39958,9 +40150,9 @@ paths: application/json: schema: type: array - items: *257 + items: *258 examples: - default: &559 + default: &560 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -39996,7 +40188,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -40043,9 +40235,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *258 examples: - default: &258 + default: &259 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -40077,8 +40269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *78 - - &259 + - *79 + - &260 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -40131,9 +40323,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *258 examples: - default: *258 + default: *259 '404': *6 '422': *7 x-github: @@ -40157,8 +40349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *78 - - *259 + - *79 + - *260 responses: '204': description: Response @@ -40191,7 +40383,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *78 + - *79 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -40221,7 +40413,7 @@ paths: - closed - all default: open - - *260 + - *261 - name: type description: Can be the name of an issue type. in: query @@ -40239,8 +40431,8 @@ paths: - updated - comments default: created - - *62 - - *95 + - *63 + - *96 - *17 - *19 responses: @@ -40250,11 +40442,11 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: *261 + default: *262 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -40274,7 +40466,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *78 + - *79 - 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) @@ -40312,9 +40504,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 '422': *15 x-github: githubCloudOnly: false @@ -40332,8 +40524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response if requester is an organization member and user is @@ -40367,8 +40559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -40395,8 +40587,8 @@ paths: parameters: - *17 - *19 - - *78 - - *74 + - *79 + - *75 responses: '200': description: Response @@ -40412,11 +40604,11 @@ paths: type: integer codespaces: type: array - items: *262 + items: *263 examples: - default: *263 - '304': *37 - '500': *55 + default: *264 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -40439,9 +40631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *78 - - *74 - - &264 + - *79 + - *75 + - &265 name: codespace_name in: path required: true @@ -40449,9 +40641,9 @@ paths: schema: type: string responses: - '202': *39 - '304': *37 - '500': *55 + '202': *40 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -40474,17 +40666,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *78 - - *74 - - *264 + - *79 + - *75 + - *265 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: &478 + default: &479 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -40625,8 +40817,8 @@ paths: pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls/1 recent_folders: [] template: - '304': *37 - '500': *55 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -40657,14 +40849,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: - - *78 - - *74 + - *79 + - *75 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *265 + schema: *266 examples: default: value: @@ -40708,7 +40900,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -40733,14 +40925,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '200': description: Response content: application/json: - schema: &266 + schema: &267 title: Org Membership description: Org Membership type: object @@ -40784,7 +40976,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *76 + organization: *77 user: title: Simple User description: A GitHub user. @@ -40807,7 +40999,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &267 + response-if-user-has-an-active-admin-membership-with-organization: &268 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -40879,8 +41071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *78 - - *74 + - *79 + - *75 requestBody: required: false content: @@ -40908,9 +41100,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: - response-if-user-already-had-membership-with-organization: *267 + response-if-user-already-had-membership-with-organization: *268 '422': *15 '403': *29 '451': *15 @@ -40935,8 +41127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -40961,7 +41153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *78 + - *79 - *17 - *19 - name: exclude @@ -40982,7 +41174,7 @@ paths: application/json: schema: type: array - items: &268 + items: &269 title: Migration description: A migration. type: object @@ -41023,7 +41215,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *67 + items: *68 url: type: string format: uri @@ -41219,7 +41411,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -41235,7 +41427,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *78 + - *79 requestBody: required: true content: @@ -41311,7 +41503,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: default: value: @@ -41489,8 +41681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *78 - - &269 + - *79 + - &270 name: migration_id description: The unique identifier of the migration. in: path @@ -41517,7 +41709,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *268 + schema: *269 examples: default: value: @@ -41686,8 +41878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *78 - - *269 + - *79 + - *270 responses: '302': description: Response @@ -41708,8 +41900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *78 - - *269 + - *79 + - *270 responses: '204': description: Response @@ -41732,9 +41924,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *78 - - *269 - - &749 + - *79 + - *270 + - &750 name: repo_name description: repo_name parameter in: path @@ -41761,8 +41953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *78 - - *269 + - *79 + - *270 - *17 - *19 responses: @@ -41772,9 +41964,9 @@ paths: application/json: schema: type: array - items: *67 + items: *68 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -41800,7 +41992,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response - list of organization roles @@ -41816,7 +42008,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &271 + items: &272 title: Organization Role description: Organization roles type: object @@ -41963,8 +42155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *78 - - *80 + - *79 + - *81 responses: '204': description: Response @@ -41989,9 +42181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *78 - - *80 - - &270 + - *79 + - *81 + - &271 name: role_id description: The unique identifier of the role. in: path @@ -42026,9 +42218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *78 - - *80 - - *270 + - *79 + - *81 + - *271 responses: '204': description: Response @@ -42053,8 +42245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -42079,9 +42271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *78 - - *74 - - *270 + - *79 + - *75 + - *271 responses: '204': description: Response @@ -42111,9 +42303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *78 - - *74 - - *270 + - *79 + - *75 + - *271 responses: '204': description: Response @@ -42141,14 +42333,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *78 - - *270 + - *79 + - *271 responses: '200': description: Response content: application/json: - schema: *271 + schema: *272 examples: default: value: @@ -42198,8 +42390,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: - - *78 - - *270 + - *79 + - *271 - *17 - *19 responses: @@ -42277,8 +42469,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *272 - required: *273 + properties: *273 + required: *274 nullable: true type: description: The ownership type of the team @@ -42310,9 +42502,9 @@ paths: - type - parent examples: - default: *274 + default: *275 headers: - Link: *70 + Link: *71 '404': description: Response if the organization or role does not exist. '422': @@ -42339,8 +42531,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: - - *78 - - *270 + - *79 + - *271 - *17 - *19 responses: @@ -42368,13 +42560,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &348 + items: &349 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *272 - required: *273 + properties: *273 + required: *274 name: nullable: true type: string @@ -42469,9 +42661,9 @@ paths: - type - url examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 '404': description: Response if the organization or role does not exist. '422': @@ -42493,7 +42685,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *78 + - *79 - 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) @@ -42520,9 +42712,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42545,8 +42737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *78 - - *74 + - *79 + - *75 requestBody: required: false content: @@ -42603,8 +42795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -42661,8 +42853,8 @@ paths: - docker - nuget - container - - *78 - - &750 + - *79 + - &751 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -42698,12 +42890,12 @@ paths: application/json: schema: type: array - items: *275 + items: *276 examples: - default: *276 + default: *277 '403': *29 '401': *25 - '400': &752 + '400': &753 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -42725,7 +42917,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &277 + - &278 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 @@ -42743,20 +42935,20 @@ paths: - docker - nuget - container - - &278 + - &279 name: package_name description: The name of the package. in: path required: true schema: type: string - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *275 + schema: *276 examples: default: value: @@ -42808,9 +43000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *277 - *278 - - *78 + - *279 + - *79 responses: '204': description: Response @@ -42842,9 +43034,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *277 - *278 - - *78 + - *279 + - *79 - name: token description: package token schema: @@ -42876,9 +43068,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: - - *277 - *278 - - *78 + - *279 + - *79 - *19 - *17 - name: state @@ -42898,7 +43090,7 @@ paths: application/json: schema: type: array - items: &279 + items: &280 title: Package Version description: A version of a software package type: object @@ -43023,10 +43215,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *277 - *278 - - *78 - - &280 + - *279 + - *79 + - &281 name: package_version_id description: Unique identifier of the package version. in: path @@ -43038,7 +43230,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: default: value: @@ -43074,10 +43266,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *277 - *278 - - *78 - - *280 + - *279 + - *79 + - *281 responses: '204': description: Response @@ -43109,10 +43301,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *277 - *278 - - *78 - - *280 + - *279 + - *79 + - *281 responses: '204': description: Response @@ -43139,10 +43331,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: - - *78 + - *79 - *17 - *19 - - &281 + - &282 name: sort description: The property by which to sort the results. in: query @@ -43152,8 +43344,8 @@ paths: enum: - created_at default: created_at - - *62 - - &282 + - *63 + - &283 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -43164,7 +43356,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &283 + - &284 name: repository description: The name of the repository to use to filter the results. in: query @@ -43172,7 +43364,7 @@ paths: schema: type: string example: Hello-World - - &284 + - &285 name: permission description: The permission to use to filter the results. in: query @@ -43180,7 +43372,7 @@ paths: schema: type: string example: issues_read - - &285 + - &286 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) @@ -43190,7 +43382,7 @@ paths: schema: type: string format: date-time - - &286 + - &287 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) @@ -43200,7 +43392,7 @@ paths: schema: type: string format: date-time - - &287 + - &288 name: token_id description: The ID of the token in: query @@ -43212,7 +43404,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *55 + '500': *56 '422': *15 '404': *6 '403': *29 @@ -43344,7 +43536,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43364,7 +43556,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: - - *78 + - *79 requestBody: required: true content: @@ -43405,11 +43597,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *55 + '500': *56 '422': *15 '404': *6 '403': *29 - '202': *39 + '202': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43430,7 +43622,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: - - *78 + - *79 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -43466,11 +43658,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *55 + '500': *56 '422': *15 '404': *6 '403': *29 - '204': *61 + '204': *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43491,7 +43683,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: - - *78 + - *79 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -43502,7 +43694,7 @@ paths: - *17 - *19 responses: - '500': *55 + '500': *56 '404': *6 '403': *29 '200': @@ -43511,9 +43703,9 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: &288 + default: &289 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43626,7 +43818,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43647,19 +43839,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: - - *78 + - *79 - *17 - *19 - - *281 - - *62 - *282 + - *63 - *283 - *284 - *285 - *286 - *287 + - *288 responses: - '500': *55 + '500': *56 '422': *15 '404': *6 '403': *29 @@ -43786,7 +43978,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43806,7 +43998,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: - - *78 + - *79 requestBody: required: true content: @@ -43841,9 +44033,9 @@ paths: - 1296269 - 1296280 responses: - '500': *55 + '500': *56 '404': *6 - '202': *39 + '202': *40 '403': *29 '422': *15 x-github: @@ -43866,7 +44058,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: - - *78 + - *79 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -43894,9 +44086,9 @@ paths: value: action: revoke responses: - '500': *55 + '500': *56 '404': *6 - '204': *61 + '204': *60 '403': *29 '422': *15 x-github: @@ -43918,7 +44110,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: - - *78 + - *79 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -43928,7 +44120,7 @@ paths: - *17 - *19 responses: - '500': *55 + '500': *56 '404': *6 '403': *29 '200': @@ -43937,11 +44129,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *288 + default: *289 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43963,7 +44155,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *78 + - *79 - *17 - *19 responses: @@ -43981,7 +44173,7 @@ paths: type: integer configurations: type: array - items: &289 + items: &290 title: Organization private registry description: Private registry configuration for an organization type: object @@ -44120,7 +44312,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *70 + Link: *71 '400': *14 '404': *6 x-github: @@ -44143,7 +44335,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -44492,7 +44684,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &290 + org-private-registry-with-selected-visibility: &291 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -44533,7 +44725,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: - - *78 + - *79 responses: '200': description: Response @@ -44559,7 +44751,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -44581,16 +44773,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *78 - - *171 + - *79 + - *172 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *289 + schema: *290 examples: - default: *290 + default: *291 '404': *6 x-github: githubCloudOnly: false @@ -44612,8 +44804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -44800,8 +44992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *78 - - *171 + - *79 + - *172 responses: '204': description: Response @@ -44824,15 +45016,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *78 + - *79 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *47 - *48 + - *49 - *17 responses: '200': @@ -44841,7 +45033,7 @@ paths: application/json: schema: type: array - items: &291 + items: &292 title: Projects v2 Project description: A projects v2 project type: object @@ -44911,7 +45103,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &841 + properties: &842 id: type: number description: The unique identifier of the status update. @@ -44959,7 +45151,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &842 + required: &843 - id - node_id - created_at @@ -44984,7 +45176,7 @@ paths: - deleted_at - deleted_by examples: - default: &292 + default: &293 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -45067,8 +45259,8 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -45087,25 +45279,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &293 + - &294 name: project_number description: The project's number. in: path required: true schema: type: integer - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: *292 + default: *293 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -45124,8 +45316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *78 - - *293 + - *79 + - *294 requestBody: required: true description: Details of the draft item to create in the project. @@ -45159,7 +45351,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &300 title: Projects v2 Item description: An item belonging to a project type: object @@ -45172,8 +45364,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *88 - - &495 + - *89 + - &496 title: Pull Request Simple description: Pull Request Simple type: object @@ -45279,8 +45471,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *294 - required: *295 + properties: *295 + required: *296 nullable: true active_lock_reason: type: string @@ -45312,7 +45504,7 @@ paths: items: *4 requested_teams: type: array - items: *210 + items: *211 head: type: object properties: @@ -45320,7 +45512,7 @@ paths: type: string ref: type: string - repo: *82 + repo: *83 sha: type: string user: @@ -45343,7 +45535,7 @@ paths: type: string ref: type: string - repo: *82 + repo: *83 sha: type: string user: @@ -45362,7 +45554,7 @@ paths: _links: type: object properties: - comments: &296 + comments: &297 title: Link description: Hypermedia Link type: object @@ -45371,13 +45563,13 @@ paths: type: string required: - href - commits: *296 - statuses: *296 - html: *296 - issue: *296 - review_comments: *296 - review_comment: *296 - self: *296 + commits: *297 + statuses: *297 + html: *297 + issue: *297 + review_comments: *297 + review_comment: *297 + self: *297 required: - comments - commits @@ -45387,7 +45579,7 @@ paths: - review_comments - review_comment - self - author_association: *85 + author_association: *86 auto_merge: &624 title: Auto merge description: The status of auto merging a pull request. @@ -45413,6 +45605,45 @@ paths: - commit_title - commit_message nullable: true + stack: &625 + title: Pull Request Stack + description: The stack information associated with a pull + request. + type: object + 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 + nullable: true draft: description: Indicates whether or not the pull request is a draft. @@ -45488,7 +45719,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &298 + content_type: &299 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -45528,7 +45759,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &300 + draft_issue: &301 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -45583,7 +45814,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': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -45602,11 +45833,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *293 - - *78 + - *294 + - *79 - *17 - - *47 - *48 + - *49 responses: '200': description: Response @@ -45614,7 +45845,7 @@ paths: application/json: schema: type: array - items: &297 + items: &298 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -45764,7 +45995,7 @@ paths: - updated_at - project_url examples: - default: &773 + default: &774 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -45875,8 +46106,8 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -45894,8 +46125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *293 - - *78 + - *294 + - *79 requestBody: required: true content: @@ -45941,7 +46172,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &774 + items: &775 type: object properties: name: @@ -45978,7 +46209,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &775 + iteration_configuration: &776 type: object description: The configuration for iteration fields. properties: @@ -46028,7 +46259,7 @@ paths: value: name: Due date data_type: date - single_select_field: &776 + single_select_field: &777 summary: Create a single select field value: name: Priority @@ -46055,7 +46286,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &777 + iteration_field: &778 summary: Create an iteration field value: name: Sprint @@ -46079,9 +46310,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *297 + schema: *298 examples: - text_field: &778 + text_field: &779 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -46090,7 +46321,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: &779 + number_field: &780 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -46099,7 +46330,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: &780 + date_field: &781 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -46108,7 +46339,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: &781 + single_select_field: &782 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46142,7 +46373,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &782 + iteration_field: &783 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -46167,7 +46398,7 @@ paths: duration: 14 created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' - '304': *37 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -46187,23 +46418,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *293 - - &783 + - *294 + - &784 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: &784 + default: &785 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46238,8 +46469,8 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -46259,8 +46490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *293 - - *78 + - *294 + - *79 - 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. @@ -46282,8 +46513,8 @@ paths: maxItems: 50 items: type: string - - *47 - *48 + - *49 - *17 responses: '200': @@ -46292,7 +46523,7 @@ paths: application/json: schema: type: array - items: &301 + items: &302 title: Projects v2 Item description: An item belonging to a project type: object @@ -46308,7 +46539,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *298 + content_type: *299 content: type: object additionalProperties: true @@ -46351,7 +46582,7 @@ paths: - updated_at - archived_at examples: - default: &302 + default: &303 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -47028,8 +47259,8 @@ paths: data_type: sub_issues_progress value: headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -47048,8 +47279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *78 - - *293 + - *79 + - *294 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -47119,23 +47350,23 @@ paths: description: Response content: application/json: - schema: *299 + schema: *300 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *300 + value: *301 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *300 + value: *301 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *300 + value: *301 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *300 - '304': *37 + value: *301 + '304': *38 '403': *29 '401': *25 x-github: @@ -47154,9 +47385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *293 - - *78 - - &303 + - *294 + - *79 + - &304 name: item_id description: The unique identifier of the project item. in: path @@ -47182,12 +47413,12 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -47205,9 +47436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *293 - - *78 - - *303 + - *294 + - *79 + - *304 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -47277,13 +47508,13 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - text_field: *302 - number_field: *302 - date_field: *302 - single_select_field: *302 - iteration_field: *302 + text_field: *303 + number_field: *303 + date_field: *303 + single_select_field: *303 + iteration_field: *303 '401': *25 '403': *29 '404': *6 @@ -47303,9 +47534,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *293 - - *78 - - *303 + - *294 + - *79 + - *304 responses: '204': description: Response @@ -47328,8 +47559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *78 - - *293 + - *79 + - *294 requestBody: required: true content: @@ -47400,7 +47631,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &764 + schema: &765 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -47498,7 +47729,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &304 + value: &305 value: id: 1 number: 1 @@ -47544,11 +47775,11 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *304 + value: *305 roadmap_view: summary: Response for creating a roadmap view - value: *304 - '304': *37 + value: *305 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -47575,9 +47806,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *293 - - *78 - - &785 + - *294 + - *79 + - &786 name: view_number description: The number that identifies the project view. in: path @@ -47599,8 +47830,8 @@ paths: maxItems: 50 items: type: string - - *47 - *48 + - *49 - *17 responses: '200': @@ -47609,12 +47840,12 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *302 + default: *303 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -47636,7 +47867,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -47644,7 +47875,7 @@ paths: application/json: schema: type: array - items: &305 + items: &306 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -47712,7 +47943,7 @@ paths: - property_name - value_type examples: - default: &306 + default: &307 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -47761,7 +47992,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -47772,7 +48003,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *305 + items: *306 minItems: 1 maxItems: 100 required: @@ -47802,9 +48033,9 @@ paths: application/json: schema: type: array - items: *305 + items: *306 examples: - default: *306 + default: *307 '403': *29 '404': *6 x-github: @@ -47825,8 +48056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *78 - - &307 + - *79 + - &308 name: custom_property_name description: The custom property name in: path @@ -47838,9 +48069,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: &308 + default: &309 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -47874,8 +48105,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: - - *78 - - *307 + - *79 + - *308 requestBody: required: true content: @@ -47946,9 +48177,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *308 + default: *309 '403': *29 '404': *6 x-github: @@ -47971,10 +48202,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *78 - - *307 + - *79 + - *308 responses: - '204': *61 + '204': *60 '403': *29 '404': *6 x-github: @@ -47995,7 +48226,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *78 + - *79 - *17 - *19 - name: repository_query @@ -48033,7 +48264,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &309 + items: &310 title: Custom Property Value description: Custom property name and associated value type: object @@ -48072,7 +48303,7 @@ paths: - property_name: team value: octocat headers: - Link: *70 + Link: *71 '403': *29 '404': *6 x-github: @@ -48100,7 +48331,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: - - *78 + - *79 requestBody: required: true content: @@ -48120,7 +48351,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *309 + items: *310 required: - repository_names - properties @@ -48161,7 +48392,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *78 + - *79 - *17 - *19 responses: @@ -48173,9 +48404,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48192,8 +48423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response if user is a public member @@ -48217,8 +48448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -48239,8 +48470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -48264,7 +48495,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *78 + - *79 - name: type description: Specifies the types of repositories you want returned. in: query @@ -48310,11 +48541,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *288 + default: *289 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48333,7 +48564,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *78 + - *79 requestBody: required: true content: @@ -48514,7 +48745,7 @@ paths: description: Response content: application/json: - schema: &359 + schema: &360 title: Full Repository description: Full Repository type: object @@ -48799,8 +49030,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *310 - required: *311 + properties: *311 + required: *312 nullable: true temp_clone_token: type: string @@ -48884,8 +49115,8 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true organization: title: Simple User @@ -48894,8 +49125,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *82 - source: *82 + parent: *83 + source: *83 forks: type: integer master_branch: @@ -48912,7 +49143,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &500 + properties: &501 url: type: string format: uri @@ -48928,12 +49159,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &501 + required: &502 - url - key - name - html_url - security_and_analysis: *312 + security_and_analysis: *313 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -49017,7 +49248,7 @@ paths: - network_count - subscribers_count examples: - default: &361 + default: &362 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -49535,10 +49766,10 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *79 - *17 - *19 - - &647 + - &648 name: targets description: | A comma-separated list of rule targets to filter by. @@ -49556,7 +49787,7 @@ paths: application/json: schema: type: array - items: &339 + items: &340 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -49591,7 +49822,7 @@ paths: source: type: string description: The name of the source - enforcement: &315 + enforcement: &316 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -49604,7 +49835,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &316 + items: &317 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -49675,7 +49906,7 @@ paths: conditions: nullable: true anyOf: - - &313 + - &314 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -49699,7 +49930,7 @@ paths: match. items: type: string - - &317 + - &318 title: Organization ruleset conditions type: object description: |- @@ -49713,7 +49944,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *313 + - *314 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -49747,7 +49978,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *313 + - *314 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -49769,7 +50000,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *313 + - *314 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -49782,7 +50013,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &314 + items: &315 title: Repository ruleset property targeting definition type: object @@ -49815,17 +50046,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *314 + items: *315 required: - repository_property rules: type: array - items: &648 + items: &649 title: Repository Rule type: object description: A repository rule. oneOf: - - &318 + - &319 title: creation description: Only allow users with bypass permission to create matching refs. @@ -49837,7 +50068,7 @@ paths: type: string enum: - creation - - &319 + - &320 title: update description: Only allow users with bypass permission to update matching refs. @@ -49858,7 +50089,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &320 + - &321 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -49870,7 +50101,7 @@ paths: type: string enum: - deletion - - &321 + - &322 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -49882,7 +50113,7 @@ paths: type: string enum: - required_linear_history - - &645 + - &646 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -49960,7 +50191,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &322 + - &323 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -49984,7 +50215,7 @@ paths: type: string required: - required_deployment_environments - - &323 + - &324 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -49996,7 +50227,7 @@ paths: type: string enum: - required_signatures - - &324 + - &325 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -50139,7 +50370,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &325 + - &326 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -50187,7 +50418,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &326 + - &327 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -50199,7 +50430,7 @@ paths: type: string enum: - non_fast_forward - - &327 + - &328 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -50236,7 +50467,7 @@ paths: required: - operator - pattern - - &328 + - &329 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -50273,7 +50504,7 @@ paths: required: - operator - pattern - - &329 + - &330 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -50310,7 +50541,7 @@ paths: required: - operator - pattern - - &330 + - &331 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -50347,7 +50578,7 @@ paths: required: - operator - pattern - - &331 + - &332 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -50384,7 +50615,7 @@ paths: required: - operator - pattern - - &336 + - &337 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -50434,7 +50665,7 @@ paths: - repository_id required: - workflows - - &337 + - &338 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -50495,7 +50726,7 @@ paths: - tool required: - code_scanning_tools - - &338 + - &339 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -50521,7 +50752,7 @@ paths: type: boolean description: Copilot automatically reviews each new push to the pull request. - - &646 + - &647 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -50533,7 +50764,7 @@ paths: type: string enum: - license_compliance_scanning - - &332 + - &333 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -50558,7 +50789,7 @@ paths: type: string required: - restricted_file_paths - - &333 + - &334 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -50582,7 +50813,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &334 + - &335 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -50605,7 +50836,7 @@ paths: type: string required: - restricted_file_extensions - - &335 + - &336 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -50666,7 +50897,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *55 + '500': *56 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -50682,7 +50913,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *79 requestBody: description: Request body required: true @@ -50703,21 +50934,20 @@ paths: - push - repository default: branch - enforcement: *315 + enforcement: *316 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *316 - conditions: *317 + items: *317 + conditions: *318 rules: type: array description: An array of rules within the ruleset. - items: &341 + items: &342 title: Repository Rule type: object description: A repository rule. oneOf: - - *318 - *319 - *320 - *321 @@ -50738,6 +50968,7 @@ paths: - *336 - *337 - *338 + - *339 required: - name - enforcement @@ -50775,9 +51006,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *340 examples: - default: &340 + default: &341 value: id: 21 name: super cool ruleset @@ -50818,7 +51049,7 @@ paths: updated_at: '2023-09-23T16:29:47Z' '404': *6 '422': *15 - '500': *55 + '500': *56 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -50832,8 +51063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *78 - - &649 + - *79 + - &650 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 @@ -50848,7 +51079,7 @@ paths: in: query schema: type: string - - &650 + - &651 name: time_period description: |- The time period to filter by. @@ -50864,14 +51095,14 @@ paths: - week - month default: day - - &651 + - &652 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 - - &652 + - &653 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -50884,7 +51115,7 @@ paths: - bypass - all default: all - - &653 + - &654 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. @@ -50907,7 +51138,7 @@ paths: description: Response content: application/json: - schema: &654 + schema: &655 title: Rule Suites description: Response type: array @@ -50962,7 +51193,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &655 + default: &656 value: - id: 21 actor_id: 12 @@ -50986,7 +51217,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51005,8 +51236,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *78 - - &656 + - *79 + - &657 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -51022,7 +51253,7 @@ paths: description: Response content: application/json: - schema: &657 + schema: &658 title: Rule Suite description: Response type: object @@ -51121,7 +51352,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &658 + default: &659 value: id: 21 actor_id: 12 @@ -51156,7 +51387,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51182,7 +51413,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *79 - name: ruleset_id description: The ID of the ruleset. in: path @@ -51194,11 +51425,11 @@ paths: description: Response content: application/json: - schema: *339 + schema: *340 examples: - default: *340 + default: *341 '404': *6 - '500': *55 + '500': *56 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -51214,7 +51445,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *79 - name: ruleset_id description: The ID of the ruleset. in: path @@ -51240,16 +51471,16 @@ paths: - tag - push - repository - enforcement: *315 + enforcement: *316 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *316 - conditions: *317 + items: *317 + conditions: *318 rules: description: An array of rules within the ruleset. type: array - items: *341 + items: *342 examples: default: value: @@ -51284,12 +51515,12 @@ paths: description: Response content: application/json: - schema: *339 + schema: *340 examples: - default: *340 + default: *341 '404': *6 '422': *15 - '500': *55 + '500': *56 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -51305,7 +51536,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *79 - name: ruleset_id description: The ID of the ruleset. in: path @@ -51316,7 +51547,7 @@ paths: '204': description: Response '404': *6 - '500': *55 + '500': *56 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -51328,7 +51559,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *78 + - *79 - *17 - *19 - name: ruleset_id @@ -51344,7 +51575,7 @@ paths: application/json: schema: type: array - items: &342 + items: &343 title: Ruleset version type: object description: The historical version of a ruleset @@ -51368,7 +51599,7 @@ paths: type: string format: date-time examples: - default: &660 + default: &661 value: - version_id: 3 actor: @@ -51386,7 +51617,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51403,7 +51634,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *78 + - *79 - name: ruleset_id description: The ID of the ruleset. in: path @@ -51421,9 +51652,9 @@ paths: description: Response content: application/json: - schema: &661 + schema: &662 allOf: - - *342 + - *343 - type: object required: - state @@ -51470,7 +51701,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51492,8 +51723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *78 - - &662 + - *79 + - &663 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -51504,7 +51735,7 @@ paths: enum: - open - resolved - - &663 + - &664 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -51514,7 +51745,7 @@ paths: required: false schema: type: string - - &664 + - &665 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -51525,7 +51756,7 @@ paths: required: false schema: type: string - - &665 + - &666 name: exclude_providers in: query description: |- @@ -51536,7 +51767,7 @@ paths: required: false schema: type: string - - &666 + - &667 name: providers in: query description: |- @@ -51547,7 +51778,7 @@ paths: required: false schema: type: string - - &667 + - &668 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -51556,7 +51787,7 @@ paths: required: false schema: type: string - - &668 + - &669 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -51575,7 +51806,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &669 + - &670 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. @@ -51587,10 +51818,10 @@ paths: - created - updated default: created - - *62 + - *63 - *19 - *17 - - &670 + - &671 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 @@ -51600,7 +51831,7 @@ paths: required: false schema: type: string - - &671 + - &672 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 @@ -51610,7 +51841,7 @@ paths: required: false schema: type: string - - &672 + - &673 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -51619,7 +51850,7 @@ paths: required: false schema: type: string - - &673 + - &674 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -51628,7 +51859,7 @@ paths: schema: type: boolean default: false - - &674 + - &675 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -51637,7 +51868,7 @@ paths: schema: type: boolean default: false - - &675 + - &676 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -51646,7 +51877,7 @@ paths: schema: type: boolean default: false - - &676 + - &677 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -51657,7 +51888,7 @@ paths: required: false schema: type: boolean - - &677 + - &678 name: included_metadata in: query description: |- @@ -51668,7 +51899,7 @@ paths: required: false schema: type: string - - &678 + - &679 name: owner_email_hash in: query description: |- @@ -51690,8 +51921,8 @@ paths: items: type: object properties: - number: *188 - created_at: *189 + number: *189 + created_at: *190 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -51699,21 +51930,21 @@ paths: format: date-time readOnly: true nullable: true - url: *191 - html_url: *192 + url: *192 + html_url: *193 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &679 + state: &680 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: &680 + resolution: &681 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -51757,7 +51988,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *67 + repository: *68 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -51830,8 +52061,8 @@ paths: pull request. ' - oneOf: &681 - - &683 + oneOf: &682 + - &684 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -51889,7 +52120,7 @@ paths: - blob_url - commit_sha - commit_url - - &684 + - &685 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. @@ -51944,7 +52175,7 @@ paths: - page_url - commit_sha - commit_url - - &685 + - &686 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -51964,7 +52195,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &686 + - &687 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -51984,7 +52215,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &687 + - &688 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -52004,7 +52235,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &688 + - &689 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -52018,7 +52249,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &689 + - &690 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -52032,7 +52263,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &690 + - &691 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -52046,7 +52277,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &691 + - &692 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. @@ -52066,7 +52297,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &692 + - &693 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. @@ -52086,7 +52317,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &693 + - &694 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. @@ -52106,7 +52337,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &694 + - &695 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. @@ -52126,7 +52357,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &695 + - &696 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -52350,9 +52581,9 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52377,8 +52608,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *78 - - &696 + - *79 + - &697 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -52389,7 +52620,7 @@ paths: enum: - published - unpublished - - &697 + - &698 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -52400,7 +52631,7 @@ paths: enum: - enabled - disabled - - &698 + - &699 name: sort description: The property to sort the results by. in: query @@ -52412,7 +52643,7 @@ paths: - updated - name default: created - - *62 + - *63 - *19 - *17 responses: @@ -52422,7 +52653,7 @@ paths: application/json: schema: type: array - items: &343 + items: &344 title: Secret Scanning Custom Pattern description: A custom pattern for secret scanning. type: object @@ -52470,7 +52701,7 @@ paths: nullable: true items: type: string - custom_pattern_version: &344 + custom_pattern_version: &345 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -52494,7 +52725,7 @@ paths: - state - push_protection_enabled examples: - default: &699 + default: &700 value: - id: 1 name: Example Custom Pattern @@ -52523,7 +52754,7 @@ paths: created_at: '2024-01-16T14:20:00Z' updated_at: '2024-01-17T09:15:00Z' headers: - Link: *70 + Link: *71 '403': *29 '404': *6 post: @@ -52544,7 +52775,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *78 + - *79 requestBody: required: true content: @@ -52557,7 +52788,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &700 + items: &701 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -52594,7 +52825,7 @@ paths: items: type: string examples: - default: &701 + default: &702 value: patterns: - name: Example Custom Pattern @@ -52618,9 +52849,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *343 + items: *344 examples: - default: &702 + default: &703 value: created_patterns: - id: 1 @@ -52672,7 +52903,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &703 + items: &704 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -52715,7 +52946,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *78 + - *79 requestBody: required: true content: @@ -52729,7 +52960,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &704 + items: &705 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -52739,7 +52970,7 @@ paths: pattern_id: type: integer description: The ID of the custom pattern to delete. - custom_pattern_version: *344 + custom_pattern_version: *345 post_delete_action: type: string description: |- @@ -52752,7 +52983,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &705 + default: &706 value: patterns: - pattern_id: 2 @@ -52763,7 +52994,7 @@ paths: '400': *14 '403': *29 '404': *6 - '412': &345 + '412': &346 description: Precondition Failed content: application/json: @@ -52787,7 +53018,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *78 + - *79 - name: pattern_id in: path required: true @@ -52798,7 +53029,7 @@ paths: required: true content: application/json: - schema: &706 + schema: &707 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`, @@ -52837,9 +53068,9 @@ paths: description: Updated list of regexes that the secret must not match. items: type: string - custom_pattern_version: *344 + custom_pattern_version: *345 examples: - default: &707 + default: &708 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -52854,9 +53085,9 @@ paths: description: Pattern updated successfully. content: application/json: - schema: *343 + schema: *344 examples: - default: &708 + default: &709 value: id: 1 name: Example Custom Pattern @@ -52876,7 +53107,7 @@ paths: '400': *14 '403': *29 '404': *6 - '412': *345 + '412': *346 '422': *15 "/orgs/{org}/secret-scanning/pattern-configurations": get: @@ -52897,7 +53128,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *78 + - *79 responses: '200': description: Response @@ -52909,11 +53140,11 @@ paths: related to push protection. type: object properties: - pattern_config_version: *344 + pattern_config_version: *345 provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &346 + items: &347 type: object properties: token_type: @@ -52979,7 +53210,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *346 + items: *347 examples: default: value: @@ -53028,7 +53259,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *78 + - *79 requestBody: required: true content: @@ -53036,7 +53267,7 @@ paths: schema: type: object properties: - pattern_config_version: *344 + pattern_config_version: *345 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -53062,7 +53293,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *344 + custom_pattern_version: *345 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -53098,7 +53329,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 "/orgs/{org}/security-advisories": get: @@ -53116,8 +53347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *78 - - *62 + - *79 + - *63 - name: sort description: The property to sort the results by. in: query @@ -53129,8 +53360,8 @@ paths: - updated - published default: created - - *47 - *48 + - *49 - 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)." @@ -53160,7 +53391,7 @@ paths: application/json: schema: type: array - items: &712 + items: &713 description: A repository security advisory. type: object properties: @@ -53329,7 +53560,7 @@ paths: - patched_versions - vulnerable_functions additionalProperties: false - cvss_severities: *64 + cvss_severities: *65 cwes: type: array nullable: true @@ -53362,7 +53593,7 @@ paths: login: type: string description: The username of the user credited. - type: *347 + type: *348 credits_detailed: type: array nullable: true @@ -53372,7 +53603,7 @@ paths: type: object properties: user: *4 - type: *347 + type: *348 state: type: string description: The state of the user's acceptance of the @@ -53396,14 +53627,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *210 + items: *211 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *67 + - *68 required: - ghsa_id - cve_id @@ -53432,7 +53663,7 @@ paths: - private_fork additionalProperties: false examples: - default: &713 + default: &714 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -53811,7 +54042,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *78 + - *79 responses: '200': description: Response @@ -53819,7 +54050,7 @@ paths: application/json: schema: type: array - items: *348 + items: *349 examples: default: value: @@ -53859,8 +54090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *78 - - *80 + - *79 + - *81 responses: '204': description: Response @@ -53885,8 +54116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *78 - - *80 + - *79 + - *81 responses: '204': description: Response @@ -53913,7 +54144,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Immutable releases settings response @@ -53962,7 +54193,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *78 + - *79 responses: '204': description: Response @@ -54019,7 +54250,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *78 + - *79 - *19 - *17 responses: @@ -54037,9 +54268,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *175 + default: *176 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54058,7 +54289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *78 + - *79 requestBody: required: true content: @@ -54107,8 +54338,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: Response @@ -54130,8 +54361,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: Response @@ -54154,7 +54385,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *78 + - *79 - *17 - *19 responses: @@ -54172,7 +54403,7 @@ paths: type: integer network_configurations: type: array - items: &349 + items: &350 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -54243,7 +54474,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54262,7 +54493,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: - - *78 + - *79 requestBody: required: true content: @@ -54318,9 +54549,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *350 examples: - default: &350 + default: &351 value: id: 123456789ABCDEF name: My network configuration @@ -54348,8 +54579,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: - - *78 - - &351 + - *79 + - &352 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -54361,11 +54592,11 @@ paths: description: Response content: application/json: - schema: *349 + schema: *350 examples: - default: *350 + default: *351 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54384,8 +54615,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: - - *78 - - *351 + - *79 + - *352 requestBody: required: true content: @@ -54438,9 +54669,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *350 examples: - default: *350 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54459,8 +54690,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: - - *78 - - *351 + - *79 + - *352 responses: '204': description: Response @@ -54483,7 +54714,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: - - *78 + - *79 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -54537,7 +54768,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: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54555,7 +54786,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *78 + - *79 - *17 - *19 - name: team_type @@ -54577,11 +54808,11 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: *274 + default: *275 headers: - Link: *70 + Link: *71 '403': *29 x-github: githubCloudOnly: false @@ -54601,7 +54832,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *78 + - *79 requestBody: required: true content: @@ -54665,7 +54896,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &353 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -54728,8 +54959,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *272 - required: *273 + properties: *273 + required: *274 nullable: true members_count: type: integer @@ -54992,7 +55223,7 @@ paths: - repos_count - organization examples: - default: &353 + default: &354 value: id: 1 node_id: MDQ6VGVhbTE= @@ -55062,16 +55293,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *78 - - *80 + - *79 + - *81 responses: '200': description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: *353 + default: *354 '404': *6 x-github: githubCloudOnly: false @@ -55092,8 +55323,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *78 - - *80 + - *79 + - *81 requestBody: required: false content: @@ -55155,16 +55386,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *352 + schema: *353 examples: - default: *353 + default: *354 '201': description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: *353 + default: *354 '404': *6 '422': *15 '403': *29 @@ -55189,12 +55420,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *78 - - *80 + - *79 + - *81 responses: '204': description: Response - '422': &354 + '422': &355 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -55217,8 +55448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *78 - - *80 + - *79 + - *81 - *17 - *19 responses: @@ -55228,12 +55459,12 @@ paths: application/json: schema: type: array - items: *251 + items: *252 examples: - default: *252 + default: *253 headers: - Link: *70 - '422': *354 + Link: *71 + '422': *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55255,8 +55486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *78 - - *80 + - *79 + - *81 - name: role description: Filters members returned by their role in the team. in: query @@ -55277,7 +55508,7 @@ paths: application/json: schema: type: array - items: &728 + items: &729 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 @@ -55396,7 +55627,7 @@ paths: - type - url examples: - default: &729 + default: &730 value: - login: octocat id: 1 @@ -55419,7 +55650,7 @@ paths: role: member inherited: false headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55447,15 +55678,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *78 - - *80 - - *74 + - *79 + - *81 + - *75 responses: '200': description: Response content: application/json: - schema: &355 + schema: &356 title: Team Membership description: Team Membership type: object @@ -55482,7 +55713,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &730 + response-if-user-is-a-team-maintainer: &731 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -55518,9 +55749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *78 - - *80 - - *74 + - *79 + - *81 + - *75 requestBody: required: false content: @@ -55545,9 +55776,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *356 examples: - response-if-users-membership-with-team-is-now-pending: &731 + response-if-users-membership-with-team-is-now-pending: &732 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -55582,9 +55813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *78 - - *80 - - *74 + - *79 + - *81 + - *75 responses: '204': description: Response @@ -55610,8 +55841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *78 - - *80 + - *79 + - *81 - *17 - *19 responses: @@ -55621,11 +55852,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *288 + default: *289 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55652,16 +55883,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *78 - - *80 - - *356 + - *79 + - *81 - *357 + - *358 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &732 + schema: &733 title: Team Repository description: A team's access to a repository. type: object @@ -55684,8 +55915,8 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true forks: type: integer @@ -56223,10 +56454,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *78 - - *80 - - *356 + - *79 + - *81 - *357 + - *358 requestBody: required: false content: @@ -56271,10 +56502,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *78 - - *80 - - *356 + - *79 + - *81 - *357 + - *358 responses: '204': description: Response @@ -56298,8 +56529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *78 - - *80 + - *79 + - *81 - *17 - *19 responses: @@ -56309,9 +56540,9 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - response-if-child-teams-exist: &733 + response-if-child-teams-exist: &734 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -56339,7 +56570,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56364,7 +56595,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *78 + - *79 - name: security_product in: path description: The security feature to enable or disable. @@ -56464,7 +56695,7 @@ paths: resources: type: object properties: - core: &358 + core: &359 title: Rate Limit type: object properties: @@ -56481,17 +56712,17 @@ paths: - remaining - reset - used - graphql: *358 - search: *358 - code_search: *358 - source_import: *358 - integration_manifest: *358 - actions_runner_registration: *358 - scim: *358 - dependency_snapshots: *358 - dependency_sbom: *358 - code_scanning_autofix: *358 - copilot_usage_records: *358 + graphql: *359 + search: *359 + code_search: *359 + source_import: *359 + integration_manifest: *359 + actions_runner_registration: *359 + scim: *359 + dependency_snapshots: *359 + dependency_sbom: *359 + code_scanning_autofix: *359 + copilot_usage_records: *359 required: - core - search @@ -56565,7 +56796,7 @@ paths: schema: type: integer format: timestamp - '304': *37 + '304': *38 '404': *6 x-github: githubCloudOnly: false @@ -56588,14 +56819,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *359 + schema: *360 examples: default-response: summary: Default response @@ -57099,7 +57330,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *360 + '301': *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57117,8 +57348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *356 - *357 + - *358 requestBody: required: false content: @@ -57428,10 +57659,10 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: - default: *361 - '307': &362 + default: *362 + '307': &363 description: Temporary Redirect content: application/json: @@ -57460,8 +57691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -57483,9 +57714,9 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *362 + '307': *363 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57507,11 +57738,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *356 - *357 + - *358 - *17 - *19 - - &394 + - &395 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -57534,7 +57765,7 @@ paths: type: integer artifacts: type: array - items: &363 + items: &364 title: Artifact description: An artifact type: object @@ -57612,7 +57843,7 @@ paths: - expires_at - updated_at examples: - default: &395 + default: &396 value: total_count: 2 artifacts: @@ -57651,7 +57882,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57673,9 +57904,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *356 - *357 - - &364 + - *358 + - &365 name: artifact_id description: The unique identifier of the artifact. in: path @@ -57687,7 +57918,7 @@ paths: description: Response content: application/json: - schema: *363 + schema: *364 examples: default: value: @@ -57725,9 +57956,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *356 - *357 - - *364 + - *358 + - *365 responses: '204': description: Response @@ -57751,9 +57982,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *356 - *357 - - *364 + - *358 + - *365 - name: archive_format in: path required: true @@ -57763,15 +57994,11 @@ paths: '302': description: Response headers: - Location: &519 + Location: &520 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': &560 - description: Gone - content: - application/json: - schema: *3 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57792,14 +58019,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: &365 + schema: &366 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -57810,7 +58037,7 @@ paths: type: integer example: 14 examples: - default: *42 + default: *43 '403': *29 '404': *6 x-github: @@ -57832,15 +58059,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *356 - *357 + - *358 requestBody: required: true content: application/json: - schema: *365 + schema: *366 examples: - selected_actions: *42 + selected_actions: *43 responses: '204': description: Response @@ -57867,14 +58094,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: &366 + schema: &367 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -57885,7 +58112,7 @@ paths: type: integer example: 10 examples: - default: *44 + default: *45 '403': *29 '404': *6 x-github: @@ -57907,15 +58134,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *356 - *357 + - *358 requestBody: required: true content: application/json: - schema: *366 + schema: *367 examples: - selected_actions: *44 + selected_actions: *45 responses: '204': description: Response @@ -57944,14 +58171,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: default: value: @@ -57977,11 +58204,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *356 - *357 + - *358 - *17 - *19 - - &368 + - &369 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 @@ -58009,13 +58236,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *62 + - *63 responses: '200': description: Response content: application/json: - schema: &369 + schema: &370 title: Repository actions caches description: Repository actions caches type: object @@ -58057,7 +58284,7 @@ paths: - total_count - actions_caches examples: - default: &370 + default: &371 value: total_count: 1 actions_caches: @@ -58069,7 +58296,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58089,23 +58316,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: - - *356 - *357 + - *358 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *369 + schema: *370 examples: - default: *370 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58125,8 +58352,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: - - *356 - *357 + - *358 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -58155,10 +58382,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *356 - *357 + - *358 - *17 - - *48 + - *49 responses: '200': description: Response @@ -58206,7 +58433,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: *70 + Link: *71 '422': *15 x-github: githubCloudOnly: false @@ -58238,8 +58465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *356 - *357 + - *358 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -58391,9 +58618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *356 - *357 - - &371 + - *358 + - &372 name: job_id description: The unique identifier of the job. in: path @@ -58405,7 +58632,7 @@ paths: description: Response content: application/json: - schema: &398 + schema: &399 title: Job description: Information of a job execution in a workflow run type: object @@ -58712,9 +58939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *356 - *357 - - *371 + - *358 + - *372 responses: '302': description: Response @@ -58742,9 +58969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *356 - *357 - - *371 + - *358 + - *372 requestBody: required: false content: @@ -58770,7 +58997,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -58794,8 +59021,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: - - *356 - *357 + - *358 responses: '200': description: Status response @@ -58854,8 +59081,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: - - *356 - *357 + - *358 requestBody: required: true content: @@ -58894,7 +59121,7 @@ paths: description: Empty response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -58923,8 +59150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -58942,7 +59169,7 @@ paths: type: integer secrets: type: array - items: &400 + items: &401 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -58962,7 +59189,7 @@ paths: - created_at - updated_at examples: - default: &401 + default: &402 value: total_count: 2 secrets: @@ -58973,7 +59200,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58995,9 +59222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *356 - *357 - - *180 + - *358 + - *181 - *19 responses: '200': @@ -59014,7 +59241,7 @@ paths: type: integer variables: type: array - items: &402 + items: &403 title: Actions Variable type: object properties: @@ -59044,7 +59271,7 @@ paths: - created_at - updated_at examples: - default: &403 + default: &404 value: total_count: 2 variables: @@ -59057,7 +59284,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59077,8 +59304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -59087,12 +59314,12 @@ paths: schema: type: object properties: - enabled: &373 + enabled: &374 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *148 - selected_actions_url: *372 - sha_pinning_required: *149 + allowed_actions: *149 + selected_actions_url: *373 + sha_pinning_required: *150 required: - enabled examples: @@ -59120,8 +59347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -59132,9 +59359,9 @@ paths: schema: type: object properties: - enabled: *373 - allowed_actions: *148 - sha_pinning_required: *149 + enabled: *374 + allowed_actions: *149 + sha_pinning_required: *150 required: - enabled examples: @@ -59164,14 +59391,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: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: &374 + schema: &375 type: object properties: access_level: @@ -59188,7 +59415,7 @@ paths: required: - access_level examples: - default: &375 + default: &376 value: access_level: organization x-github: @@ -59212,15 +59439,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: - - *356 - *357 + - *358 requestBody: required: true content: application/json: - schema: *374 + schema: *375 examples: - default: *375 + default: *376 responses: '204': description: Response @@ -59244,14 +59471,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *376 + schema: *377 examples: default: value: @@ -59275,8 +59502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *356 - *357 + - *358 responses: '204': description: Empty response for successful settings update @@ -59286,7 +59513,7 @@ paths: required: true content: application/json: - schema: *377 + schema: *378 examples: default: summary: Set retention days @@ -59310,16 +59537,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *378 + default: *379 '404': *6 x-github: enabledForGitHubApps: true @@ -59338,8 +59565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -59349,7 +59576,7 @@ paths: required: true content: application/json: - schema: *150 + schema: *151 examples: default: summary: Set approval policy to first time contributors @@ -59373,16 +59600,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: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: *151 + default: *152 '403': *29 '404': *6 x-github: @@ -59402,15 +59629,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: - - *356 - *357 + - *358 requestBody: required: true content: application/json: - schema: *380 + schema: *381 examples: - default: *151 + default: *152 responses: '204': description: Empty response for successful settings update @@ -59434,16 +59661,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *153 + schema: *154 examples: - default: *154 + default: *155 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59462,8 +59689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -59471,9 +59698,9 @@ paths: required: false content: application/json: - schema: *153 + schema: *154 examples: - selected_actions: *154 + selected_actions: *155 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59495,16 +59722,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *381 + schema: *382 examples: - default: *158 + default: *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59525,8 +59752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *356 - *357 + - *358 responses: '204': description: Success response @@ -59537,9 +59764,9 @@ paths: required: true content: application/json: - schema: *382 + schema: *383 examples: - default: *158 + default: *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59566,8 +59793,8 @@ paths: in: query schema: type: string - - *356 - *357 + - *358 - *17 - *19 responses: @@ -59585,11 +59812,11 @@ paths: type: integer runners: type: array - items: *165 + items: *166 examples: - default: *166 + default: *167 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59611,8 +59838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -59620,9 +59847,9 @@ paths: application/json: schema: type: array - items: *383 + items: *384 examples: - default: *384 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59644,8 +59871,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: - - *356 - *357 + - *358 requestBody: required: true content: @@ -59688,10 +59915,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *385 + '201': *386 '404': *6 '422': *7 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59719,16 +59946,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *356 - *357 + - *358 responses: '201': description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: *386 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59756,16 +59983,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *356 - *357 + - *358 responses: '201': description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: *387 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59787,17 +60014,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: - - *356 - *357 - - *164 + - *358 + - *165 responses: '200': description: Response content: application/json: - schema: *165 + schema: *166 examples: - default: *388 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59818,9 +60045,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: - - *356 - *357 - - *164 + - *358 + - *165 responses: '204': description: Response @@ -59846,11 +60073,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: - - *356 - *357 - - *164 + - *358 + - *165 responses: - '200': *169 + '200': *170 '404': *6 x-github: githubCloudOnly: false @@ -59872,9 +60099,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: - - *356 - *357 - - *164 + - *358 + - *165 requestBody: required: true content: @@ -59898,7 +60125,7 @@ paths: - gpu - accelerated responses: - '200': *169 + '200': *170 '404': *6 '422': *7 x-github: @@ -59922,9 +60149,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: - - *356 - *357 - - *164 + - *358 + - *165 requestBody: required: true content: @@ -59949,7 +60176,7 @@ paths: - gpu - accelerated responses: - '200': *169 + '200': *170 '404': *6 '422': *7 x-github: @@ -59973,11 +60200,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: - - *356 - *357 - - *164 + - *358 + - *165 responses: - '200': *389 + '200': *390 '404': *6 x-github: githubCloudOnly: false @@ -60004,12 +60231,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: - - *356 - *357 - - *164 - - *390 + - *358 + - *165 + - *391 responses: - '200': *169 + '200': *170 '404': *6 '422': *7 x-github: @@ -60035,9 +60262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *356 - *357 - - &406 + - *358 + - &407 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. @@ -60045,7 +60272,7 @@ paths: required: false schema: type: string - - &407 + - &408 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -60053,7 +60280,7 @@ paths: required: false schema: type: string - - &408 + - &409 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -60062,7 +60289,7 @@ paths: required: false schema: type: string - - &409 + - &410 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 @@ -60089,7 +60316,7 @@ paths: - pending - *17 - *19 - - &410 + - &411 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)." @@ -60098,7 +60325,7 @@ paths: schema: type: string format: date-time - - &391 + - &392 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -60107,13 +60334,13 @@ paths: schema: type: boolean default: false - - &411 + - &412 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &412 + - &413 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -60136,7 +60363,7 @@ paths: type: integer workflow_runs: type: array - items: &392 + items: &393 title: Workflow Run description: An invocation of a workflow type: object @@ -60231,7 +60458,7 @@ paths: that triggered the run. type: array nullable: true - items: *93 + items: *94 created_at: type: string format: date-time @@ -60284,7 +60511,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &436 + properties: &437 id: type: string description: SHA for the commit @@ -60335,7 +60562,7 @@ paths: - name - email nullable: true - required: &437 + required: &438 - id - tree_id - message @@ -60343,8 +60570,8 @@ paths: - author - committer nullable: true - repository: *163 - head_repository: *163 + repository: *164 + head_repository: *164 head_repository_id: type: integer example: 5 @@ -60382,7 +60609,7 @@ paths: - workflow_url - pull_requests examples: - default: &413 + default: &414 value: total_count: 1 workflow_runs: @@ -60596,7 +60823,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: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60618,24 +60845,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *356 - *357 - - &393 + - *358 + - &394 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *391 + - *392 responses: '200': description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: &396 + default: &397 value: id: 30433642 name: Build @@ -60876,9 +61103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *356 - *357 - - *393 + - *358 + - *394 responses: '204': description: Response @@ -60901,9 +61128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *356 - *357 - - *393 + - *358 + - *394 responses: '200': description: Response @@ -61022,15 +61249,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: - - *356 - *357 - - *393 + - *358 + - *394 responses: '201': description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -61057,13 +61284,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *356 - *357 - - *393 + - *358 + - *394 - *17 - *19 - - *394 - - *62 + - *395 + - *63 responses: '200': description: Response @@ -61079,11 +61306,11 @@ paths: type: integer artifacts: type: array - items: *363 + items: *364 examples: - default: *395 + default: *396 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61105,25 +61332,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *356 - *357 - - *393 - - &397 + - *358 + - *394 + - &398 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *391 + - *392 responses: '200': description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: *396 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61146,10 +61373,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *356 - *357 - - *393 - - *397 + - *358 + - *394 + - *398 - *17 - *19 responses: @@ -61167,9 +61394,9 @@ paths: type: integer jobs: type: array - items: *398 + items: *399 examples: - default: &399 + default: &400 value: total_count: 1 jobs: @@ -61258,7 +61485,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -61282,10 +61509,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *356 - *357 - - *393 - - *397 + - *358 + - *394 + - *398 responses: '302': description: Response @@ -61313,19 +61540,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *356 - *357 - - *393 + - *358 + - *394 responses: '202': description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61361,12 +61588,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *356 - *357 - - *393 + - *358 + - *394 - *17 - - *47 - *48 + - *49 responses: '200': description: Response @@ -61509,7 +61736,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: *70 + Link: *71 '404': *6 '422': *15 x-github: @@ -61534,9 +61761,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: - - *356 - *357 - - *393 + - *358 + - *394 requestBody: required: true content: @@ -61603,19 +61830,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *356 - *357 - - *393 + - *358 + - *394 responses: '202': description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61638,9 +61865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *356 - *357 - - *393 + - *358 + - *394 - 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 @@ -61670,11 +61897,11 @@ paths: type: integer jobs: type: array - items: *398 + items: *399 examples: - default: *399 + default: *400 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61697,9 +61924,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *356 - *357 - - *393 + - *358 + - *394 responses: '302': description: Response @@ -61726,14 +61953,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *356 - *357 - - *393 + - *358 + - *394 responses: '204': description: Response '403': *29 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61755,9 +61982,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *356 - *357 - - *393 + - *358 + - *394 responses: '200': description: Response @@ -61817,7 +62044,7 @@ paths: items: type: object properties: - type: &526 + type: &527 type: string description: The type of reviewer. enum: @@ -61827,7 +62054,7 @@ paths: reviewer: anyOf: - *4 - - *210 + - *211 required: - environment - wait_timer @@ -61902,9 +62129,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *356 - *357 - - *393 + - *358 + - *394 requestBody: required: true content: @@ -61951,12 +62178,12 @@ paths: application/json: schema: type: array - items: &521 + items: &522 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &804 + properties: &805 url: type: string format: uri @@ -62039,9 +62266,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 - required: &805 + properties: *84 + required: *85 + required: &806 - id - node_id - sha @@ -62057,7 +62284,7 @@ paths: - created_at - updated_at examples: - default: &522 + default: &523 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -62113,9 +62340,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *356 - *357 - - *393 + - *358 + - *394 requestBody: required: false content: @@ -62136,7 +62363,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -62159,9 +62386,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *356 - *357 - - *393 + - *358 + - *394 requestBody: required: false content: @@ -62182,7 +62409,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -62214,9 +62441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *356 - *357 - - *393 + - *358 + - *394 responses: '200': description: Response @@ -62353,8 +62580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -62372,11 +62599,11 @@ paths: type: integer secrets: type: array - items: *400 + items: *401 examples: - default: *401 + default: *402 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62399,16 +62626,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62430,17 +62657,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 responses: '200': description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: &414 + default: &415 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -62466,9 +62693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 requestBody: required: true content: @@ -62499,7 +62726,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -62525,9 +62752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 responses: '204': description: Response @@ -62552,9 +62779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *356 - *357 - - *180 + - *358 + - *181 - *19 responses: '200': @@ -62571,11 +62798,11 @@ paths: type: integer variables: type: array - items: *402 + items: *403 examples: - default: *403 + default: *404 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62596,8 +62823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -62624,7 +62851,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -62649,17 +62876,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *356 - *357 - - *174 + - *358 + - *175 responses: '200': description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: &415 + default: &416 value: name: USERNAME value: octocat @@ -62685,9 +62912,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *356 - *357 - - *174 + - *358 + - *175 requestBody: required: true content: @@ -62729,9 +62956,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *356 - *357 - - *174 + - *358 + - *175 responses: '204': description: Response @@ -62756,8 +62983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -62775,7 +63002,7 @@ paths: type: integer workflows: type: array - items: &404 + items: &405 title: Workflow description: A GitHub Actions workflow type: object @@ -62859,7 +63086,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: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62882,9 +63109,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *356 - *357 - - &405 + - *358 + - &406 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -62899,7 +63126,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: default: value: @@ -62932,9 +63159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *356 - *357 - - *405 + - *358 + - *406 responses: '204': description: Response @@ -62959,9 +63186,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *356 - *357 - - *405 + - *358 + - *406 responses: '200': description: Response including the workflow run ID and URLs. @@ -63041,9 +63268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *356 - *357 - - *405 + - *358 + - *406 responses: '204': description: Response @@ -63070,19 +63297,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *356 - *357 - - *405 + - *358 - *406 - *407 - *408 - *409 + - *410 - *17 - *19 - - *410 - - *391 - *411 + - *392 - *412 + - *413 responses: '200': description: Response @@ -63098,11 +63325,11 @@ paths: type: integer workflow_runs: type: array - items: *392 + items: *393 examples: - default: *413 + default: *414 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63132,9 +63359,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *356 - *357 - - *405 + - *358 + - *406 responses: '200': description: Response @@ -63195,12 +63422,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *356 - *357 - - *62 + - *358 + - *63 - *17 - - *47 - *48 + - *49 - name: ref description: |- The Git reference for the activities you want to list. @@ -63341,7 +63568,7 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 '422': *7 x-github: githubCloudOnly: false @@ -63365,8 +63592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -63384,11 +63611,11 @@ paths: type: integer secrets: type: array - items: *400 + items: *401 examples: - default: *401 + default: *402 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63410,9 +63637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables parameters: - - *356 - *357 - - *180 + - *358 + - *181 - *19 responses: '200': @@ -63429,11 +63656,11 @@ paths: type: integer variables: type: array - items: *402 + items: *403 examples: - default: *403 + default: *404 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63456,8 +63683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-secrets parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -63475,11 +63702,11 @@ paths: type: integer secrets: type: array - items: *400 + items: *401 examples: - default: *401 + default: *402 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63502,16 +63729,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63533,17 +63760,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 responses: '200': description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: *414 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63565,9 +63792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 requestBody: required: true content: @@ -63598,7 +63825,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -63624,9 +63851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 responses: '204': description: Response @@ -63651,9 +63878,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-variables parameters: - - *356 - *357 - - *180 + - *358 + - *181 - *19 responses: '200': @@ -63670,11 +63897,11 @@ paths: type: integer variables: type: array - items: *402 + items: *403 examples: - default: *403 + default: *404 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63695,8 +63922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-a-repository-variable parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -63723,7 +63950,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -63748,17 +63975,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-a-repository-variable parameters: - - *356 - *357 - - *174 + - *358 + - *175 responses: '200': description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: *415 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63779,9 +64006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-a-repository-variable parameters: - - *356 - *357 - - *174 + - *358 + - *175 requestBody: required: true content: @@ -63823,9 +64050,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable parameters: - - *356 - *357 - - *174 + - *358 + - *175 responses: '204': description: Response @@ -63846,8 +64073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -63859,9 +64086,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -63884,8 +64111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *356 - *357 + - *358 - name: assignee in: path required: true @@ -63921,8 +64148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -64032,11 +64259,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *356 - *357 + - *358 - *17 - - *47 - *48 + - *49 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -64074,7 +64301,7 @@ paths: initiator: type: string examples: - default: *416 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64094,8 +64321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -64103,7 +64330,7 @@ paths: application/json: schema: type: array - items: &417 + items: &418 title: Autolink reference description: An autolink reference. type: object @@ -64157,8 +64384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -64197,9 +64424,9 @@ paths: description: response content: application/json: - schema: *417 + schema: *418 examples: - default: &418 + default: &419 value: id: 1 key_prefix: TICKET- @@ -64230,9 +64457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *356 - *357 - - &419 + - *358 + - &420 name: autolink_id description: The unique identifier of the autolink. in: path @@ -64244,9 +64471,9 @@ paths: description: Response content: application/json: - schema: *417 + schema: *418 examples: - default: *418 + default: *419 '404': *6 x-github: githubCloudOnly: false @@ -64266,9 +64493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *356 - *357 - - *419 + - *358 + - *420 responses: '204': description: Response @@ -64292,8 +64519,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: - - *356 - *357 + - *358 responses: '200': description: Response if Dependabot is enabled @@ -64341,8 +64568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -64363,8 +64590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -64384,8 +64611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *356 - *357 + - *358 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -64423,7 +64650,7 @@ paths: - url protected: type: boolean - protection: &421 + protection: &422 title: Branch Protection description: Branch Protection type: object @@ -64465,7 +64692,7 @@ paths: required: - contexts - checks - enforce_admins: &424 + enforce_admins: &425 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -64480,7 +64707,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &426 + required_pull_request_reviews: &427 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -64501,7 +64728,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *210 + items: *211 apps: description: The list of apps with review dismissal access. @@ -64530,7 +64757,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *210 + items: *211 apps: description: The list of apps allowed to bypass pull request requirements. @@ -64556,7 +64783,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &423 + restrictions: &424 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -64619,7 +64846,7 @@ paths: type: string teams: type: array - items: *210 + items: *211 apps: type: array items: @@ -64815,7 +65042,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -64833,9 +65060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *356 - *357 - - &422 + - *358 + - &423 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). @@ -64849,14 +65076,14 @@ paths: description: Response content: application/json: - schema: &432 + schema: &433 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &491 + commit: &492 title: Commit description: Commit type: object @@ -64890,7 +65117,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &420 + properties: &421 name: type: string example: '"Chris Wanstrath"' @@ -64906,7 +65133,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *420 + properties: *421 nullable: true message: type: string @@ -64927,7 +65154,7 @@ paths: required: - sha - url - verification: &544 + verification: &545 title: Verification type: object properties: @@ -64961,12 +65188,12 @@ paths: nullable: true oneOf: - *4 - - *172 + - *173 committer: nullable: true oneOf: - *4 - - *172 + - *173 parents: type: array items: @@ -64997,7 +65224,7 @@ paths: type: integer files: type: array - items: &504 + items: &505 title: Diff Entry description: Diff Entry type: object @@ -65081,7 +65308,7 @@ paths: - self protected: type: boolean - protection: *421 + protection: *422 protection_url: type: string format: uri @@ -65188,7 +65415,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *360 + '301': *361 '404': *6 x-github: githubCloudOnly: false @@ -65210,15 +65437,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *421 + schema: *422 examples: default: value: @@ -65412,9 +65639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: true content: @@ -65669,7 +65896,7 @@ paths: url: type: string format: uri - required_status_checks: &429 + required_status_checks: &430 title: Status Check Policy description: Status Check Policy type: object @@ -65745,7 +65972,7 @@ paths: items: *4 teams: type: array - items: *210 + items: *211 apps: type: array items: *5 @@ -65763,7 +65990,7 @@ paths: items: *4 teams: type: array - items: *210 + items: *211 apps: type: array items: *5 @@ -65821,7 +66048,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *423 + restrictions: *424 required_conversation_resolution: type: object properties: @@ -65933,9 +66160,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '204': description: Response @@ -65960,17 +66187,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *424 + schema: *425 examples: - default: &425 + default: &426 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -65992,17 +66219,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *424 + schema: *425 examples: - default: *425 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66021,9 +66248,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '204': description: Response @@ -66048,17 +66275,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: &427 + default: &428 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -66154,9 +66381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: false content: @@ -66254,9 +66481,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: *427 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -66277,9 +66504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '204': description: Response @@ -66306,17 +66533,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *424 + schema: *425 examples: - default: &428 + default: &429 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -66339,17 +66566,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *424 + schema: *425 examples: - default: *428 + default: *429 '404': *6 x-github: githubCloudOnly: false @@ -66369,9 +66596,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '204': description: Response @@ -66396,17 +66623,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *429 + schema: *430 examples: - default: &430 + default: &431 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -66432,9 +66659,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: false content: @@ -66486,9 +66713,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *430 examples: - default: *430 + default: *431 '404': *6 '422': *15 x-github: @@ -66510,9 +66737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '204': description: Response @@ -66536,9 +66763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response @@ -66572,9 +66799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: false content: @@ -66641,9 +66868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: false content: @@ -66707,9 +66934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: content: application/json: @@ -66775,15 +67002,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -66874,9 +67101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '204': description: Response @@ -66899,9 +67126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response @@ -66911,7 +67138,7 @@ paths: type: array items: *5 examples: - default: &431 + default: &432 value: - id: 1 slug: octoapp @@ -66968,9 +67195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: true content: @@ -67004,7 +67231,7 @@ paths: type: array items: *5 examples: - default: *431 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -67025,9 +67252,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: true content: @@ -67061,7 +67288,7 @@ paths: type: array items: *5 examples: - default: *431 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -67082,9 +67309,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: true content: @@ -67118,7 +67345,7 @@ paths: type: array items: *5 examples: - default: *431 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -67140,9 +67367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response @@ -67150,9 +67377,9 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: *274 + default: *275 '404': *6 x-github: githubCloudOnly: false @@ -67172,9 +67399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: false content: @@ -67210,9 +67437,9 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: *274 + default: *275 '422': *15 x-github: githubCloudOnly: false @@ -67233,9 +67460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: false content: @@ -67271,9 +67498,9 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: *274 + default: *275 '422': *15 x-github: githubCloudOnly: false @@ -67294,9 +67521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: content: application/json: @@ -67331,9 +67558,9 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: *274 + default: *275 '422': *15 x-github: githubCloudOnly: false @@ -67355,9 +67582,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *356 - *357 - - *422 + - *358 + - *423 responses: '200': description: Response @@ -67367,7 +67594,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 '404': *6 x-github: githubCloudOnly: false @@ -67391,9 +67618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: true content: @@ -67426,7 +67653,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 '422': *15 x-github: githubCloudOnly: false @@ -67451,9 +67678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: true content: @@ -67486,7 +67713,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 '422': *15 x-github: githubCloudOnly: false @@ -67511,9 +67738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: true content: @@ -67546,7 +67773,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 '422': *15 x-github: githubCloudOnly: false @@ -67573,9 +67800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *356 - *357 - - *422 + - *358 + - *423 requestBody: required: true content: @@ -67597,7 +67824,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *433 examples: default: value: @@ -67713,8 +67940,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -67993,7 +68220,7 @@ paths: description: Response content: application/json: - schema: &433 + schema: &434 title: CheckRun description: A check performed on the code of a given code change type: object @@ -68104,16 +68331,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *93 - deployment: &797 + items: *94 + deployment: &798 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -68180,8 +68407,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 required: - id - node_id @@ -68393,9 +68620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *356 - *357 - - &434 + - *358 + - &435 name: check_run_id description: The unique identifier of the check run. in: path @@ -68407,9 +68634,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *434 examples: - default: &435 + default: &436 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -68509,9 +68736,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *356 - *357 - - *434 + - *358 + - *435 requestBody: required: true content: @@ -68751,9 +68978,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *434 examples: - default: *435 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68773,9 +69000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *356 - *357 - - *434 + - *358 + - *435 - *17 - *19 responses: @@ -68850,7 +69077,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: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68870,15 +69097,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *356 - *357 - - *434 + - *358 + - *435 responses: '201': description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -68916,8 +69143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -68939,7 +69166,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &438 + schema: &439 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -69003,7 +69230,7 @@ paths: nullable: true pull_requests: type: array - items: *93 + items: *94 nullable: true app: title: GitHub app @@ -69014,9 +69241,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 - repository: *163 + properties: *84 + required: *85 + repository: *164 created_at: type: string format: date-time @@ -69025,12 +69252,12 @@ paths: type: string format: date-time nullable: true - head_commit: &825 + head_commit: &826 title: Simple Commit description: A commit. type: object - properties: *436 - required: *437 + properties: *437 + required: *438 latest_check_runs_count: type: integer check_runs_url: @@ -69058,7 +69285,7 @@ paths: - check_runs_url - pull_requests examples: - default: &439 + default: &440 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -69349,9 +69576,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69370,8 +69597,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -69432,7 +69659,7 @@ paths: required: - app_id - setting - repository: *163 + repository: *164 examples: default: value: @@ -69680,9 +69907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *356 - *357 - - &440 + - *358 + - &441 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -69694,9 +69921,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69719,17 +69946,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *356 - *357 - - *440 - - &497 + - *358 + - *441 + - &498 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &498 + - &499 name: status description: Returns check runs with the specified `status`. in: query @@ -69768,9 +69995,9 @@ paths: type: integer check_runs: type: array - items: *433 + items: *434 examples: - default: &499 + default: &500 value: total_count: 1 check_runs: @@ -69852,7 +70079,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69872,15 +70099,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *356 - *357 - - *440 + - *358 + - *441 responses: '201': description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -69903,12 +70130,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository parameters: - - *356 - *357 + - *358 - *17 - - *62 - - *47 + - *63 - *48 + - *49 - name: state description: If specified, only code quality findings with this state will be returned. @@ -69926,7 +70153,7 @@ paths: application/json: schema: type: array - items: &441 + items: &442 description: Code quality finding type: object properties: @@ -70056,14 +70283,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': &442 + '403': &443 description: Response if the user is not authorized to access Code quality for this repository. content: application/json: schema: *3 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70083,8 +70310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding parameters: - - *356 - *357 + - *358 - name: finding_number in: path description: The number that identifies a finding. @@ -70096,7 +70323,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *442 examples: default: value: @@ -70125,9 +70352,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': *442 + '403': *443 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70147,8 +70374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -70212,9 +70439,9 @@ paths: runner_label: updated_at: '2023-01-01T00:00:00Z' schedule: weekly - '403': *442 + '403': *443 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70233,8 +70460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -70295,7 +70522,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -70338,7 +70565,7 @@ paths: content: application/json: schema: *3 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70362,30 +70589,30 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *356 - *357 - - *443 + - *358 - *444 + - *445 - *19 - *17 - - &461 + - &462 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: *445 - - &462 + schema: *446 + - &463 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *62 - - *47 + - *63 - *48 + - *49 - name: sort description: The property by which to sort the results. in: query @@ -70401,13 +70628,13 @@ paths: be returned. in: query required: false - schema: *446 + schema: *447 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *447 + schema: *448 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -70426,14 +70653,14 @@ paths: items: type: object properties: - number: *188 - created_at: *189 - updated_at: *190 - url: *191 - html_url: *192 - instances_url: *448 - state: *197 - fixed_at: *193 + number: *189 + created_at: *190 + updated_at: *191 + url: *192 + html_url: *193 + instances_url: *449 + state: *198 + fixed_at: *194 dismissed_by: title: Simple User description: A GitHub user. @@ -70441,12 +70668,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *194 - dismissed_reason: *449 - dismissed_comment: *450 - rule: *451 - tool: *452 - most_recent_instance: *453 + dismissed_at: *195 + dismissed_reason: *450 + dismissed_comment: *451 + rule: *452 + tool: *453 + most_recent_instance: *454 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -70571,15 +70798,15 @@ paths: end_column: 18 classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances - '304': *37 - '403': &454 + '304': *38 + '403': &455 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70599,9 +70826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *356 - *357 - - &455 + - *358 + - &456 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -70609,23 +70836,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *188 + schema: *189 responses: '200': description: Response content: application/json: - schema: &456 + schema: &457 type: object properties: - number: *188 - created_at: *189 - updated_at: *190 - url: *191 - html_url: *192 - instances_url: *448 - state: *197 - fixed_at: *193 + number: *189 + created_at: *190 + updated_at: *191 + url: *192 + html_url: *193 + instances_url: *449 + state: *198 + fixed_at: *194 dismissed_by: title: Simple User description: A GitHub user. @@ -70633,9 +70860,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *194 - dismissed_reason: *449 - dismissed_comment: *450 + dismissed_at: *195 + dismissed_reason: *450 + dismissed_comment: *451 rule: type: object properties: @@ -70689,8 +70916,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *452 - most_recent_instance: *453 + tool: *453 + most_recent_instance: *454 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -70788,10 +71015,10 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '304': *37 - '403': *454 + '304': *38 + '403': *455 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70809,9 +71036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *356 - *357 - - *455 + - *358 + - *456 requestBody: required: true content: @@ -70826,8 +71053,8 @@ paths: enum: - open - dismissed - dismissed_reason: *449 - dismissed_comment: *450 + dismissed_reason: *450 + dismissed_comment: *451 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -70855,7 +71082,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *457 examples: default: value: @@ -70931,14 +71158,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &460 + '403': &461 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': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -70958,15 +71185,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: - - *356 - *357 - - *455 + - *358 + - *456 responses: '200': description: Response content: application/json: - schema: &457 + schema: &458 type: object properties: status: @@ -70992,13 +71219,13 @@ paths: - description - started_at examples: - default: &458 + default: &459 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &459 + '400': &460 description: Bad Request content: application/json: @@ -71009,9 +71236,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': *454 + '403': *455 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71034,29 +71261,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: - - *356 - *357 - - *455 + - *358 + - *456 responses: '200': description: OK content: application/json: - schema: *457 + schema: *458 examples: - default: *458 + default: *459 '202': description: Accepted content: application/json: - schema: *457 + schema: *458 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *459 + '400': *460 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -71066,7 +71293,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71088,9 +71315,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: - - *356 - *357 - - *455 + - *358 + - *456 requestBody: required: false content: @@ -71135,12 +71362,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *459 - '403': *460 + '400': *460 + '403': *461 '404': *6 '422': description: Unprocessable Entity - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71160,13 +71387,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *356 - *357 - - *455 + - *358 + - *456 - *19 - *17 - - *461 - *462 + - *463 responses: '200': description: Response @@ -71177,10 +71404,10 @@ paths: items: type: object properties: - ref: *445 - analysis_key: *463 - environment: *464 - category: *465 + ref: *446 + analysis_key: *464 + environment: *465 + category: *466 state: type: string description: State of a code scanning alert instance. @@ -71195,7 +71422,7 @@ paths: properties: text: type: string - location: *466 + location: *467 html_url: type: string classifications: @@ -71203,7 +71430,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: *467 + items: *468 examples: default: value: @@ -71240,9 +71467,9 @@ paths: end_column: 50 classifications: - source - '403': *454 + '403': *455 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71274,29 +71501,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *356 - *357 - - *443 + - *358 - *444 + - *445 - *19 - *17 - - *462 + - *463 - 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: *445 + schema: *446 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &468 + schema: &469 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *62 + - *63 - name: sort description: The property by which to sort the results. in: query @@ -71313,23 +71540,23 @@ paths: application/json: schema: type: array - items: &469 + items: &470 type: object properties: - ref: *445 - commit_sha: &477 + ref: *446 + commit_sha: &478 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: *463 + analysis_key: *464 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *465 + category: *466 error: type: string example: error reading field xyz @@ -71353,8 +71580,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *468 - tool: *452 + sarif_id: *469 + tool: *453 deletable: type: boolean warning: @@ -71415,9 +71642,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *454 + '403': *455 '404': *6 - '503': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -71451,8 +71678,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: - - *356 - *357 + - *358 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -71465,7 +71692,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *470 examples: response: summary: application/json response @@ -71519,14 +71746,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *454 + '403': *455 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -71606,8 +71833,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: - - *356 - *357 + - *358 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -71660,9 +71887,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': *460 + '403': *461 '404': *6 - '503': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -71682,8 +71909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -71691,7 +71918,7 @@ paths: application/json: schema: type: array - items: &470 + items: &471 title: CodeQL Database description: A CodeQL database. type: object @@ -71802,9 +72029,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': *454 + '403': *455 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71831,8 +72058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *356 - *357 + - *358 - name: language in: path description: The language of the CodeQL database. @@ -71844,7 +72071,7 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: default: value: @@ -71876,11 +72103,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': &508 + '302': &509 description: Found - '403': *454 + '403': *455 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71900,8 +72127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *356 - *357 + - *358 - name: language in: path description: The language of the CodeQL database. @@ -71911,9 +72138,9 @@ paths: responses: '204': description: Response - '403': *460 + '403': *461 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71939,8 +72166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -71949,7 +72176,7 @@ paths: type: object additionalProperties: false properties: - language: &471 + language: &472 type: string description: The language targeted by the CodeQL query enum: @@ -72029,7 +72256,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &475 + schema: &476 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -72037,9 +72264,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *67 + controller_repo: *68 actor: *4 - query_language: *471 + query_language: *472 query_pack_url: type: string description: The download url for the query pack. @@ -72086,7 +72313,7 @@ paths: items: type: object properties: - repository: &472 + repository: &473 title: Repository Identifier description: Repository Identifier type: object @@ -72122,7 +72349,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &476 + analysis_status: &477 type: string description: The new status of the CodeQL variant analysis repository task. @@ -72154,7 +72381,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &473 + access_mismatch_repos: &474 type: object properties: repository_count: @@ -72168,7 +72395,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: *472 + items: *473 required: - repository_count - repositories @@ -72190,8 +72417,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *473 - over_limit_repos: *473 + no_codeql_db_repos: *474 + over_limit_repos: *474 required: - access_mismatch_repos - not_found_repos @@ -72207,7 +72434,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &474 + value: &475 summary: Default response value: id: 1 @@ -72353,17 +72580,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *474 + value: *475 repository_lists: summary: Response for a successful variant analysis submission - value: *474 + value: *475 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72384,8 +72611,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: - - *356 - *357 + - *358 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -72397,11 +72624,11 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *474 + default: *475 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72422,7 +72649,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: - - *356 + - *357 - name: repo in: path description: The name of the controller repository. @@ -72456,8 +72683,8 @@ paths: schema: type: object properties: - repository: *67 - analysis_status: *476 + repository: *68 + analysis_status: *477 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -72561,7 +72788,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72582,8 +72809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -72666,9 +72893,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *454 + '403': *455 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72687,8 +72914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -72755,7 +72982,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -72780,7 +73007,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *460 + '403': *461 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -72794,7 +73021,7 @@ paths: content: application/json: schema: *3 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72851,8 +73078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -72860,7 +73087,7 @@ paths: schema: type: object properties: - commit_sha: *477 + commit_sha: *478 ref: type: string description: |- @@ -72918,7 +73145,7 @@ paths: schema: type: object properties: - id: *468 + id: *469 url: type: string description: The REST API URL for checking the status of the upload. @@ -72932,11 +73159,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': *460 + '403': *461 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72955,8 +73182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *356 - *357 + - *358 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -73002,10 +73229,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': *454 + '403': *455 '404': description: Not Found if the sarif id does not match any upload - '503': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73027,8 +73254,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: - - *356 - *357 + - *358 responses: '200': description: Response @@ -73052,7 +73279,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *49 + configuration: *50 examples: default: value: @@ -73084,8 +73311,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': *61 - '304': *37 + '204': *60 + '304': *38 '403': *29 '404': *6 x-github: @@ -73109,8 +73336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *356 - *357 + - *358 - 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 @@ -73230,8 +73457,8 @@ paths: parameters: - *17 - *19 - - *356 - *357 + - *358 responses: '200': description: Response @@ -73247,7 +73474,7 @@ paths: type: integer codespaces: type: array - items: *262 + items: *263 examples: default: value: @@ -73523,7 +73750,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': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -73545,8 +73772,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -73609,22 +73836,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *262 + schema: *263 examples: - default: *478 + default: *479 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *262 + schema: *263 examples: - default: *478 + default: *479 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -73648,8 +73875,8 @@ paths: parameters: - *17 - *19 - - *356 - *357 + - *358 responses: '200': description: Response @@ -73689,7 +73916,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *55 + '500': *56 '400': *14 '401': *25 '403': *29 @@ -73713,8 +73940,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *356 - *357 + - *358 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -73749,14 +73976,14 @@ paths: type: integer machines: type: array - items: &738 + items: &739 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *479 - required: *480 + properties: *480 + required: *481 examples: - default: &739 + default: &740 value: total_count: 2 machines: @@ -73772,8 +73999,8 @@ paths: storage_in_bytes: 68719476736 memory_in_bytes: 34359738368 cpus: 8 - '304': *37 - '500': *55 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -73796,8 +74023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *356 - *357 + - *358 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -73881,8 +74108,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: - - *356 - *357 + - *358 - 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 @@ -73927,7 +74154,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73948,8 +74175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -73967,7 +74194,7 @@ paths: type: integer secrets: type: array - items: &484 + items: &485 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -73987,9 +74214,9 @@ paths: - created_at - updated_at examples: - default: *481 + default: *482 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74010,16 +74237,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *482 + schema: *483 examples: - default: *483 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -74039,17 +74266,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 responses: '200': description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: *485 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74069,9 +74296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 requestBody: required: true content: @@ -74099,7 +74326,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -74123,9 +74350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 responses: '204': description: Response @@ -74153,8 +74380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *356 - *357 + - *358 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -74196,7 +74423,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &486 + properties: &487 login: type: string example: octocat @@ -74289,7 +74516,7 @@ paths: user_view_type: type: string example: public - required: &487 + required: &488 - avatar_url - events_url - followers_url @@ -74338,7 +74565,7 @@ paths: admin: false role_name: write headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -74363,9 +74590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *356 - *357 - - *74 + - *358 + - *75 responses: '204': description: Response if user is a collaborator @@ -74411,9 +74638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *356 - *357 - - *74 + - *358 + - *75 requestBody: required: false content: @@ -74439,7 +74666,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &558 + schema: &559 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -74450,7 +74677,7 @@ paths: example: 42 type: integer format: int64 - repository: *163 + repository: *164 invitee: title: Simple User description: A GitHub user. @@ -74628,7 +74855,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *132 + schema: *133 '403': *29 x-github: triggersNotification: true @@ -74668,9 +74895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *356 - *357 - - *74 + - *358 + - *75 responses: '204': description: No Content when collaborator was removed from the repository. @@ -74701,9 +74928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *356 - *357 - - *74 + - *358 + - *75 responses: '200': description: if user has admin permissions @@ -74723,8 +74950,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *486 - required: *487 + properties: *487 + required: *488 nullable: true required: - permission @@ -74779,8 +75006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -74790,7 +75017,7 @@ paths: application/json: schema: type: array - items: &488 + items: &489 title: Commit Comment description: Commit Comment type: object @@ -74831,8 +75058,8 @@ paths: updated_at: type: string format: date-time - author_association: *85 - reactions: *86 + author_association: *86 + reactions: *87 required: - url - html_url @@ -74848,7 +75075,7 @@ paths: - created_at - updated_at examples: - default: &493 + default: &494 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74882,7 +75109,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74907,17 +75134,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 responses: '200': description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: &494 + default: &495 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74974,9 +75201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 requestBody: required: true content: @@ -74998,7 +75225,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: default: value: @@ -75049,9 +75276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 responses: '204': description: Response @@ -75072,9 +75299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 - 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. @@ -75100,7 +75327,7 @@ paths: application/json: schema: type: array - items: &489 + items: &490 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -75169,7 +75396,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -75188,9 +75415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 requestBody: required: true content: @@ -75222,9 +75449,9 @@ paths: description: Reaction exists content: application/json: - schema: *489 + schema: *490 examples: - default: &490 + default: &491 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -75253,9 +75480,9 @@ paths: description: Reaction created content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '422': *15 x-github: githubCloudOnly: false @@ -75277,9 +75504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *356 - *357 - - *104 + - *358 + - *105 - &564 name: reaction_id description: The unique identifier of the reaction. @@ -75335,8 +75562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *356 - *357 + - *358 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -75392,9 +75619,9 @@ paths: application/json: schema: type: array - items: *491 + items: *492 examples: - default: &631 + default: &632 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -75464,11 +75691,11 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *70 - '500': *55 + Link: *71 + '500': *56 '400': *14 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75488,9 +75715,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *356 - *357 - - &492 + - *358 + - &493 name: commit_sha description: The SHA of the commit. in: path @@ -75537,7 +75764,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75562,9 +75789,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *356 - *357 - - *492 + - *358 + - *493 - *17 - *19 responses: @@ -75574,11 +75801,11 @@ paths: application/json: schema: type: array - items: *488 + items: *489 examples: - default: *493 + default: *494 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75604,9 +75831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *356 - *357 - - *492 + - *358 + - *493 requestBody: required: true content: @@ -75641,9 +75868,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: *494 + default: *495 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75671,9 +75898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *356 - *357 - - *492 + - *358 + - *493 - *17 - *19 responses: @@ -75683,7 +75910,7 @@ paths: application/json: schema: type: array - items: *495 + items: *496 examples: default: &623 value: @@ -76164,8 +76391,8 @@ paths: auto_merge: draft: false headers: - Link: *70 - '409': *54 + Link: *71 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76222,11 +76449,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *356 - *357 + - *358 - *19 - *17 - - &496 + - &497 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)" @@ -76241,7 +76468,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: default: &610 value: @@ -76331,7 +76558,7 @@ paths: schema: type: string examples: - default: &505 + default: &506 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -76344,7 +76571,7 @@ paths: schema: type: string examples: - default: &506 + default: &507 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -76370,9 +76597,9 @@ paths: value: ac3282a2725be3b1d4979169a7a311c89066af1c '422': *15 '404': *6 - '500': *55 - '503': *122 - '409': *54 + '500': *56 + '503': *123 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76397,11 +76624,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *356 - *357 - - *496 + - *358 - *497 - *498 + - *499 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -76435,11 +76662,11 @@ paths: type: integer check_runs: type: array - items: *433 + items: *434 examples: - default: *499 + default: *500 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76462,9 +76689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *356 - *357 - - *496 + - *358 + - *497 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -76472,7 +76699,7 @@ paths: schema: type: integer example: 1 - - *497 + - *498 - *17 - *19 responses: @@ -76490,7 +76717,7 @@ paths: type: integer check_suites: type: array - items: *438 + items: *439 examples: default: value: @@ -76665,7 +76892,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: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76690,9 +76917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *356 - *357 - - *496 + - *358 + - *497 - *17 - *19 responses: @@ -76759,7 +76986,7 @@ paths: type: string total_count: type: integer - repository: *163 + repository: *164 commit_url: type: string format: uri @@ -76890,9 +77117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *356 - *357 - - *496 + - *358 + - *497 - *17 - *19 responses: @@ -76902,7 +77129,7 @@ paths: application/json: schema: type: array - items: &717 + items: &718 title: Status description: The status of a commit. type: object @@ -76982,8 +77209,8 @@ paths: type: User site_admin: false headers: - Link: *70 - '301': *360 + Link: *71 + '301': *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77011,8 +77238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -77041,20 +77268,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *500 - required: *501 + properties: *501 + required: *502 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &502 + properties: &503 url: type: string format: uri html_url: type: string format: uri - required: &503 + required: &504 - url - html_url nullable: true @@ -77062,32 +77289,32 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true contributing: title: Community Health File type: object - properties: *502 - required: *503 + properties: *503 + required: *504 nullable: true readme: title: Community Health File type: object - properties: *502 - required: *503 + properties: *503 + required: *504 nullable: true issue_template: title: Community Health File type: object - properties: *502 - required: *503 + properties: *503 + required: *504 nullable: true pull_request_template: title: Community Health File type: object - properties: *502 - required: *503 + properties: *503 + required: *504 nullable: true required: - code_of_conduct @@ -77214,8 +77441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *356 - *357 + - *358 - *19 - *17 - name: basehead @@ -77258,8 +77485,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *491 - merge_base_commit: *491 + base_commit: *492 + merge_base_commit: *492 status: type: string enum: @@ -77279,10 +77506,10 @@ paths: example: 6 commits: type: array - items: *491 + items: *492 files: type: array - items: *504 + items: *505 required: - url - html_url @@ -77528,15 +77755,15 @@ paths: schema: type: string examples: - default: *505 + default: *506 application/vnd.github.patch: schema: type: string examples: - default: *506 + default: *507 '404': *6 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77578,8 +77805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *356 - *357 + - *358 - name: path description: path parameter in: path @@ -77739,7 +77966,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &507 + response-if-content-is-a-file-github-object: &508 summary: Response if content is a file value: type: file @@ -77871,7 +78098,7 @@ paths: - size - type - url - - &636 + - &637 title: Content File description: Content File type: object @@ -78072,7 +78299,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *507 + response-if-content-is-a-file: *508 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -78141,8 +78368,8 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *508 - '304': *37 + '302': *509 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78164,8 +78391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *356 - *357 + - *358 - name: path description: path parameter in: path @@ -78258,7 +78485,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &510 title: File Commit description: File Commit type: object @@ -78410,7 +78637,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *510 examples: example-for-creating-a-file: value: @@ -78464,7 +78691,7 @@ paths: schema: oneOf: - *3 - - &539 + - &540 description: Repository rule violation was detected type: object properties: @@ -78485,7 +78712,7 @@ paths: items: type: object properties: - placeholder_id: &709 + placeholder_id: &710 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -78517,8 +78744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *356 - *357 + - *358 - name: path description: path parameter in: path @@ -78579,7 +78806,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *510 examples: default: value: @@ -78613,8 +78840,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *54 - '503': *122 + '409': *55 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78634,8 +78861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *356 - *357 + - *358 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -78735,7 +78962,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *70 + Link: *71 '204': description: Response if repository is empty '403': *29 @@ -78764,8 +78991,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: - - *356 - *357 + - *358 responses: '200': description: Response @@ -78875,7 +79102,7 @@ paths: custom_allowlist: - sentry.io - https://api.example.com - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -78897,27 +79124,27 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *356 - *357 - - *212 + - *358 - *213 - *214 - *215 - *216 + - *217 - 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 - - *217 - - *510 - *218 + - *511 - *219 - *220 - - *62 - - *47 + - *221 + - *63 - *48 + - *49 - *17 responses: '200': @@ -78926,11 +79153,11 @@ paths: application/json: schema: type: array - items: &514 + items: &515 type: object description: A Dependabot alert. properties: - number: *188 + number: *189 state: type: string description: The state of the Dependabot alert. @@ -78945,7 +79172,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *63 + package: *64 manifest_path: type: string description: The full path to the dependency manifest file, @@ -78973,13 +79200,13 @@ paths: - direct - transitive - inconclusive - security_advisory: *511 - security_vulnerability: *66 - url: *191 - html_url: *192 - created_at: *189 - updated_at: *190 - dismissed_at: *194 + security_advisory: *512 + security_vulnerability: *67 + url: *192 + html_url: *193 + created_at: *190 + updated_at: *191 + dismissed_at: *195 dismissed_by: title: Simple User description: A GitHub user. @@ -79003,9 +79230,9 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *193 - auto_dismissed_at: *512 - dismissal_request: *513 + fixed_at: *194 + auto_dismissed_at: *513 + dismissal_request: *514 assignees: type: array description: The users assigned to this alert. @@ -79236,7 +79463,7 @@ paths: dismissed_comment: fixed_at: assignees: [] - '304': *37 + '304': *38 '400': *14 '403': *29 '404': *6 @@ -79260,9 +79487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *356 - *357 - - &515 + - *358 + - &516 name: alert_number in: path description: |- @@ -79271,13 +79498,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *188 + schema: *189 responses: '200': description: Response content: application/json: - schema: *514 + schema: *515 examples: default: value: @@ -79387,7 +79614,7 @@ paths: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false - '304': *37 + '304': *38 '403': *29 '404': *6 x-github: @@ -79409,9 +79636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *356 - *357 - - *515 + - *358 + - *516 requestBody: required: true content: @@ -79484,7 +79711,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: default: value: @@ -79591,7 +79818,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *7 x-github: githubCloudOnly: false @@ -79614,8 +79841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -79633,7 +79860,7 @@ paths: type: integer secrets: type: array - items: &518 + items: &519 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -79664,7 +79891,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79686,16 +79913,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *517 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79715,15 +79942,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 responses: '200': description: Response content: application/json: - schema: *518 + schema: *519 examples: default: value: @@ -79749,9 +79976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 requestBody: required: true content: @@ -79779,7 +80006,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -79803,9 +80030,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *356 - *357 - - *171 + - *358 + - *172 responses: '204': description: Response @@ -79827,8 +80054,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: - - *356 - *357 + - *358 - 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 @@ -79964,7 +80191,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *70 + Link: *71 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -79973,8 +80200,8 @@ paths: application/json: schema: *3 '400': *14 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false category: dependency-graph @@ -79991,8 +80218,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: - - *356 - *357 + - *358 responses: '200': description: Response @@ -80208,7 +80435,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *70 + Link: *71 '404': *6 '403': *29 x-github: @@ -80230,8 +80457,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: - - *356 - *357 + - *358 - name: sbom_uuid in: path required: true @@ -80242,7 +80469,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *519 + Location: *520 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -80263,8 +80490,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: - - *356 - *357 + - *358 responses: '201': description: Response @@ -80302,8 +80529,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: - - *356 - *357 + - *358 requestBody: required: true content: @@ -80378,7 +80605,7 @@ paths: - version - url additionalProperties: false - metadata: &520 + metadata: &521 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -80411,7 +80638,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *520 + metadata: *521 resolved: type: object description: A collection of resolved package dependencies. @@ -80424,7 +80651,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *520 + metadata: *521 relationship: type: string description: A notation of whether a dependency is requested @@ -80553,8 +80780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *356 - *357 + - *358 - name: sha description: The SHA recorded at creation time. in: query @@ -80594,11 +80821,11 @@ paths: application/json: schema: type: array - items: *521 + items: *522 examples: - default: *522 + default: *523 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80662,8 +80889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -80744,7 +80971,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: simple-example: summary: Simple example @@ -80817,9 +81044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *356 - *357 - - &523 + - *358 + - &524 name: deployment_id description: deployment_id parameter in: path @@ -80831,7 +81058,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: default: value: @@ -80896,9 +81123,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *356 - *357 - - *523 + - *358 + - *524 responses: '204': description: Response @@ -80920,9 +81147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *356 - *357 - - *523 + - *358 + - *524 - *17 - *19 responses: @@ -80932,7 +81159,7 @@ paths: application/json: schema: type: array - items: &524 + items: &525 title: Deployment Status description: The status of a deployment. type: object @@ -81023,8 +81250,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 required: - id - node_id @@ -81073,7 +81300,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -81093,9 +81320,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *356 - *357 - - *523 + - *358 + - *524 requestBody: required: true content: @@ -81170,9 +81397,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *525 examples: - default: &525 + default: &526 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -81228,9 +81455,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *356 - *357 - - *523 + - *358 + - *524 - name: status_id in: path required: true @@ -81241,9 +81468,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *525 examples: - default: *525 + default: *526 '404': *6 x-github: githubCloudOnly: false @@ -81268,8 +81495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -81326,8 +81553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -81344,7 +81571,7 @@ paths: type: integer environments: type: array - items: &527 + items: &528 title: Environment description: Details of a deployment environment type: object @@ -81396,7 +81623,7 @@ paths: type: type: string example: wait_timer - wait_timer: &529 + wait_timer: &530 type: integer example: 30 description: The amount of time to delay a job after @@ -81433,11 +81660,11 @@ paths: items: type: object properties: - type: *526 + type: *527 reviewer: anyOf: - *4 - - *210 + - *211 required: - id - node_id @@ -81457,7 +81684,7 @@ paths: - id - node_id - type - deployment_branch_policy: &530 + deployment_branch_policy: &531 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -81573,9 +81800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *356 - *357 - - &528 + - *358 + - &529 name: environment_name in: path required: true @@ -81588,9 +81815,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: &531 + default: &532 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -81674,9 +81901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *356 - *357 - - *528 + - *358 + - *529 requestBody: required: false content: @@ -81685,7 +81912,7 @@ paths: type: object nullable: true properties: - wait_timer: *529 + wait_timer: *530 prevent_self_review: type: boolean example: false @@ -81702,13 +81929,13 @@ paths: items: type: object properties: - type: *526 + type: *527 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *530 + deployment_branch_policy: *531 additionalProperties: false examples: default: @@ -81728,9 +81955,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *531 + default: *532 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -81754,9 +81981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *356 - *357 - - *528 + - *358 + - *529 responses: '204': description: Default response @@ -81781,9 +82008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *356 - *357 - - *528 + - *358 + - *529 - *17 - *19 responses: @@ -81801,7 +82028,7 @@ paths: example: 2 branch_policies: type: array - items: &532 + items: &533 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -81858,9 +82085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *356 - *357 - - *528 + - *358 + - *529 requestBody: required: true content: @@ -81906,9 +82133,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *533 examples: - example-wildcard: &533 + example-wildcard: &534 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -81950,10 +82177,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *356 - *357 - - *528 - - &534 + - *358 + - *529 + - &535 name: branch_policy_id in: path required: true @@ -81965,9 +82192,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *533 examples: - default: *533 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81986,10 +82213,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *356 - *357 - - *528 - - *534 + - *358 + - *529 + - *535 requestBody: required: true content: @@ -82017,9 +82244,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *533 examples: - default: *533 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82038,10 +82265,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *356 - *357 - - *528 - - *534 + - *358 + - *529 + - *535 responses: '204': description: Response @@ -82066,9 +82293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *528 + - *529 + - *358 - *357 - - *356 responses: '200': description: List of deployment protection rules @@ -82084,7 +82311,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &535 + items: &536 title: Deployment protection rule description: Deployment protection rule type: object @@ -82103,7 +82330,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &536 + app: &537 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -82202,9 +82429,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: - - *528 + - *529 + - *358 - *357 - - *356 requestBody: content: application/json: @@ -82225,9 +82452,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *535 + schema: *536 examples: - default: &537 + default: &538 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -82262,9 +82489,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: - - *528 + - *529 + - *358 - *357 - - *356 - *19 - *17 responses: @@ -82283,7 +82510,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *536 + items: *537 examples: default: value: @@ -82318,10 +82545,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *356 - *357 - - *528 - - &538 + - *358 + - *529 + - &539 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -82333,9 +82560,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: *537 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82356,10 +82583,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *528 + - *529 + - *358 - *357 - - *356 - - *538 + - *539 responses: '204': description: Response @@ -82385,9 +82612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *356 - *357 - - *528 + - *358 + - *529 - *17 - *19 responses: @@ -82405,11 +82632,11 @@ paths: type: integer secrets: type: array - items: *400 + items: *401 examples: - default: *401 + default: *402 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82432,17 +82659,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *356 - *357 - - *528 + - *358 + - *529 responses: '200': description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82464,18 +82691,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *356 - *357 - - *528 - - *171 + - *358 + - *529 + - *172 responses: '200': description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: *414 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82497,10 +82724,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *356 - *357 - - *528 - - *171 + - *358 + - *529 + - *172 requestBody: required: true content: @@ -82531,7 +82758,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -82557,10 +82784,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *356 - *357 - - *528 - - *171 + - *358 + - *529 + - *172 responses: '204': description: Default response @@ -82585,10 +82812,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *356 - *357 - - *528 - - *180 + - *358 + - *529 + - *181 - *19 responses: '200': @@ -82605,11 +82832,11 @@ paths: type: integer variables: type: array - items: *402 + items: *403 examples: - default: *403 + default: *404 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82630,9 +82857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *356 - *357 - - *528 + - *358 + - *529 requestBody: required: true content: @@ -82659,7 +82886,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -82684,18 +82911,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *356 - *357 - - *528 - - *174 + - *358 + - *529 + - *175 responses: '200': description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: *415 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82716,10 +82943,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *356 - *357 - - *174 - - *528 + - *358 + - *175 + - *529 requestBody: required: true content: @@ -82761,10 +82988,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *356 - *357 - - *174 - - *528 + - *358 + - *175 + - *529 responses: '204': description: Response @@ -82786,8 +83013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -82797,7 +83024,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: 200-response: value: @@ -82855,8 +83082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *356 - *357 + - *358 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -82878,7 +83105,7 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: default: value: @@ -82991,7 +83218,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *70 + Link: *71 '400': *14 x-github: githubCloudOnly: false @@ -83015,8 +83242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *356 - *357 + - *358 requestBody: required: false content: @@ -83048,9 +83275,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: - default: *361 + default: *362 '400': *14 '422': *15 '403': *29 @@ -83071,8 +83298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -83123,7 +83350,7 @@ paths: schema: type: string '404': *6 - '409': *54 + '409': *55 '403': *29 '422': description: Validation failed @@ -83131,8 +83358,8 @@ paths: application/json: schema: oneOf: - - *132 - - *539 + - *133 + - *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83157,8 +83384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *356 - *357 + - *358 - name: file_sha in: path required: true @@ -83209,7 +83436,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83257,8 +83484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -83367,7 +83594,7 @@ paths: description: Response content: application/json: - schema: &540 + schema: &541 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -83531,7 +83758,7 @@ paths: type: string '422': *15 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83581,15 +83808,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *356 - *357 - - *492 + - *358 + - *493 responses: '200': description: Response content: application/json: - schema: *540 + schema: *541 examples: default: value: @@ -83620,7 +83847,7 @@ paths: payload: verified_at: '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83645,9 +83872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *356 - *357 - - &541 + - *358 + - &542 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. @@ -83664,7 +83891,7 @@ paths: application/json: schema: type: array - items: &542 + items: &543 title: Git Reference description: Git references within a repository type: object @@ -83717,8 +83944,8 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *70 - '409': *54 + Link: *71 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83739,17 +83966,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *356 - *357 - - *541 + - *358 + - *542 responses: '200': description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: &543 + default: &544 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -83759,7 +83986,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83778,8 +84005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -83808,16 +84035,16 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: *543 + default: *544 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83836,9 +84063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *356 - *357 - - *541 + - *358 + - *542 requestBody: required: true content: @@ -83867,11 +84094,11 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: *543 + default: *544 '422': *15 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83887,16 +84114,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *356 - *357 - - *541 + - *358 + - *542 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83944,8 +84171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -84012,7 +84239,7 @@ paths: description: Response content: application/json: - schema: &545 + schema: &546 title: Git Tag description: Metadata for a Git tag type: object @@ -84063,7 +84290,7 @@ paths: - sha - type - url - verification: *544 + verification: *545 required: - sha - url @@ -84073,7 +84300,7 @@ paths: - tag - message examples: - default: &546 + default: &547 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -84100,7 +84327,7 @@ paths: schema: type: string '422': *15 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84146,8 +84373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *356 - *357 + - *358 - name: tag_sha in: path required: true @@ -84158,11 +84385,11 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: - default: *546 + default: *547 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84184,8 +84411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -84258,7 +84485,7 @@ paths: description: Response content: application/json: - schema: &547 + schema: &548 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -84331,7 +84558,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84354,8 +84581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *356 - *357 + - *358 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -84378,7 +84605,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: default-response: summary: Default response @@ -84419,7 +84646,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84436,8 +84663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -84480,8 +84707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -84491,7 +84718,7 @@ paths: application/json: schema: type: array - items: &548 + items: &549 title: Webhook description: Webhooks for repositories. type: object @@ -84545,7 +84772,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &833 + last_response: &834 title: Hook Response type: object properties: @@ -84600,7 +84827,7 @@ paths: status: unused message: headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -84619,8 +84846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *356 - *357 + - *358 requestBody: required: false content: @@ -84672,9 +84899,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *549 examples: - default: &549 + default: &550 value: type: Repository id: 12345678 @@ -84722,17 +84949,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *356 - *357 - - *230 + - *358 + - *231 responses: '200': description: Response content: application/json: - schema: *548 + schema: *549 examples: - default: *549 + default: *550 '404': *6 x-github: githubCloudOnly: false @@ -84752,9 +84979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *356 - *357 - - *230 + - *358 + - *231 requestBody: required: true content: @@ -84799,9 +85026,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *549 examples: - default: *549 + default: *550 '422': *15 '404': *6 x-github: @@ -84822,9 +85049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *356 - *357 - - *230 + - *358 + - *231 responses: '204': description: Response @@ -84848,9 +85075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *356 - *357 - - *230 + - *358 + - *231 responses: '200': description: Response @@ -84877,9 +85104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *356 - *357 - - *230 + - *358 + - *231 requestBody: required: false content: @@ -84923,12 +85150,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *356 - *357 - - *230 - - *17 + - *358 - *231 + - *17 - *232 + - *233 responses: '200': description: Response @@ -84936,9 +85163,9 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *234 + default: *235 '400': *14 '422': *15 x-github: @@ -84957,18 +85184,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *356 - *357 - - *230 + - *358 + - *231 - *16 responses: '200': description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: *236 + default: *237 '400': *14 '422': *15 x-github: @@ -84987,12 +85214,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *356 - *357 - - *230 + - *358 + - *231 - *16 responses: - '202': *39 + '202': *40 '400': *14 '422': *15 x-github: @@ -85012,9 +85239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *356 - *357 - - *230 + - *358 + - *231 responses: '204': description: Response @@ -85039,9 +85266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *356 - *357 - - *230 + - *358 + - *231 responses: '204': description: Response @@ -85064,8 +85291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response if immutable releases are enabled @@ -85111,11 +85338,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *356 - *357 + - *358 responses: - '204': *61 - '409': *54 + '204': *60 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85132,11 +85359,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *356 - *357 + - *358 responses: - '204': *61 - '409': *54 + '204': *60 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85190,14 +85417,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: &550 + schema: &551 title: Import description: A repository import from an external source. type: object @@ -85296,7 +85523,7 @@ paths: - html_url - authors_url examples: - default: &553 + default: &554 value: vcs: subversion use_lfs: true @@ -85312,7 +85539,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': &551 + '503': &552 description: Unavailable due to service under maintenance. content: application/json: @@ -85341,8 +85568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -85390,7 +85617,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: default: value: @@ -85415,7 +85642,7 @@ paths: type: string '422': *15 '404': *6 - '503': *551 + '503': *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85443,8 +85670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *356 - *357 + - *358 requestBody: required: false content: @@ -85493,7 +85720,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: example-1: summary: Example 1 @@ -85541,7 +85768,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': *551 + '503': *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85564,12 +85791,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *356 - *357 + - *358 responses: '204': description: Response - '503': *551 + '503': *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85595,9 +85822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *356 - *357 - - &762 + - *358 + - &763 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -85611,7 +85838,7 @@ paths: application/json: schema: type: array - items: &552 + items: &553 title: Porter Author description: Porter Author type: object @@ -85665,7 +85892,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': *551 + '503': *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85690,8 +85917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *356 - *357 + - *358 - name: author_id in: path required: true @@ -85721,7 +85948,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -85734,7 +85961,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *551 + '503': *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85758,8 +85985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -85800,7 +86027,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *551 + '503': *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85828,8 +86055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -85856,11 +86083,11 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *553 + default: *554 '422': *15 - '503': *551 + '503': *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85883,8 +86110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -85892,8 +86119,8 @@ paths: application/json: schema: *22 examples: - default: *554 - '301': *360 + default: *555 + '301': *361 '404': *6 x-github: githubCloudOnly: false @@ -85913,8 +86140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -85922,12 +86149,12 @@ paths: application/json: schema: anyOf: - - *249 + - *250 - type: object properties: {} additionalProperties: false examples: - default: &556 + default: &557 value: limit: collaborators_only origin: repository @@ -85952,13 +86179,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *356 - *357 + - *358 requestBody: required: true content: application/json: - schema: *555 + schema: *556 examples: default: summary: Example request body @@ -85970,9 +86197,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: *556 + default: *557 '409': description: Response x-github: @@ -85994,8 +86221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -86022,8 +86249,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: - - *356 - *357 + - *358 responses: '200': description: Response @@ -86077,13 +86304,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: - - *356 - *357 + - *358 requestBody: required: true content: application/json: - schema: &557 + schema: &558 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. @@ -86133,13 +86360,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: - - *356 - *357 + - *358 requestBody: required: true content: application/json: - schema: *557 + schema: *558 examples: default: summary: Example request body @@ -86172,8 +86399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -86226,8 +86453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -86303,8 +86530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -86314,9 +86541,9 @@ paths: application/json: schema: type: array - items: *558 + items: *559 examples: - default: &754 + default: &755 value: - id: 1 repository: @@ -86430,7 +86657,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86447,9 +86674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *356 - *357 - - *253 + - *358 + - *254 requestBody: required: false content: @@ -86478,7 +86705,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: default: value: @@ -86609,9 +86836,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *356 - *357 - - *253 + - *358 + - *254 responses: '204': description: Response @@ -86634,8 +86861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -86643,9 +86870,9 @@ paths: application/json: schema: type: array - items: *257 + items: *258 examples: - default: *559 + default: *560 '404': *6 x-github: githubCloudOnly: false @@ -86674,8 +86901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *356 - *357 + - *358 - 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 @@ -86737,7 +86964,7 @@ paths: required: false schema: type: string - - *260 + - *261 - name: sort description: What to sort results by. in: query @@ -86749,8 +86976,8 @@ paths: - updated - comments default: created - - *62 - - *95 + - *63 + - *96 - *17 - *19 responses: @@ -86760,7 +86987,7 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: default: &574 value: @@ -86910,8 +87137,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *70 - '301': *360 + Link: *71 + '301': *361 '422': *15 '404': *6 x-github: @@ -86940,8 +87167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -87041,7 +87268,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: &571 value: @@ -87179,9 +87406,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *122 + '503': *123 '404': *6 - '410': *560 + '410': *33 x-github: triggersNotification: true githubCloudOnly: false @@ -87209,9 +87436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *356 - *357 - - *112 + - *358 + - *113 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -87221,7 +87448,7 @@ paths: enum: - asc - desc - - *95 + - *96 - *17 - *19 responses: @@ -87265,7 +87492,7 @@ paths: author_association: COLLABORATOR minimized: headers: - Link: *70 + Link: *71 '422': *15 '404': *6 x-github: @@ -87292,9 +87519,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 responses: '200': description: Response @@ -87358,9 +87585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 requestBody: required: true content: @@ -87402,9 +87629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 responses: '204': description: Response @@ -87432,9 +87659,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 responses: '200': description: Response @@ -87496,7 +87723,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *560 + '410': *33 '422': *15 x-github: githubCloudOnly: false @@ -87513,17 +87740,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 responses: '204': description: Response '401': *25 '403': *29 '404': *6 - '410': *560 - '503': *122 + '410': *33 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87540,9 +87767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 - 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. @@ -87568,11 +87795,11 @@ paths: application/json: schema: type: array - items: *489 + items: *490 examples: default: *563 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -87591,9 +87818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 requestBody: required: true content: @@ -87625,16 +87852,16 @@ paths: description: Reaction exists content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '201': description: Reaction created content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '422': *15 x-github: githubCloudOnly: false @@ -87656,9 +87883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *356 - *357 - - *104 + - *358 + - *105 - *564 responses: '204': @@ -87679,8 +87906,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -87778,7 +88005,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *210 + requested_team: *211 dismissed_review: title: Issue Event Dismissed Review type: object @@ -87892,7 +88119,7 @@ paths: type: string description: The reason for the referenced issue's state. nullable: true - repository: *67 + repository: *68 issue_type: title: Issue Type description: The type of the referenced issue. @@ -87946,7 +88173,7 @@ paths: nullable: true properties: *568 required: *569 - author_association: *85 + author_association: *86 lock_reason: type: string nullable: true @@ -87959,8 +88186,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 required: - id - node_id @@ -88127,7 +88354,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *70 + Link: *71 '422': *15 x-github: githubCloudOnly: false @@ -88145,8 +88372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *356 - *357 + - *358 - name: event_id in: path required: true @@ -88350,7 +88577,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *560 + '410': *33 '403': *29 x-github: githubCloudOnly: false @@ -88384,8 +88611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *356 - *357 + - *358 - &572 name: issue_number description: The number that identifies the issue. @@ -88398,7 +88625,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: summary: Issue @@ -88582,10 +88809,10 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *360 + '301': *361 '404': *6 - '410': *560 - '304': *37 + '410': *33 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88609,8 +88836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: false @@ -88747,17 +88974,17 @@ paths: application/json: schema: allOf: - - *88 + - *89 - type: object properties: {} examples: default: *571 '422': *15 - '503': *122 + '503': *123 '403': *29 - '301': *360 + '301': *361 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88775,8 +89002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: false @@ -88803,7 +89030,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *571 x-github: @@ -88821,8 +89048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: content: @@ -88848,7 +89075,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *571 x-github: @@ -88872,8 +89099,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: - - *356 - *357 + - *358 - *572 - name: assignee in: path @@ -88914,10 +89141,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *356 - *357 + - *358 - *572 - - *95 + - *96 - *17 - *19 responses: @@ -88931,9 +89158,9 @@ paths: examples: default: *573 headers: - Link: *70 + Link: *71 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88962,8 +89189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *356 - *357 + - *358 - *572 requestBody: required: true @@ -88995,7 +89222,7 @@ paths: schema: type: string '403': *29 - '410': *560 + '410': *33 '422': *15 '404': *6 x-github: @@ -89023,8 +89250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *356 - *357 + - *358 - *572 - *17 - *19 @@ -89035,14 +89262,14 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: default: *574 headers: - Link: *70 - '301': *360 + Link: *71 + '301': *361 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89070,8 +89297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *356 - *357 + - *358 - *572 requestBody: required: true @@ -89094,7 +89321,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *571 headers: @@ -89102,9 +89329,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *360 + '301': *361 '403': *29 - '410': *560 + '410': *33 '422': *15 '404': *6 x-github: @@ -89135,8 +89362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *356 - *357 + - *358 - *572 - name: issue_id in: path @@ -89149,15 +89376,15 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *571 - '301': *360 + '301': *361 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *560 + '410': *33 x-github: triggersNotification: true githubCloudOnly: false @@ -89183,8 +89410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *356 - *357 + - *358 - *572 - *17 - *19 @@ -89195,14 +89422,14 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: default: *574 headers: - Link: *70 - '301': *360 + Link: *71 + '301': *361 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89219,8 +89446,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *356 - *357 + - *358 - *572 - *17 - *19 @@ -89266,8 +89493,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 label: type: object properties: @@ -89320,8 +89547,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 label: type: object properties: @@ -89409,8 +89636,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 assignee: *4 assigner: *4 required: @@ -89456,8 +89683,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 milestone: type: object properties: @@ -89507,8 +89734,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 milestone: type: object properties: @@ -89558,8 +89785,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 rename: type: object properties: @@ -89612,10 +89839,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 review_requester: *4 - requested_team: *210 + requested_team: *211 requested_reviewer: *4 required: - review_requester @@ -89659,10 +89886,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 review_requester: *4 - requested_team: *210 + requested_team: *211 requested_reviewer: *4 required: - review_requester @@ -89706,8 +89933,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 dismissed_review: type: object properties: @@ -89766,8 +89993,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 lock_reason: type: string example: '"off-topic"' @@ -89814,8 +90041,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 project_card: type: object properties: @@ -89880,8 +90107,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 project_card: type: object properties: @@ -89946,8 +90173,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 project_card: type: object properties: @@ -90068,8 +90295,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 issue_type: *567 required: - issue_type @@ -90113,8 +90340,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 prev_issue_type: *567 required: - prev_issue_type @@ -90158,8 +90385,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 issue_type: *567 prev_issue_type: *567 required: @@ -90205,8 +90432,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -90258,8 +90485,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -90311,8 +90538,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -90364,8 +90591,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -90417,8 +90644,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -90470,8 +90697,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -90523,8 +90750,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -90576,8 +90803,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -90632,8 +90859,8 @@ paths: name: label color: red headers: - Link: *70 - '410': *560 + Link: *71 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90650,8 +90877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *356 - *357 + - *358 - *572 - *17 - *19 @@ -90703,10 +90930,10 @@ paths: name: Backend color: green headers: - Link: *70 - '301': *360 + Link: *71 + '301': *361 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90735,8 +90962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: true @@ -90814,7 +91041,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *122 + '503': *123 x-github: triggersNotification: true githubCloudOnly: false @@ -90845,8 +91072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: true @@ -90919,7 +91146,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *122 + '503': *123 x-github: triggersNotification: true githubCloudOnly: false @@ -90945,17 +91172,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: - - *356 - *357 + - *358 - *572 - - *256 + - *257 responses: '204': description: Issue field value deleted successfully '403': *29 '404': *6 '422': *15 - '503': *122 + '503': *123 x-github: triggersNotification: true githubCloudOnly: false @@ -90973,8 +91200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *356 - *357 + - *358 - *572 - *17 - *19 @@ -90985,7 +91212,7 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: default: &577 value: @@ -91004,10 +91231,10 @@ paths: color: a2eeef default: false headers: - Link: *70 - '301': *360 + Link: *71 + '301': *361 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91023,8 +91250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: false @@ -91068,12 +91295,12 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: default: *577 - '301': *360 + '301': *361 '404': *6 - '410': *560 + '410': *33 '422': *15 x-github: githubCloudOnly: false @@ -91090,8 +91317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: false @@ -91152,12 +91379,12 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: default: *577 - '301': *360 + '301': *361 '404': *6 - '410': *560 + '410': *33 '422': *15 x-github: githubCloudOnly: false @@ -91174,15 +91401,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *356 - *357 + - *358 - *572 responses: '204': description: Response - '301': *360 + '301': *361 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91201,8 +91428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *356 - *357 + - *358 - *572 - name: name in: path @@ -91216,7 +91443,7 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: default: value: @@ -91227,9 +91454,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *360 + '301': *361 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91249,8 +91476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: false @@ -91279,7 +91506,7 @@ paths: '204': description: Response '403': *29 - '410': *560 + '410': *33 '404': *6 '422': *15 x-github: @@ -91297,8 +91524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *356 - *357 + - *358 - *572 responses: '204': @@ -91329,20 +91556,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *356 - *357 + - *358 - *572 responses: '200': description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *571 - '301': *360 + '301': *361 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91359,8 +91586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *356 - *357 + - *358 - *572 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -91387,13 +91614,13 @@ paths: application/json: schema: type: array - items: *489 + items: *490 examples: default: *563 headers: - Link: *70 + Link: *71 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91411,8 +91638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: true @@ -91445,16 +91672,16 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '201': description: Response content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '422': *15 x-github: githubCloudOnly: false @@ -91476,8 +91703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *356 - *357 + - *358 - *572 - *564 responses: @@ -91508,8 +91735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: true @@ -91532,7 +91759,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *571 headers: @@ -91567,8 +91794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *356 - *357 + - *358 - *572 - *17 - *19 @@ -91579,13 +91806,13 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: default: *574 headers: - Link: *70 + Link: *71 '404': *6 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91613,8 +91840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: true @@ -91642,7 +91869,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *571 headers: @@ -91651,7 +91878,7 @@ paths: schema: type: string '403': *29 - '410': *560 + '410': *33 '422': *15 '404': *6 x-github: @@ -91671,8 +91898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *356 - *357 + - *358 - *572 requestBody: required: true @@ -91704,13 +91931,13 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *571 '403': *29 '404': *6 '422': *7 - '503': *122 + '503': *123 x-github: triggersNotification: true githubCloudOnly: false @@ -91728,8 +91955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *356 - *357 + - *358 - *572 - *17 - *19 @@ -91800,7 +92027,7 @@ paths: issue_url: type: string format: uri - author_association: *85 + author_association: *86 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -91810,9 +92037,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 - reactions: *86 + properties: *84 + required: *85 + reactions: *87 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and @@ -91858,7 +92085,7 @@ paths: properties: type: type: string - issue: *88 + issue: *89 required: - event - created_at @@ -92058,7 +92285,7 @@ paths: type: string body_text: type: string - author_association: *85 + author_association: *86 required: - event - id @@ -92081,7 +92308,7 @@ paths: type: string comments: type: array - items: &625 + items: &626 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -92176,7 +92403,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *85 + author_association: *86 _links: type: object properties: @@ -92260,7 +92487,7 @@ paths: enum: - line - file - reactions: *86 + reactions: *87 body_html: type: string example: '"

comment body

"' @@ -92296,7 +92523,7 @@ paths: type: string comments: type: array - items: *488 + items: *489 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -92327,8 +92554,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 assignee: *4 required: - id @@ -92371,8 +92598,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 assignee: *4 required: - id @@ -92415,8 +92642,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 state_reason: type: string nullable: true @@ -92594,10 +92821,10 @@ paths: type: User site_admin: true headers: - Link: *70 + Link: *71 '404': *6 '400': *14 - '410': *560 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92614,8 +92841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -92675,7 +92902,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92691,8 +92918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -92764,8 +92991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *356 - *357 + - *358 - &608 name: key_id description: The unique identifier of the key. @@ -92798,8 +93025,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *356 - *357 + - *358 - *608 responses: '204': @@ -92820,8 +93047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -92831,11 +93058,11 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: default: *577 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -92854,8 +93081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -92891,7 +93118,7 @@ paths: description: Response content: application/json: - schema: *87 + schema: *88 examples: default: &609 value: @@ -92925,8 +93152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *356 - *357 + - *358 - name: name in: path required: true @@ -92937,7 +93164,7 @@ paths: description: Response content: application/json: - schema: *87 + schema: *88 examples: default: *609 '404': *6 @@ -92956,8 +93183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *356 - *357 + - *358 - name: name in: path required: true @@ -92996,7 +93223,7 @@ paths: description: Response content: application/json: - schema: *87 + schema: *88 examples: default: value: @@ -93022,8 +93249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *356 - *357 + - *358 - name: name in: path required: true @@ -93049,8 +93276,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -93089,9 +93316,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *356 - *357 - - *461 + - *358 + - *462 responses: '200': description: Response @@ -93153,8 +93380,8 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true required: - _links @@ -93236,8 +93463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -93302,8 +93529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -93337,7 +93564,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *491 + schema: *492 examples: default: *610 '204': @@ -93364,8 +93591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *356 - *357 + - *358 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -93410,8 +93637,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *294 - required: *295 + properties: *295 + required: *296 examples: default: value: @@ -93450,7 +93677,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -93467,8 +93694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -93569,8 +93796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *356 - *357 + - *358 - &613 name: milestone_number description: The number that identifies the milestone. @@ -93602,8 +93829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *356 - *357 + - *358 - *613 requestBody: required: false @@ -93660,8 +93887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *356 - *357 + - *358 - *613 responses: '204': @@ -93683,8 +93910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *356 - *357 + - *358 - *613 - *17 - *19 @@ -93695,11 +93922,11 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: default: *577 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93716,11 +93943,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *356 - *357 + - *358 - *614 - *615 - - *95 + - *96 - *616 - *17 - *19 @@ -93731,11 +93958,11 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *617 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93757,8 +93984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *356 - *357 + - *358 requestBody: required: false content: @@ -93816,8 +94043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -93989,8 +94216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -94048,7 +94275,7 @@ paths: examples: default: *619 '422': *15 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94069,8 +94296,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -94148,7 +94375,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94169,14 +94396,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *356 - *357 + - *358 responses: '204': description: Response '422': *15 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94196,8 +94423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -94282,7 +94509,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94301,8 +94528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *356 - *357 + - *358 responses: '201': description: Response @@ -94347,8 +94574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -94404,8 +94631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *356 - *357 + - *358 - name: build_id in: path required: true @@ -94438,8 +94665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -94544,8 +94771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *356 - *357 + - *358 - &622 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -94604,11 +94831,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *356 - *357 + - *358 - *622 responses: - '204': *61 + '204': *60 '404': *6 x-github: githubCloudOnly: false @@ -94633,8 +94860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -94865,7 +95092,7 @@ paths: description: Empty response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -94892,8 +95119,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: - - *356 - *357 + - *358 responses: '200': description: Private vulnerability reporting status @@ -94930,10 +95157,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *356 - *357 + - *358 responses: - '204': *61 + '204': *60 '422': *14 x-github: githubCloudOnly: false @@ -94952,10 +95179,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *356 - *357 + - *358 responses: - '204': *61 + '204': *60 '422': *14 x-github: githubCloudOnly: false @@ -94975,8 +95202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -94984,7 +95211,7 @@ paths: application/json: schema: type: array - items: *309 + items: *310 examples: default: value: @@ -95015,8 +95242,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: - - *356 - *357 + - *358 requestBody: required: true content: @@ -95028,7 +95255,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *309 + items: *310 required: - properties examples: @@ -95078,8 +95305,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *356 - *357 + - *358 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -95139,12 +95366,12 @@ paths: application/json: schema: type: array - items: *495 + items: *496 examples: default: *623 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '422': *15 x-github: githubCloudOnly: false @@ -95173,8 +95400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -95239,7 +95466,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &628 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -95350,8 +95577,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *294 - required: *295 + properties: *295 + required: *296 nullable: true active_lock_reason: type: string @@ -95383,7 +95610,7 @@ paths: items: *4 requested_teams: type: array - items: *348 + items: *349 head: type: object properties: @@ -95391,7 +95618,7 @@ paths: type: string ref: type: string - repo: *82 + repo: *83 sha: type: string user: *4 @@ -95408,7 +95635,7 @@ paths: type: string ref: type: string - repo: *82 + repo: *83 sha: type: string user: *4 @@ -95421,14 +95648,14 @@ paths: _links: type: object properties: - comments: *296 - commits: *296 - statuses: *296 - html: *296 - issue: *296 - review_comments: *296 - review_comment: *296 - self: *296 + comments: *297 + commits: *297 + statuses: *297 + html: *297 + issue: *297 + review_comments: *297 + review_comment: *297 + self: *297 required: - comments - commits @@ -95438,8 +95665,9 @@ paths: - review_comments - review_comment - self - author_association: *85 + author_association: *86 auto_merge: *624 + stack: *625 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -95529,7 +95757,7 @@ paths: - merged_by - review_comments examples: - default: &628 + default: &629 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -96036,8 +96264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *356 - *357 + - *358 - name: sort in: query required: false @@ -96056,7 +96284,7 @@ paths: enum: - asc - desc - - *95 + - *96 - *17 - *19 responses: @@ -96066,9 +96294,9 @@ paths: application/json: schema: type: array - items: *625 + items: *626 examples: - default: &630 + default: &631 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96120,7 +96348,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96145,17 +96373,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *356 - *357 - - *104 + - *358 + - *105 responses: '200': description: Response content: application/json: - schema: *625 + schema: *626 examples: - default: &626 + default: &627 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96230,9 +96458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *356 - *357 - - *104 + - *358 + - *105 requestBody: required: true content: @@ -96254,9 +96482,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: - default: *626 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96272,9 +96500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *356 - *357 - - *104 + - *358 + - *105 responses: '204': description: Response @@ -96295,9 +96523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 - 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. @@ -96323,11 +96551,11 @@ paths: application/json: schema: type: array - items: *489 + items: *490 examples: default: *563 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -96346,9 +96574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *356 - *357 - - *104 + - *358 + - *105 requestBody: required: true content: @@ -96380,16 +96608,16 @@ paths: description: Reaction exists content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '201': description: Reaction created content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '422': *15 x-github: githubCloudOnly: false @@ -96411,9 +96639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *356 - *357 - - *104 + - *358 + - *105 - *564 responses: '204': @@ -96457,9 +96685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *356 - *357 - - &629 + - *358 + - &630 name: pull_number description: The number that identifies the pull request. in: path @@ -96472,18 +96700,18 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *627 + schema: *628 examples: - default: *628 - '304': *37 + default: *629 + '304': *38 '404': *6 '406': description: Unacceptable content: application/json: schema: *3 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96509,9 +96737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 requestBody: required: false content: @@ -96553,9 +96781,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *628 examples: - default: *628 + default: *629 '422': *15 '403': *29 x-github: @@ -96577,9 +96805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 requestBody: required: true content: @@ -96639,21 +96867,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *262 + schema: *263 examples: - default: *478 + default: *479 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *262 + schema: *263 examples: - default: *478 + default: *479 '401': *25 '403': *29 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96679,10 +96907,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *356 - *357 - - *629 - - *112 + - *358 + - *630 + - *113 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -96692,7 +96920,7 @@ paths: enum: - asc - desc - - *95 + - *96 - *17 - *19 responses: @@ -96702,11 +96930,11 @@ paths: application/json: schema: type: array - items: *625 + items: *626 examples: - default: *630 + default: *631 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96737,9 +96965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 requestBody: required: true content: @@ -96844,7 +97072,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: example-for-a-multi-line-comment: value: @@ -96932,10 +97160,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *356 - *357 - - *629 - - *104 + - *358 + - *630 + - *105 requestBody: required: true content: @@ -96957,7 +97185,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: default: value: @@ -97043,9 +97271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 - *17 - *19 responses: @@ -97055,11 +97283,11 @@ paths: application/json: schema: type: array - items: *491 + items: *492 examples: - default: *631 + default: *632 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97087,9 +97315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *356 - *357 - - *629 + - *358 + - *630 - *17 - *19 responses: @@ -97099,7 +97327,7 @@ paths: application/json: schema: type: array - items: *504 + items: *505 examples: default: value: @@ -97115,10 +97343,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *70 + Link: *71 '422': *15 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97137,9 +97365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *356 - *357 - - *629 + - *358 + - *630 responses: '204': description: Response if pull request has been merged @@ -97162,9 +97390,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 requestBody: required: false content: @@ -97275,9 +97503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 responses: '200': description: Response @@ -97293,7 +97521,7 @@ paths: items: *4 teams: type: array - items: *210 + items: *211 required: - users - teams @@ -97334,7 +97562,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97352,9 +97580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 requestBody: required: false content: @@ -97391,7 +97619,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: default: value: @@ -97927,9 +98155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 requestBody: required: true content: @@ -97963,7 +98191,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: default: value: @@ -98448,9 +98676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 - *17 - *19 responses: @@ -98460,7 +98688,7 @@ paths: application/json: schema: type: array - items: &632 + items: &633 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -98529,7 +98757,7 @@ paths: type: string body_text: type: string - author_association: *85 + author_association: *86 required: - id - node_id @@ -98578,7 +98806,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98611,9 +98839,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *356 - *357 - - *629 + - *358 + - *630 requestBody: required: false content: @@ -98699,9 +98927,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: &634 + default: &635 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98764,10 +98992,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *356 - *357 - - *629 - - &633 + - *358 + - *630 + - &634 name: review_id description: The unique identifier of the review. in: path @@ -98779,9 +99007,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: &635 + default: &636 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98840,10 +99068,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *356 - *357 - - *629 - - *633 + - *358 + - *630 + - *634 requestBody: required: true content: @@ -98866,7 +99094,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: default: value: @@ -98928,18 +99156,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *356 - *357 - - *629 - - *633 + - *358 + - *630 + - *634 responses: '200': description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *634 + default: *635 '422': *7 '404': *6 x-github: @@ -98966,10 +99194,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *356 - *357 - - *629 - - *633 + - *358 + - *630 + - *634 - *17 - *19 responses: @@ -99048,13 +99276,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *85 + author_association: *86 _links: type: object properties: - self: *296 - html: *296 - pull_request: *296 + self: *297 + html: *297 + pull_request: *297 required: - self - html @@ -99063,7 +99291,7 @@ paths: type: string body_html: type: string - reactions: *86 + reactions: *87 side: description: The side of the first line of the range for a multi-line comment. @@ -99175,7 +99403,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -99204,10 +99432,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *356 - *357 - - *629 - - *633 + - *358 + - *630 + - *634 requestBody: required: true content: @@ -99235,7 +99463,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: default: value: @@ -99298,10 +99526,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *356 - *357 - - *629 - - *633 + - *358 + - *630 + - *634 requestBody: required: true content: @@ -99336,9 +99564,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *635 + default: *636 '404': *6 '422': *7 '403': *29 @@ -99360,9 +99588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *356 - *357 - - *629 + - *358 + - *630 requestBody: required: false content: @@ -99425,8 +99653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *356 - *357 + - *358 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -99439,9 +99667,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: &637 + default: &638 value: type: file encoding: base64 @@ -99458,7 +99686,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': *37 + '304': *38 '404': *6 '422': *15 x-github: @@ -99483,8 +99711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *356 - *357 + - *358 - name: dir description: The alternate path to look for a README file in: path @@ -99504,9 +99732,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: *637 + default: *638 '404': *6 '422': *15 x-github: @@ -99528,8 +99756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -99539,7 +99767,7 @@ paths: application/json: schema: type: array - items: *638 + items: *639 examples: default: value: @@ -99613,7 +99841,7 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -99633,8 +99861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -99710,9 +99938,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: - default: &642 + default: &643 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -99817,9 +100045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *356 - *357 - - &640 + - *358 + - &641 name: asset_id description: The unique identifier of the asset. in: path @@ -99831,9 +100059,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: &641 + default: &642 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 @@ -99868,7 +100096,7 @@ paths: type: User site_admin: false '404': *6 - '302': *508 + '302': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99884,9 +100112,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *356 - *357 - - *640 + - *358 + - *641 requestBody: required: false content: @@ -99914,9 +100142,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *641 + default: *642 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99932,9 +100160,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *356 - *357 - - *640 + - *358 + - *641 responses: '204': description: Response @@ -99959,8 +100187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -100045,16 +100273,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *356 - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *638 + schema: *639 examples: - default: *642 + default: *643 '404': *6 x-github: githubCloudOnly: false @@ -100072,8 +100300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *356 - *357 + - *358 - name: tag description: tag parameter in: path @@ -100086,9 +100314,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: - default: *642 + default: *643 '404': *6 x-github: githubCloudOnly: false @@ -100110,9 +100338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *356 - *357 - - &643 + - *358 + - &644 name: release_id description: The unique identifier of the release. in: path @@ -100126,9 +100354,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: *638 + schema: *639 examples: - default: *642 + default: *643 '401': description: Unauthorized x-github: @@ -100146,9 +100374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *356 - *357 - - *643 + - *358 + - *644 requestBody: required: false content: @@ -100212,9 +100440,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: - default: *642 + default: *643 '404': description: Not Found if the discussion category name is invalid content: @@ -100235,9 +100463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *356 - *357 - - *643 + - *358 + - *644 responses: '204': description: Response @@ -100258,9 +100486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *356 - *357 - - *643 + - *358 + - *644 - *17 - *19 responses: @@ -100270,7 +100498,7 @@ paths: application/json: schema: type: array - items: *639 + items: *640 examples: default: value: @@ -100307,7 +100535,7 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100351,9 +100579,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: - - *356 - *357 - - *643 + - *358 + - *644 - name: name in: query required: true @@ -100379,7 +100607,7 @@ paths: description: Response for successful upload content: application/json: - schema: *639 + schema: *640 examples: response-for-successful-upload: value: @@ -100434,9 +100662,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *356 - *357 - - *643 + - *358 + - *644 - 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. @@ -100460,11 +100688,11 @@ paths: application/json: schema: type: array - items: *489 + items: *490 examples: default: *563 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -100483,9 +100711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *356 - *357 - - *643 + - *358 + - *644 requestBody: required: true content: @@ -100515,16 +100743,16 @@ paths: description: Reaction exists content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '201': description: Reaction created content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '422': *15 x-github: githubCloudOnly: false @@ -100546,9 +100774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *356 - *357 - - *643 + - *358 + - *644 - *564 responses: '204': @@ -100573,9 +100801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *356 - *357 - - *422 + - *358 + - *423 - *17 - *19 responses: @@ -100591,8 +100819,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *318 - - &644 + - *319 + - &645 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -100611,72 +100839,72 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *319 - - *644 - allOf: - *320 - - *644 + - *645 - allOf: - *321 - - *644 - - allOf: - *645 - - *644 - allOf: - *322 - - *644 + - *645 + - allOf: + - *646 + - *645 - allOf: - *323 - - *644 + - *645 - allOf: - *324 - - *644 + - *645 - allOf: - *325 - - *644 + - *645 - allOf: - *326 - - *644 + - *645 - allOf: - *327 - - *644 + - *645 - allOf: - *328 - - *644 + - *645 - allOf: - *329 - - *644 + - *645 - allOf: - *330 - - *644 + - *645 - allOf: - *331 - - *644 + - *645 - allOf: - - *336 - - *644 + - *332 + - *645 - allOf: - *337 - - *644 + - *645 - allOf: - *338 - - *644 + - *645 - allOf: - - *646 - - *644 + - *339 + - *645 - allOf: - - *332 - - *644 + - *647 + - *645 - allOf: - *333 - - *644 + - *645 - allOf: - *334 - - *644 + - *645 - allOf: - *335 - - *644 + - *645 + - allOf: + - *336 + - *645 examples: default: value: @@ -100715,8 +100943,8 @@ paths: category: repos subcategory: rules parameters: - - *356 - *357 + - *358 - *17 - *19 - name: includes_parents @@ -100727,7 +100955,7 @@ paths: schema: type: boolean default: true - - *647 + - *648 responses: '200': description: Response @@ -100735,7 +100963,7 @@ paths: application/json: schema: type: array - items: *339 + items: *340 examples: default: value: @@ -100766,7 +100994,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *55 + '500': *56 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -100782,8 +101010,8 @@ paths: category: repos subcategory: rules parameters: - - *356 - *357 + - *358 requestBody: description: Request body required: true @@ -100803,16 +101031,16 @@ paths: - tag - push default: branch - enforcement: *315 + enforcement: *316 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *316 - conditions: *313 + items: *317 + conditions: *314 rules: type: array description: An array of rules within the ruleset. - items: *648 + items: *649 required: - name - enforcement @@ -100843,9 +101071,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *340 examples: - default: &659 + default: &660 value: id: 42 name: super cool ruleset @@ -100879,7 +101107,7 @@ paths: updated_at: '2023-08-23T16:29:47Z' '404': *6 '422': *15 - '500': *55 + '500': *56 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -100893,13 +101121,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *356 - *357 - - *649 + - *358 - *650 - *651 - *652 - *653 + - *654 - *17 - *19 responses: @@ -100907,11 +101135,11 @@ paths: description: Response content: application/json: - schema: *654 + schema: *655 examples: - default: *655 + default: *656 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100930,19 +101158,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *356 - *357 - - *656 + - *358 + - *657 responses: '200': description: Response content: application/json: - schema: *657 + schema: *658 examples: - default: *658 + default: *659 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100968,8 +101196,8 @@ paths: category: repos subcategory: rules parameters: - - *356 - *357 + - *358 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100989,11 +101217,11 @@ paths: description: Response content: application/json: - schema: *339 + schema: *340 examples: - default: *659 + default: *660 '404': *6 - '500': *55 + '500': *56 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -101009,8 +101237,8 @@ paths: category: repos subcategory: rules parameters: - - *356 - *357 + - *358 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101035,16 +101263,16 @@ paths: - branch - tag - push - enforcement: *315 + enforcement: *316 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *316 - conditions: *313 + items: *317 + conditions: *314 rules: description: An array of rules within the ruleset. type: array - items: *648 + items: *649 examples: default: value: @@ -101072,12 +101300,12 @@ paths: description: Response content: application/json: - schema: *339 + schema: *340 examples: - default: *659 + default: *660 '404': *6 '422': *15 - '500': *55 + '500': *56 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -101093,8 +101321,8 @@ paths: category: repos subcategory: rules parameters: - - *356 - *357 + - *358 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101105,7 +101333,7 @@ paths: '204': description: Response '404': *6 - '500': *55 + '500': *56 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -101117,8 +101345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *356 - *357 + - *358 - *17 - *19 - name: ruleset_id @@ -101134,11 +101362,11 @@ paths: application/json: schema: type: array - items: *342 + items: *343 examples: - default: *660 + default: *661 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101155,8 +101383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *356 - *357 + - *358 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101174,7 +101402,7 @@ paths: description: Response content: application/json: - schema: *661 + schema: *662 examples: default: value: @@ -101207,7 +101435,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101229,9 +101457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *356 - *357 - - *662 + - *358 - *663 - *664 - *665 @@ -101239,10 +101466,10 @@ paths: - *667 - *668 - *669 - - *62 + - *670 + - *63 - *19 - *17 - - *670 - *671 - *672 - *673 @@ -101251,6 +101478,7 @@ paths: - *676 - *677 - *678 + - *679 responses: '200': description: Response @@ -101261,8 +101489,8 @@ paths: items: type: object properties: - number: *188 - created_at: *189 + number: *189 + created_at: *190 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -101270,15 +101498,15 @@ paths: format: date-time readOnly: true nullable: true - url: *191 - html_url: *192 + url: *192 + html_url: *193 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *679 - resolution: *680 + state: *680 + resolution: *681 resolved_at: type: string format: date-time @@ -101384,7 +101612,7 @@ paths: pull request. ' - oneOf: *681 + oneOf: *682 nullable: true has_more_locations: type: boolean @@ -101526,7 +101754,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101548,20 +101776,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *356 - *357 - - *455 - - *675 + - *358 + - *456 + - *676 responses: '200': description: Response content: application/json: - schema: &682 + schema: &683 type: object properties: - number: *188 - created_at: *189 + number: *189 + created_at: *190 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -101569,14 +101797,14 @@ paths: format: date-time readOnly: true nullable: true - url: *191 - html_url: *192 + url: *192 + html_url: *193 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *679 - resolution: *680 + state: *680 + resolution: *681 resolved_at: type: string format: date-time @@ -101682,7 +101910,7 @@ paths: pull request. ' - oneOf: *681 + oneOf: *682 nullable: true has_more_locations: type: boolean @@ -101710,7 +101938,7 @@ paths: properties: *20 required: *21 nullable: true - metadata: &854 + metadata: &855 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -101756,11 +101984,11 @@ paths: metadata: - key: owner_email value: owner@example.com - '304': *37 + '304': *38 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101783,9 +102011,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *356 - *357 - - *455 + - *358 + - *456 requestBody: required: true content: @@ -101793,8 +102021,8 @@ paths: schema: type: object properties: - state: *679 - resolution: *680 + state: *680 + resolution: *681 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -101838,7 +102066,7 @@ paths: description: Response content: application/json: - schema: *682 + schema: *683 examples: default: value: @@ -101918,7 +102146,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': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -101940,9 +102168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *356 - *357 - - *455 + - *358 + - *456 - *19 - *17 responses: @@ -101953,7 +102181,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &856 + items: &857 type: object properties: type: @@ -101979,7 +102207,6 @@ paths: example: commit details: oneOf: - - *683 - *684 - *685 - *686 @@ -101992,6 +102219,7 @@ paths: - *693 - *694 - *695 + - *696 examples: default: value: @@ -102051,11 +102279,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *70 + Link: *71 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102080,12 +102308,12 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *356 - *357 - - *696 + - *358 - *697 - *698 - - *62 + - *699 + - *63 - *19 - *17 responses: @@ -102095,11 +102323,11 @@ paths: application/json: schema: type: array - items: *343 + items: *344 examples: - default: *699 + default: *700 headers: - Link: *70 + Link: *71 '403': *29 '404': *6 post: @@ -102120,8 +102348,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -102134,9 +102362,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *700 + items: *701 examples: - default: *701 + default: *702 responses: '201': description: All patterns created successfully. @@ -102148,9 +102376,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *343 + items: *344 examples: - default: *702 + default: *703 '400': *14 '403': *29 '404': *6 @@ -102174,7 +102402,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *703 + items: *704 delete: summary: Bulk delete repository custom patterns description: |- @@ -102193,8 +102421,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -102208,7 +102436,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *704 + items: *705 post_delete_action: type: string description: |- @@ -102221,14 +102449,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *705 + default: *706 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *29 '404': *6 - '412': *345 + '412': *346 "/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update a repository custom pattern @@ -102248,8 +102476,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *356 - *357 + - *358 - name: pattern_id in: path required: true @@ -102260,21 +102488,21 @@ paths: required: true content: application/json: - schema: *706 + schema: *707 examples: - default: *707 + default: *708 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *343 + schema: *344 examples: - default: *708 + default: *709 '400': *14 '403': *29 '404': *6 - '412': *345 + '412': *346 '422': *15 "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": post: @@ -102292,8 +102520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -102301,14 +102529,14 @@ paths: schema: type: object properties: - reason: &710 + reason: &711 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *709 + placeholder_id: *710 required: - reason - placeholder_id @@ -102325,7 +102553,7 @@ paths: schema: type: object properties: - reason: *710 + reason: *711 expire_at: type: string format: date-time @@ -102348,7 +102576,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -102371,13 +102599,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: - - *356 - *357 + - *358 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *122 + '503': *123 '200': description: Response content: @@ -102387,7 +102615,7 @@ paths: properties: incremental_scans: type: array - items: &711 + items: &712 description: Information on a single scan performed by secret scanning on the repository type: object @@ -102418,15 +102646,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *711 + items: *712 backfill_scans: type: array - items: *711 + items: *712 custom_pattern_backfill_scans: type: array items: allOf: - - *711 + - *712 - type: object properties: pattern_name: @@ -102439,7 +102667,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *711 + items: *712 examples: default: value: @@ -102504,9 +102732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *356 - *357 - - *62 + - *358 + - *63 - name: sort description: The property to sort the results by. in: query @@ -102518,8 +102746,8 @@ paths: - updated - published default: created - - *47 - *48 + - *49 - 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)." @@ -102549,9 +102777,9 @@ paths: application/json: schema: type: array - items: *712 + items: *713 examples: - default: *713 + default: *714 '400': *14 '404': *6 x-github: @@ -102574,8 +102802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -102648,7 +102876,7 @@ paths: login: type: string description: The username of the user credited. - type: *347 + type: *348 required: - login - type @@ -102735,9 +102963,9 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: - default: &715 + default: &716 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -102967,8 +103195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -103072,7 +103300,7 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: default: value: @@ -103218,17 +103446,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *356 - *357 - - *714 + - *358 + - *715 responses: '200': description: Response content: application/json: - schema: *712 + schema: *713 examples: - default: *715 + default: *716 '403': *29 '404': *6 x-github: @@ -103252,9 +103480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *356 - *357 - - *714 + - *358 + - *715 requestBody: required: true content: @@ -103327,7 +103555,7 @@ paths: login: type: string description: The username of the user credited. - type: *347 + type: *348 required: - login - type @@ -103413,17 +103641,17 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: - default: *715 - add_credit: *715 + default: *716 + add_credit: *716 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *132 + schema: *133 examples: invalid_state_transition: value: @@ -103454,11 +103682,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: - - *356 - *357 - - *714 + - *358 + - *715 responses: - '202': *39 + '202': *40 '400': *14 '403': *29 '404': *6 @@ -103483,17 +103711,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *356 - *357 - - *714 + - *358 + - *715 responses: '202': description: Response content: application/json: - schema: *359 + schema: *360 examples: - default: *361 + default: *362 '400': *14 '422': *15 '403': *29 @@ -103519,8 +103747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -103597,7 +103825,7 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 '422': *15 x-github: githubCloudOnly: false @@ -103619,8 +103847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *356 - *357 + - *358 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -103629,7 +103857,7 @@ paths: application/json: schema: type: array - items: &716 + items: &717 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -103641,8 +103869,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *39 - '204': *61 + '202': *40 + '204': *60 '422': description: Repository contains more than 10,000 commits x-github: @@ -103662,8 +103890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -103711,8 +103939,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *39 - '204': *61 + '202': *40 + '204': *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103739,8 +103967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -103813,8 +104041,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *39 - '204': *61 + '202': *40 + '204': *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103836,8 +104064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *356 - *357 + - *358 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -103991,8 +104219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *356 - *357 + - *358 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -104002,7 +104230,7 @@ paths: application/json: schema: type: array - items: *716 + items: *717 examples: default: value: @@ -104015,7 +104243,7 @@ paths: - - 0 - 2 - 21 - '204': *61 + '204': *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104035,8 +104263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *356 - *357 + - *358 - name: sha in: path required: true @@ -104090,7 +104318,7 @@ paths: description: Response content: application/json: - schema: *717 + schema: *718 examples: default: value: @@ -104144,8 +104372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -104157,9 +104385,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104177,14 +104405,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *356 - *357 + - *358 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &718 + schema: &719 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -104252,8 +104480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *356 - *357 + - *358 requestBody: required: false content: @@ -104279,7 +104507,7 @@ paths: description: Response content: application/json: - schema: *718 + schema: *719 examples: default: value: @@ -104306,8 +104534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -104327,8 +104555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -104384,7 +104612,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104407,8 +104635,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *356 - *357 + - *358 - name: ref in: path required: true @@ -104444,8 +104672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *356 - *357 + - *358 - *17 - *19 responses: @@ -104455,11 +104683,11 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: *274 + default: *275 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -104477,8 +104705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *356 - *357 + - *358 - *19 - *17 responses: @@ -104486,7 +104714,7 @@ paths: description: Response content: application/json: - schema: &719 + schema: &720 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -104498,7 +104726,7 @@ paths: required: - names examples: - default: &720 + default: &721 value: names: - octocat @@ -104521,8 +104749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -104553,9 +104781,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *720 examples: - default: *720 + default: *721 '404': *6 '422': *7 x-github: @@ -104576,9 +104804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *356 - *357 - - &721 + - *358 + - &722 name: per description: The time frame to display results for. in: query @@ -104607,7 +104835,7 @@ paths: example: 128 clones: type: array - items: &722 + items: &723 title: Traffic type: object properties: @@ -104694,8 +104922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -104785,8 +105013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *356 - *357 + - *358 responses: '200': description: Response @@ -104846,9 +105074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *356 - *357 - - *721 + - *358 + - *722 responses: '200': description: Response @@ -104867,7 +105095,7 @@ paths: example: 3782 views: type: array - items: *722 + items: *723 required: - uniques - count @@ -104944,8 +105172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *356 - *357 + - *358 requestBody: required: true content: @@ -104981,7 +105209,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *164 examples: default: value: @@ -105218,8 +105446,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *356 - *357 + - *358 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -105242,8 +105470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -105265,8 +105493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *356 - *357 + - *358 responses: '204': description: Response @@ -105292,8 +105520,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *356 - *357 + - *358 - name: ref in: path required: true @@ -105385,9 +105613,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: - default: *361 + default: *362 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105428,7 +105656,7 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: default: value: @@ -105504,7 +105732,7 @@ paths: schema: type: string '422': *15 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105620,7 +105848,7 @@ paths: html_url: type: string format: uri - repository: *163 + repository: *164 score: type: number file_size: @@ -105638,7 +105866,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &723 + text_matches: &724 title: Search Result Text Matches type: array items: @@ -105751,8 +105979,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': *37 - '503': *122 + '304': *38 + '503': *123 '422': *15 '403': *29 x-github: @@ -105800,7 +106028,7 @@ paths: enum: - author-date - committer-date - - &724 + - &725 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 @@ -105871,7 +106099,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *420 + properties: *421 nullable: true comment_count: type: integer @@ -105891,7 +106119,7 @@ paths: url: type: string format: uri - verification: *544 + verification: *545 required: - author - committer @@ -105910,7 +106138,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *420 + properties: *421 nullable: true parents: type: array @@ -105923,12 +106151,12 @@ paths: type: string sha: type: string - repository: *163 + repository: *164 score: type: number node_id: type: string - text_matches: *723 + text_matches: *724 required: - sha - node_id @@ -106057,7 +106285,7 @@ paths: deployments_url: https://api.github.com/repos/octocat/Spoon-Knife/deployments score: 1 node_id: MDQ6VXNlcjU4MzIzMQ== - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106120,7 +106348,7 @@ paths: - interactions - created - updated - - *724 + - *725 - *17 - *19 - name: advanced_search @@ -106234,8 +106462,8 @@ paths: description: type: string nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -106248,8 +106476,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *294 - required: *295 + properties: *295 + required: *296 nullable: true comments: type: integer @@ -106263,7 +106491,7 @@ paths: type: string format: date-time nullable: true - text_matches: *723 + text_matches: *724 pull_request: type: object properties: @@ -106296,10 +106524,10 @@ paths: type: string score: type: number - author_association: *85 + author_association: *86 draft: type: boolean - repository: *82 + repository: *83 body_html: type: string body_text: @@ -106307,7 +106535,7 @@ paths: timeline_url: type: string format: uri - type: *257 + type: *258 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -106317,17 +106545,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - reactions: *86 + reactions: *87 required: - closed_at - comments @@ -106489,9 +106717,9 @@ paths: - quoted_text items: - "..." - '503': *122 + '503': *123 '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -106543,7 +106771,7 @@ paths: enum: - created - updated - - *724 + - *725 - *17 - *19 responses: @@ -106587,7 +106815,7 @@ paths: nullable: true score: type: number - text_matches: *723 + text_matches: *724 required: - id - node_id @@ -106619,7 +106847,7 @@ paths: default: true description: Something isn't working. score: 1 - '304': *37 + '304': *38 '404': *6 '403': *29 '422': *15 @@ -106672,7 +106900,7 @@ paths: - forks - help-wanted-issues - updated - - *724 + - *725 - *17 - *19 responses: @@ -106900,8 +107128,8 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true permissions: type: object @@ -106920,7 +107148,7 @@ paths: - admin - pull - push - text_matches: *723 + text_matches: *724 temp_clone_token: type: string allow_merge_commit: @@ -107122,9 +107350,9 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *122 + '503': *123 '422': *15 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107220,7 +107448,7 @@ paths: type: string format: uri nullable: true - text_matches: *723 + text_matches: *724 related: type: array nullable: true @@ -107361,7 +107589,7 @@ paths: featured: true curated: true score: 1 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107411,7 +107639,7 @@ paths: - followers - repositories - joined - - *724 + - *725 - *17 - *19 responses: @@ -107515,7 +107743,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *723 + text_matches: *724 blog: type: string nullable: true @@ -107573,8 +107801,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': *37 - '503': *122 + '304': *38 + '503': *123 '422': *15 x-github: githubCloudOnly: false @@ -107594,7 +107822,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &727 + - &728 name: team_id description: The unique identifier of the team. in: path @@ -107606,9 +107834,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: *353 + default: *354 '404': *6 x-github: githubCloudOnly: false @@ -107635,7 +107863,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *727 + - *728 requestBody: required: true content: @@ -107698,16 +107926,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *352 + schema: *353 examples: - default: *353 + default: *354 '201': description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: *353 + default: *354 '404': *6 '422': *15 '403': *29 @@ -107735,7 +107963,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *727 + - *728 responses: '204': description: Response @@ -107764,7 +107992,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *727 + - *728 - *17 - *19 responses: @@ -107774,11 +108002,11 @@ paths: application/json: schema: type: array - items: *251 + items: *252 examples: - default: *252 + default: *253 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107804,7 +108032,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *727 + - *728 - name: role description: Filters members returned by their role in the team. in: query @@ -107825,11 +108053,11 @@ paths: application/json: schema: type: array - items: *728 + items: *729 examples: - default: *729 + default: *730 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -107855,8 +108083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *727 - - *74 + - *728 + - *75 responses: '204': description: if user is a member @@ -107892,8 +108120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *727 - - *74 + - *728 + - *75 responses: '204': description: Response @@ -107932,8 +108160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *727 - - *74 + - *728 + - *75 responses: '204': description: Response @@ -107969,16 +108197,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *727 - - *74 + - *728 + - *75 responses: '200': description: Response content: application/json: - schema: *355 + schema: *356 examples: - response-if-user-is-a-team-maintainer: *730 + response-if-user-is-a-team-maintainer: *731 '404': *6 x-github: githubCloudOnly: false @@ -108011,8 +108239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *727 - - *74 + - *728 + - *75 requestBody: required: false content: @@ -108037,9 +108265,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *356 examples: - response-if-users-membership-with-team-is-now-pending: *731 + response-if-users-membership-with-team-is-now-pending: *732 '403': description: Forbidden if team synchronization is set up '422': @@ -108073,8 +108301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *727 - - *74 + - *728 + - *75 responses: '204': description: Response @@ -108101,7 +108329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *727 + - *728 - *17 - *19 responses: @@ -108111,11 +108339,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *288 + default: *289 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -108143,15 +108371,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *727 - - *356 + - *728 - *357 + - *358 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *732 + schema: *733 examples: alternative-response-with-extra-repository-information: value: @@ -108301,9 +108529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *727 - - *356 + - *728 - *357 + - *358 requestBody: required: false content: @@ -108353,9 +108581,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *727 - - *356 + - *728 - *357 + - *358 responses: '204': description: Response @@ -108380,7 +108608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *727 + - *728 - *17 - *19 responses: @@ -108390,11 +108618,11 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - response-if-child-teams-exist: *733 + response-if-child-teams-exist: *734 headers: - Link: *70 + Link: *71 '404': *6 '403': *29 '422': *15 @@ -108425,7 +108653,7 @@ paths: application/json: schema: oneOf: - - &734 + - &735 title: Private User description: Private User type: object @@ -108628,7 +108856,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &761 + - &762 title: Public User description: Public User type: object @@ -108870,7 +109098,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -108940,7 +109168,7 @@ paths: description: Response content: application/json: - schema: *734 + schema: *735 examples: default: value: @@ -108987,7 +109215,7 @@ paths: space: 400 private_repos: 20 collaborators: 0 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -109019,8 +109247,8 @@ paths: type: array items: *4 examples: - default: *73 - '304': *37 + default: *74 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -109042,7 +109270,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: - - *74 + - *75 responses: '204': description: If the user is blocked @@ -109051,7 +109279,7 @@ paths: content: application/json: schema: *3 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -109070,11 +109298,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *74 + - *75 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -109094,11 +109322,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *74 + - *75 responses: '204': description: Response - '304': *37 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -109143,11 +109371,11 @@ paths: type: integer codespaces: type: array - items: *262 + items: *263 examples: - default: *263 - '304': *37 - '500': *55 + default: *264 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -109284,21 +109512,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *262 + schema: *263 examples: - default: *478 + default: *479 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *262 + schema: *263 examples: - default: *478 + default: *479 '401': *25 '403': *29 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109338,7 +109566,7 @@ paths: type: integer secrets: type: array - items: &735 + items: &736 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -109378,9 +109606,9 @@ paths: - visibility - selected_repositories_url examples: - default: *481 + default: *482 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109448,13 +109676,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *171 + - *172 responses: '200': description: Response content: application/json: - schema: *735 + schema: *736 examples: default: value: @@ -109484,7 +109712,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *171 + - *172 requestBody: required: true content: @@ -109529,7 +109757,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -109557,7 +109785,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *171 + - *172 responses: '204': description: Response @@ -109582,7 +109810,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *171 + - *172 responses: '200': description: Response @@ -109598,13 +109826,13 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *211 + default: *212 '401': *25 '403': *29 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109625,7 +109853,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *171 + - *172 requestBody: required: true content: @@ -109657,7 +109885,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109679,7 +109907,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *171 + - *172 - name: repository_id in: path required: true @@ -109691,7 +109919,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109712,7 +109940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *171 + - *172 - name: repository_id in: path required: true @@ -109724,7 +109952,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109744,17 +109972,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *264 + - *265 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *478 - '304': *37 - '500': *55 + default: *479 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -109778,7 +110006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *264 + - *265 requestBody: required: false content: @@ -109808,9 +110036,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *478 + default: *479 '401': *25 '403': *29 '404': *6 @@ -109832,11 +110060,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *264 + - *265 responses: - '202': *39 - '304': *37 - '500': *55 + '202': *40 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -109861,13 +110089,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *264 + - *265 responses: '202': description: Response content: application/json: - schema: &736 + schema: &737 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -109908,7 +110136,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &737 + default: &738 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -109916,7 +110144,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -109940,7 +110168,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *264 + - *265 - name: export_id in: path required: true @@ -109953,9 +110181,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *737 examples: - default: *737 + default: *738 '404': *6 x-github: githubCloudOnly: false @@ -109976,7 +110204,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *264 + - *265 responses: '200': description: Response @@ -109992,11 +110220,11 @@ paths: type: integer machines: type: array - items: *738 + items: *739 examples: - default: *739 - '304': *37 - '500': *55 + default: *740 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -110023,7 +110251,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *264 + - *265 requestBody: required: true content: @@ -110073,13 +110301,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *359 + repository: *360 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *479 - required: *480 + properties: *480 + required: *481 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -110853,17 +111081,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *264 + - *265 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *478 - '304': *37 - '500': *55 + default: *479 + '304': *38 + '500': *56 '400': *14 '401': *25 '402': @@ -110873,7 +111101,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110893,16 +111121,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *264 + - *265 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *478 - '500': *55 + default: *479 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -110931,9 +111159,9 @@ paths: application/json: schema: type: array - items: *275 + items: *276 examples: - default: &751 + default: &752 value: - id: 197 name: hello_docker @@ -111034,7 +111262,7 @@ paths: application/json: schema: type: array - items: &740 + items: &741 title: Email description: Email type: object @@ -111065,7 +111293,7 @@ paths: primary: true verified: true visibility: private - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -111099,17 +111327,17 @@ paths: application/json: schema: type: array - items: *740 + items: *741 examples: - default: &753 + default: &754 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -111176,7 +111404,7 @@ paths: application/json: schema: type: array - items: *740 + items: *741 examples: default: value: @@ -111193,7 +111421,7 @@ paths: verified: false visibility: '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -111254,7 +111482,7 @@ paths: responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -111286,10 +111514,10 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -111319,10 +111547,10 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -111341,7 +111569,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: - - *74 + - *75 responses: '204': description: if the person is followed by the authenticated user @@ -111350,7 +111578,7 @@ paths: content: application/json: schema: *3 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -111371,11 +111599,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *74 + - *75 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -111396,11 +111624,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *74 + - *75 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -111432,7 +111660,7 @@ paths: application/json: schema: type: array - items: &741 + items: &742 title: GPG Key description: A unique encryption key type: object @@ -111563,7 +111791,7 @@ paths: - subkeys - revoked examples: - default: &771 + default: &772 value: - id: 3 name: Octocat's GPG Key @@ -111595,8 +111823,8 @@ paths: revoked: false raw_key: string headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -111648,9 +111876,9 @@ paths: description: Response content: application/json: - schema: *741 + schema: *742 examples: - default: &742 + default: &743 value: id: 3 name: Octocat's GPG Key @@ -111684,7 +111912,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': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -111707,7 +111935,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &743 + - &744 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -111719,11 +111947,11 @@ paths: description: Response content: application/json: - schema: *741 + schema: *742 examples: - default: *742 + default: *743 '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -111744,13 +111972,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *743 + - *744 responses: '204': description: Response '404': *6 '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -111887,8 +112115,8 @@ paths: suspended_at: suspended_by: headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -111935,7 +112163,7 @@ paths: type: array items: allOf: - - *82 + - *83 - type: object properties: custom_properties: @@ -111946,12 +112174,12 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *155 + default: *156 headers: - Link: *70 + Link: *71 '404': *6 '403': *29 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111972,12 +112200,12 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *152 + - *153 responses: '204': description: Response '403': *29 - '304': *37 + '304': *38 '404': *6 x-github: githubCloudOnly: false @@ -111998,12 +112226,12 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *152 + - *153 responses: '204': description: Response '403': *29 - '304': *37 + '304': *38 '404': *6 '422': description: Returned when the application is installed on `all` repositories @@ -112032,12 +112260,12 @@ paths: application/json: schema: anyOf: - - *249 + - *250 - type: object properties: {} additionalProperties: false examples: - default: *250 + default: *251 '204': description: Response when there are no restrictions x-github: @@ -112061,7 +112289,7 @@ paths: required: true content: application/json: - schema: *555 + schema: *556 examples: default: value: @@ -112072,7 +112300,7 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: default: value: @@ -112153,7 +112381,7 @@ paths: - closed - all default: open - - *260 + - *261 - name: sort description: What to sort results by. in: query @@ -112165,8 +112393,8 @@ paths: - updated - comments default: created - - *62 - - *95 + - *63 + - *96 - *17 - *19 responses: @@ -112176,13 +112404,13 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: *261 + default: *262 headers: - Link: *70 + Link: *71 '404': *6 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112211,7 +112439,7 @@ paths: application/json: schema: type: array - items: &744 + items: &745 title: Key description: Key type: object @@ -112262,8 +112490,8 @@ paths: verified: false read_only: false headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -112312,9 +112540,9 @@ paths: description: Response content: application/json: - schema: *744 + schema: *745 examples: - default: &745 + default: &746 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -112324,7 +112552,7 @@ paths: verified: false read_only: false '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -112353,11 +112581,11 @@ paths: description: Response content: application/json: - schema: *744 + schema: *745 examples: - default: *745 + default: *746 '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -112382,7 +112610,7 @@ paths: responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -112411,7 +112639,7 @@ paths: application/json: schema: type: array - items: &746 + items: &747 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -112468,7 +112696,7 @@ paths: - id - type - login - plan: *106 + plan: *107 required: - billing_cycle - next_billing_date @@ -112479,7 +112707,7 @@ paths: - account - plan examples: - default: &747 + default: &748 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -112512,8 +112740,8 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '401': *25 '404': *6 x-github: @@ -112541,12 +112769,12 @@ paths: application/json: schema: type: array - items: *746 + items: *747 examples: - default: *747 + default: *748 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '401': *25 x-github: githubCloudOnly: false @@ -112583,7 +112811,7 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: default: value: @@ -112666,8 +112894,8 @@ paths: type: User site_admin: false headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -112691,13 +112919,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *266 + schema: *267 examples: default: value: @@ -112759,7 +112987,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *78 + - *79 requestBody: required: true content: @@ -112784,9 +113012,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *266 + schema: *267 examples: - default: &748 + default: &749 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -112833,9 +113061,9 @@ paths: processed asynchronously. content: application/json: - schema: *266 + schema: *267 examples: - default: *748 + default: *749 '403': *29 '404': *6 '422': *15 @@ -112864,7 +113092,7 @@ paths: application/json: schema: type: array - items: *268 + items: *269 examples: default: value: @@ -113017,8 +113245,8 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -113117,7 +113345,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: default: value: @@ -113270,7 +113498,7 @@ paths: created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -113297,7 +113525,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *269 + - *270 - name: exclude in: query required: false @@ -113310,7 +113538,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: default: value: @@ -113464,7 +113692,7 @@ paths: created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -113504,11 +113732,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *269 + - *270 responses: '302': description: Response - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -113530,12 +113758,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *269 + - *270 responses: '204': description: Response '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -113559,12 +113787,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *269 - - *749 + - *270 + - *750 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -113584,7 +113812,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *269 + - *270 - *17 - *19 responses: @@ -113594,9 +113822,9 @@ paths: application/json: schema: type: array - items: *67 + items: *68 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -113629,12 +113857,12 @@ paths: application/json: schema: type: array - items: *76 + items: *77 examples: - default: *119 + default: *120 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -113673,7 +113901,7 @@ paths: - docker - nuget - container - - *750 + - *751 - *19 - *17 responses: @@ -113683,10 +113911,10 @@ paths: application/json: schema: type: array - items: *275 + items: *276 examples: - default: *751 - '400': *752 + default: *752 + '400': *753 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113706,16 +113934,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *277 - *278 + - *279 responses: '200': description: Response content: application/json: - schema: *275 + schema: *276 examples: - default: &772 + default: &773 value: id: 40201 name: octo-name @@ -113828,8 +114056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *277 - *278 + - *279 responses: '204': description: Response @@ -113859,8 +114087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *277 - *278 + - *279 - name: token description: package token schema: @@ -113892,8 +114120,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: - - *277 - *278 + - *279 - *19 - *17 - name: state @@ -113913,7 +114141,7 @@ paths: application/json: schema: type: array - items: *279 + items: *280 examples: default: value: @@ -113962,15 +114190,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *277 - *278 - - *280 + - *279 + - *281 responses: '200': description: Response content: application/json: - schema: *279 + schema: *280 examples: default: value: @@ -114006,9 +114234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *277 - *278 - - *280 + - *279 + - *281 responses: '204': description: Response @@ -114038,9 +114266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *277 - *278 - - *280 + - *279 + - *281 responses: '204': description: Response @@ -114077,12 +114305,12 @@ paths: application/json: schema: type: array - items: *740 + items: *741 examples: - default: *753 + default: *754 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -114190,9 +114418,9 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default: &760 + default: &761 summary: Default response value: - id: 1296269 @@ -114313,9 +114541,9 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *70 + Link: *71 '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -114496,16 +114724,16 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: - default: *361 + default: *362 headers: Location: example: https://api.github.com/repos/octocat/Hello-World schema: type: string '401': *25 - '304': *37 + '304': *38 '404': *6 '403': *29 '422': *15 @@ -114537,12 +114765,12 @@ paths: application/json: schema: type: array - items: *558 + items: *559 examples: - default: *754 + default: *755 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -114562,14 +114790,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *253 + - *254 responses: '204': description: Response '403': *29 - '409': *54 + '409': *55 '404': *6 - '304': *37 + '304': *38 '451': *15 x-github: githubCloudOnly: false @@ -114586,12 +114814,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *253 + - *254 responses: '204': description: Response - '409': *54 - '304': *37 + '409': *55 + '304': *38 '404': *6 '403': *29 x-github: @@ -114619,7 +114847,7 @@ paths: application/json: schema: type: array - items: &755 + items: &756 title: Social account description: Social media account type: object @@ -114634,13 +114862,13 @@ paths: - provider - url examples: - default: &756 + default: &757 value: - provider: twitter url: https://twitter.com/github headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -114696,11 +114924,11 @@ paths: application/json: schema: type: array - items: *755 + items: *756 examples: - default: *756 + default: *757 '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -114753,7 +114981,7 @@ paths: '204': description: Response '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -114785,7 +115013,7 @@ paths: application/json: schema: type: array - items: &757 + items: &758 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -114805,7 +115033,7 @@ paths: - title - created_at examples: - default: &789 + default: &790 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -114816,8 +115044,8 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -114869,16 +115097,16 @@ paths: description: Response content: application/json: - schema: *757 + schema: *758 examples: - default: &758 + default: &759 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 title: ssh-rsa AAAAB3NzaC1yc2EAAA created_at: '2020-06-11T21:31:57Z' '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -114901,7 +115129,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: - - &759 + - &760 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -114913,11 +115141,11 @@ paths: description: Response content: application/json: - schema: *757 + schema: *758 examples: - default: *758 + default: *759 '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -114938,11 +115166,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: - - *759 + - *760 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -114967,7 +115195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &790 + - &791 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 @@ -114980,7 +115208,7 @@ paths: - created - updated default: created - - *62 + - *63 - *17 - *19 responses: @@ -114990,13 +115218,13 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default-response: *760 + default-response: *761 application/vnd.github.v3.star+json: schema: type: array - items: &791 + items: &792 title: Starred Repository description: Starred Repository type: object @@ -115004,7 +115232,7 @@ paths: starred_at: type: string format: date-time - repo: *82 + repo: *83 required: - starred_at - repo @@ -115132,8 +115360,8 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -115152,8 +115380,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: - - *356 - *357 + - *358 responses: '204': description: Response if this repository is starred by you @@ -115163,7 +115391,7 @@ paths: application/json: schema: *3 '401': *25 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -115181,15 +115409,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *356 - *357 + - *358 responses: '204': description: Response '403': *29 '404': *6 '401': *25 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115206,14 +115434,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *356 - *357 + - *358 responses: '204': description: Response '404': *6 '401': *25 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -115240,12 +115468,12 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *288 + default: *289 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -115279,7 +115507,7 @@ paths: application/json: schema: type: array - items: *352 + items: *353 examples: default: value: @@ -115330,8 +115558,8 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 x-github: @@ -115357,7 +115585,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *108 + - *109 responses: '200': description: Response @@ -115365,10 +115593,10 @@ paths: application/json: schema: oneOf: - - *734 - - *761 + - *735 + - *762 examples: - default-response: &765 + default-response: &766 summary: Default response value: login: octocat @@ -115403,7 +115631,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &766 + response-with-git-hub-plan-information: &767 summary: Response with GitHub plan information value: login: octocat @@ -115460,14 +115688,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &763 + - &764 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *293 + - *294 requestBody: required: true description: Details of the draft item to create in the project. @@ -115501,10 +115729,10 @@ paths: description: Response content: application/json: - schema: *299 + schema: *300 examples: - draft_issue: *300 - '304': *37 + draft_issue: *301 + '304': *38 '403': *29 '401': *25 x-github: @@ -115526,7 +115754,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *762 + - *763 - *17 responses: '200': @@ -115537,13 +115765,13 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: Link: example: ; rel="next" schema: type: string - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115561,8 +115789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *763 - - *293 + - *764 + - *294 requestBody: required: true content: @@ -115633,18 +115861,18 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *764 + schema: *765 examples: table_view: summary: Response for creating a table view - value: *304 + value: *305 board_view: summary: Response for creating a board view with filter - value: *304 + value: *305 roadmap_view: summary: Response for creating a roadmap view - value: *304 - '304': *37 + value: *305 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -115677,7 +115905,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *74 + - *75 responses: '200': description: Response @@ -115685,11 +115913,11 @@ paths: application/json: schema: oneOf: - - *734 - - *761 + - *735 + - *762 examples: - default-response: *765 - response-with-git-hub-plan-information: *766 + default-response: *766 + response-with-git-hub-plan-information: *767 '404': *6 x-github: githubCloudOnly: false @@ -115713,9 +115941,9 @@ paths: url: https://docs.github.com/rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *47 - *48 - - *74 + - *49 + - *75 requestBody: required: true content: @@ -115739,8 +115967,8 @@ paths: required: - subject_digests examples: - default: *767 - withPredicateType: *768 + default: *768 + withPredicateType: *769 responses: '200': description: Response @@ -115779,7 +116007,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *769 + default: *770 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115797,7 +116025,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *74 + - *75 requestBody: required: true content: @@ -115862,7 +116090,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *74 + - *75 - name: subject_digest description: Subject Digest in: path @@ -115893,7 +116121,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *74 + - *75 - name: attestation_id description: Attestation ID in: path @@ -115929,9 +116157,9 @@ paths: url: https://docs.github.com/rest/users/attestations#list-attestations parameters: - *17 - - *47 - *48 - - *74 + - *49 + - *75 - name: subject_digest description: Subject Digest in: path @@ -115968,12 +116196,12 @@ paths: initiator: type: string examples: - default: *416 + default: *417 '201': description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -116001,7 +116229,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#list-copilot-spaces-for-a-user parameters: - - *74 + - *75 - name: per_page description: The number of results per page (max 100). in: query @@ -116035,7 +116263,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *204 + items: *205 examples: default: summary: Example response for listing user copilot spaces @@ -116134,7 +116362,7 @@ paths: html_url: https://github.com/copilot/spaces/octocat/2 api_url: https://api.github.com/user/1/copilot-spaces/2 headers: - Link: *70 + Link: *71 '403': *29 '404': *6 x-github: @@ -116156,7 +116384,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#create-a-copilot-space-for-a-user parameters: - - *74 + - *75 requestBody: required: true content: @@ -116247,9 +116475,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: &770 + default: &771 summary: Example response for a user copilot space value: id: 42 @@ -116336,7 +116564,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#get-a-copilot-space-for-a-user parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -116348,9 +116576,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: *770 + default: *771 '403': *29 '404': *6 x-github: @@ -116372,7 +116600,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#set-a-copilot-space-for-a-user parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -116471,9 +116699,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: *770 + default: *771 '403': *29 '404': *6 '422': *15 @@ -116496,7 +116724,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#delete-a-copilot-space-for-a-user parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -116530,7 +116758,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -116550,7 +116778,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *206 + items: *207 examples: default: value: @@ -116646,7 +116874,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -116693,7 +116921,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *207 examples: default: value: @@ -116753,7 +116981,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -116804,7 +117032,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *207 examples: default: value: @@ -116866,7 +117094,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -116914,7 +117142,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -116934,7 +117162,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *207 + items: *208 examples: default: value: @@ -116972,7 +117200,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -117026,7 +117254,7 @@ paths: description: Resource created content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -117042,7 +117270,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -117077,7 +117305,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -117095,7 +117323,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -117127,7 +117355,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -117162,7 +117390,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -117195,7 +117423,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -117231,7 +117459,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: - - *74 + - *75 responses: '200': description: Response @@ -117239,9 +117467,9 @@ paths: application/json: schema: type: array - items: *275 + items: *276 examples: - default: *751 + default: *752 '403': *29 '401': *25 x-github: @@ -117264,7 +117492,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -117274,7 +117502,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: default: value: @@ -117336,8 +117564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *74 - - *78 + - *75 + - *79 - *17 - *19 responses: @@ -117347,7 +117575,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: default: value: @@ -117424,7 +117652,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -117434,7 +117662,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: default: value: @@ -117492,7 +117720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -117504,9 +117732,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117523,7 +117751,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *74 + - *75 - *17 - *19 responses: @@ -117535,9 +117763,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117554,7 +117782,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *74 + - *75 - name: target_user in: path required: true @@ -117581,8 +117809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *74 - - *95 + - *75 + - *96 - *17 - *19 responses: @@ -117592,11 +117820,11 @@ paths: application/json: schema: type: array - items: *96 + items: *97 examples: - default: *97 + default: *98 headers: - Link: *70 + Link: *71 '422': *15 x-github: githubCloudOnly: false @@ -117615,7 +117843,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -117625,11 +117853,11 @@ paths: application/json: schema: type: array - items: *741 + items: *742 examples: - default: *771 + default: *772 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117651,7 +117879,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *74 + - *75 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -117723,7 +117951,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *74 + - *75 responses: '200': description: Response @@ -117731,7 +117959,7 @@ paths: application/json: schema: *22 examples: - default: *554 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117749,7 +117977,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -117784,7 +118012,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117804,7 +118032,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -117814,11 +118042,11 @@ paths: application/json: schema: type: array - items: *76 + items: *77 examples: - default: *119 + default: *120 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117855,8 +118083,8 @@ paths: - docker - nuget - container - - *750 - - *74 + - *751 + - *75 - *19 - *17 responses: @@ -117866,12 +118094,12 @@ paths: application/json: schema: type: array - items: *275 + items: *276 examples: - default: *751 + default: *752 '403': *29 '401': *25 - '400': *752 + '400': *753 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117891,17 +118119,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *277 - *278 - - *74 + - *279 + - *75 responses: '200': description: Response content: application/json: - schema: *275 + schema: *276 examples: - default: *772 + default: *773 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117922,9 +118150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *277 - *278 - - *74 + - *279 + - *75 responses: '204': description: Response @@ -117956,9 +118184,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *277 - *278 - - *74 + - *279 + - *75 - name: token description: package token schema: @@ -117990,9 +118218,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: - - *277 - *278 - - *74 + - *279 + - *75 responses: '200': description: Response @@ -118000,7 +118228,7 @@ paths: application/json: schema: type: array - items: *279 + items: *280 examples: default: value: @@ -118058,16 +118286,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *277 - *278 - - *280 - - *74 + - *279 + - *281 + - *75 responses: '200': description: Response content: application/json: - schema: *279 + schema: *280 examples: default: value: @@ -118102,10 +118330,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *277 - *278 - - *74 - - *280 + - *279 + - *75 + - *281 responses: '204': description: Response @@ -118137,10 +118365,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *277 - *278 - - *74 - - *280 + - *279 + - *75 + - *281 responses: '204': description: Response @@ -118164,15 +118392,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *74 + - *75 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *47 - *48 + - *49 - *17 responses: '200': @@ -118181,12 +118409,12 @@ paths: application/json: schema: type: array - items: *291 + items: *292 examples: - default: *292 + default: *293 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -118205,19 +118433,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *293 - - *74 + - *294 + - *75 responses: '200': description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: *292 + default: *293 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -118236,11 +118464,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *293 - - *74 + - *294 + - *75 - *17 - - *47 - *48 + - *49 responses: '200': description: Response @@ -118248,12 +118476,12 @@ paths: application/json: schema: type: array - items: *297 + items: *298 examples: - default: *773 + default: *774 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -118271,8 +118499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *74 - - *293 + - *75 + - *294 requestBody: required: true content: @@ -118310,7 +118538,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *774 + items: *775 required: - name - data_type @@ -118326,7 +118554,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *775 + iteration_configuration: *776 required: - name - data_type @@ -118348,21 +118576,21 @@ paths: value: name: Due date data_type: date - single_select_field: *776 - iteration_field: *777 + single_select_field: *777 + iteration_field: *778 responses: '201': description: Response content: application/json: - schema: *297 + schema: *298 examples: - text_field: *778 - number_field: *779 - date_field: *780 - single_select_field: *781 - iteration_field: *782 - '304': *37 + text_field: *779 + number_field: *780 + date_field: *781 + single_select_field: *782 + iteration_field: *783 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -118382,20 +118610,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *293 - - *783 - - *74 + - *294 + - *784 + - *75 responses: '200': description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *784 + default: *785 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -118415,10 +118643,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *293 - - *74 - - *47 + - *294 + - *75 - *48 + - *49 - *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) @@ -118448,12 +118676,12 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *302 + default: *303 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -118471,8 +118699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *74 - - *293 + - *75 + - *294 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -118542,23 +118770,23 @@ paths: description: Response content: application/json: - schema: *299 + schema: *300 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *300 + value: *301 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *300 + value: *301 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *300 + value: *301 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *300 - '304': *37 + value: *301 + '304': *38 '403': *29 '401': *25 x-github: @@ -118577,9 +118805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *293 - - *74 - - *303 + - *294 + - *75 + - *304 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -118599,12 +118827,12 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -118622,9 +118850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *293 - - *74 - - *303 + - *294 + - *75 + - *304 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -118694,13 +118922,13 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - text_field: *302 - number_field: *302 - date_field: *302 - single_select_field: *302 - iteration_field: *302 + text_field: *303 + number_field: *303 + date_field: *303 + single_select_field: *303 + iteration_field: *303 '401': *25 '403': *29 '404': *6 @@ -118720,9 +118948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *293 - - *74 - - *303 + - *294 + - *75 + - *304 responses: '204': description: Response @@ -118744,9 +118972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *293 - - *74 - - *785 + - *294 + - *75 + - *786 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -118762,8 +118990,8 @@ paths: maxItems: 50 items: type: string - - *47 - *48 + - *49 - *17 responses: '200': @@ -118772,12 +119000,12 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *302 + default: *303 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -118802,7 +119030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -118812,7 +119040,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: default: value: @@ -118877,7 +119105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -118887,7 +119115,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: default: value: @@ -118950,7 +119178,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *74 + - *75 - name: type description: Limit results to repositories of the specified type. in: query @@ -118993,11 +119221,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *288 + default: *289 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119017,12 +119245,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-ai-credit-usage-report-for-a-user parameters: - - *74 - - *124 + - *75 - *125 - *126 - - *128 + - *127 - *129 + - *130 responses: '200': description: Response when getting a billing AI credit usage report @@ -119129,8 +119357,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119150,12 +119378,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *74 - - *124 + - *75 - *125 - *126 - - *128 + - *127 - *129 + - *130 responses: '200': description: Response when getting a billing premium request usage report @@ -119262,8 +119490,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119283,10 +119511,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *74 - - *124 - - *786 - - *126 + - *75 + - *125 + - *787 + - *127 responses: '200': description: Response when getting a billing usage report @@ -119356,8 +119584,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119380,13 +119608,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *74 - - *124 + - *75 - *125 - *126 - - *787 - - *129 + - *127 - *788 + - *130 + - *789 responses: '200': description: Response when getting a billing usage summary @@ -119491,8 +119719,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119510,7 +119738,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -119520,11 +119748,11 @@ paths: application/json: schema: type: array - items: *755 + items: *756 examples: - default: *756 + default: *757 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119542,7 +119770,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -119552,11 +119780,11 @@ paths: application/json: schema: type: array - items: *757 + items: *758 examples: - default: *789 + default: *790 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119578,9 +119806,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *74 - - *790 - - *62 + - *75 + - *791 + - *63 - *17 - *19 responses: @@ -119591,13 +119819,13 @@ paths: schema: anyOf: - type: array - items: *791 + items: *792 - type: array - items: *82 + items: *83 examples: - default-response: *760 + default-response: *761 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119614,7 +119842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -119624,11 +119852,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *288 + default: *289 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119754,7 +119982,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &792 + enterprise: &793 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -119812,7 +120040,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &793 + installation: &794 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -119831,7 +120059,7 @@ x-webhooks: required: - id - node_id - organization: &794 + organization: &795 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -119891,13 +120119,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &795 + repository: &796 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &827 + properties: &828 id: description: Unique identifier of the repository example: 42 @@ -119917,8 +120145,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true organization: title: Simple User @@ -120581,7 +120809,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &828 + required: &829 - archive_url - assignees_url - blobs_url @@ -120732,10 +120960,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -120811,11 +121039,11 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - rule: &796 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + rule: &797 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) @@ -121038,11 +121266,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - rule: *796 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + rule: *797 sender: *4 required: - action @@ -121225,11 +121453,11 @@ x-webhooks: - everyone required: - from - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - rule: *796 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + rule: *797 sender: *4 required: - action @@ -121313,7 +121541,7 @@ x-webhooks: type: string enum: - completed - check_run: &798 + check_run: &799 title: CheckRun description: A check performed on the code of a given code change type: object @@ -121366,8 +121594,8 @@ x-webhooks: type: string pull_requests: type: array - items: *93 - repository: *163 + items: *94 + repository: *164 status: example: completed type: string @@ -121404,7 +121632,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *797 + deployment: *798 details_url: example: https://example.com type: string @@ -121454,7 +121682,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *93 + items: *94 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -121489,10 +121717,10 @@ x-webhooks: - output - app - pull_requests - installation: *793 - enterprise: *792 - organization: *794 - repository: *795 + installation: *794 + enterprise: *793 + organization: *795 + repository: *796 sender: *4 required: - check_run @@ -121883,11 +122111,11 @@ x-webhooks: type: string enum: - created - check_run: *798 - installation: *793 - enterprise: *792 - organization: *794 - repository: *795 + check_run: *799 + installation: *794 + enterprise: *793 + organization: *795 + repository: *796 sender: *4 required: - check_run @@ -122281,11 +122509,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *798 - installation: *793 - enterprise: *792 - organization: *794 - repository: *795 + check_run: *799 + installation: *794 + enterprise: *793 + organization: *795 + repository: *796 requested_action: description: The action requested by the user. type: object @@ -122688,11 +122916,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *798 - installation: *793 - enterprise: *792 - organization: *794 - repository: *795 + check_run: *799 + installation: *794 + enterprise: *793 + organization: *795 + repository: *796 sender: *4 required: - check_run @@ -123662,10 +123890,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -124364,10 +124592,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -125060,10 +125288,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -125229,7 +125457,7 @@ x-webhooks: required: - login - id - dismissed_comment: *450 + dismissed_comment: *451 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -125374,20 +125602,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &799 + commit_oid: &800 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: *792 - installation: *793 - organization: *794 - ref: &800 + enterprise: *793 + installation: *794 + organization: *795 + ref: &801 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: *795 + repository: *796 sender: *4 required: - action @@ -125552,7 +125780,7 @@ x-webhooks: required: - login - id - dismissed_comment: *450 + dismissed_comment: *451 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -125782,12 +126010,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *799 - enterprise: *792 - installation: *793 - organization: *794 - ref: *800 - repository: *795 + commit_oid: *800 + enterprise: *793 + installation: *794 + organization: *795 + ref: *801 + repository: *796 sender: *4 required: - action @@ -125882,7 +126110,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *450 + dismissed_comment: *451 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -126053,12 +126281,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *799 - enterprise: *792 - installation: *793 - organization: *794 - ref: *800 - repository: *795 + commit_oid: *800 + enterprise: *793 + installation: *794 + organization: *795 + ref: *801 + repository: *796 sender: *4 required: - action @@ -126224,7 +126452,7 @@ x-webhooks: required: - login - id - dismissed_comment: *450 + dismissed_comment: *451 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -126390,12 +126618,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *799 - enterprise: *792 - installation: *793 - organization: *794 - ref: *800 - repository: *795 + commit_oid: *800 + enterprise: *793 + installation: *794 + organization: *795 + ref: *801 + repository: *796 sender: *4 required: - action @@ -126494,7 +126722,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *450 + dismissed_comment: *451 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -126669,16 +126897,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *795 + repository: *796 sender: *4 required: - action @@ -126775,7 +127003,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *450 + dismissed_comment: *451 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -126915,12 +127143,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *799 - enterprise: *792 - installation: *793 - organization: *794 - ref: *800 - repository: *795 + commit_oid: *800 + enterprise: *793 + installation: *794 + organization: *795 + ref: *801 + repository: *796 sender: *4 required: - action @@ -127086,7 +127314,7 @@ x-webhooks: required: - login - id - dismissed_comment: *450 + dismissed_comment: *451 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127231,10 +127459,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -127489,10 +127717,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -127572,18 +127800,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *794 - pusher_type: &801 + organization: *795 + pusher_type: &802 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &802 + ref: &803 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -127593,7 +127821,7 @@ x-webhooks: enum: - tag - branch - repository: *795 + repository: *796 sender: *4 required: - ref @@ -127675,10 +127903,10 @@ x-webhooks: type: string enum: - created - definition: *305 - enterprise: *792 - installation: *793 - organization: *794 + definition: *306 + enterprise: *793 + installation: *794 + organization: *795 sender: *4 required: - action @@ -127763,9 +127991,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 sender: *4 required: - action @@ -127842,10 +128070,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *305 - enterprise: *792 - installation: *793 - organization: *794 + definition: *306 + enterprise: *793 + installation: *794 + organization: *795 sender: *4 required: - action @@ -127922,10 +128150,10 @@ x-webhooks: type: string enum: - updated - definition: *305 - enterprise: *792 - installation: *793 - organization: *794 + definition: *306 + enterprise: *793 + installation: *794 + organization: *795 sender: *4 required: - action @@ -128002,19 +128230,19 @@ x-webhooks: type: string enum: - updated - enterprise: *792 - installation: *793 - repository: *795 - organization: *794 + enterprise: *793 + installation: *794 + repository: *796 + organization: *795 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *309 + items: *310 old_property_values: type: array description: The old custom property values for the repository. - items: *309 + items: *310 required: - action - repository @@ -128090,18 +128318,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *792 - installation: *793 - organization: *794 - pusher_type: *801 - ref: *802 + enterprise: *793 + installation: *794 + organization: *795 + pusher_type: *802 + ref: *803 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *795 + repository: *796 sender: *4 required: - ref @@ -128181,11 +128409,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *514 - installation: *793 - organization: *794 - enterprise: *792 - repository: *795 + alert: *515 + installation: *794 + organization: *795 + enterprise: *793 + repository: *796 sender: *4 required: - action @@ -128265,11 +128493,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *514 - installation: *793 - organization: *794 - enterprise: *792 - repository: *795 + alert: *515 + installation: *794 + organization: *795 + enterprise: *793 + repository: *796 sender: *4 required: - action @@ -128350,11 +128578,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *514 - installation: *793 - organization: *794 - enterprise: *792 - repository: *795 + alert: *515 + installation: *794 + organization: *795 + enterprise: *793 + repository: *796 sender: *4 required: - action @@ -128435,11 +128663,11 @@ x-webhooks: type: string enum: - created - alert: *514 - installation: *793 - organization: *794 - enterprise: *792 - repository: *795 + alert: *515 + installation: *794 + organization: *795 + enterprise: *793 + repository: *796 sender: *4 required: - action @@ -128518,11 +128746,11 @@ x-webhooks: type: string enum: - dismissed - alert: *514 - installation: *793 - organization: *794 - enterprise: *792 - repository: *795 + alert: *515 + installation: *794 + organization: *795 + enterprise: *793 + repository: *796 sender: *4 required: - action @@ -128601,11 +128829,11 @@ x-webhooks: type: string enum: - fixed - alert: *514 - installation: *793 - organization: *794 - enterprise: *792 - repository: *795 + alert: *515 + installation: *794 + organization: *795 + enterprise: *793 + repository: *796 sender: *4 required: - action @@ -128685,11 +128913,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *514 - installation: *793 - organization: *794 - enterprise: *792 - repository: *795 + alert: *515 + installation: *794 + organization: *795 + enterprise: *793 + repository: *796 sender: *4 required: - action @@ -128768,11 +128996,11 @@ x-webhooks: type: string enum: - reopened - alert: *514 - installation: *793 - organization: *794 - enterprise: *792 - repository: *795 + alert: *515 + installation: *794 + organization: *795 + enterprise: *793 + repository: *796 sender: *4 required: - action @@ -128849,9 +129077,9 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - key: &803 + enterprise: *793 + installation: *794 + key: &804 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -128887,8 +129115,8 @@ x-webhooks: - verified - created_at - read_only - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -128965,11 +129193,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - key: *803 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + key: *804 + organization: *795 + repository: *796 sender: *4 required: - action @@ -129525,12 +129753,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - workflow: &809 + workflow: &810 title: Workflow type: object nullable: true @@ -130271,15 +130499,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *804 - required: *805 + properties: *805 + required: *806 nullable: true pull_requests: type: array - items: *627 - repository: *795 - organization: *794 - installation: *793 + items: *628 + repository: *796 + organization: *795 + installation: *794 sender: *4 responses: '200': @@ -130350,7 +130578,7 @@ x-webhooks: type: string enum: - approved - approver: &806 + approver: &807 type: object properties: avatar_url: @@ -130393,11 +130621,11 @@ x-webhooks: type: string comment: type: string - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - reviewers: &807 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + reviewers: &808 type: array items: type: object @@ -130476,7 +130704,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &808 + workflow_job_run: &809 type: object properties: conclusion: @@ -131207,18 +131435,18 @@ x-webhooks: type: string enum: - rejected - approver: *806 + approver: *807 comment: type: string - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - reviewers: *807 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + reviewers: *808 sender: *4 since: type: string - workflow_job_run: *808 + workflow_job_run: *809 workflow_job_runs: type: array items: @@ -131922,13 +132150,13 @@ x-webhooks: type: string enum: - requested - enterprise: *792 + enterprise: *793 environment: type: string - installation: *793 - organization: *794 - repository: *795 - requestor: &814 + installation: *794 + organization: *795 + repository: *796 + requestor: &815 title: User type: object nullable: true @@ -133817,12 +134045,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - workflow: *809 + workflow: *810 workflow_run: title: Deployment Workflow Run type: object @@ -134502,7 +134730,7 @@ x-webhooks: type: string enum: - answered - answer: &812 + answer: &813 type: object properties: author_association: @@ -134659,11 +134887,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -134790,11 +135018,11 @@ x-webhooks: - from required: - category - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -134877,11 +135105,11 @@ x-webhooks: type: string enum: - closed - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -134963,7 +135191,7 @@ x-webhooks: type: string enum: - created - comment: &811 + comment: &812 type: object properties: author_association: @@ -135120,11 +135348,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -135207,12 +135435,12 @@ x-webhooks: type: string enum: - deleted - comment: *811 - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + comment: *812 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -135307,12 +135535,12 @@ x-webhooks: - from required: - body - comment: *811 - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + comment: *812 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -135396,11 +135624,11 @@ x-webhooks: type: string enum: - created - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -135482,11 +135710,11 @@ x-webhooks: type: string enum: - deleted - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -135586,11 +135814,11 @@ x-webhooks: type: string required: - from - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -135672,10 +135900,10 @@ x-webhooks: type: string enum: - labeled - discussion: *810 - enterprise: *792 - installation: *793 - label: &813 + discussion: *811 + enterprise: *793 + installation: *794 + label: &814 title: Label type: object properties: @@ -135707,8 +135935,8 @@ x-webhooks: - color - default - description - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -135791,11 +136019,11 @@ x-webhooks: type: string enum: - locked - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -135877,11 +136105,11 @@ x-webhooks: type: string enum: - pinned - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -135963,11 +136191,11 @@ x-webhooks: type: string enum: - reopened - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -136052,16 +136280,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *810 - new_repository: *795 + new_discussion: *811 + new_repository: *796 required: - new_discussion - new_repository - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -136144,10 +136372,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *810 - old_answer: *812 - organization: *794 - repository: *795 + discussion: *811 + old_answer: *813 + organization: *795 + repository: *796 sender: *4 required: - action @@ -136229,12 +136457,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *810 - enterprise: *792 - installation: *793 - label: *813 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + label: *814 + organization: *795 + repository: *796 sender: *4 required: - action @@ -136317,11 +136545,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -136403,11 +136631,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *810 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + discussion: *811 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -136480,7 +136708,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *792 + enterprise: *793 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -137140,9 +137368,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *793 - organization: *794 - repository: *795 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - forkee @@ -137288,9 +137516,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 pages: description: The pages that were updated. type: array @@ -137327,7 +137555,7 @@ x-webhooks: - action - sha - html_url - repository: *795 + repository: *796 sender: *4 required: - pages @@ -137403,10 +137631,10 @@ x-webhooks: type: string enum: - created - enterprise: *792 + enterprise: *793 installation: *22 - organization: *794 - repositories: &815 + organization: *795 + repositories: &816 description: An array of repository objects that the installation can access. type: array @@ -137432,8 +137660,8 @@ x-webhooks: - name - full_name - private - repository: *795 - requester: *814 + repository: *796 + requester: *815 sender: *4 required: - action @@ -137508,11 +137736,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 + enterprise: *793 installation: *22 - organization: *794 - repositories: *815 - repository: *795 + organization: *795 + repositories: *816 + repository: *796 requester: nullable: true sender: *4 @@ -137588,11 +137816,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *792 + enterprise: *793 installation: *22 - organization: *794 - repositories: *815 - repository: *795 + organization: *795 + repositories: *816 + repository: *796 requester: nullable: true sender: *4 @@ -137668,10 +137896,10 @@ x-webhooks: type: string enum: - added - enterprise: *792 + enterprise: *793 installation: *22 - organization: *794 - repositories_added: &816 + organization: *795 + repositories_added: &817 description: An array of repository objects, which were added to the installation. type: array @@ -137717,15 +137945,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *795 - repository_selection: &817 + repository: *796 + repository_selection: &818 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *814 + requester: *815 sender: *4 required: - action @@ -137804,10 +138032,10 @@ x-webhooks: type: string enum: - removed - enterprise: *792 + enterprise: *793 installation: *22 - organization: *794 - repositories_added: *816 + organization: *795 + repositories_added: *817 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -137834,9 +138062,9 @@ x-webhooks: - name - full_name - private - repository: *795 - repository_selection: *817 - requester: *814 + repository: *796 + repository_selection: *818 + requester: *815 sender: *4 required: - action @@ -137915,11 +138143,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *792 + enterprise: *793 installation: *22 - organization: *794 - repositories: *815 - repository: *795 + organization: *795 + repositories: *816 + repository: *796 requester: nullable: true sender: *4 @@ -138097,10 +138325,10 @@ x-webhooks: type: string required: - from - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 target_type: type: string @@ -138179,11 +138407,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *792 + enterprise: *793 installation: *22 - organization: *794 - repositories: *815 - repository: *795 + organization: *795 + repositories: *816 + repository: *796 requester: nullable: true sender: *4 @@ -138307,8 +138535,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 reactions: title: Reactions type: object @@ -138450,8 +138678,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -139240,8 +139468,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139257,7 +139485,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -139590,8 +139818,8 @@ x-webhooks: - state - locked - assignee - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -139671,7 +139899,7 @@ x-webhooks: type: string enum: - deleted - comment: &818 + comment: &819 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -139851,8 +140079,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -140637,8 +140865,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140654,7 +140882,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -140989,8 +141217,8 @@ x-webhooks: - state - locked - assignee - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -141070,7 +141298,7 @@ x-webhooks: type: string enum: - edited - changes: &847 + changes: &848 description: The changes to the comment. type: object properties: @@ -141082,9 +141310,9 @@ x-webhooks: type: string required: - from - comment: *818 - enterprise: *792 - installation: *793 + comment: *819 + enterprise: *793 + installation: *794 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -141872,8 +142100,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141889,7 +142117,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -142222,8 +142450,8 @@ x-webhooks: - state - locked - assignee - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -142304,9 +142532,9 @@ x-webhooks: type: string enum: - pinned - comment: *818 - enterprise: *792 - installation: *793 + comment: *819 + enterprise: *793 + installation: *794 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -143096,8 +143324,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143113,7 +143341,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -143448,8 +143676,8 @@ x-webhooks: - state - locked - assignee - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -143529,9 +143757,9 @@ x-webhooks: type: string enum: - unpinned - comment: *818 - enterprise: *792 - installation: *793 + comment: *819 + enterprise: *793 + installation: *794 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -144321,8 +144549,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144338,7 +144566,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -144673,8 +144901,8 @@ x-webhooks: - state - locked - assignee - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -144757,15 +144985,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *88 + blocked_issue: *89 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *88 - blocking_issue_repo: *82 - installation: *793 - organization: *794 - repository: *795 + blocking_issue: *89 + blocking_issue_repo: *83 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -144848,15 +145076,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *88 + blocked_issue: *89 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *88 - blocking_issue_repo: *82 - installation: *793 - organization: *794 - repository: *795 + blocking_issue: *89 + blocking_issue_repo: *83 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -144938,15 +145166,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *88 - blocked_issue_repo: *82 + blocked_issue: *89 + blocked_issue_repo: *83 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *88 - installation: *793 - organization: *794 - repository: *795 + blocking_issue: *89 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -145029,15 +145257,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *88 - blocked_issue_repo: *82 + blocked_issue: *89 + blocked_issue_repo: *83 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *88 - installation: *793 - organization: *794 - repository: *795 + blocking_issue: *89 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -145117,10 +145345,10 @@ x-webhooks: type: string enum: - assigned - assignee: *814 - enterprise: *792 - installation: *793 - issue: &819 + assignee: *815 + enterprise: *793 + installation: *794 + issue: &820 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -145909,11 +146137,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -145932,7 +146160,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -146033,8 +146261,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -146114,8 +146342,8 @@ x-webhooks: type: string enum: - closed - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -146909,11 +147137,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -146932,7 +147160,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -147168,8 +147396,8 @@ x-webhooks: required: - state - closed_at - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -147248,8 +147476,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148034,11 +148262,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -148057,7 +148285,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -148157,8 +148385,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -148237,8 +148465,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -149045,11 +149273,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -149068,7 +149296,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -149147,7 +149375,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &820 + milestone: &821 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149285,8 +149513,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -149385,8 +149613,8 @@ x-webhooks: type: string required: - from - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150175,11 +150403,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -150195,7 +150423,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *257 + type: *258 title: description: Title of the issue type: string @@ -150299,9 +150527,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *813 - organization: *794 - repository: *795 + label: *814 + organization: *795 + repository: *796 sender: *4 required: - action @@ -150381,9 +150609,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *792 - installation: *793 - issue: *819 + enterprise: *793 + installation: *794 + issue: *820 issue_field: type: object description: The issue field whose value was set or updated on the @@ -150537,8 +150765,8 @@ x-webhooks: - id required: - from - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -150618,9 +150846,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *792 - installation: *793 - issue: *819 + enterprise: *793 + installation: *794 + issue: *820 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -150701,8 +150929,8 @@ x-webhooks: nullable: true required: - id - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -150782,8 +151010,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151571,11 +151799,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -151591,7 +151819,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *257 + type: *258 title: description: Title of the issue type: string @@ -151695,9 +151923,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *813 - organization: *794 - repository: *795 + label: *814 + organization: *795 + repository: *796 sender: *4 required: - action @@ -151777,8 +152005,8 @@ x-webhooks: type: string enum: - locked - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152590,11 +152818,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -152610,7 +152838,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *257 + type: *258 title: description: Title of the issue type: string @@ -152691,8 +152919,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -152771,8 +152999,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153578,11 +153806,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -153601,7 +153829,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -153679,9 +153907,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *820 - organization: *794 - repository: *795 + milestone: *821 + organization: *795 + repository: *796 sender: *4 required: - action @@ -154544,8 +154772,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -154576,8 +154804,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true user: title: User @@ -154649,7 +154877,7 @@ x-webhooks: required: - login - id - type: *257 + type: *258 required: - id - number @@ -155129,8 +155357,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -155914,8 +156142,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -155934,7 +156162,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -155947,8 +156175,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true user: title: User @@ -156042,8 +156270,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -156123,9 +156351,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *792 - installation: *793 - issue: &821 + enterprise: *793 + installation: *794 + issue: &822 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -156908,11 +157136,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -156931,7 +157159,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -157031,8 +157259,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -157111,8 +157339,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -157922,11 +158150,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -158023,9 +158251,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *257 - organization: *794 - repository: *795 + type: *258 + organization: *795 + repository: *796 sender: *4 required: - action @@ -158891,11 +159119,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -158914,7 +159142,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -159493,11 +159721,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *792 - installation: *793 - issue: *821 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + issue: *822 + organization: *795 + repository: *796 sender: *4 required: - action @@ -159577,12 +159805,12 @@ x-webhooks: type: string enum: - typed - enterprise: *792 - installation: *793 - issue: *819 - type: *257 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + issue: *820 + type: *258 + organization: *795 + repository: *796 sender: *4 required: - action @@ -159663,7 +159891,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &850 + assignee: &851 title: User type: object nullable: true @@ -159733,11 +159961,11 @@ x-webhooks: required: - login - id - enterprise: *792 - installation: *793 - issue: *819 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + issue: *820 + organization: *795 + repository: *796 sender: *4 required: - action @@ -159816,12 +160044,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *792 - installation: *793 - issue: *819 - label: *813 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + issue: *820 + label: *814 + organization: *795 + repository: *796 sender: *4 required: - action @@ -159901,8 +160129,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -160712,11 +160940,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *725 - issue_dependencies_summary: *726 + sub_issues_summary: *726 + issue_dependencies_summary: *727 issue_field_values: type: array items: *575 @@ -160735,7 +160963,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *257 + type: *258 updated_at: type: string format: date-time @@ -160813,8 +161041,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -160894,11 +161122,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *792 - installation: *793 - issue: *821 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + issue: *822 + organization: *795 + repository: *796 sender: *4 required: - action @@ -160977,12 +161205,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *792 - installation: *793 - issue: *819 - type: *257 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + issue: *820 + type: *258 + organization: *795 + repository: *796 sender: *4 required: - action @@ -161062,11 +161290,11 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - label: *813 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + label: *814 + organization: *795 + repository: *796 sender: *4 required: - action @@ -161144,11 +161372,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - label: *813 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + label: *814 + organization: *795 + repository: *796 sender: *4 required: - action @@ -161258,11 +161486,11 @@ x-webhooks: type: string required: - from - enterprise: *792 - installation: *793 - label: *813 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + label: *814 + organization: *795 + repository: *796 sender: *4 required: - action @@ -161344,9 +161572,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *792 - installation: *793 - marketplace_purchase: &822 + enterprise: *793 + installation: *794 + marketplace_purchase: &823 title: Marketplace Purchase type: object required: @@ -161429,8 +161657,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *794 - previous_marketplace_purchase: &823 + organization: *795 + previous_marketplace_purchase: &824 title: Marketplace Purchase type: object properties: @@ -161510,7 +161738,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *795 + repository: *796 sender: *4 required: - action @@ -161590,10 +161818,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *792 - installation: *793 - marketplace_purchase: *822 - organization: *794 + enterprise: *793 + installation: *794 + marketplace_purchase: *823 + organization: *795 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161676,7 +161904,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *795 + repository: *796 sender: *4 required: - action @@ -161758,10 +161986,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *792 - installation: *793 - marketplace_purchase: *822 - organization: *794 + enterprise: *793 + installation: *794 + marketplace_purchase: *823 + organization: *795 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161843,7 +162071,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *795 + repository: *796 sender: *4 required: - action @@ -161924,8 +162152,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 marketplace_purchase: title: Marketplace Purchase type: object @@ -162007,9 +162235,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *794 - previous_marketplace_purchase: *823 - repository: *795 + organization: *795 + previous_marketplace_purchase: *824 + repository: *796 sender: *4 required: - action @@ -162089,12 +162317,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *792 - installation: *793 - marketplace_purchase: *822 - organization: *794 - previous_marketplace_purchase: *823 - repository: *795 + enterprise: *793 + installation: *794 + marketplace_purchase: *823 + organization: *795 + previous_marketplace_purchase: *824 + repository: *796 sender: *4 required: - action @@ -162196,11 +162424,11 @@ x-webhooks: type: string required: - to - enterprise: *792 - installation: *793 - member: *814 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + member: *815 + organization: *795 + repository: *796 sender: *4 required: - action @@ -162300,11 +162528,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *792 - installation: *793 - member: *814 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + member: *815 + organization: *795 + repository: *796 sender: *4 required: - action @@ -162383,11 +162611,11 @@ x-webhooks: type: string enum: - removed - enterprise: *792 - installation: *793 - member: *814 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + member: *815 + organization: *795 + repository: *796 sender: *4 required: - action @@ -162465,11 +162693,11 @@ x-webhooks: type: string enum: - added - enterprise: *792 - installation: *793 - member: *814 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + member: *815 + organization: *795 + repository: *796 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162545,7 +162773,7 @@ x-webhooks: required: - login - id - team: &824 + team: &825 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -162768,11 +162996,11 @@ x-webhooks: type: string enum: - removed - enterprise: *792 - installation: *793 - member: *814 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + member: *815 + organization: *795 + repository: *796 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162849,7 +163077,7 @@ x-webhooks: required: - login - id - team: *824 + team: *825 required: - action - scope @@ -162931,8 +163159,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *793 - merge_group: &826 + installation: *794 + merge_group: &827 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -162951,15 +163179,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *825 + head_commit: *826 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -163045,10 +163273,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *793 - merge_group: *826 - organization: *794 - repository: *795 + installation: *794 + merge_group: *827 + organization: *795 + repository: *796 sender: *4 required: - action @@ -163121,7 +163349,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 + enterprise: *793 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -163230,16 +163458,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *793 - organization: *794 + installation: *794 + organization: *795 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *827 - required: *828 + properties: *828 + required: *829 nullable: true sender: *4 required: @@ -163320,11 +163548,11 @@ x-webhooks: type: string enum: - closed - enterprise: *792 - installation: *793 - milestone: *820 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + milestone: *821 + organization: *795 + repository: *796 sender: *4 required: - action @@ -163403,9 +163631,9 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - milestone: &829 + enterprise: *793 + installation: *794 + milestone: &830 title: Milestone description: A collection of related issues and pull requests. type: object @@ -163542,8 +163770,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -163622,11 +163850,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - milestone: *820 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + milestone: *821 + organization: *795 + repository: *796 sender: *4 required: - action @@ -163736,11 +163964,11 @@ x-webhooks: type: string required: - from - enterprise: *792 - installation: *793 - milestone: *820 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + milestone: *821 + organization: *795 + repository: *796 sender: *4 required: - action @@ -163820,11 +164048,11 @@ x-webhooks: type: string enum: - opened - enterprise: *792 - installation: *793 - milestone: *829 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + milestone: *830 + organization: *795 + repository: *796 sender: *4 required: - action @@ -163903,11 +164131,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *814 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + blocked_user: *815 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -163986,11 +164214,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *814 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + blocked_user: *815 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -164069,9 +164297,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - membership: &830 + enterprise: *793 + installation: *794 + membership: &831 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -164178,8 +164406,8 @@ x-webhooks: - role - organization_url - user - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 required: - action @@ -164257,11 +164485,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *792 - installation: *793 - membership: *830 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + membership: *831 + organization: *795 + repository: *796 sender: *4 required: - action @@ -164340,8 +164568,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -164457,10 +164685,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 - user: *814 + user: *815 required: - action - invitation @@ -164538,11 +164766,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *792 - installation: *793 - membership: *830 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + membership: *831 + organization: *795 + repository: *796 sender: *4 required: - action @@ -164629,11 +164857,11 @@ x-webhooks: properties: from: type: string - enterprise: *792 - installation: *793 - membership: *830 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + membership: *831 + organization: *795 + repository: *796 sender: *4 required: - action @@ -164710,9 +164938,9 @@ x-webhooks: type: string enum: - published - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 package: description: Information about the package. type: object @@ -165211,7 +165439,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &831 + items: &832 title: Ruby Gems metadata type: object properties: @@ -165306,7 +165534,7 @@ x-webhooks: - owner - package_version - registry - repository: *795 + repository: *796 sender: *4 required: - action @@ -165382,9 +165610,9 @@ x-webhooks: type: string enum: - updated - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 package: description: Information about the package. type: object @@ -165737,7 +165965,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *831 + items: *832 source_url: type: string format: uri @@ -165807,7 +166035,7 @@ x-webhooks: - owner - package_version - registry - repository: *795 + repository: *796 sender: *4 required: - action @@ -165983,12 +166211,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *792 + enterprise: *793 id: type: integer - installation: *793 - organization: *794 - repository: *795 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - id @@ -166065,7 +166293,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &832 + personal_access_token_request: &833 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -166211,10 +166439,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *792 - organization: *794 + enterprise: *793 + organization: *795 sender: *4 - installation: *793 + installation: *794 required: - action - personal_access_token_request @@ -166291,11 +166519,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *832 - enterprise: *792 - organization: *794 + personal_access_token_request: *833 + enterprise: *793 + organization: *795 sender: *4 - installation: *793 + installation: *794 required: - action - personal_access_token_request @@ -166371,11 +166599,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *832 - enterprise: *792 - organization: *794 + personal_access_token_request: *833 + enterprise: *793 + organization: *795 sender: *4 - installation: *793 + installation: *794 required: - action - personal_access_token_request @@ -166450,11 +166678,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *832 - organization: *794 - enterprise: *792 + personal_access_token_request: *833 + organization: *795 + enterprise: *793 sender: *4 - installation: *793 + installation: *794 required: - action - personal_access_token_request @@ -166559,7 +166787,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *833 + last_response: *834 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -166591,8 +166819,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 zen: description: Random string of GitHub zen. @@ -166837,10 +167065,10 @@ x-webhooks: - from required: - note - enterprise: *792 - installation: *793 - organization: *794 - project_card: &834 + enterprise: *793 + installation: *794 + organization: *795 + project_card: &835 title: Project Card type: object properties: @@ -166959,7 +167187,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *795 + repository: *796 sender: *4 required: - action @@ -167040,11 +167268,11 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 - project_card: *834 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + project_card: *835 + repository: *796 sender: *4 required: - action @@ -167124,9 +167352,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 project_card: title: Project Card type: object @@ -167254,8 +167482,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *827 - required: *828 + properties: *828 + required: *829 nullable: true sender: *4 required: @@ -167349,11 +167577,11 @@ x-webhooks: - from required: - note - enterprise: *792 - installation: *793 - organization: *794 - project_card: *834 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + project_card: *835 + repository: *796 sender: *4 required: - action @@ -167447,9 +167675,9 @@ x-webhooks: - from required: - column_id - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 project_card: allOf: - title: Project Card @@ -167639,7 +167867,7 @@ x-webhooks: type: string required: - after_id - repository: *795 + repository: *796 sender: *4 required: - action @@ -167719,10 +167947,10 @@ x-webhooks: type: string enum: - closed - enterprise: *792 - installation: *793 - organization: *794 - project: &836 + enterprise: *793 + installation: *794 + organization: *795 + project: &837 title: Project type: object properties: @@ -167846,7 +168074,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *795 + repository: *796 sender: *4 required: - action @@ -167926,10 +168154,10 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 - project_column: &835 + enterprise: *793 + installation: *794 + organization: *795 + project_column: &836 title: Project Column type: object properties: @@ -167968,7 +168196,7 @@ x-webhooks: - name - created_at - updated_at - repository: *795 + repository: *796 sender: *4 required: - action @@ -168047,18 +168275,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - organization: *794 - project_column: *835 + enterprise: *793 + installation: *794 + organization: *795 + project_column: *836 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *827 - required: *828 + properties: *828 + required: *829 nullable: true sender: *4 required: @@ -168148,11 +168376,11 @@ x-webhooks: type: string required: - from - enterprise: *792 - installation: *793 - organization: *794 - project_column: *835 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + project_column: *836 + repository: *796 sender: *4 required: - action @@ -168232,11 +168460,11 @@ x-webhooks: type: string enum: - moved - enterprise: *792 - installation: *793 - organization: *794 - project_column: *835 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + project_column: *836 + repository: *796 sender: *4 required: - action @@ -168316,11 +168544,11 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 - project: *836 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + project: *837 + repository: *796 sender: *4 required: - action @@ -168400,18 +168628,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - organization: *794 - project: *836 + enterprise: *793 + installation: *794 + organization: *795 + project: *837 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *827 - required: *828 + properties: *828 + required: *829 nullable: true sender: *4 required: @@ -168513,11 +168741,11 @@ x-webhooks: type: string required: - from - enterprise: *792 - installation: *793 - organization: *794 - project: *836 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + project: *837 + repository: *796 sender: *4 required: - action @@ -168596,11 +168824,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *792 - installation: *793 - organization: *794 - project: *836 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + project: *837 + repository: *796 sender: *4 required: - action @@ -168681,9 +168909,9 @@ x-webhooks: type: string enum: - closed - installation: *793 - organization: *794 - projects_v2: *291 + installation: *794 + organization: *795 + projects_v2: *292 sender: *4 required: - action @@ -168764,9 +168992,9 @@ x-webhooks: type: string enum: - created - installation: *793 - organization: *794 - projects_v2: *291 + installation: *794 + organization: *795 + projects_v2: *292 sender: *4 required: - action @@ -168847,9 +169075,9 @@ x-webhooks: type: string enum: - deleted - installation: *793 - organization: *794 - projects_v2: *291 + installation: *794 + organization: *795 + projects_v2: *292 sender: *4 required: - action @@ -168966,9 +169194,9 @@ x-webhooks: type: string to: type: string - installation: *793 - organization: *794 - projects_v2: *291 + installation: *794 + organization: *795 + projects_v2: *292 sender: *4 required: - action @@ -169051,7 +169279,7 @@ x-webhooks: type: string enum: - archived - changes: &840 + changes: &841 type: object properties: archived_at: @@ -169065,9 +169293,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *793 - organization: *794 - projects_v2_item: &837 + installation: *794 + organization: *795 + projects_v2_item: &838 title: Projects v2 Item description: An item belonging to a project type: object @@ -169085,7 +169313,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *298 + content_type: *299 creator: *4 created_at: type: string @@ -169202,9 +169430,9 @@ x-webhooks: nullable: true to: type: string - installation: *793 - organization: *794 - projects_v2_item: *837 + installation: *794 + organization: *795 + projects_v2_item: *838 sender: *4 required: - action @@ -169286,9 +169514,9 @@ x-webhooks: type: string enum: - created - installation: *793 - organization: *794 - projects_v2_item: *837 + installation: *794 + organization: *795 + projects_v2_item: *838 sender: *4 required: - action @@ -169369,9 +169597,9 @@ x-webhooks: type: string enum: - deleted - installation: *793 - organization: *794 - projects_v2_item: *837 + installation: *794 + organization: *795 + projects_v2_item: *838 sender: *4 required: - action @@ -169477,7 +169705,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &838 + - &839 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -169499,7 +169727,7 @@ x-webhooks: required: - id - name - - &839 + - &840 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -169533,8 +169761,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *838 - *839 + - *840 required: - field_value - type: object @@ -169550,9 +169778,9 @@ x-webhooks: nullable: true required: - body - installation: *793 - organization: *794 - projects_v2_item: *837 + installation: *794 + organization: *795 + projects_v2_item: *838 sender: *4 required: - action @@ -169647,9 +169875,9 @@ x-webhooks: to: type: string nullable: true - installation: *793 - organization: *794 - projects_v2_item: *837 + installation: *794 + organization: *795 + projects_v2_item: *838 sender: *4 required: - action @@ -169732,10 +169960,10 @@ x-webhooks: type: string enum: - restored - changes: *840 - installation: *793 - organization: *794 - projects_v2_item: *837 + changes: *841 + installation: *794 + organization: *795 + projects_v2_item: *838 sender: *4 required: - action @@ -169817,9 +170045,9 @@ x-webhooks: type: string enum: - reopened - installation: *793 - organization: *794 - projects_v2: *291 + installation: *794 + organization: *795 + projects_v2: *292 sender: *4 required: - action @@ -169900,14 +170128,14 @@ x-webhooks: type: string enum: - created - installation: *793 - organization: *794 - projects_v2_status_update: &843 + installation: *794 + organization: *795 + projects_v2_status_update: &844 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *841 - required: *842 + properties: *842 + required: *843 sender: *4 required: - action @@ -169988,9 +170216,9 @@ x-webhooks: type: string enum: - deleted - installation: *793 - organization: *794 - projects_v2_status_update: *843 + installation: *794 + organization: *795 + projects_v2_status_update: *844 sender: *4 required: - action @@ -170126,9 +170354,9 @@ x-webhooks: type: string format: date nullable: true - installation: *793 - organization: *794 - projects_v2_status_update: *843 + installation: *794 + organization: *795 + projects_v2_status_update: *844 sender: *4 required: - action @@ -170199,10 +170427,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - repository @@ -170279,13 +170507,13 @@ x-webhooks: type: string enum: - assigned - assignee: *814 - enterprise: *792 - installation: *793 - number: &844 + assignee: *815 + enterprise: *793 + installation: *794 + number: &845 description: The pull request number. type: integer - organization: *794 + organization: *795 pull_request: title: Pull Request type: object @@ -172447,6 +172675,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -172572,7 +172801,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -172654,11 +172883,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 number: type: integer - organization: *794 + organization: *795 pull_request: title: Pull Request type: object @@ -174813,6 +175042,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -174940,7 +175170,7 @@ x-webhooks: - draft reason: type: string - repository: *795 + repository: *796 sender: *4 required: - action @@ -175022,11 +175252,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 number: type: integer - organization: *794 + organization: *795 pull_request: title: Pull Request type: object @@ -177181,6 +177411,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -177308,7 +177539,7 @@ x-webhooks: - draft reason: type: string - repository: *795 + repository: *796 sender: *4 required: - action @@ -177390,13 +177621,13 @@ x-webhooks: type: string enum: - closed - enterprise: *792 - installation: *793 - number: *844 - organization: *794 - pull_request: &845 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 + pull_request: &846 allOf: - - *627 + - *628 - type: object properties: allow_auto_merge: @@ -177458,7 +177689,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *795 + repository: *796 sender: *4 required: - action @@ -177539,12 +177770,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *792 - installation: *793 - number: *844 - organization: *794 - pull_request: *845 - repository: *795 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 + pull_request: *846 + repository: *796 sender: *4 required: - action @@ -177624,11 +177855,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *792 + enterprise: *793 milestone: *611 - number: *844 - organization: *794 - pull_request: &846 + number: *845 + organization: *795 + pull_request: &847 title: Pull Request type: object properties: @@ -179784,6 +180015,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -179909,7 +180141,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -179988,11 +180220,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 number: type: integer - organization: *794 + organization: *795 pull_request: title: Pull Request type: object @@ -182152,6 +182384,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -182292,7 +182525,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *795 + repository: *796 sender: *4 required: - action @@ -182416,12 +182649,12 @@ x-webhooks: type: string required: - from - enterprise: *792 - installation: *793 - number: *844 - organization: *794 - pull_request: *845 - repository: *795 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 + pull_request: *846 + repository: *796 sender: *4 required: - action @@ -182501,11 +182734,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 number: type: integer - organization: *794 + organization: *795 pull_request: title: Pull Request type: object @@ -184665,6 +184898,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -184790,7 +185024,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -184870,11 +185104,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *792 - installation: *793 - label: *813 - number: *844 - organization: *794 + enterprise: *793 + installation: *794 + label: *814 + number: *845 + organization: *795 pull_request: title: Pull Request type: object @@ -187035,6 +187269,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -187160,7 +187395,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -187241,10 +187476,10 @@ x-webhooks: type: string enum: - locked - enterprise: *792 - installation: *793 - number: *844 - organization: *794 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 pull_request: title: Pull Request type: object @@ -189403,6 +189638,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -189528,7 +189764,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -189608,12 +189844,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *792 + enterprise: *793 milestone: *611 - number: *844 - organization: *794 - pull_request: *846 - repository: *795 + number: *845 + organization: *795 + pull_request: *847 + repository: *796 sender: *4 required: - action @@ -189692,12 +189928,12 @@ x-webhooks: type: string enum: - opened - enterprise: *792 - installation: *793 - number: *844 - organization: *794 - pull_request: *845 - repository: *795 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 + pull_request: *846 + repository: *796 sender: *4 required: - action @@ -189778,12 +190014,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *792 - installation: *793 - number: *844 - organization: *794 - pull_request: *845 - repository: *795 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 + pull_request: *846 + repository: *796 sender: *4 required: - action @@ -189863,12 +190099,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *792 - installation: *793 - number: *844 - organization: *794 - pull_request: *845 - repository: *795 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 + pull_request: *846 + repository: *796 sender: *4 required: - action @@ -190234,9 +190470,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 pull_request: type: object properties: @@ -192290,6 +192526,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: type: string enum: @@ -192410,7 +192647,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *795 + repository: *796 sender: *4 required: - action @@ -192490,7 +192727,7 @@ x-webhooks: type: string enum: - deleted - comment: &848 + comment: &849 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -192775,9 +193012,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 pull_request: type: object properties: @@ -194819,6 +195056,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: type: string enum: @@ -194939,7 +195177,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *795 + repository: *796 sender: *4 required: - action @@ -195019,11 +195257,11 @@ x-webhooks: type: string enum: - edited - changes: *847 - comment: *848 - enterprise: *792 - installation: *793 - organization: *794 + changes: *848 + comment: *849 + enterprise: *793 + installation: *794 + organization: *795 pull_request: type: object properties: @@ -197068,6 +197306,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: type: string enum: @@ -197188,7 +197427,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *795 + repository: *796 sender: *4 required: - action @@ -197269,9 +197508,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 pull_request: title: Simple Pull Request type: object @@ -199326,6 +199565,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: type: string enum: @@ -199448,7 +199688,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *795 + repository: *796 review: description: The review that was affected. type: object @@ -199695,9 +199935,9 @@ x-webhooks: type: string required: - from - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 pull_request: title: Simple Pull Request type: object @@ -201747,8 +201987,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *795 - review: &849 + repository: *796 + review: &850 description: The review that was affected. type: object properties: @@ -201981,12 +202221,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 number: description: The pull request number. type: integer - organization: *794 + organization: *795 pull_request: title: Pull Request type: object @@ -204148,6 +204388,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. @@ -204273,7 +204514,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 requested_reviewer: title: User type: object @@ -204357,12 +204598,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 number: description: The pull request number. type: integer - organization: *794 + organization: *795 pull_request: title: Pull Request type: object @@ -206531,6 +206772,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. @@ -206656,7 +206898,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 requested_team: title: Team description: Groups of organization members that gives permissions @@ -206848,12 +207090,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 number: description: The pull request number. type: integer - organization: *794 + organization: *795 pull_request: title: Pull Request type: object @@ -209016,6 +209258,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. @@ -209142,7 +209385,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 requested_reviewer: title: User type: object @@ -209227,12 +209470,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *792 - installation: *793 + enterprise: *793 + installation: *794 number: description: The pull request number. type: integer - organization: *794 + organization: *795 pull_request: title: Pull Request type: object @@ -211386,6 +211629,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. @@ -211512,7 +211756,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211693,9 +211937,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 pull_request: title: Simple Pull Request type: object @@ -213752,6 +213996,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: type: string enum: @@ -213874,8 +214119,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *795 - review: *849 + repository: *796 + review: *850 sender: *4 required: - action @@ -213955,9 +214200,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 pull_request: title: Simple Pull Request type: object @@ -215923,6 +216168,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: type: string enum: @@ -216045,7 +216291,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *795 + repository: *796 sender: *4 thread: type: object @@ -216432,9 +216678,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 pull_request: title: Simple Pull Request type: object @@ -218387,6 +218633,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: type: string enum: @@ -218508,7 +218755,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *795 + repository: *796 sender: *4 thread: type: object @@ -218892,10 +219139,11 @@ x-webhooks: type: string enum: - stacked - enterprise: *792 - installation: *793 - number: *844 - organization: *794 + enterprise: *793 + installation: *794 + stack: *625 + number: *845 + organization: *795 pull_request: title: Pull Request type: object @@ -221056,6 +221304,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -221181,7 +221430,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -221267,10 +221516,10 @@ x-webhooks: type: string before: type: string - enterprise: *792 - installation: *793 - number: *844 - organization: *794 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 pull_request: title: Pull Request type: object @@ -223420,6 +223669,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -223545,7 +223795,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -223627,11 +223877,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *850 - enterprise: *792 - installation: *793 - number: *844 - organization: *794 + assignee: *851 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 pull_request: title: Pull Request type: object @@ -225793,6 +226043,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -225918,7 +226169,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -225997,11 +226248,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *792 - installation: *793 - label: *813 - number: *844 - organization: *794 + enterprise: *793 + installation: *794 + label: *814 + number: *845 + organization: *795 pull_request: title: Pull Request type: object @@ -228153,6 +228404,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -228278,7 +228530,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -228359,10 +228611,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *792 - installation: *793 - number: *844 - organization: *794 + enterprise: *793 + installation: *794 + number: *845 + organization: *795 pull_request: title: Pull Request type: object @@ -230507,6 +230759,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *625 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -230631,7 +230884,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *795 + repository: *796 sender: *4 required: - action @@ -230831,7 +231084,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *792 + enterprise: *793 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -230923,8 +231176,8 @@ x-webhooks: - url - author - committer - installation: *793 - organization: *794 + installation: *794 + organization: *795 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -231510,9 +231763,9 @@ x-webhooks: type: string enum: - published - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 registry_package: type: object properties: @@ -231958,7 +232211,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *831 + items: *832 summary: type: string tag_name: @@ -232012,7 +232265,7 @@ x-webhooks: - owner - package_version - registry - repository: *795 + repository: *796 sender: *4 required: - action @@ -232090,9 +232343,9 @@ x-webhooks: type: string enum: - updated - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 registry_package: type: object properties: @@ -232400,7 +232653,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *831 + items: *832 summary: type: string tag_name: @@ -232449,7 +232702,7 @@ x-webhooks: - owner - package_version - registry - repository: *795 + repository: *796 sender: *4 required: - action @@ -232526,10 +232779,10 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 - release: &851 + enterprise: *793 + installation: *794 + organization: *795 + release: &852 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -232847,7 +233100,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *795 + repository: *796 sender: *4 required: - action @@ -232924,11 +233177,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - organization: *794 - release: *851 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + release: *852 + repository: *796 sender: *4 required: - action @@ -233045,11 +233298,11 @@ x-webhooks: type: boolean required: - to - enterprise: *792 - installation: *793 - organization: *794 - release: *851 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + release: *852 + repository: *796 sender: *4 required: - action @@ -233127,9 +233380,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -233451,7 +233704,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *795 + repository: *796 sender: *4 required: - action @@ -233527,10 +233780,10 @@ x-webhooks: type: string enum: - published - enterprise: *792 - installation: *793 - organization: *794 - release: &852 + enterprise: *793 + installation: *794 + organization: *795 + release: &853 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -233849,7 +234102,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *795 + repository: *796 sender: *4 required: - action @@ -233925,11 +234178,11 @@ x-webhooks: type: string enum: - released - enterprise: *792 - installation: *793 - organization: *794 - release: *851 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + release: *852 + repository: *796 sender: *4 required: - action @@ -234005,11 +234258,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *792 - installation: *793 - organization: *794 - release: *852 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + release: *853 + repository: *796 sender: *4 required: - action @@ -234085,11 +234338,11 @@ x-webhooks: type: string enum: - published - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - repository_advisory: *712 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + repository_advisory: *713 sender: *4 required: - action @@ -234165,11 +234418,11 @@ x-webhooks: type: string enum: - reported - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - repository_advisory: *712 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + repository_advisory: *713 sender: *4 required: - action @@ -234245,10 +234498,10 @@ x-webhooks: type: string enum: - archived - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -234325,10 +234578,10 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -234406,10 +234659,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -234493,10 +234746,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -234608,10 +234861,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -234683,10 +234936,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 status: type: string @@ -234767,10 +235020,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -234847,10 +235100,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -234944,10 +235197,10 @@ x-webhooks: - name required: - repository - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -235027,11 +235280,11 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - repository_ruleset: *339 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + repository_ruleset: *340 sender: *4 required: - action @@ -235109,11 +235362,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - repository_ruleset: *339 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + repository_ruleset: *340 sender: *4 required: - action @@ -235191,11 +235444,11 @@ x-webhooks: type: string enum: - edited - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - repository_ruleset: *339 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + repository_ruleset: *340 changes: type: object properties: @@ -235214,16 +235467,16 @@ x-webhooks: properties: added: type: array - items: *313 + items: *314 deleted: type: array - items: *313 + items: *314 updated: type: array items: type: object properties: - condition: *313 + condition: *314 changes: type: object properties: @@ -235256,16 +235509,16 @@ x-webhooks: properties: added: type: array - items: *648 + items: *649 deleted: type: array - items: *648 + items: *649 updated: type: array items: type: object properties: - rule: *648 + rule: *649 changes: type: object properties: @@ -235499,10 +235752,10 @@ x-webhooks: - from required: - owner - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -235580,10 +235833,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -235661,7 +235914,7 @@ x-webhooks: type: string enum: - create - alert: &853 + alert: &854 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -235783,10 +236036,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -235992,10 +236245,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -236073,11 +236326,11 @@ x-webhooks: type: string enum: - reopen - alert: *853 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + alert: *854 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -236276,10 +236529,10 @@ x-webhooks: enum: - fixed - open - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -236357,11 +236610,11 @@ x-webhooks: type: string enum: - assigned - alert: &855 + alert: &856 type: object properties: - number: *188 - created_at: *189 + number: *189 + created_at: *190 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -236369,8 +236622,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *191 - html_url: *192 + url: *192 + html_url: *193 locations_url: type: string format: uri @@ -236421,6 +236674,14 @@ x-webhooks: description: The slug identifier for the provider of the secret that was detected. nullable: true + 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. @@ -236499,12 +236760,12 @@ x-webhooks: properties: *20 required: *21 nullable: true - metadata: *854 + metadata: *855 assignee: *4 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -236582,11 +236843,11 @@ x-webhooks: type: string enum: - created - alert: *855 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + alert: *856 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -236667,11 +236928,11 @@ x-webhooks: type: string enum: - created - alert: *855 - installation: *793 - location: *856 - organization: *794 - repository: *795 + alert: *856 + installation: *794 + location: *857 + organization: *795 + repository: *796 sender: *4 required: - location @@ -236909,11 +237170,11 @@ x-webhooks: type: string enum: - metadata_created - alert: *855 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + alert: *856 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -236990,11 +237251,11 @@ x-webhooks: type: string enum: - metadata_removed - alert: *855 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + alert: *856 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -237071,11 +237332,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *855 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + alert: *856 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -237153,11 +237414,11 @@ x-webhooks: type: string enum: - reopened - alert: *855 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + alert: *856 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -237235,11 +237496,11 @@ x-webhooks: type: string enum: - resolved - alert: *855 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + alert: *856 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -237317,12 +237578,12 @@ x-webhooks: type: string enum: - unassigned - alert: *855 + alert: *856 assignee: *4 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -237400,11 +237661,11 @@ x-webhooks: type: string enum: - validated - alert: *855 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + alert: *856 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -237530,10 +237791,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *795 - enterprise: *792 - installation: *793 - organization: *794 + repository: *796 + enterprise: *793 + installation: *794 + organization: *795 sender: *4 required: - action @@ -237611,16 +237872,16 @@ x-webhooks: type: string enum: - published - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - security_advisory: &857 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + security_advisory: &858 description: The details of the security advisory, including summary, description, and severity. type: object properties: - cvss_severities: *64 + cvss_severities: *65 cwes: type: array items: @@ -237786,11 +238047,11 @@ x-webhooks: type: string enum: - updated - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 - security_advisory: *857 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 + security_advisory: *858 sender: *4 required: - action @@ -237863,16 +238124,16 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 security_advisory: description: The details of the security advisory, including summary, description, and severity. type: object properties: - cvss_severities: *64 + cvss_severities: *65 cwes: type: array items: @@ -238038,11 +238299,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *312 - enterprise: *792 - installation: *793 - organization: *794 - repository: *359 + security_and_analysis: *313 + enterprise: *793 + installation: *794 + organization: *795 + repository: *360 sender: *4 required: - changes @@ -238120,12 +238381,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - sponsorship: &858 + sponsorship: &859 type: object properties: created_at: @@ -238426,12 +238687,12 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - sponsorship: *858 + sponsorship: *859 required: - action - sponsorship @@ -238519,12 +238780,12 @@ x-webhooks: type: string required: - from - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - sponsorship: *858 + sponsorship: *859 required: - action - changes @@ -238601,17 +238862,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &859 + effective_date: &860 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: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - sponsorship: *858 + sponsorship: *859 required: - action - sponsorship @@ -238685,7 +238946,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &860 + changes: &861 type: object properties: tier: @@ -238729,13 +238990,13 @@ x-webhooks: - from required: - tier - effective_date: *859 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + effective_date: *860 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - sponsorship: *858 + sponsorship: *859 required: - action - changes @@ -238812,13 +239073,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *860 - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + changes: *861 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - sponsorship: *858 + sponsorship: *859 required: - action - changes @@ -238892,10 +239153,10 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -238978,10 +239239,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -239401,15 +239662,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *792 + enterprise: *793 id: description: The unique identifier of the status. type: integer - installation: *793 + installation: *794 name: type: string - organization: *794 - repository: *795 + organization: *795 + repository: *796 sender: *4 sha: description: The Commit SHA. @@ -239518,15 +239779,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *88 - parent_issue_repo: *82 + parent_issue: *89 + parent_issue_repo: *83 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *88 - installation: *793 - organization: *794 - repository: *795 + sub_issue: *89 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -239609,15 +239870,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *88 - parent_issue_repo: *82 + parent_issue: *89 + parent_issue_repo: *83 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *88 - installation: *793 - organization: *794 - repository: *795 + sub_issue: *89 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -239700,15 +239961,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *88 - sub_issue_repo: *82 + sub_issue: *89 + sub_issue_repo: *83 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *88 - installation: *793 - organization: *794 - repository: *795 + parent_issue: *89 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -239791,15 +240052,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *88 - sub_issue_repo: *82 + sub_issue: *89 + sub_issue_repo: *83 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *88 - installation: *793 - organization: *794 - repository: *795 + parent_issue: *89 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -239875,12 +240136,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - team: &861 + team: &862 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -240103,9 +240364,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 repository: title: Repository description: A git repository @@ -240563,7 +240824,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *861 + team: *862 required: - action - team @@ -240639,9 +240900,9 @@ x-webhooks: type: string enum: - created - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 repository: title: Repository description: A git repository @@ -241099,7 +241360,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *861 + team: *862 required: - action - team @@ -241176,9 +241437,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 repository: title: Repository description: A git repository @@ -241636,7 +241897,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *861 + team: *862 required: - action - team @@ -241780,9 +242041,9 @@ x-webhooks: - from required: - permissions - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 repository: title: Repository description: A git repository @@ -242240,7 +242501,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *861 + team: *862 required: - action - changes @@ -242318,9 +242579,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *792 - installation: *793 - organization: *794 + enterprise: *793 + installation: *794 + organization: *795 repository: title: Repository description: A git repository @@ -242778,7 +243039,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *861 + team: *862 required: - action - team @@ -242854,10 +243115,10 @@ x-webhooks: type: string enum: - started - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 required: - action @@ -242930,16 +243191,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *792 + enterprise: *793 inputs: type: object nullable: true additionalProperties: true - installation: *793 - organization: *794 + installation: *794 + organization: *795 ref: type: string - repository: *795 + repository: *796 sender: *4 workflow: type: string @@ -243021,10 +243282,10 @@ x-webhooks: type: string enum: - completed - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 workflow_job: allOf: @@ -243261,7 +243522,7 @@ x-webhooks: type: string required: - conclusion - deployment: *521 + deployment: *522 required: - action - repository @@ -243340,10 +243601,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 workflow_job: allOf: @@ -243603,7 +243864,7 @@ x-webhooks: required: - status - steps - deployment: *521 + deployment: *522 required: - action - repository @@ -243682,10 +243943,10 @@ x-webhooks: type: string enum: - queued - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 workflow_job: type: object @@ -243820,7 +244081,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *521 + deployment: *522 required: - action - repository @@ -243899,10 +244160,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 workflow_job: type: object @@ -244038,7 +244299,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *521 + deployment: *522 required: - action - repository @@ -244118,12 +244379,12 @@ x-webhooks: type: string enum: - completed - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - workflow: *809 + workflow: *810 workflow_run: title: Workflow Run type: object @@ -245122,12 +245383,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - workflow: *809 + workflow: *810 workflow_run: title: Workflow Run type: object @@ -246111,12 +246372,12 @@ x-webhooks: type: string enum: - requested - enterprise: *792 - installation: *793 - organization: *794 - repository: *795 + enterprise: *793 + installation: *794 + organization: *795 + repository: *796 sender: *4 - workflow: *809 + workflow: *810 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 4917aaf29c..f5043c4966 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -16887,6 +16887,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": { @@ -17273,6 +17299,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": { @@ -17439,241 +17491,319 @@ } } } - } - }, - "x-github": { - "enabledForGitHubApps": true, - "category": "classroom", - "subcategory": "classroom", - "deprecationDate": "2026-05-22", - "removalDate": "2026-08-28" - }, - "deprecated": true - } - }, - "/classrooms": { - "get": { - "summary": "Closing down - List classrooms", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nLists GitHub Classroom classrooms for the current user. Classrooms will only be returned if the current user is an administrator of one or more GitHub Classrooms.", - "tags": [ - "classroom" - ], - "operationId": "classroom/list-classrooms", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/classroom/classroom#closing-down---list-classrooms" - }, - "parameters": [ - { - "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/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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Simple Classroom", - "description": "A GitHub Classroom classroom", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the classroom.", - "example": 42, - "type": "integer" - }, - "name": { - "description": "The name of the classroom.", - "type": "string", - "example": "Programming Elixir" - }, - "archived": { - "description": "Returns whether classroom is archived or not.", - "type": "boolean", - "example": false - }, - "url": { - "description": "The url of the classroom on GitHub Classroom.", - "type": "string", - "example": "https://classroom.github.com/classrooms/1-programming-elixir" - } - }, - "required": [ - "id", - "name", - "archived", - "url" - ] - } - }, - "examples": { - "default": { - "value": { - "id": 1296269, - "name": "Programming Elixir", - "archived": "false,", - "url": "https://classroom.github.com/classrooms/1-programming-elixir" - } - } - } - } - } - } - }, - "x-github": { - "enabledForGitHubApps": true, - "category": "classroom", - "subcategory": "classroom", - "deprecationDate": "2026-05-22", - "removalDate": "2026-08-28" - }, - "deprecated": true - } - }, - "/classrooms/{classroom_id}": { - "get": { - "summary": "Closing down - Get a classroom", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nGets a GitHub Classroom classroom for the current user. Classroom will only be returned if the current user is an administrator of the GitHub Classroom.", - "tags": [ - "classroom" - ], - "operationId": "classroom/get-a-classroom", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/classroom/classroom#closing-down---get-a-classroom" - }, - "parameters": [ - { - "name": "classroom_id", - "description": "The unique identifier of the classroom.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Classroom", - "description": "A GitHub Classroom classroom", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the classroom.", - "example": 42, - "type": "integer" - }, - "name": { - "description": "The name of the classroom.", - "type": "string", - "example": "Programming Elixir" - }, - "archived": { - "description": "Whether classroom is archived.", - "type": "boolean", - "example": false - }, - "organization": { - "title": "Organization Simple for Classroom", - "description": "A GitHub organization.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 1 - }, - "login": { - "type": "string", - "example": "github" - }, - "node_id": { - "type": "string", - "example": "MDEyOk9yZ2FuaXphdGlvbjE=" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/github" - }, - "name": { - "type": "string", - "example": "Github - Code thigns happen here", - "nullable": true - }, - "avatar_url": { - "type": "string", - "example": "https://github.com/images/error/octocat_happy.gif" - } - }, - "required": [ - "id", - "login", - "node_id", - "html_url", - "name", - "avatar_url" - ] - }, - "url": { - "description": "The URL of the classroom on GitHub Classroom.", - "type": "string", - "example": "https://classroom.github.com/classrooms/1-programming-elixir" - } - }, - "required": [ - "id", - "name", - "archived", - "organization", - "url" - ] - }, - "examples": { - "default": { - "value": { - "id": 1296269, - "name": "Programming Elixir", - "archived": "false,", - "organization": { - "id": 1, - "login": "programming-elixir", - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "html_url": "https://github.com/programming-elixir", - "name": "Learn how to build fault tolerant applications", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4" - }, - "url": "https://classroom.github.com/classrooms/1-programming-elixir" - } - } - } - } - } }, - "404": { - "description": "Resource not found", + "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": { + "enabledForGitHubApps": true, + "category": "classroom", + "subcategory": "classroom", + "deprecationDate": "2026-05-22", + "removalDate": "2026-08-28" + }, + "deprecated": true + } + }, + "/classrooms": { + "get": { + "summary": "Closing down - List classrooms", + "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nLists GitHub Classroom classrooms for the current user. Classrooms will only be returned if the current user is an administrator of one or more GitHub Classrooms.", + "tags": [ + "classroom" + ], + "operationId": "classroom/list-classrooms", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/classroom/classroom#closing-down---list-classrooms" + }, + "parameters": [ + { + "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/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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Simple Classroom", + "description": "A GitHub Classroom classroom", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the classroom.", + "example": 42, + "type": "integer" + }, + "name": { + "description": "The name of the classroom.", + "type": "string", + "example": "Programming Elixir" + }, + "archived": { + "description": "Returns whether classroom is archived or not.", + "type": "boolean", + "example": false + }, + "url": { + "description": "The url of the classroom on GitHub Classroom.", + "type": "string", + "example": "https://classroom.github.com/classrooms/1-programming-elixir" + } + }, + "required": [ + "id", + "name", + "archived", + "url" + ] + } + }, + "examples": { + "default": { + "value": { + "id": 1296269, + "name": "Programming Elixir", + "archived": "false,", + "url": "https://classroom.github.com/classrooms/1-programming-elixir" + } + } + } + } + } + }, + "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": { + "enabledForGitHubApps": true, + "category": "classroom", + "subcategory": "classroom", + "deprecationDate": "2026-05-22", + "removalDate": "2026-08-28" + }, + "deprecated": true + } + }, + "/classrooms/{classroom_id}": { + "get": { + "summary": "Closing down - Get a classroom", + "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nGets a GitHub Classroom classroom for the current user. Classroom will only be returned if the current user is an administrator of the GitHub Classroom.", + "tags": [ + "classroom" + ], + "operationId": "classroom/get-a-classroom", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/classroom/classroom#closing-down---get-a-classroom" + }, + "parameters": [ + { + "name": "classroom_id", + "description": "The unique identifier of the classroom.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Classroom", + "description": "A GitHub Classroom classroom", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the classroom.", + "example": 42, + "type": "integer" + }, + "name": { + "description": "The name of the classroom.", + "type": "string", + "example": "Programming Elixir" + }, + "archived": { + "description": "Whether classroom is archived.", + "type": "boolean", + "example": false + }, + "organization": { + "title": "Organization Simple for Classroom", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "example": 1 + }, + "login": { + "type": "string", + "example": "github" + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/github" + }, + "name": { + "type": "string", + "example": "Github - Code thigns happen here", + "nullable": true + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + } + }, + "required": [ + "id", + "login", + "node_id", + "html_url", + "name", + "avatar_url" + ] + }, + "url": { + "description": "The URL of the classroom on GitHub Classroom.", + "type": "string", + "example": "https://classroom.github.com/classrooms/1-programming-elixir" + } + }, + "required": [ + "id", + "name", + "archived", + "organization", + "url" + ] + }, + "examples": { + "default": { + "value": { + "id": 1296269, + "name": "Programming Elixir", + "archived": "false,", + "organization": { + "id": 1, + "login": "programming-elixir", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "html_url": "https://github.com/programming-elixir", + "name": "Learn how to build fault tolerant applications", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4" + }, + "url": "https://classroom.github.com/classrooms/1-programming-elixir" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "410": { + "description": "Gone", "content": { "application/json": { "schema": { @@ -17940,6 +18070,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": { @@ -25482,166 +25638,333 @@ } } } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage-metrics" - } - } - }, - "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": { - "get": { - "summary": "Get Copilot enterprise usage metrics", - "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/copilot-enterprise-usage-metrics", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "title": "Copilot Metrics 28 Day Report", - "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", - "properties": { - "download_links": { - "type": "array", - "items": { - "type": "string", - "format": "uri" - }, - "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." - }, - "report_start_day": { - "type": "string", - "format": "date", - "description": "The start date of the report period in `YYYY-MM-DD` format." - }, - "report_end_day": { - "type": "string", - "format": "date", - "description": "The end date of the report period in `YYYY-MM-DD` format." - } - }, - "required": [ - "download_links", - "report_start_day", - "report_end_day" - ] - }, - "examples": { - "default": { - "value": { - "download_links": [ - "https://example.com/copilot-usage-report-1.ndjson", - "https://example.com/copilot-usage-report-2.ndjson" - ], - "report_start_day": "2025-07-01", - "report_end_day": "2025-07-28" - } - } - } - } - } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": { + "get": { + "summary": "Get Copilot enterprise usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.ndjson", + "https://example.com/copilot-usage-report-2.ndjson" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/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": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.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", @@ -103072,6 +103395,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, @@ -103212,6 +103540,193 @@ } } }, + "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", + "description": "The ID of the provenance attestation associated with the deployment record.", + "nullable": true + } + } + } + }, + "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", + "nullable": true, + "description": "The version of the deployment." + }, + "status": { + "type": "string", + "description": "The deployment status." + }, + "github_repository": { + "type": "string", + "nullable": true, + "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": { @@ -129441,166 +129956,333 @@ } } }, - "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": { - "get": { - "summary": "Get Copilot organization usage metrics", - "description": "Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", - "tags": [ - "copilot" - ], - "operationId": "copilot/copilot-organization-usage-metrics", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "title": "Copilot Metrics 28 Day Report", - "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", - "properties": { - "download_links": { - "type": "array", - "items": { - "type": "string", - "format": "uri" - }, - "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." - }, - "report_start_day": { - "type": "string", - "format": "date", - "description": "The start date of the report period in `YYYY-MM-DD` format." - }, - "report_end_day": { - "type": "string", - "format": "date", - "description": "The end date of the report period in `YYYY-MM-DD` format." - } - }, - "required": [ - "download_links", - "report_start_day", - "report_end_day" - ] - }, - "examples": { - "default": { - "value": { - "download_links": [ - "https://example.com/copilot-usage-report-1.ndjson", - "https://example.com/copilot-usage-report-2.ndjson" - ], - "report_start_day": "2025-07-01", - "report_end_day": "2025-07-28" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage-metrics" - } - } - }, + "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": { + "get": { + "summary": "Get Copilot organization usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.ndjson", + "https://example.com/copilot-usage-report-2.ndjson" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/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", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.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", @@ -192396,6 +193078,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -202406,6 +203132,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -343957,6 +344727,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -533074,6 +533888,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -537186,6 +538044,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -544231,6 +545133,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -548598,6 +549544,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -559983,6 +560973,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -564185,6 +565219,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -700210,6 +701288,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -760111,6 +761233,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -881671,6 +882837,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1200509,6 +1201719,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1205167,6 +1206421,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1209828,6 +1211126,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1214953,6 +1216295,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1220271,6 +1221657,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1225323,6 +1226753,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1229988,6 +1231462,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1235175,6 +1236693,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1240019,6 +1241581,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1244710,6 +1246316,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1249372,6 +1251022,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1254228,6 +1255922,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1259367,6 +1261105,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1264685,6 +1266467,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1270003,6 +1271829,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1275077,6 +1276947,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1279937,6 +1281851,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1284819,6 +1286777,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1289335,6 +1291337,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1298810,6 +1300856,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1303453,6 +1305543,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1308274,6 +1310408,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1312904,6 +1315082,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1317574,6 +1319796,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1322214,6 +1324480,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1327004,6 +1329314,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1329132,6 +1331486,50 @@ "node_id" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "number": { "description": "The pull request number.", "type": "integer" @@ -1332027,6 +1334425,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1336694,6 +1339136,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1341457,6 +1343943,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1346160,6 +1348690,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1350808,6 +1353382,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1417553,6 +1420171,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1420111,6 +1422737,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1422545,6 +1425179,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1425449,6 +1428091,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1427882,6 +1430532,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1430315,6 +1432973,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1432749,6 +1435415,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1435183,6 +1437857,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1437617,6 +1440299,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1440175,6 +1442865,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index 7b64983389..d8e4716ba8 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/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 - - &47 + - &48 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 - - &48 + - &49 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 - - &62 + - &63 name: direction description: The direction to sort the results by. in: query @@ -710,7 +710,7 @@ paths: required: - vector_string - score - cvss_severities: &64 + cvss_severities: &65 type: object nullable: true properties: @@ -750,7 +750,7 @@ paths: required: - vector_string - score - epss: &65 + epss: &66 type: object nullable: true readOnly: true @@ -888,7 +888,7 @@ paths: - subscriptions_url - type - url - type: &349 + type: &350 type: string description: The type of credit the user is receiving. enum: @@ -1048,7 +1048,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &133 + schema: &134 title: Validation Error Simple description: Validation Error Simple type: object @@ -1081,7 +1081,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &717 + - &718 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -3731,7 +3731,7 @@ paths: GitHub. type: object nullable: true - properties: &83 + properties: &84 id: description: Unique identifier of the GitHub app example: 37 @@ -3864,7 +3864,7 @@ paths: about itself. example: 5 type: integer - required: &84 + required: &85 - id - node_id - owner @@ -4169,7 +4169,7 @@ paths: schema: type: integer default: 30 - - &232 + - &233 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 @@ -4178,7 +4178,7 @@ paths: required: false schema: type: string - - &233 + - &234 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4198,7 +4198,7 @@ paths: application/json: schema: type: array - items: &234 + items: &235 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4278,7 +4278,7 @@ paths: - installation_id - repository_id examples: - default: &235 + default: &236 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4337,7 +4337,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &132 + schema: &133 title: Validation Error description: Validation Error type: object @@ -4406,7 +4406,7 @@ paths: description: Response content: application/json: - schema: &236 + schema: &237 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4520,7 +4520,7 @@ paths: - request - response examples: - default: &237 + default: &238 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4580,7 +4580,7 @@ paths: parameters: - *16 responses: - '202': &39 + '202': &40 description: Accepted content: application/json: @@ -4693,7 +4693,7 @@ paths: type: User site_admin: false created_at: '2022-07-08T16:18:44-04:00' - '304': &37 + '304': &38 description: Not modified '401': &25 description: Requires authentication @@ -4721,7 +4721,7 @@ paths: parameters: - *17 - *19 - - &95 + - &96 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) @@ -5313,7 +5313,7 @@ paths: suspended_at: suspended_by: headers: - Link: &70 + Link: &71 example: ; rel="next", ; rel="last" schema: @@ -5513,11 +5513,11 @@ paths: - selected repositories: type: array - items: &82 + items: &83 title: Repository description: A repository on GitHub. type: object - properties: &311 + properties: &312 id: description: Unique identifier of the repository example: 42 @@ -5537,7 +5537,7 @@ paths: title: License Simple description: License Simple type: object - properties: &91 + properties: &92 key: type: string example: mit @@ -5559,7 +5559,7 @@ paths: html_url: type: string format: uri - required: &92 + required: &93 - key - name - url @@ -5968,7 +5968,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &312 + required: &313 - archive_url - assignees_url - blobs_url @@ -6042,7 +6042,7 @@ paths: - watchers_count - created_at - updated_at - x-github-breaking-changes: &313 + x-github-breaking-changes: &314 - changeset: remove_use_squash_pr_title_as_default patch: properties: @@ -6997,7 +6997,7 @@ paths: - node_id - private - default_branch - classroom: &34 + classroom: &35 title: Classroom description: A GitHub Classroom classroom type: object @@ -7109,6 +7109,11 @@ paths: archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir '404': *6 + '410': &33 + description: Gone + content: + application/json: + schema: *3 x-github: enabledForGitHubApps: true category: classroom @@ -7194,7 +7199,7 @@ paths: - avatar_url - html_url repository: *32 - assignment: &36 + assignment: &37 title: Simple Classroom Assignment description: A GitHub Classroom assignment type: object @@ -7283,7 +7288,7 @@ paths: format: date-time example: '2011-01-26T19:06:43Z' nullable: true - classroom: &33 + classroom: &34 title: Simple Classroom description: A GitHub Classroom classroom type: object @@ -7378,6 +7383,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7485,6 +7491,7 @@ paths: points_available: 15 group_name: monalisa-and-friends '404': *6 + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7517,7 +7524,7 @@ paths: application/json: schema: type: array - items: *33 + items: *34 examples: default: value: @@ -7525,6 +7532,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7548,7 +7556,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/classroom/classroom#closing-down---get-a-classroom parameters: - - &35 + - &36 name: classroom_id description: The unique identifier of the classroom. in: path @@ -7560,7 +7568,7 @@ paths: description: Response content: application/json: - schema: *34 + schema: *35 examples: default: value: @@ -7576,6 +7584,7 @@ paths: avatar_url: https://avatars.githubusercontent.com/u/9919?v=4 url: https://classroom.github.com/classrooms/1-programming-elixir '404': *6 + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7599,7 +7608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/classroom/classroom#closing-down---list-assignments-for-a-classroom parameters: - - *35 + - *36 - *19 - *17 responses: @@ -7609,7 +7618,7 @@ paths: application/json: schema: type: array - items: *36 + items: *37 examples: default: value: @@ -7635,6 +7644,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7660,7 +7670,7 @@ paths: application/json: schema: type: array - items: &38 + items: &39 title: Code Of Conduct description: Code Of Conduct type: object @@ -7743,7 +7753,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': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -7770,7 +7780,7 @@ paths: description: Response content: application/json: - schema: *38 + schema: *39 examples: default: value: @@ -7825,7 +7835,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': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -7885,9 +7895,9 @@ paths: - ghu_1234567890abcdef1234567890abcdef12345678 - ghr_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab responses: - '202': *39 + '202': *40 '422': *7 - '500': &55 + '500': &56 description: Internal Error content: application/json: @@ -9796,7 +9806,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': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -9817,7 +9827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-enterprise parameters: - - &40 + - &41 name: enterprise description: The slug version of the enterprise name. in: path @@ -9829,7 +9839,7 @@ paths: description: Response content: application/json: - schema: &41 + schema: &42 title: Actions cache retention limit for an enterprise description: GitHub Actions cache retention policy for an enterprise. type: object @@ -9841,7 +9851,7 @@ paths: type: integer example: 14 examples: - default: &42 + default: &43 value: max_cache_retention_days: 80 '403': *29 @@ -9865,14 +9875,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-enterprise parameters: - - *40 + - *41 requestBody: required: true content: application/json: - schema: *41 + schema: *42 examples: - selected_actions: *42 + selected_actions: *43 responses: '204': description: Response @@ -9899,13 +9909,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-enterprise parameters: - - *40 + - *41 responses: '200': description: Response content: application/json: - schema: &43 + schema: &44 title: Actions cache storage limit for an enterprise description: GitHub Actions cache storage policy for an enterprise. type: object @@ -9917,7 +9927,7 @@ paths: type: integer example: 10 examples: - default: &44 + default: &45 value: max_cache_size_gb: 150 '403': *29 @@ -9941,14 +9951,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-enterprise parameters: - - *40 + - *41 requestBody: required: true content: application/json: - schema: *43 + schema: *44 examples: - selected_actions: *44 + selected_actions: *45 responses: '204': description: Response @@ -9974,7 +9984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-enterprise parameters: - - *40 + - *41 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -9982,7 +9992,7 @@ paths: application/json: schema: type: array - items: &45 + items: &46 title: Actions OIDC Custom Property Inclusion description: An OIDC custom property inclusion for repository properties type: object @@ -10029,12 +10039,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-enterprise parameters: - - *40 + - *41 requestBody: required: true content: application/json: - schema: &145 + schema: &146 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -10046,7 +10056,7 @@ paths: required: - custom_property_name examples: - default: &46 + default: &47 value: custom_property_name: environment responses: @@ -10054,9 +10064,9 @@ paths: description: OIDC custom property inclusion created content: application/json: - schema: *45 + schema: *46 examples: - default: *46 + default: *47 '400': description: Invalid input '403': *29 @@ -10081,7 +10091,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-enterprise parameters: - - *40 + - *41 - name: custom_property_name in: path required: true @@ -10117,7 +10127,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise parameters: - - *40 + - *41 - name: per_page in: query description: The number of results per page (max 100). For more information, @@ -10126,8 +10136,8 @@ paths: schema: type: integer default: 30 - - *47 - *48 + - *49 responses: '200': description: Response @@ -10135,7 +10145,7 @@ paths: application/json: schema: type: array - items: &49 + items: &50 type: object description: A code security configuration properties: @@ -10455,7 +10465,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise parameters: - - *40 + - *41 requestBody: required: true content: @@ -10533,7 +10543,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &53 + code_scanning_options: &54 type: object description: Security Configuration feature options for code scanning nullable: true @@ -10550,7 +10560,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &52 + code_scanning_default_setup_options: &53 type: object description: Feature options for code scanning default setup nullable: true @@ -10674,9 +10684,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *49 + schema: *50 examples: - default: &50 + default: &51 value: id: 1325 target_type: enterprise @@ -10728,13 +10738,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise parameters: - - *40 + - *41 responses: '200': description: Response content: application/json: - schema: &199 + schema: &200 type: array description: A list of default code security configurations items: @@ -10748,9 +10758,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *49 + configuration: *50 examples: - default: &200 + default: &201 value: - default_for_new_repos: public configuration: @@ -10833,8 +10843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - - *40 - - &51 + - *41 + - &52 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -10846,10 +10856,10 @@ paths: description: Response content: application/json: - schema: *49 + schema: *50 examples: - default: *50 - '304': *37 + default: *51 + '304': *38 '403': *29 '404': *6 x-github: @@ -10872,8 +10882,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: - - *40 - - *51 + - *41 + - *52 requestBody: required: true content: @@ -10952,8 +10962,8 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *52 - code_scanning_options: *53 + code_scanning_default_setup_options: *53 + code_scanning_options: *54 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -11049,13 +11059,13 @@ paths: description: Response content: application/json: - schema: *49 + schema: *50 examples: - default: *50 - '304': *37 + default: *51 + '304': *38 '403': *29 '404': *6 - '409': &54 + '409': &55 description: Conflict content: application/json: @@ -11082,15 +11092,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - - *40 - - *51 + - *41 + - *52 responses: - '204': &61 + '204': &60 description: A header with no content is returned. '400': *14 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -11114,8 +11124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - - *40 - - *51 + - *41 + - *52 requestBody: required: true content: @@ -11139,10 +11149,10 @@ paths: value: scope: all responses: - '202': *39 + '202': *40 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -11166,8 +11176,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: - - *40 - - *51 + - *41 + - *52 requestBody: required: true content: @@ -11207,12 +11217,12 @@ paths: - none - private_and_internal - public - configuration: *49 + configuration: *50 examples: default: value: default_for_new_repos: all - configuration: &198 + configuration: &199 value: id: 1325 target_type: organization @@ -11273,8 +11283,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: - - *40 - - *51 + - *41 + - *52 - 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)." @@ -11283,8 +11293,8 @@ paths: schema: type: integer default: 30 - - *47 - *48 + - *49 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -11302,7 +11312,7 @@ paths: application/json: schema: type: array - items: &201 + items: &202 type: object description: Repositories associated with a code security configuration and attachment status @@ -11320,11 +11330,11 @@ paths: - failed - updating - removed_by_enterprise - repository: &67 + repository: &68 title: Simple Repository description: A GitHub repository. type: object - properties: &68 + properties: &69 id: type: integer format: int64 @@ -11551,7 +11561,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &69 + required: &70 - archive_url - assignees_url - blobs_url @@ -11603,7 +11613,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &202 + repository: &203 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -11696,8 +11706,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: - - *40 - - &56 + - *41 + - &57 name: day description: The day to request data for, in `YYYY-MM-DD` format. in: query @@ -11711,7 +11721,7 @@ paths: description: Response content: application/json: - schema: &57 + schema: &58 type: object title: Copilot Metrics 1 Day Report description: Links to download the Copilot usage metrics report for @@ -11732,13 +11742,13 @@ paths: - download_links - report_day examples: - default: &58 + default: &59 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': *55 + '500': *56 '403': *29 '404': *6 x-github: @@ -11764,13 +11774,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics parameters: - - *40 + - *41 responses: '200': description: Response content: application/json: - schema: &59 + schema: &61 type: object title: Copilot Metrics 28 Day Report description: Links to download the latest Copilot usage metrics report @@ -11798,14 +11808,51 @@ paths: - report_start_day - report_end_day examples: - default: &60 + default: &62 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': *55 + '500': *56 + '403': *29 + '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: + - *41 + - *57 + responses: + '200': + description: Response + content: + application/json: + schema: *58 + examples: + default: *59 + '204': *60 + '500': *56 '403': *29 '404': *6 x-github: @@ -11831,17 +11878,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: - - *40 - - *56 + - *41 + - *57 responses: '200': description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 - '500': *55 + default: *59 + '500': *56 '403': *29 '404': *6 x-github: @@ -11867,17 +11914,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: - - *40 - - *56 + - *41 + - *57 responses: '200': description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 - '500': *55 + default: *59 + '500': *56 '403': *29 '404': *6 x-github: @@ -11903,16 +11950,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics parameters: - - *40 + - *41 responses: '200': description: Response content: application/json: - schema: *59 + schema: *61 examples: - default: *60 - '500': *55 + default: *62 + '500': *56 '403': *29 '404': *6 x-github: @@ -11940,7 +11987,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: - - *40 + - *41 requestBody: description: The coding agent policy configuration required: true @@ -11967,7 +12014,7 @@ paths: value: policy_state: enabled_for_all_orgs responses: - '204': *61 + '204': *60 '400': *14 x-github: enabledForGitHubApps: false @@ -11994,7 +12041,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: - - *40 + - *41 requestBody: description: The organizations to enable Copilot cloud agent for required: true @@ -12043,7 +12090,7 @@ paths: - engineering - security responses: - '204': *61 + '204': *60 '400': *14 x-github: enabledForGitHubApps: false @@ -12069,7 +12116,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: - - *40 + - *41 requestBody: description: The organizations to disable Copilot cloud agent for required: true @@ -12119,7 +12166,7 @@ paths: - engineering - security responses: - '204': *61 + '204': *60 '400': *14 x-github: enabledForGitHubApps: false @@ -12143,8 +12190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - - *40 - - &212 + - *41 + - &213 name: classification in: query description: |- @@ -12153,7 +12200,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &213 + - &214 name: state in: query description: |- @@ -12162,7 +12209,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &214 + - &215 name: severity in: query description: |- @@ -12171,7 +12218,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &215 + - &216 name: ecosystem in: query description: |- @@ -12180,14 +12227,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &216 + - &217 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 - - &217 + - &218 name: epss_percentage in: query description: |- @@ -12199,7 +12246,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 - - &512 + - &513 name: has in: query description: |- @@ -12213,7 +12260,7 @@ paths: type: string enum: - patch - - &218 + - &219 name: assignee in: query description: |- @@ -12222,7 +12269,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &219 + - &220 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12232,7 +12279,7 @@ paths: enum: - development - runtime - - &220 + - &221 name: sort in: query description: |- @@ -12247,9 +12294,9 @@ paths: - updated - epss_percentage default: created - - *62 - - *47 + - *63 - *48 + - *49 - *17 responses: '200': @@ -12258,11 +12305,11 @@ paths: application/json: schema: type: array - items: &221 + items: &222 type: object description: A Dependabot alert. properties: - number: &188 + number: &189 type: integer description: The security alert number. readOnly: true @@ -12280,7 +12327,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &63 + package: &64 type: object description: Details for the vulnerable package. readOnly: true @@ -12325,7 +12372,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &513 + security_advisory: &514 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12355,13 +12402,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &66 + items: &67 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *63 + package: *64 severity: type: string description: The severity of the vulnerability. @@ -12434,8 +12481,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *64 - epss: *65 + cvss_severities: *65 + epss: *66 cwes: type: array description: Details for the advisory pertaining to Common @@ -12553,30 +12600,30 @@ paths: - updated_at - withdrawn_at version: '2026-03-10' - security_vulnerability: *66 - url: &191 + security_vulnerability: *67 + url: &192 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &192 + html_url: &193 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &189 + created_at: &190 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: &190 + updated_at: &191 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: &194 + dismissed_at: &195 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12606,21 +12653,21 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &193 + fixed_at: &194 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &514 + auto_dismissed_at: &515 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &515 + dismissal_request: &516 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -12663,7 +12710,7 @@ paths: description: The users assigned to this alert. readOnly: true items: *4 - repository: *67 + repository: *68 required: - number - state @@ -12682,7 +12729,7 @@ paths: - repository additionalProperties: false examples: - default: &222 + default: &223 value: - number: 2 state: dismissed @@ -13020,7 +13067,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': *37 + '304': *38 '403': *29 '404': *6 '422': *7 @@ -13044,7 +13091,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: - - *40 + - *41 - name: page in: query description: The page number of results to fetch. @@ -13067,7 +13114,7 @@ paths: description: Response content: application/json: - schema: &223 + schema: &224 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -13088,12 +13135,12 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *68 - required: *69 + properties: *69 + required: *70 nullable: true additionalProperties: false examples: - default: &224 + default: &225 value: default_level: public accessible_repositories: @@ -13193,7 +13240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise parameters: - - *40 + - *41 requestBody: required: true content: @@ -13257,7 +13304,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: - - *40 + - *41 requestBody: required: true content: @@ -13301,7 +13348,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#list-enterprise-teams parameters: - - *40 + - *41 - *17 - *19 responses: @@ -13311,7 +13358,7 @@ paths: application/json: schema: type: array - items: &71 + items: &72 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -13390,7 +13437,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *70 + Link: *71 '403': *29 x-github: githubCloudOnly: false @@ -13408,7 +13455,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team parameters: - - *40 + - *41 requestBody: required: true content: @@ -13475,9 +13522,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *72 examples: - default: &79 + default: &80 value: id: 1 name: Justice League @@ -13505,8 +13552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - - *40 - - &72 + - *41 + - &73 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -13525,7 +13572,7 @@ paths: type: array items: *4 examples: - default: &73 + default: &74 value: - login: octocat id: 1 @@ -13546,7 +13593,7 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13563,8 +13610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - - *40 - - *72 + - *41 + - *73 requestBody: required: true content: @@ -13595,7 +13642,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13612,8 +13659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - - *40 - - *72 + - *41 + - *73 requestBody: required: true content: @@ -13644,7 +13691,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13661,9 +13708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - - *40 - - *72 - - &74 + - *41 + - *73 + - &75 name: username description: The handle for the GitHub user account. in: path @@ -13677,7 +13724,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &75 + exampleKey1: &76 value: login: octocat id: 1 @@ -13712,9 +13759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - - *40 - - *72 - - *74 + - *41 + - *73 + - *75 responses: '201': description: Successfully added team member @@ -13722,7 +13769,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *75 + exampleKey1: *76 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13739,9 +13786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - - *40 - - *72 - - *74 + - *41 + - *73 + - *75 responses: '204': description: Response @@ -13762,8 +13809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - - *40 - - *72 + - *41 + - *73 - *17 - *19 responses: @@ -13773,11 +13820,11 @@ paths: application/json: schema: type: array - items: &76 + items: &77 title: Organization Simple description: A GitHub organization. type: object - properties: &208 + properties: &209 login: type: string example: github @@ -13818,7 +13865,7 @@ paths: type: string example: A great organization nullable: true - required: &209 + required: &210 - login - url - id @@ -13832,7 +13879,7 @@ paths: - avatar_url - description examples: - default: &77 + default: &78 value: login: github id: 1 @@ -13862,8 +13909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - - *40 - - *72 + - *41 + - *73 requestBody: required: true content: @@ -13891,9 +13938,9 @@ paths: application/json: schema: type: array - items: *76 + items: *77 examples: - default: &119 + default: &120 value: - login: github id: 1 @@ -13923,8 +13970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - - *40 - - *72 + - *41 + - *73 requestBody: required: true content: @@ -13964,9 +14011,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - - *40 - - *72 - - &78 + - *41 + - *73 + - &79 name: org description: The organization name. The name is not case sensitive. in: path @@ -13978,9 +14025,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *76 + schema: *77 examples: - default: *77 + default: *78 '404': description: The team is not assigned to the organization x-github: @@ -13998,17 +14045,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - - *40 - - *72 - - *78 + - *41 + - *73 + - *79 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *76 + schema: *77 examples: - default: *77 + default: *78 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14024,9 +14071,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - - *40 - - *72 - - *78 + - *41 + - *73 + - *79 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -14049,8 +14096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - - *40 - - &80 + - *41 + - &81 name: team_slug description: The slug of the team name. in: path @@ -14062,11 +14109,11 @@ paths: description: Response content: application/json: - schema: *71 + schema: *72 examples: - default: *79 + default: *80 headers: - Link: *70 + Link: *71 '403': *29 x-github: githubCloudOnly: false @@ -14083,8 +14130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - - *40 - - *80 + - *41 + - *81 requestBody: required: true content: @@ -14149,11 +14196,11 @@ paths: description: Response content: application/json: - schema: *71 + schema: *72 examples: - default: *79 + default: *80 headers: - Link: *70 + Link: *71 '403': *29 x-github: githubCloudOnly: false @@ -14173,8 +14220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - - *40 - - *80 + - *41 + - *81 responses: '204': description: Response @@ -14212,7 +14259,7 @@ paths: application/json: schema: type: array - items: &114 + items: &115 title: Event description: Event type: object @@ -14222,7 +14269,7 @@ paths: type: type: string nullable: true - actor: &81 + actor: &82 title: Actor description: Actor type: object @@ -14262,7 +14309,7 @@ paths: - id - name - url - org: *81 + org: *82 payload: oneOf: - title: CreateEvent @@ -14308,7 +14355,7 @@ paths: properties: action: type: string - discussion: &813 + discussion: &814 title: Discussion description: A Discussion in a repository. type: object @@ -14595,7 +14642,7 @@ paths: - id labels: type: array - items: &87 + items: &88 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -14670,7 +14717,7 @@ paths: properties: action: type: string - issue: &88 + issue: &89 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -14788,7 +14835,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &295 + properties: &296 url: type: string format: uri @@ -14858,7 +14905,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &296 + required: &297 - closed_issues - creator - description @@ -14937,7 +14984,7 @@ paths: timeline_url: type: string format: uri - type: &258 + type: &259 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -14989,7 +15036,7 @@ paths: - node_id - name - description - repository: *82 + repository: *83 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -15000,9 +15047,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *83 - required: *84 - author_association: &85 + properties: *84 + required: *85 + author_association: &86 title: author_association type: string example: OWNER @@ -15017,7 +15064,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &86 + reactions: &87 title: Reaction Rollup type: object properties: @@ -15053,7 +15100,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &728 + sub_issues_summary: &729 title: Sub-issues Summary type: object properties: @@ -15078,7 +15125,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &89 + properties: &90 id: description: Unique identifier of the issue comment example: 42 @@ -15121,7 +15168,7 @@ paths: issue_url: type: string format: uri - author_association: *85 + author_association: *86 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -15132,9 +15179,9 @@ paths: class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 - reactions: *86 + properties: *84 + required: *85 + reactions: *87 pin: title: Pinned Issue Comment description: Context around who pinned an issue @@ -15170,7 +15217,7 @@ paths: required: &597 - reason nullable: true - required: &90 + required: &91 - id - node_id - html_url @@ -15180,7 +15227,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &729 + issue_dependencies_summary: &730 title: Issue Dependencies Summary type: object properties: @@ -15359,10 +15406,10 @@ paths: assignees: type: array items: *4 - label: *87 + label: *88 labels: type: array - items: *87 + items: *88 required: - action - issue @@ -15371,14 +15418,14 @@ paths: properties: action: type: string - issue: *88 + issue: *89 comment: &563 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 required: - action - issue @@ -15551,8 +15598,8 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true allow_forking: type: boolean @@ -15641,7 +15688,7 @@ paths: type: string number: type: integer - pull_request: &93 + pull_request: &94 title: Pull Request Minimal type: object properties: @@ -15712,10 +15759,10 @@ paths: assignees: type: array items: *4 - label: *87 + label: *88 labels: type: array - items: *87 + items: *88 required: - action - number @@ -15725,7 +15772,7 @@ paths: properties: action: type: string - pull_request: *93 + pull_request: *94 comment: type: object properties: @@ -15976,7 +16023,7 @@ paths: - pull_request updated_at: type: string - pull_request: *93 + pull_request: *94 required: - action - review @@ -16025,7 +16072,7 @@ paths: updated_at: type: string format: date-time - reactions: *86 + reactions: *87 required: - action - comment @@ -16036,7 +16083,7 @@ paths: type: string release: allOf: - - &641 + - &642 title: Release description: A release. type: object @@ -16107,7 +16154,7 @@ paths: author: *4 assets: type: array - items: &642 + items: &643 title: Release Asset description: Data related to a release. type: object @@ -16182,7 +16229,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *86 + reactions: *87 required: - assets_url - upload_url @@ -16272,9 +16319,9 @@ paths: before: 883efe034920928c47fe18598c01249d1a9fdabd public: true created_at: '2022-06-07T07:50:26Z' - '304': *37 + '304': *38 '403': *29 - '503': &122 + '503': &123 description: Service unavailable content: application/json: @@ -16367,7 +16414,7 @@ paths: _links: type: object properties: - timeline: &94 + timeline: &95 title: Link With Type description: Hypermedia Link with Type type: object @@ -16379,17 +16426,17 @@ paths: required: - href - type - user: *94 - security_advisories: *94 - current_user: *94 - current_user_public: *94 - current_user_actor: *94 - current_user_organization: *94 + user: *95 + security_advisories: *95 + current_user: *95 + current_user_public: *95 + current_user_actor: *95 + current_user_organization: *95 current_user_organizations: type: array - items: *94 - repository_discussions: *94 - repository_discussions_category: *94 + items: *95 + repository_discussions: *95 + repository_discussions_category: *95 required: - timeline - user @@ -16451,7 +16498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *95 + - *96 - *17 - *19 responses: @@ -16461,7 +16508,7 @@ paths: application/json: schema: type: array - items: &96 + items: &97 title: Base Gist description: Base Gist type: object @@ -16589,7 +16636,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &97 + default: &98 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -16634,8 +16681,8 @@ paths: site_admin: false truncated: false headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -16710,7 +16757,7 @@ paths: description: Response content: application/json: - schema: &98 + schema: &99 title: Gist Simple description: Gist Simple type: object @@ -16727,7 +16774,7 @@ paths: url: type: string format: uri - user: &737 + user: &738 title: Public User description: Public User type: object @@ -17097,7 +17144,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &99 + default: &100 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -17179,7 +17226,7 @@ paths: schema: type: string '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -17201,7 +17248,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *95 + - *96 - *17 - *19 responses: @@ -17211,13 +17258,13 @@ paths: application/json: schema: type: array - items: *96 + items: *97 examples: - default: *97 + default: *98 headers: - Link: *70 + Link: *71 '422': *15 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -17235,7 +17282,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *95 + - *96 - *17 - *19 responses: @@ -17245,13 +17292,13 @@ paths: application/json: schema: type: array - items: *96 + items: *97 examples: - default: *97 + default: *98 headers: - Link: *70 + Link: *71 '401': *25 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -17274,7 +17321,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &100 + - &101 name: gist_id description: The unique identifier of the gist. in: path @@ -17286,10 +17333,10 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: *99 - '403': &103 + default: *100 + '403': &104 description: Forbidden Gist content: application/json: @@ -17311,7 +17358,7 @@ paths: documentation_url: type: string '404': *6 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17336,7 +17383,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *100 + - *101 requestBody: required: true content: @@ -17396,9 +17443,9 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - updateGist: *99 + updateGist: *100 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -17556,12 +17603,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *100 + - *101 responses: '204': description: Response '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -17584,7 +17631,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *100 + - *101 - *17 - *19 responses: @@ -17594,7 +17641,7 @@ paths: application/json: schema: type: array - items: &101 + items: &102 title: Gist Comment description: A comment made to a gist. type: object @@ -17629,7 +17676,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *85 + author_association: *86 required: - url - id @@ -17669,8 +17716,8 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 x-github: @@ -17693,7 +17740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *100 + - *101 requestBody: required: true content: @@ -17718,9 +17765,9 @@ paths: description: Response content: application/json: - schema: *101 + schema: *102 examples: - default: &102 + default: &103 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -17753,7 +17800,7 @@ paths: example: https://api.github.com/gists/a6db0bec360bb87e9418/comments/1 schema: type: string - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -17777,8 +17824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *100 - - &104 + - *101 + - &105 name: comment_id description: The unique identifier of the comment. in: path @@ -17791,12 +17838,12 @@ paths: description: Response content: application/json: - schema: *101 + schema: *102 examples: - default: *102 - '304': *37 + default: *103 + '304': *38 '404': *6 - '403': *103 + '403': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17817,8 +17864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *100 - - *104 + - *101 + - *105 requestBody: required: true content: @@ -17843,9 +17890,9 @@ paths: description: Response content: application/json: - schema: *101 + schema: *102 examples: - default: *102 + default: *103 '404': *6 x-github: githubCloudOnly: false @@ -17862,12 +17909,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *100 - - *104 + - *101 + - *105 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -17886,7 +17933,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *100 + - *101 - *17 - *19 responses: @@ -17969,7 +18016,7 @@ paths: schema: type: string '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -17987,7 +18034,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *100 + - *101 - *17 - *19 responses: @@ -17997,7 +18044,7 @@ paths: application/json: schema: type: array - items: *98 + items: *99 examples: default: value: @@ -18043,9 +18090,9 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -18062,13 +18109,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *100 + - *101 responses: '201': description: Response content: application/json: - schema: *96 + schema: *97 examples: default: value: @@ -18127,7 +18174,7 @@ paths: type: string '404': *6 '422': *15 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -18145,7 +18192,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *100 + - *101 responses: '204': description: Response if gist is starred @@ -18157,7 +18204,7 @@ paths: type: object properties: {} additionalProperties: false - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -18175,12 +18222,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *100 + - *101 responses: '204': description: Response '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -18197,11 +18244,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *100 + - *101 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -18225,7 +18272,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *100 + - *101 - name: sha in: path required: true @@ -18236,9 +18283,9 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: *99 + default: *100 '422': *15 '404': *6 '403': *29 @@ -18278,7 +18325,7 @@ paths: - Bancha - C - C++ - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18363,7 +18410,7 @@ paths: *.exe *.out *.app - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18399,7 +18446,7 @@ paths: type: array items: allOf: - - *82 + - *83 - type: object properties: custom_properties: @@ -18534,9 +18581,9 @@ paths: environment: production service: web headers: - Link: *70 + Link: *71 '403': *29 - '304': *37 + '304': *38 '401': *25 x-github: githubCloudOnly: false @@ -18618,7 +18665,7 @@ paths: - closed - all default: open - - &261 + - &262 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -18636,8 +18683,8 @@ paths: - updated - comments default: created - - *62 - - *95 + - *63 + - *96 - name: collab in: query required: false @@ -18667,9 +18714,9 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: &262 + default: &263 value: - id: 1 node_id: MDU6SXNzdWUx @@ -18914,9 +18961,9 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *70 + Link: *71 '422': *15 - '304': *37 + '304': *38 '404': *6 x-github: githubCloudOnly: false @@ -18953,8 +19000,8 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 examples: default: value: @@ -18993,7 +19040,7 @@ paths: spdx_id: GPL-3.0 url: https://api.github.com/licenses/gpl-3.0 node_id: MDc6TGljZW5zZW1pdA== - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19178,7 +19225,7 @@ paths: featured: true '403': *29 '404': *6 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19239,7 +19286,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &105 + X-CommonMarker-Version: &106 example: 0.17.4 schema: type: string @@ -19251,7 +19298,7 @@ paths: default: summary: Example response value: "

Hello world

" - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19294,7 +19341,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *105 + X-CommonMarker-Version: *106 content: text/html: schema: @@ -19303,7 +19350,7 @@ paths: default: summary: Example response value: "

Hello world

" - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19323,7 +19370,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &108 + - &109 name: account_id description: account_id parameter in: path @@ -19335,7 +19382,7 @@ paths: description: Response content: application/json: - schema: &107 + schema: &108 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -19365,7 +19412,7 @@ paths: nullable: true id: type: integer - plan: &106 + plan: &107 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -19454,7 +19501,7 @@ paths: nullable: true updated_at: type: string - plan: *106 + plan: *107 required: - url - id @@ -19462,7 +19509,7 @@ paths: - login - marketplace_purchase examples: - default: &109 + default: &110 value: url: https://api.github.com/orgs/github type: Organization @@ -19547,9 +19594,9 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: - default: &110 + default: &111 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -19567,7 +19614,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *70 + Link: *71 '404': *6 '401': *25 x-github: @@ -19589,14 +19636,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &111 + - &112 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &112 + - &113 name: sort description: The property to sort the results by. in: query @@ -19626,9 +19673,9 @@ paths: application/json: schema: type: array - items: *107 + items: *108 examples: - default: &113 + default: &114 value: - url: https://api.github.com/orgs/github type: Organization @@ -19679,7 +19726,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *70 + Link: *71 '404': *6 '422': *15 '401': *25 @@ -19702,15 +19749,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *108 + - *109 responses: '200': description: Response content: application/json: - schema: *107 + schema: *108 examples: - default: *109 + default: *110 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -19742,11 +19789,11 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: - default: *110 + default: *111 headers: - Link: *70 + Link: *71 '401': *25 x-github: githubCloudOnly: false @@ -19767,8 +19814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *111 - *112 + - *113 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -19788,11 +19835,11 @@ paths: application/json: schema: type: array - items: *107 + items: *108 examples: - default: *113 + default: *114 headers: - Link: *70 + Link: *71 '401': *25 x-github: githubCloudOnly: false @@ -20035,7 +20082,7 @@ paths: - "*.example.com" packages: - "*.example.com" - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20054,14 +20101,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &358 + - &359 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &359 + - &360 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -20078,7 +20125,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: default: value: @@ -20122,8 +20169,8 @@ paths: created_at: '2022-06-08T23:29:25Z' '404': *6 '403': *29 - '304': *37 - '301': &362 + '304': *38 + '301': &363 description: Moved permanently content: application/json: @@ -20162,7 +20209,7 @@ paths: schema: type: boolean default: false - - *95 + - *96 - &619 name: before description: 'Only show notifications updated before the given time. This @@ -20188,18 +20235,18 @@ paths: application/json: schema: type: array - items: &115 + items: &116 title: Thread description: Thread type: object properties: id: type: string - repository: &163 + repository: &164 title: Minimal Repository description: Minimal Repository type: object - properties: &226 + properties: &227 id: type: integer format: int64 @@ -20455,7 +20502,7 @@ paths: type: integer network_count: type: integer - code_of_conduct: *38 + code_of_conduct: *39 license: type: object properties: @@ -20485,7 +20532,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &314 + security_and_analysis: &315 nullable: true type: object properties: @@ -20605,7 +20652,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &227 + required: &228 - archive_url - assignees_url - blobs_url @@ -20652,7 +20699,7 @@ paths: - teams_url - trees_url - url - x-github-breaking-changes: &228 + x-github-breaking-changes: &229 - changeset: remove_has_downloads patch: properties: @@ -20781,8 +20828,8 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -20846,7 +20893,7 @@ paths: Notifications are being marked as read in the background. '205': description: Reset Content - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -20865,7 +20912,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &116 + - &117 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 @@ -20879,7 +20926,7 @@ paths: description: Response content: application/json: - schema: *115 + schema: *116 examples: default: value: @@ -20962,7 +21009,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': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -20981,11 +21028,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *116 + - *117 responses: '205': description: Reset Content - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -21003,7 +21050,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *116 + - *117 responses: '204': description: No content @@ -21026,13 +21073,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *116 + - *117 responses: '200': description: Response content: application/json: - schema: &117 + schema: &118 title: Thread Subscription description: Thread Subscription type: object @@ -21069,7 +21116,7 @@ paths: - url - subscribed examples: - default: &118 + default: &119 value: subscribed: true ignored: false @@ -21077,7 +21124,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': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -21100,7 +21147,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *116 + - *117 requestBody: required: false content: @@ -21121,10 +21168,10 @@ paths: description: Response content: application/json: - schema: *117 + schema: *118 examples: - default: *118 - '304': *37 + default: *119 + '304': *38 '403': *29 '401': *25 x-github: @@ -21146,11 +21193,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *116 + - *117 responses: '204': description: Response - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -21241,15 +21288,15 @@ paths: application/json: schema: type: array - items: *76 + items: *77 examples: - default: *119 + default: *120 headers: Link: example: ; rel="next" schema: type: string - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21270,13 +21317,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &120 + schema: &121 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -21287,7 +21334,7 @@ paths: type: integer example: 14 examples: - default: *42 + default: *43 '403': *29 '404': *6 x-github: @@ -21309,14 +21356,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: application/json: - schema: *120 + schema: *121 examples: - selected_actions: *42 + selected_actions: *43 responses: '204': description: Response @@ -21343,13 +21390,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &121 + schema: &122 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -21360,7 +21407,7 @@ paths: type: integer example: 10 examples: - default: *44 + default: *45 '403': *29 '404': *6 x-github: @@ -21382,14 +21429,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: application/json: - schema: *121 + schema: *122 examples: - selected_actions: *44 + selected_actions: *45 responses: '204': description: Response @@ -21415,8 +21462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-organization parameters: - - *78 - - &124 + - *79 + - &125 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, @@ -21425,7 +21472,7 @@ paths: required: false schema: type: integer - - &125 + - &126 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 @@ -21434,7 +21481,7 @@ paths: required: false schema: type: integer - - &126 + - &127 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 @@ -21443,21 +21490,21 @@ paths: required: false schema: type: integer - - &127 + - &128 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &128 + - &129 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &129 + - &130 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -21573,8 +21620,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21593,7 +21640,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *78 + - *79 - name: page description: The page number of the results to fetch. in: query @@ -21826,7 +21873,7 @@ paths: total_count: 2 '404': *6 '403': *29 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21844,7 +21891,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#create-a-budget-for-an-organization parameters: - - *78 + - *79 requestBody: required: false content: @@ -22073,8 +22120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *78 - - &123 + - *79 + - &124 name: budget_id description: The ID corresponding to the budget. in: path @@ -22178,8 +22225,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22196,8 +22243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *78 - - *123 + - *79 + - *124 requestBody: required: true content: @@ -22426,8 +22473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *78 - - *123 + - *79 + - *124 responses: '200': description: Response when deleting a budget @@ -22453,8 +22500,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22474,13 +22521,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *78 - - *124 + - *79 - *125 - *126 - *127 - *128 - *129 + - *130 responses: '200': description: Response when getting a billing premium request usage report @@ -22590,8 +22637,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22611,9 +22658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *78 - - *124 - - &789 + - *79 + - *125 + - &790 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 @@ -22622,7 +22669,7 @@ paths: required: false schema: type: integer - - *126 + - *127 responses: '200': description: Billing usage report response for an organization @@ -22697,8 +22744,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22721,19 +22768,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *78 - - *124 + - *79 - *125 - *126 - - &790 + - *127 + - &791 name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *129 - - &791 + - *130 + - &792 name: sku description: The SKU to query for usage. in: query @@ -22843,8 +22890,8 @@ paths: netAmount: 8.0 '400': *14 '403': *29 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22870,13 +22917,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &130 + schema: &131 title: Organization Full description: Organization Full type: object @@ -23201,7 +23248,7 @@ paths: path: "/properties/secret_scanning_push_protection_custom_link_enabled" version: '2026-03-10' examples: - default-response: &131 + default-response: &132 value: login: github id: 1 @@ -23307,7 +23354,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *78 + - *79 requestBody: required: false content: @@ -23523,18 +23570,18 @@ paths: description: Response content: application/json: - schema: *130 + schema: *131 examples: - default: *131 + default: *132 '422': description: Validation failed content: application/json: schema: oneOf: - - *132 - *133 - '409': *54 + - *134 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23567,9 +23614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *78 + - *79 responses: - '202': *39 + '202': *40 '404': *6 '403': *29 x-github: @@ -23598,7 +23645,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -23624,7 +23671,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23645,7 +23692,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: - - *78 + - *79 - *17 - *19 responses: @@ -23663,7 +23710,7 @@ paths: type: integer repository_cache_usages: type: array - items: &369 + items: &370 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -23698,7 +23745,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23718,7 +23765,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *78 + - *79 - *17 - *19 responses: @@ -23736,7 +23783,7 @@ paths: type: integer runners: type: array - items: &134 + items: &135 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -23790,7 +23837,7 @@ paths: - display_name - source nullable: true - machine_size_details: &142 + machine_size_details: &143 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -23886,7 +23933,7 @@ paths: - public_ip_enabled - platform examples: - default: &162 + default: &163 value: total_count: 2 runners: @@ -23928,7 +23975,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23946,7 +23993,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -24023,9 +24070,9 @@ paths: description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: &143 + default: &144 value: id: 5 name: My hosted ubuntu runner @@ -24066,7 +24113,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -24082,7 +24129,7 @@ paths: type: integer images: type: array - items: &135 + items: &136 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -24133,7 +24180,7 @@ paths: - latest_version - state examples: - default: &137 + default: &138 value: total_count: 2 image_versions: @@ -24164,8 +24211,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: - - *78 - - &136 + - *79 + - &137 name: image_definition_id description: Image definition ID of custom image in: path @@ -24177,7 +24224,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *136 examples: default: value: @@ -24207,8 +24254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *78 - - *136 + - *79 + - *137 responses: '204': description: Response @@ -24231,8 +24278,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: - - *136 - - *78 + - *137 + - *79 responses: '200': description: Response @@ -24248,7 +24295,7 @@ paths: type: integer image_versions: type: array - items: &138 + items: &139 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -24281,7 +24328,7 @@ paths: - created_on - state_details examples: - default: *137 + default: *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24301,9 +24348,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: - - *78 - - *136 - - &139 + - *79 + - *137 + - &140 name: version description: Version of a custom image in: path @@ -24316,7 +24363,7 @@ paths: description: Response content: application/json: - schema: *138 + schema: *139 examples: default: value: @@ -24342,9 +24389,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: - - *78 - - *136 - - *139 + - *79 + - *137 + - *140 responses: '204': description: Response @@ -24365,7 +24412,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: - - *78 + - *79 responses: '200': description: Response @@ -24381,7 +24428,7 @@ paths: type: integer images: type: array - items: &140 + items: &141 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -24417,7 +24464,7 @@ paths: - display_name - source examples: - default: &141 + default: &142 value: id: ubuntu-20.04 platform: linux-x64 @@ -24441,7 +24488,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: - - *78 + - *79 responses: '200': description: Response @@ -24457,9 +24504,9 @@ paths: type: integer images: type: array - items: *140 + items: *141 examples: - default: *141 + default: *142 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24476,7 +24523,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: - - *78 + - *79 responses: '200': description: Response @@ -24529,7 +24576,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: - - *78 + - *79 responses: '200': description: Response @@ -24545,7 +24592,7 @@ paths: type: integer machine_specs: type: array - items: *142 + items: *143 examples: default: value: @@ -24570,7 +24617,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: - - *78 + - *79 responses: '200': description: Response @@ -24614,8 +24661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *78 - - &144 + - *79 + - &145 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -24627,11 +24674,11 @@ paths: description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: *143 + default: *144 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24649,8 +24696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *78 - - *144 + - *79 + - *145 requestBody: required: true content: @@ -24716,9 +24763,9 @@ paths: description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: *143 + default: *144 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -24734,16 +24781,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *78 - - *144 + - *79 + - *145 responses: '202': description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: *143 + default: *144 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24763,7 +24810,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *78 + - *79 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -24771,7 +24818,7 @@ paths: application/json: schema: type: array - items: *45 + items: *46 examples: default: value: @@ -24796,22 +24843,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: application/json: - schema: *145 + schema: *146 examples: - default: *46 + default: *47 responses: '201': description: OIDC custom property inclusion created content: application/json: - schema: *45 + schema: *46 examples: - default: *46 + default: *47 '400': description: Invalid input '403': *29 @@ -24835,7 +24882,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *78 + - *79 - name: custom_property_name in: path required: true @@ -24868,7 +24915,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: - - *78 + - *79 responses: '200': description: A JSON serialized template for OIDC subject claim customization @@ -24894,7 +24941,7 @@ paths: required: - include_claim_keys examples: - default: &146 + default: &147 value: include_claim_keys: - repo @@ -24916,7 +24963,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: - - *78 + - *79 requestBody: required: true content: @@ -24939,13 +24986,13 @@ paths: format. type: boolean examples: - default: *146 + default: *147 responses: '201': description: Empty response content: application/json: - schema: &172 + schema: &173 title: Empty Object description: An object without any properties. type: object @@ -24975,7 +25022,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -24984,7 +25031,7 @@ paths: schema: type: object properties: - enabled_repositories: &147 + enabled_repositories: &148 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -24997,7 +25044,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: &148 + allowed_actions: &149 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -25005,12 +25052,12 @@ paths: - all - local_only - selected - selected_actions_url: &374 + selected_actions_url: &375 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: &149 + sha_pinning_required: &150 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -25041,7 +25088,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *78 + - *79 responses: '204': description: Response @@ -25052,9 +25099,9 @@ paths: schema: type: object properties: - enabled_repositories: *147 - allowed_actions: *148 - sha_pinning_required: *149 + enabled_repositories: *148 + allowed_actions: *149 + sha_pinning_required: *150 required: - enabled_repositories examples: @@ -25082,13 +25129,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &378 + schema: &379 type: object properties: days: @@ -25125,12 +25172,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: application/json: - schema: &379 + schema: &380 type: object properties: days: @@ -25147,7 +25194,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 x-github: enabledForGitHubApps: true @@ -25167,13 +25214,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &150 + schema: &151 type: object properties: approval_policy: @@ -25187,7 +25234,7 @@ paths: required: - approval_policy examples: - default: &380 + default: &381 value: approval_policy: first_time_contributors '404': *6 @@ -25208,7 +25255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *78 + - *79 responses: '204': description: Response @@ -25218,7 +25265,7 @@ paths: required: true content: application/json: - schema: *150 + schema: *151 examples: default: summary: Set approval policy to first time contributors @@ -25240,13 +25287,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: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &381 + schema: &382 type: object required: - run_workflows_from_fork_pull_requests @@ -25272,7 +25319,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &151 + default: &152 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -25295,12 +25342,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: - - *78 + - *79 requestBody: required: true content: application/json: - schema: &382 + schema: &383 type: object required: - run_workflows_from_fork_pull_requests @@ -25323,7 +25370,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *151 + default: *152 responses: '204': description: Empty response for successful settings update @@ -25353,7 +25400,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: - - *78 + - *79 - *17 - *19 responses: @@ -25371,9 +25418,9 @@ paths: type: number repositories: type: array - items: *82 + items: *83 examples: - default: &155 + default: &156 value: total_count: 1 repositories: @@ -25513,7 +25560,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: - - *78 + - *79 responses: '204': description: Response @@ -25557,8 +25604,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: - - *78 - - &152 + - *79 + - &153 name: repository_id description: The unique identifier of the repository. in: path @@ -25586,8 +25633,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: Response @@ -25610,13 +25657,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &153 + schema: &154 type: object properties: github_owned_allowed: @@ -25638,7 +25685,7 @@ paths: items: type: string examples: - default: &154 + default: &155 value: github_owned_allowed: true verified_allowed: false @@ -25663,7 +25710,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *78 + - *79 responses: '204': description: Response @@ -25671,9 +25718,9 @@ paths: required: false content: application/json: - schema: *153 + schema: *154 examples: - selected_actions: *154 + selected_actions: *155 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -25693,7 +25740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -25741,7 +25788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -25768,7 +25815,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 x-github: enabledForGitHubApps: true @@ -25788,7 +25835,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: - - *78 + - *79 - *17 - *19 responses: @@ -25803,9 +25850,9 @@ paths: type: integer repositories: type: array - items: *82 + items: *83 examples: - default: *155 + default: *156 '403': *29 '404': *6 x-github: @@ -25825,7 +25872,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: - - *78 + - *79 requestBody: required: true content: @@ -25873,14 +25920,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: No content '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 x-github: enabledForGitHubApps: true @@ -25900,14 +25947,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: No content '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 x-github: enabledForGitHubApps: true @@ -25929,23 +25976,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &383 + schema: &384 type: object properties: - default_workflow_permissions: &156 + default_workflow_permissions: &157 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &157 + can_approve_pull_request_reviews: &158 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -25953,7 +26000,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &158 + default: &159 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -25978,7 +26025,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *78 + - *79 responses: '204': description: Success response @@ -25986,13 +26033,13 @@ paths: required: false content: application/json: - schema: &384 + schema: &385 type: object properties: - default_workflow_permissions: *156 - can_approve_pull_request_reviews: *157 + default_workflow_permissions: *157 + can_approve_pull_request_reviews: *158 examples: - default: *158 + default: *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26012,7 +26059,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: - - *78 + - *79 - *17 - *19 - name: visible_to_repository @@ -26037,7 +26084,7 @@ paths: type: number runner_groups: type: array - items: &159 + items: &160 type: object properties: id: @@ -26153,7 +26200,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: - - *78 + - *79 requestBody: required: true content: @@ -26225,9 +26272,9 @@ paths: description: Response content: application/json: - schema: *159 + schema: *160 examples: - default: &161 + default: &162 value: id: 2 name: octo-runner-group @@ -26262,8 +26309,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: - - *78 - - &160 + - *79 + - &161 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -26275,7 +26322,7 @@ paths: description: Response content: application/json: - schema: *159 + schema: *160 examples: default: value: @@ -26311,8 +26358,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: - - *78 - - *160 + - *79 + - *161 requestBody: required: true content: @@ -26366,9 +26413,9 @@ paths: description: Response content: application/json: - schema: *159 + schema: *160 examples: - default: *161 + default: *162 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26387,8 +26434,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: - - *78 - - *160 + - *79 + - *161 responses: '204': description: Response @@ -26411,8 +26458,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: - - *78 - - *160 + - *79 + - *161 - *17 - *19 responses: @@ -26430,11 +26477,11 @@ paths: type: number runners: type: array - items: *134 + items: *135 examples: - default: *162 + default: *163 headers: - Link: *70 + Link: *71 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26454,8 +26501,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: - - *78 - - *160 + - *79 + - *161 - *19 - *17 responses: @@ -26473,9 +26520,9 @@ paths: type: number repositories: type: array - items: *163 + items: *164 examples: - default: &211 + default: &212 value: total_count: 1 repositories: @@ -26727,8 +26774,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: - - *78 - - *160 + - *79 + - *161 requestBody: required: true content: @@ -26772,9 +26819,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: - - *78 - - *160 - - *152 + - *79 + - *161 + - *153 responses: '204': description: Response @@ -26796,9 +26843,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: - - *78 - - *160 - - *152 + - *79 + - *161 + - *153 responses: '204': description: Response @@ -26821,8 +26868,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: - - *78 - - *160 + - *79 + - *161 - *17 - *19 responses: @@ -26840,7 +26887,7 @@ paths: type: number runners: type: array - items: &165 + items: &166 title: Self hosted runners description: A self hosted runner type: object @@ -26869,7 +26916,7 @@ paths: type: boolean labels: type: array - items: &168 + items: &169 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -26906,7 +26953,7 @@ paths: - busy - labels examples: - default: &166 + default: &167 value: total_count: 2 runners: @@ -26948,7 +26995,7 @@ paths: name: no-gpu type: custom headers: - Link: *70 + Link: *71 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26967,8 +27014,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: - - *78 - - *160 + - *79 + - *161 requestBody: required: true content: @@ -27012,9 +27059,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: - - *78 - - *160 - - &164 + - *79 + - *161 + - &165 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -27042,9 +27089,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: - - *78 - - *160 - - *164 + - *79 + - *161 + - *165 responses: '204': description: Response @@ -27074,7 +27121,7 @@ paths: in: query schema: type: string - - *78 + - *79 - *17 - *19 responses: @@ -27092,11 +27139,11 @@ paths: type: integer runners: type: array - items: *165 + items: *166 examples: - default: *166 + default: *167 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27118,7 +27165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -27126,7 +27173,7 @@ paths: application/json: schema: type: array - items: &385 + items: &386 title: Runner Application description: Runner Application type: object @@ -27151,7 +27198,7 @@ paths: - download_url - filename examples: - default: &386 + default: &387 value: - os: osx architecture: x64 @@ -27194,7 +27241,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: - - *78 + - *79 requestBody: required: true content: @@ -27237,7 +27284,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &387 + '201': &388 description: Response content: application/json: @@ -27247,7 +27294,7 @@ paths: - runner - encoded_jit_config properties: - runner: *165 + runner: *166 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -27276,7 +27323,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27304,13 +27351,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *78 + - *79 responses: '201': description: Response content: application/json: - schema: &167 + schema: &168 title: Authentication Token description: Authentication Token type: object @@ -27332,7 +27379,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *82 + items: *83 single_file: type: string example: config.yaml @@ -27348,7 +27395,7 @@ paths: - token - expires_at examples: - default: &388 + default: &389 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -27379,15 +27426,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *78 + - *79 responses: '201': description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: &389 + default: &390 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -27412,16 +27459,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: - - *78 - - *164 + - *79 + - *165 responses: '200': description: Response content: application/json: - schema: *165 + schema: *166 examples: - default: &390 + default: &391 value: id: 23 name: MBP @@ -27463,8 +27510,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: - - *78 - - *164 + - *79 + - *165 responses: '204': description: Response @@ -27490,10 +27537,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: - - *78 - - *164 + - *79 + - *165 responses: - '200': &169 + '200': &170 description: Response content: application/json: @@ -27507,7 +27554,7 @@ paths: type: integer labels: type: array - items: *168 + items: *169 examples: default: value: @@ -27546,8 +27593,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: - - *78 - - *164 + - *79 + - *165 requestBody: required: true content: @@ -27571,7 +27618,7 @@ paths: - gpu - accelerated responses: - '200': *169 + '200': *170 '404': *6 '422': *7 x-github: @@ -27595,8 +27642,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: - - *78 - - *164 + - *79 + - *165 requestBody: required: true content: @@ -27621,7 +27668,7 @@ paths: - gpu - accelerated responses: - '200': *169 + '200': *170 '404': *6 '422': *7 x-github: @@ -27645,10 +27692,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: - - *78 - - *164 + - *79 + - *165 responses: - '200': &391 + '200': &392 description: Response content: application/json: @@ -27662,7 +27709,7 @@ paths: type: integer labels: type: array - items: *168 + items: *169 examples: default: value: @@ -27703,9 +27750,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: - - *78 - - *164 - - &392 + - *79 + - *165 + - &393 name: name description: The name of a self-hosted runner's custom label. in: path @@ -27713,7 +27760,7 @@ paths: schema: type: string responses: - '200': *169 + '200': *170 '404': *6 '422': *7 x-github: @@ -27738,7 +27785,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *78 + - *79 - *17 - *19 responses: @@ -27756,7 +27803,7 @@ paths: type: integer secrets: type: array - items: &170 + items: &171 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -27788,7 +27835,7 @@ paths: - updated_at - visibility examples: - default: &176 + default: &177 value: total_count: 3 secrets: @@ -27806,7 +27853,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27829,13 +27876,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &177 + schema: &178 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -27864,7 +27911,7 @@ paths: - key_id - key examples: - default: &178 + default: &179 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27889,8 +27936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *78 - - &171 + - *79 + - &172 name: secret_name description: The name of the secret. in: path @@ -27902,9 +27949,9 @@ paths: description: Response content: application/json: - schema: *170 + schema: *171 examples: - default: &179 + default: &180 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27932,8 +27979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -27990,7 +28037,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -28016,8 +28063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '204': description: Response @@ -28043,8 +28090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - *19 - *17 responses: @@ -28062,9 +28109,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: &175 + default: &176 value: total_count: 1 repositories: @@ -28156,8 +28203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -28209,8 +28256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -28243,8 +28290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -28276,8 +28323,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *78 - - &180 + - *79 + - &181 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)." @@ -28301,7 +28348,7 @@ paths: type: integer variables: type: array - items: &173 + items: &174 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -28344,7 +28391,7 @@ paths: - updated_at - visibility examples: - default: &181 + default: &182 value: total_count: 3 variables: @@ -28365,7 +28412,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28386,7 +28433,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *78 + - *79 requestBody: required: true content: @@ -28434,7 +28481,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -28459,8 +28506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *78 - - &174 + - *79 + - &175 name: name description: The name of the variable. in: path @@ -28472,9 +28519,9 @@ paths: description: Response content: application/json: - schema: *173 + schema: *174 examples: - default: &182 + default: &183 value: name: USERNAME value: octocat @@ -28502,8 +28549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 requestBody: required: true content: @@ -28565,8 +28612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 responses: '204': description: Response @@ -28592,8 +28639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 - *19 - *17 responses: @@ -28611,9 +28658,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *175 + default: *176 '409': description: Response when the visibility of the variable is not set to `selected` @@ -28639,8 +28686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 requestBody: required: true content: @@ -28689,8 +28736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 - name: repository_id in: path required: true @@ -28724,8 +28771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 - name: repository_id in: path required: true @@ -28759,7 +28806,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-organization-secrets parameters: - - *78 + - *79 - *17 - *19 responses: @@ -28777,11 +28824,11 @@ paths: type: integer secrets: type: array - items: *170 + items: *171 examples: - default: *176 + default: *177 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28804,15 +28851,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-an-organization-public-key parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28834,16 +28881,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '200': description: Response content: application/json: - schema: *170 + schema: *171 examples: - default: *179 + default: *180 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28865,8 +28912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -28923,7 +28970,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -28949,8 +28996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '204': description: Response @@ -28976,8 +29023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - *19 - *17 responses: @@ -28995,9 +29042,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *175 + default: *176 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29020,8 +29067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -29073,8 +29120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -29107,8 +29154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -29141,8 +29188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-organization-variables parameters: - - *78 - - *180 + - *79 + - *181 - *19 responses: '200': @@ -29159,11 +29206,11 @@ paths: type: integer variables: type: array - items: *173 + items: *174 examples: - default: *181 + default: *182 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29184,7 +29231,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-an-organization-variable parameters: - - *78 + - *79 requestBody: required: true content: @@ -29232,7 +29279,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -29257,16 +29304,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 responses: '200': description: Response content: application/json: - schema: *173 + schema: *174 examples: - default: *182 + default: *183 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29287,8 +29334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 requestBody: required: true content: @@ -29350,8 +29397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 responses: '204': description: Response @@ -29377,8 +29424,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 - *19 - *17 responses: @@ -29396,9 +29443,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *175 + default: *176 '409': description: Response when the visibility of the variable is not set to `selected` @@ -29424,8 +29471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 requestBody: required: true content: @@ -29474,8 +29521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 - name: repository_id in: path required: true @@ -29509,8 +29556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - - *78 - - *174 + - *79 + - *175 - name: repository_id in: path required: true @@ -29551,7 +29598,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *78 + - *79 requestBody: required: true content: @@ -29674,7 +29721,7 @@ paths: type: integer deployment_records: type: array - items: &183 + items: &184 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -29720,7 +29767,7 @@ paths: required: - total_count examples: - default: &184 + default: &185 value: total_count: 1 deployment_records: @@ -29761,7 +29808,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *78 + - *79 - name: cluster in: path description: The cluster name. @@ -29860,6 +29907,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 @@ -29900,11 +29955,109 @@ paths: type: integer deployment_records: type: array - items: *183 + items: *184 + required: + - total_count + examples: + default: *185 + '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: *184 + 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 + nullable: true + description: The version of the deployment. + status: + type: string + description: The deployment status. + github_repository: + type: string + nullable: true + 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: *184 + 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: @@ -29951,7 +30104,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *78 + - *79 requestBody: required: true content: @@ -30118,7 +30271,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *78 + - *79 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -30143,9 +30296,9 @@ paths: type: integer deployment_records: type: array - items: *183 + items: *184 examples: - default: *184 + default: *185 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30165,7 +30318,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *78 + - *79 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -30248,9 +30401,9 @@ paths: url: https://docs.github.com/rest/orgs/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *47 - *48 - - *78 + - *49 + - *79 requestBody: required: true content: @@ -30274,12 +30427,12 @@ paths: required: - subject_digests examples: - default: &770 + default: &771 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &771 + withPredicateType: &772 value: subject_digests: - sha256:abc123 @@ -30337,7 +30490,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &772 + default: &773 value: attestations_subject_digests: - sha256:abc: @@ -30461,7 +30614,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *78 + - *79 requestBody: required: true content: @@ -30526,7 +30679,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *78 + - *79 - name: subject_digest description: Subject Digest in: path @@ -30559,9 +30712,9 @@ paths: url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories parameters: - *17 - - *47 - *48 - - *78 + - *49 + - *79 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -30609,7 +30762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *78 + - *79 - name: attestation_id description: Attestation ID in: path @@ -30645,9 +30798,9 @@ paths: url: https://docs.github.com/rest/orgs/attestations#list-attestations parameters: - *17 - - *47 - *48 - - *78 + - *49 + - *79 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -30702,7 +30855,7 @@ paths: initiator: type: string examples: - default: &418 + default: &419 value: attestations: - bundle: @@ -30823,7 +30976,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *78 + - *79 - *17 - *19 responses: @@ -30835,7 +30988,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30854,8 +31007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: If the user is blocked @@ -30880,8 +31033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -30901,8 +31054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -30927,15 +31080,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *78 + - *79 - *19 - *17 - - *62 + - *63 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &185 + schema: &186 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -30961,7 +31114,7 @@ paths: application/json: schema: type: array - items: &186 + items: &187 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -30992,7 +31145,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &210 + items: &211 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -31078,7 +31231,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &273 + properties: &274 id: description: Unique identifier of the team type: integer @@ -31150,7 +31303,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &274 + required: &275 - id - node_id - url @@ -31193,7 +31346,7 @@ paths: type: string format: date-time nullable: true - state: *185 + state: *186 contact_link: description: The contact link of the campaign. type: string @@ -31288,9 +31441,9 @@ paths: closed_at: state: open headers: - Link: *70 + Link: *71 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31314,7 +31467,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -31413,9 +31566,9 @@ paths: description: Response content: application/json: - schema: *186 + schema: *187 examples: - default: &187 + default: &188 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -31464,7 +31617,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31486,7 +31639,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *78 + - *79 - name: campaign_number description: The campaign number. in: path @@ -31498,16 +31651,16 @@ paths: description: Response content: application/json: - schema: *186 + schema: *187 examples: - default: *187 + default: *188 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31528,7 +31681,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *78 + - *79 - name: campaign_number description: The campaign number. in: path @@ -31577,7 +31730,7 @@ paths: type: string format: uri nullable: true - state: *185 + state: *186 examples: default: value: @@ -31587,9 +31740,9 @@ paths: description: Response content: application/json: - schema: *186 + schema: *187 examples: - default: *187 + default: *188 '400': description: Bad Request content: @@ -31601,7 +31754,7 @@ paths: content: application/json: schema: *3 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31622,7 +31775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *78 + - *79 - name: campaign_number description: The campaign number. in: path @@ -31633,7 +31786,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31655,18 +31808,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *78 - - &445 + - *79 + - &446 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: &195 + schema: &196 type: string description: The name of the tool used to generate the code scanning analysis. - - &446 + - &447 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 @@ -31674,22 +31827,22 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &196 + schema: &197 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *47 - *48 + - *49 - *19 - *17 - - *62 + - *63 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &448 + schema: &449 type: string description: State of a code scanning alert. enum: @@ -31712,7 +31865,7 @@ paths: be returned. in: query required: false - schema: &449 + schema: &450 type: string description: Severity of a code scanning alert. enum: @@ -31741,18 +31894,18 @@ paths: items: type: object properties: - number: *188 - created_at: *189 - updated_at: *190 - url: *191 - html_url: *192 - instances_url: &450 + number: *189 + created_at: *190 + updated_at: *191 + url: *192 + html_url: *193 + instances_url: &451 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &197 + state: &198 type: string description: State of a code scanning alert. nullable: true @@ -31760,7 +31913,7 @@ paths: - open - dismissed - fixed - fixed_at: *193 + fixed_at: *194 dismissed_by: title: Simple User description: A GitHub user. @@ -31768,8 +31921,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *194 - dismissed_reason: &451 + dismissed_at: *195 + dismissed_reason: &452 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -31778,13 +31931,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &452 + dismissed_comment: &453 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &453 + rule: &454 type: object properties: id: @@ -31837,42 +31990,42 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &454 + tool: &455 type: object properties: - name: *195 + name: *196 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *196 - most_recent_instance: &455 + guid: *197 + most_recent_instance: &456 type: object properties: - ref: &447 + ref: &448 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &465 + analysis_key: &466 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: &466 + environment: &467 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: &467 + category: &468 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: *197 + state: *198 commit_sha: type: string message: @@ -31886,7 +32039,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: &468 + location: &469 type: object description: Describe a region within a file for the alert. properties: @@ -31907,7 +32060,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: &469 + items: &470 type: string description: A classification of the file. For example to identify it as generated. @@ -31917,7 +32070,7 @@ paths: - generated - test - library - repository: *67 + repository: *68 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -32172,9 +32325,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: *70 + Link: *71 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32196,7 +32349,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *78 + - *79 - name: target_type in: query description: The target type of the code security configuration @@ -32215,8 +32368,8 @@ paths: schema: type: integer default: 30 - - *47 - *48 + - *49 responses: '200': description: Response @@ -32224,7 +32377,7 @@ paths: application/json: schema: type: array - items: *49 + items: *50 examples: default: value: @@ -32302,7 +32455,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *78 + - *79 requestBody: required: true content: @@ -32389,7 +32542,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *53 + code_scanning_options: *54 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -32398,7 +32551,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *52 + code_scanning_default_setup_options: *53 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -32543,9 +32696,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *49 + schema: *50 examples: - default: *198 + default: *199 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32567,16 +32720,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *199 + schema: *200 examples: - default: *200 - '304': *37 + default: *201 + '304': *38 '403': *29 '404': *6 x-github: @@ -32601,7 +32754,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *78 + - *79 requestBody: required: true content: @@ -32629,11 +32782,11 @@ paths: - 32 - 91 responses: - '204': *61 + '204': *60 '400': *14 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32655,17 +32808,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *78 - - *51 + - *79 + - *52 responses: '200': description: Response content: application/json: - schema: *49 + schema: *50 examples: - default: *198 - '304': *37 + default: *199 + '304': *38 '403': *29 '404': *6 x-github: @@ -32688,8 +32841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *78 - - *51 + - *79 + - *52 requestBody: required: true content: @@ -32776,8 +32929,8 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *52 - code_scanning_options: *53 + code_scanning_default_setup_options: *53 + code_scanning_options: *54 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -32909,7 +33062,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *49 + schema: *50 examples: default: value: @@ -32968,14 +33121,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *78 - - *51 + - *79 + - *52 responses: - '204': *61 + '204': *60 '400': *14 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32999,8 +33152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *78 - - *51 + - *79 + - *52 requestBody: required: true content: @@ -33039,7 +33192,7 @@ paths: - 32 - 91 responses: - '202': *39 + '202': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33063,8 +33216,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: - - *78 - - *51 + - *79 + - *52 requestBody: required: true content: @@ -33104,12 +33257,12 @@ paths: - none - private_and_internal - public - configuration: *49 + configuration: *50 examples: default: value: default_for_new_repos: all - configuration: *198 + configuration: *199 '403': *29 '404': *6 x-github: @@ -33133,8 +33286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *78 - - *51 + - *79 + - *52 - 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)." @@ -33143,8 +33296,8 @@ paths: schema: type: integer default: 30 - - *47 - *48 + - *49 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -33162,13 +33315,13 @@ paths: application/json: schema: type: array - items: *201 + items: *202 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *202 + repository: *203 '403': *29 '404': *6 x-github: @@ -33192,7 +33345,7 @@ paths: parameters: - *17 - *19 - - *78 + - *79 responses: '200': description: Response @@ -33208,7 +33361,7 @@ paths: type: integer codespaces: type: array - items: &263 + items: &264 type: object title: Codespace description: A codespace. @@ -33233,12 +33386,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *163 + repository: *164 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &481 + properties: &482 name: type: string description: The name of the machine. @@ -33280,7 +33433,7 @@ paths: - ready - in_progress nullable: true - required: &482 + required: &483 - name - display_name - operating_system @@ -33485,7 +33638,7 @@ paths: - pulls_url - recent_folders examples: - default: &264 + default: &265 value: total_count: 3 codespaces: @@ -33894,8 +34047,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': *37 - '500': *55 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -33917,7 +34070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *78 + - *79 deprecated: true requestBody: required: true @@ -33956,12 +34109,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *37 + '304': *38 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33984,7 +34137,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *78 + - *79 deprecated: true requestBody: required: true @@ -34011,12 +34164,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *37 + '304': *38 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34039,7 +34192,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *78 + - *79 requestBody: required: true content: @@ -34065,12 +34218,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *37 + '304': *38 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34091,7 +34244,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *78 + - *79 - *17 - *19 responses: @@ -34109,7 +34262,7 @@ paths: type: integer secrets: type: array - items: &203 + items: &204 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -34148,7 +34301,7 @@ paths: - updated_at - visibility examples: - default: &483 + default: &484 value: total_count: 2 secrets: @@ -34161,7 +34314,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34180,13 +34333,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &484 + schema: &485 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -34215,7 +34368,7 @@ paths: - key_id - key examples: - default: &485 + default: &486 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34238,23 +34391,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '200': description: Response content: application/json: - schema: *203 + schema: *204 examples: - default: &487 + default: &488 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34274,8 +34427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -34330,7 +34483,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -34356,8 +34509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '204': description: Response @@ -34382,8 +34535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - *19 - *17 responses: @@ -34401,9 +34554,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *175 + default: *176 '404': *6 x-github: githubCloudOnly: false @@ -34425,8 +34578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -34476,8 +34629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -34510,8 +34663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -34547,7 +34700,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#list-organization-copilot-spaces parameters: - - *78 + - *79 - name: per_page description: The number of results per page (max 100). in: query @@ -34581,7 +34734,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &204 + items: &205 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -34629,7 +34782,7 @@ paths: owner: anyOf: - *4 - - *76 + - *77 description: The user or organization that owns this space. creator: *4 created_at: @@ -34844,7 +34997,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: *70 + Link: *71 '403': *29 '404': *6 x-github: @@ -34868,7 +35021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#create-an-organization-copilot-space parameters: - - *78 + - *79 requestBody: required: true content: @@ -34962,9 +35115,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: &205 + default: &206 summary: Example response for an organization copilot space value: id: 84 @@ -35057,7 +35210,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#get-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35069,9 +35222,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: *205 + default: *206 '403': *29 '404': *6 x-github: @@ -35095,7 +35248,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#set-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35197,9 +35350,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: *205 + default: *206 '403': *29 '404': *6 '422': *15 @@ -35226,7 +35379,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#delete-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35262,7 +35415,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#list-collaborators-for-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35282,7 +35435,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &206 + items: &207 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -35454,7 +35607,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#add-a-collaborator-to-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35505,7 +35658,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *207 examples: user: value: @@ -35585,7 +35738,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: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35635,7 +35788,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *207 examples: user: value: @@ -35717,7 +35870,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#remove-a-collaborator-from-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35766,7 +35919,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#list-resources-for-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35786,7 +35939,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &207 + items: &208 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -35875,7 +36028,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#create-a-resource-for-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35929,7 +36082,7 @@ paths: description: Resource created content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -35945,7 +36098,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -35982,7 +36135,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#get-a-resource-for-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36000,7 +36153,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -36034,7 +36187,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#set-a-resource-for-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36069,7 +36222,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -36104,7 +36257,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#delete-a-resource-from-an-organization-copilot-space parameters: - - *78 + - *79 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36147,7 +36300,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: - - *78 + - *79 responses: '200': description: OK @@ -36256,7 +36409,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36288,7 +36441,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: - - *78 + - *79 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -36311,7 +36464,7 @@ paths: currently being billed. seats: type: array - items: &266 + items: &267 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -36328,15 +36481,15 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *208 - required: *209 + properties: *209 + required: *210 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *210 - - *71 + - *211 + - *72 nullable: true pending_cancellation_date: type: string @@ -36460,8 +36613,8 @@ paths: type: User site_admin: false headers: - Link: *70 - '500': *55 + Link: *71 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36494,7 +36647,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: - - *78 + - *79 requestBody: content: application/json: @@ -36536,7 +36689,7 @@ paths: default: value: seats_created: 5 - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36572,7 +36725,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: - - *78 + - *79 requestBody: content: application/json: @@ -36614,7 +36767,7 @@ paths: default: value: seats_cancelled: 5 - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36652,7 +36805,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: - - *78 + - *79 requestBody: content: application/json: @@ -36693,7 +36846,7 @@ paths: default: value: seats_created: 5 - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36729,7 +36882,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: - - *78 + - *79 requestBody: content: application/json: @@ -36771,7 +36924,7 @@ paths: default: value: seats_cancelled: 5 - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36807,7 +36960,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: - - *78 + - *79 responses: '200': description: Response @@ -36844,7 +36997,7 @@ paths: summary: No repositories enabled value: enabled_repositories: none - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36872,7 +37025,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: - - *78 + - *79 requestBody: required: true content: @@ -36897,7 +37050,7 @@ paths: responses: '204': description: No Content - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -36927,7 +37080,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: - - *78 + - *79 - *17 - *19 responses: @@ -36942,17 +37095,17 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 required: - total_count - repositories examples: - default: *211 - '500': *55 + default: *212 + '500': *56 '401': *25 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36976,7 +37129,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: - - *78 + - *79 requestBody: required: true content: @@ -37002,11 +37155,11 @@ paths: responses: '204': description: No Content - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 x-github: githubCloudOnly: false @@ -37032,16 +37185,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: No Content - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 x-github: githubCloudOnly: false @@ -37066,16 +37219,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: No Content - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37106,7 +37259,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: - - *78 + - *79 responses: '200': description: OK @@ -37126,7 +37279,7 @@ paths: value: octo-repo: - "/src/some-dir/kernel.rs" - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -37159,7 +37312,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: - - *78 + - *79 requestBody: description: The content exclusion rules to set required: true @@ -37211,7 +37364,7 @@ paths: default: value: message: Content exclusion rules updated successfully. - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -37246,18 +37399,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: - - *78 - - *56 + - *79 + - *57 responses: '200': description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 - '204': *61 - '500': *55 + default: *59 + '204': *60 + '500': *56 '403': *29 '404': *6 x-github: @@ -37285,16 +37438,55 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics parameters: - - *78 + - *79 + responses: + '200': + description: Response + content: + application/json: + schema: *61 + examples: + default: *62 + '500': *56 + '403': *29 + '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: + - *79 + - *57 responses: '200': description: Response content: application/json: - schema: *59 + schema: *58 examples: - default: *60 - '500': *55 + default: *59 + '204': *60 + '500': *56 '403': *29 '404': *6 x-github: @@ -37322,18 +37514,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: - - *78 - - *56 + - *79 + - *57 responses: '200': description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 - '204': *61 - '500': *55 + default: *59 + '204': *60 + '500': *56 '403': *29 '404': *6 x-github: @@ -37361,18 +37553,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: - - *78 - - *56 + - *79 + - *57 responses: '200': description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 - '204': *61 - '500': *55 + default: *59 + '204': *60 + '500': *56 '403': *29 '404': *6 x-github: @@ -37400,16 +37592,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *59 + schema: *61 examples: - default: *60 - '500': *55 + default: *62 + '500': *56 '403': *29 '404': *6 x-github: @@ -37433,13 +37625,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *78 - - *212 + - *79 - *213 - *214 - *215 - *216 - *217 + - *218 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -37469,7 +37661,7 @@ paths: enum: - patch - deployment - - *218 + - *219 - name: runtime_risk in: query description: |- @@ -37478,11 +37670,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *219 - *220 - - *62 - - *47 + - *221 + - *63 - *48 + - *49 - *17 responses: '200': @@ -37491,10 +37683,10 @@ paths: application/json: schema: type: array - items: *221 + items: *222 examples: - default: *222 - '304': *37 + default: *223 + '304': *38 '400': *14 '403': *29 '404': *6 @@ -37519,7 +37711,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: - - *78 + - *79 - name: page in: query description: The page number of results to fetch. @@ -37542,9 +37734,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *224 + default: *225 '403': *29 '404': *6 x-github: @@ -37575,7 +37767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -37641,7 +37833,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *78 + - *79 requestBody: required: true content: @@ -37689,7 +37881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *78 + - *79 - *17 - *19 responses: @@ -37707,7 +37899,7 @@ paths: type: integer secrets: type: array - items: &225 + items: &226 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -37757,7 +37949,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37778,13 +37970,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: &518 + schema: &519 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -37801,7 +37993,7 @@ paths: - key_id - key examples: - default: &519 + default: &520 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37824,14 +38016,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '200': description: Response content: application/json: - schema: *225 + schema: *226 examples: default: value: @@ -37859,8 +38051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -37917,7 +38109,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -37949,8 +38141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 responses: '204': description: Response @@ -37974,8 +38166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - *19 - *17 responses: @@ -37993,9 +38185,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *175 + default: *176 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38016,8 +38208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -38067,8 +38259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -38099,8 +38291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *78 - - *171 + - *79 + - *172 - name: repository_id in: path required: true @@ -38130,7 +38322,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: - - *78 + - *79 responses: '200': description: Response @@ -38138,7 +38330,7 @@ paths: application/json: schema: type: array - items: &276 + items: &277 title: Package description: A software package type: object @@ -38188,9 +38380,9 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *226 - required: *227 - x-github-breaking-changes: *228 + properties: *227 + required: *228 + x-github-breaking-changes: *229 nullable: true created_at: type: string @@ -38209,7 +38401,7 @@ paths: - created_at - updated_at examples: - default: &277 + default: &278 value: - id: 197 name: hello_docker @@ -38287,7 +38479,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *78 + - *79 - *17 - *19 responses: @@ -38297,7 +38489,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: 200-response: value: @@ -38369,7 +38561,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *78 + - *79 - *17 - *19 responses: @@ -38379,7 +38571,7 @@ paths: application/json: schema: type: array - items: &252 + items: &253 title: Organization Invitation description: Organization Invitation type: object @@ -38426,7 +38618,7 @@ paths: - invitation_teams_url - node_id examples: - default: &253 + default: &254 value: - id: 1 login: monalisa @@ -38459,7 +38651,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -38483,7 +38675,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *78 + - *79 - *17 - *19 responses: @@ -38493,7 +38685,7 @@ paths: application/json: schema: type: array - items: &229 + items: &230 title: Org Hook description: Org Hook type: object @@ -38581,7 +38773,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -38604,7 +38796,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *78 + - *79 requestBody: required: true content: @@ -38664,9 +38856,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *230 examples: - default: &230 + default: &231 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -38713,8 +38905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *78 - - &231 + - *79 + - &232 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. @@ -38727,9 +38919,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *230 examples: - default: *230 + default: *231 '404': *6 x-github: githubCloudOnly: false @@ -38756,8 +38948,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *78 - - *231 + - *79 + - *232 requestBody: required: false content: @@ -38802,7 +38994,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *230 examples: default: value: @@ -38843,8 +39035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *78 - - *231 + - *79 + - *232 responses: '204': description: Response @@ -38871,8 +39063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *78 - - *231 + - *79 + - *232 responses: '200': description: Response @@ -38902,8 +39094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *78 - - *231 + - *79 + - *232 requestBody: required: false content: @@ -38953,11 +39145,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *78 - - *231 - - *17 + - *79 - *232 + - *17 - *233 + - *234 responses: '200': description: Response @@ -38965,9 +39157,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *235 + default: *236 '400': *14 '422': *15 x-github: @@ -38992,17 +39184,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *78 - - *231 + - *79 + - *232 - *16 responses: '200': description: Response content: application/json: - schema: *236 + schema: *237 examples: - default: *237 + default: *238 '400': *14 '422': *15 x-github: @@ -39027,11 +39219,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *78 - - *231 + - *79 + - *232 - *16 responses: - '202': *39 + '202': *40 '400': *14 '422': *15 x-github: @@ -39057,8 +39249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *78 - - *231 + - *79 + - *232 responses: '204': description: Response @@ -39080,8 +39272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *78 - - &242 + - *79 + - &243 name: actor_type in: path description: The type of the actor @@ -39094,14 +39286,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &243 + - &244 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &238 + - &239 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`.' @@ -39109,7 +39301,7 @@ paths: required: true schema: type: string - - &239 + - &240 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) @@ -39120,7 +39312,7 @@ paths: type: string - *19 - *17 - - *62 + - *63 - name: sort description: The property to sort the results by. in: query @@ -39202,13 +39394,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *78 - - *238 + - *79 - *239 + - *240 - *19 - *17 - - *62 - - &248 + - *63 + - &249 name: sort description: The property to sort the results by. in: query @@ -39285,15 +39477,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *78 - - *238 + - *79 - *239 + - *240 responses: '200': description: Response content: application/json: - schema: &240 + schema: &241 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -39309,7 +39501,7 @@ paths: type: integer format: int64 examples: - default: &241 + default: &242 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -39329,24 +39521,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *78 - - &244 + - *79 + - &245 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *238 - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 x-github: enabledForGitHubApps: true category: orgs @@ -39364,19 +39556,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *78 - - *238 + - *79 - *239 - - *242 + - *240 - *243 + - *244 responses: '200': description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 x-github: enabledForGitHubApps: true category: orgs @@ -39393,10 +39585,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *78 - - *238 + - *79 - *239 - - &245 + - *240 + - &246 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -39409,7 +39601,7 @@ paths: description: Response content: application/json: - schema: &246 + schema: &247 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -39425,7 +39617,7 @@ paths: type: integer format: int64 examples: - default: &247 + default: &248 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -39461,19 +39653,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *78 - - *244 - - *238 - - *239 + - *79 - *245 + - *239 + - *240 + - *246 responses: '200': description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 x-github: enabledForGitHubApps: true category: orgs @@ -39490,20 +39682,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *78 - - *242 + - *79 - *243 - - *238 + - *244 - *239 - - *245 + - *240 + - *246 responses: '200': description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 x-github: enabledForGitHubApps: true category: orgs @@ -39520,14 +39712,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *78 - - *244 - - *238 + - *79 + - *245 - *239 + - *240 - *19 - *17 - - *62 - - *248 + - *63 + - *249 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -39600,7 +39792,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *78 + - *79 responses: '200': description: Response @@ -39608,7 +39800,7 @@ paths: application/json: schema: *22 examples: - default: &556 + default: &557 value: id: 1 account: @@ -39677,7 +39869,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *78 + - *79 - *17 - *19 responses: @@ -39747,7 +39939,7 @@ paths: suspended_at: suspended_by: headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39766,7 +39958,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -39774,12 +39966,12 @@ paths: application/json: schema: anyOf: - - &250 + - &251 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &249 + limit: &250 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -39804,7 +39996,7 @@ paths: properties: {} additionalProperties: false examples: - default: &251 + default: &252 value: limit: collaborators_only origin: organization @@ -39828,18 +40020,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: application/json: - schema: &557 + schema: &558 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *249 + limit: *250 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -39863,9 +40055,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *251 + default: *252 '422': *15 x-github: githubCloudOnly: false @@ -39883,7 +40075,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *78 + - *79 responses: '204': description: Response @@ -39907,7 +40099,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *78 + - *79 - *17 - *19 - name: role @@ -39941,11 +40133,11 @@ paths: application/json: schema: type: array - items: *252 + items: *253 examples: - default: *253 + default: *254 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -39966,7 +40158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *78 + - *79 requestBody: required: false content: @@ -40020,7 +40212,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: default: value: @@ -40074,8 +40266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *78 - - &254 + - *79 + - &255 name: invitation_id description: The unique identifier of the invitation. in: path @@ -40105,8 +40297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *78 - - *254 + - *79 + - *255 - *17 - *19 responses: @@ -40116,9 +40308,9 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: &275 + default: &276 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -40134,7 +40326,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -40153,7 +40345,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -40161,7 +40353,7 @@ paths: application/json: schema: type: array - items: &255 + items: &256 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -40323,7 +40515,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -40414,9 +40606,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *256 examples: - default: &256 + default: &257 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -40471,8 +40663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *78 - - &257 + - *79 + - &258 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -40580,9 +40772,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *256 examples: - default: *256 + default: *257 '404': *6 '422': *7 x-github: @@ -40606,10 +40798,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *78 - - *257 + - *79 + - *258 responses: - '204': *61 + '204': *60 '404': *6 '422': *7 x-github: @@ -40629,7 +40821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -40637,9 +40829,9 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: - default: &561 + default: &562 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -40675,7 +40867,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -40722,9 +40914,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: &259 + default: &260 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -40756,8 +40948,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *78 - - &260 + - *79 + - &261 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -40810,9 +41002,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 '404': *6 '422': *7 x-github: @@ -40836,8 +41028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *78 - - *260 + - *79 + - *261 responses: '204': description: Response @@ -40870,7 +41062,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *78 + - *79 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -40900,7 +41092,7 @@ paths: - closed - all default: open - - *261 + - *262 - name: type description: Can be the name of an issue type. in: query @@ -40918,8 +41110,8 @@ paths: - updated - comments default: created - - *62 - - *95 + - *63 + - *96 - *17 - *19 responses: @@ -40929,11 +41121,11 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: *262 + default: *263 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -40953,7 +41145,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *78 + - *79 - 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) @@ -40991,9 +41183,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 '422': *15 x-github: githubCloudOnly: false @@ -41011,8 +41203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response if requester is an organization member and user is @@ -41046,8 +41238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -41079,8 +41271,8 @@ paths: parameters: - *17 - *19 - - *78 - - *74 + - *79 + - *75 responses: '200': description: Response @@ -41096,11 +41288,11 @@ paths: type: integer codespaces: type: array - items: *263 + items: *264 examples: - default: *264 - '304': *37 - '500': *55 + default: *265 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -41123,9 +41315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *78 - - *74 - - &265 + - *79 + - *75 + - &266 name: codespace_name in: path required: true @@ -41133,9 +41325,9 @@ paths: schema: type: string responses: - '202': *39 - '304': *37 - '500': *55 + '202': *40 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -41158,17 +41350,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *78 - - *74 - - *265 + - *79 + - *75 + - *266 responses: '200': description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: &480 + default: &481 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -41309,8 +41501,8 @@ paths: pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls/1 recent_folders: [] template: - '304': *37 - '500': *55 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -41341,14 +41533,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: - - *78 - - *74 + - *79 + - *75 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *266 + schema: *267 examples: default: value: @@ -41392,7 +41584,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -41417,14 +41609,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '200': description: Response content: application/json: - schema: &267 + schema: &268 title: Org Membership description: Org Membership type: object @@ -41468,7 +41660,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *76 + organization: *77 user: title: Simple User description: A GitHub user. @@ -41491,7 +41683,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &268 + response-if-user-has-an-active-admin-membership-with-organization: &269 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -41563,8 +41755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *78 - - *74 + - *79 + - *75 requestBody: required: false content: @@ -41592,9 +41784,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *268 examples: - response-if-user-already-had-membership-with-organization: *268 + response-if-user-already-had-membership-with-organization: *269 '422': *15 '403': *29 x-github: @@ -41624,8 +41816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -41650,7 +41842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *78 + - *79 - *17 - *19 - name: exclude @@ -41671,7 +41863,7 @@ paths: application/json: schema: type: array - items: &269 + items: &270 title: Migration description: A migration. type: object @@ -41712,7 +41904,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *82 + items: *83 url: type: string format: uri @@ -41765,7 +41957,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *67 + items: *68 version: '2026-03-10' examples: default: @@ -41919,7 +42111,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -41935,7 +42127,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *78 + - *79 requestBody: required: true content: @@ -42011,7 +42203,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *270 examples: default: value: @@ -42189,8 +42381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *78 - - &270 + - *79 + - &271 name: migration_id description: The unique identifier of the migration. in: path @@ -42217,7 +42409,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *269 + schema: *270 examples: default: value: @@ -42386,8 +42578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *78 - - *270 + - *79 + - *271 responses: '302': description: Response @@ -42408,8 +42600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *78 - - *270 + - *79 + - *271 responses: '204': description: Response @@ -42432,9 +42624,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *78 - - *270 - - &753 + - *79 + - *271 + - &754 name: repo_name description: repo_name parameter in: path @@ -42461,8 +42653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *78 - - *270 + - *79 + - *271 - *17 - *19 responses: @@ -42472,9 +42664,9 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: &282 + default: &283 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42587,7 +42779,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -42602,7 +42794,7 @@ paths: content: application/json: schema: - items: *67 + items: *68 version: '2026-03-10' - changeset: restrict_repo_fields_in_migration_resource patch: @@ -42631,7 +42823,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response - list of organization roles @@ -42647,7 +42839,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &272 + items: &273 title: Organization Role description: Organization roles type: object @@ -42794,8 +42986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *78 - - *80 + - *79 + - *81 responses: '204': description: Response @@ -42820,9 +43012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *78 - - *80 - - &271 + - *79 + - *81 + - &272 name: role_id description: The unique identifier of the role. in: path @@ -42857,9 +43049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *78 - - *80 - - *271 + - *79 + - *81 + - *272 responses: '204': description: Response @@ -42884,8 +43076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -42910,9 +43102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *78 - - *74 - - *271 + - *79 + - *75 + - *272 responses: '204': description: Response @@ -42942,9 +43134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *78 - - *74 - - *271 + - *79 + - *75 + - *272 responses: '204': description: Response @@ -42972,14 +43164,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *78 - - *271 + - *79 + - *272 responses: '200': description: Response content: application/json: - schema: *272 + schema: *273 examples: default: value: @@ -43029,8 +43221,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: - - *78 - - *271 + - *79 + - *272 - *17 - *19 responses: @@ -43108,8 +43300,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *273 - required: *274 + properties: *274 + required: *275 nullable: true type: description: The ownership type of the team @@ -43141,9 +43333,9 @@ paths: - type - parent examples: - default: *275 + default: *276 headers: - Link: *70 + Link: *71 '404': description: Response if the organization or role does not exist. '422': @@ -43170,8 +43362,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: - - *78 - - *271 + - *79 + - *272 - *17 - *19 responses: @@ -43199,13 +43391,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &350 + items: &351 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *273 - required: *274 + properties: *274 + required: *275 name: nullable: true type: string @@ -43300,9 +43492,9 @@ paths: - type - url examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 '404': description: Response if the organization or role does not exist. '422': @@ -43324,7 +43516,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *78 + - *79 - 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) @@ -43351,9 +43543,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43376,8 +43568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *78 - - *74 + - *79 + - *75 requestBody: required: false content: @@ -43434,8 +43626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -43492,8 +43684,8 @@ paths: - docker - nuget - container - - *78 - - &754 + - *79 + - &755 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -43529,12 +43721,12 @@ paths: application/json: schema: type: array - items: *276 + items: *277 examples: - default: *277 + default: *278 '403': *29 '401': *25 - '400': &756 + '400': &757 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -43556,7 +43748,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &278 + - &279 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 @@ -43574,20 +43766,20 @@ paths: - docker - nuget - container - - &279 + - &280 name: package_name description: The name of the package. in: path required: true schema: type: string - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *276 + schema: *277 examples: default: value: @@ -43639,9 +43831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *278 - *279 - - *78 + - *280 + - *79 responses: '204': description: Response @@ -43673,9 +43865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *278 - *279 - - *78 + - *280 + - *79 - name: token description: package token schema: @@ -43707,9 +43899,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: - - *278 - *279 - - *78 + - *280 + - *79 - *19 - *17 - name: state @@ -43729,7 +43921,7 @@ paths: application/json: schema: type: array - items: &280 + items: &281 title: Package Version description: A version of a software package type: object @@ -43854,10 +44046,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *278 - *279 - - *78 - - &281 + - *280 + - *79 + - &282 name: package_version_id description: Unique identifier of the package version. in: path @@ -43869,7 +44061,7 @@ paths: description: Response content: application/json: - schema: *280 + schema: *281 examples: default: value: @@ -43905,10 +44097,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *278 - *279 - - *78 - - *281 + - *280 + - *79 + - *282 responses: '204': description: Response @@ -43940,10 +44132,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *278 - *279 - - *78 - - *281 + - *280 + - *79 + - *282 responses: '204': description: Response @@ -43970,10 +44162,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: - - *78 + - *79 - *17 - *19 - - &283 + - &284 name: sort description: The property by which to sort the results. in: query @@ -43983,8 +44175,8 @@ paths: enum: - created_at default: created_at - - *62 - - &284 + - *63 + - &285 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -43995,7 +44187,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &285 + - &286 name: repository description: The name of the repository to use to filter the results. in: query @@ -44003,7 +44195,7 @@ paths: schema: type: string example: Hello-World - - &286 + - &287 name: permission description: The permission to use to filter the results. in: query @@ -44011,7 +44203,7 @@ paths: schema: type: string example: issues_read - - &287 + - &288 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) @@ -44021,7 +44213,7 @@ paths: schema: type: string format: date-time - - &288 + - &289 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) @@ -44031,7 +44223,7 @@ paths: schema: type: string format: date-time - - &289 + - &290 name: token_id description: The ID of the token in: query @@ -44043,7 +44235,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *55 + '500': *56 '422': *15 '404': *6 '403': *29 @@ -44175,7 +44367,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44195,7 +44387,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: - - *78 + - *79 requestBody: required: true content: @@ -44236,11 +44428,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *55 + '500': *56 '422': *15 '404': *6 '403': *29 - '202': *39 + '202': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44261,7 +44453,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: - - *78 + - *79 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -44297,11 +44489,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *55 + '500': *56 '422': *15 '404': *6 '403': *29 - '204': *61 + '204': *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44322,7 +44514,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: - - *78 + - *79 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -44333,7 +44525,7 @@ paths: - *17 - *19 responses: - '500': *55 + '500': *56 '404': *6 '403': *29 '200': @@ -44342,11 +44534,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *282 + default: *283 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44367,19 +44559,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: - - *78 + - *79 - *17 - *19 - - *283 - - *62 - *284 + - *63 - *285 - *286 - *287 - *288 - *289 + - *290 responses: - '500': *55 + '500': *56 '422': *15 '404': *6 '403': *29 @@ -44506,7 +44698,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44526,7 +44718,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: - - *78 + - *79 requestBody: required: true content: @@ -44561,9 +44753,9 @@ paths: - 1296269 - 1296280 responses: - '500': *55 + '500': *56 '404': *6 - '202': *39 + '202': *40 '403': *29 '422': *15 x-github: @@ -44586,7 +44778,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: - - *78 + - *79 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -44614,9 +44806,9 @@ paths: value: action: revoke responses: - '500': *55 + '500': *56 '404': *6 - '204': *61 + '204': *60 '403': *29 '422': *15 x-github: @@ -44638,7 +44830,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: - - *78 + - *79 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -44648,7 +44840,7 @@ paths: - *17 - *19 responses: - '500': *55 + '500': *56 '404': *6 '403': *29 '200': @@ -44657,11 +44849,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *282 + default: *283 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44683,7 +44875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *78 + - *79 - *17 - *19 responses: @@ -44701,7 +44893,7 @@ paths: type: integer configurations: type: array - items: &290 + items: &291 title: Organization private registry description: Private registry configuration for an organization type: object @@ -44840,7 +45032,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *70 + Link: *71 '400': *14 '404': *6 x-github: @@ -44863,7 +45055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -45212,7 +45404,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &291 + org-private-registry-with-selected-visibility: &292 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -45253,7 +45445,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: - - *78 + - *79 responses: '200': description: Response @@ -45279,7 +45471,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -45301,16 +45493,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *78 - - *171 + - *79 + - *172 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *290 + schema: *291 examples: - default: *291 + default: *292 '404': *6 x-github: githubCloudOnly: false @@ -45332,8 +45524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *78 - - *171 + - *79 + - *172 requestBody: required: true content: @@ -45520,8 +45712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *78 - - *171 + - *79 + - *172 responses: '204': description: Response @@ -45544,15 +45736,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *78 + - *79 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *47 - *48 + - *49 - *17 responses: '200': @@ -45561,7 +45753,7 @@ paths: application/json: schema: type: array - items: &292 + items: &293 title: Projects v2 Project description: A projects v2 project type: object @@ -45631,7 +45823,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &845 + properties: &846 id: type: number description: The unique identifier of the status update. @@ -45679,7 +45871,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &846 + required: &847 - id - node_id - created_at @@ -45704,7 +45896,7 @@ paths: - deleted_at - deleted_by examples: - default: &293 + default: &294 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -45787,8 +45979,8 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -45807,25 +45999,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &294 + - &295 name: project_number description: The project's number. in: path required: true schema: type: integer - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -45844,8 +46036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *78 - - *294 + - *79 + - *295 requestBody: required: true description: Details of the draft item to create in the project. @@ -45879,7 +46071,7 @@ paths: description: Response content: application/json: - schema: &300 + schema: &301 title: Projects v2 Item description: An item belonging to a project type: object @@ -45892,8 +46084,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *88 - - &497 + - *89 + - &498 title: Pull Request Simple description: Pull Request Simple type: object @@ -45999,8 +46191,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *295 - required: *296 + properties: *296 + required: *297 nullable: true active_lock_reason: type: string @@ -46043,7 +46235,7 @@ paths: items: *4 requested_teams: type: array - items: *210 + items: *211 head: type: object properties: @@ -46051,7 +46243,7 @@ paths: type: string ref: type: string - repo: *82 + repo: *83 sha: type: string user: @@ -46074,7 +46266,7 @@ paths: type: string ref: type: string - repo: *82 + repo: *83 sha: type: string user: @@ -46093,7 +46285,7 @@ paths: _links: type: object properties: - comments: &297 + comments: &298 title: Link description: Hypermedia Link type: object @@ -46102,13 +46294,13 @@ paths: type: string required: - href - commits: *297 - statuses: *297 - html: *297 - issue: *297 - review_comments: *297 - review_comment: *297 - self: *297 + commits: *298 + statuses: *298 + html: *298 + issue: *298 + review_comments: *298 + review_comment: *298 + self: *298 required: - comments - commits @@ -46118,7 +46310,7 @@ paths: - review_comments - review_comment - self - author_association: *85 + author_association: *86 auto_merge: &627 title: Auto merge description: The status of auto merging a pull request. @@ -46144,6 +46336,45 @@ paths: - commit_title - commit_message nullable: true + stack: &628 + title: Pull Request Stack + description: The stack information associated with a pull + request. + type: object + 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 + nullable: true draft: description: Indicates whether or not the pull request is a draft. @@ -46293,7 +46524,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &299 + content_type: &300 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -46333,7 +46564,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &301 + draft_issue: &302 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -46388,7 +46619,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': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -46407,11 +46638,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *294 - - *78 + - *295 + - *79 - *17 - - *47 - *48 + - *49 responses: '200': description: Response @@ -46419,7 +46650,7 @@ paths: application/json: schema: type: array - items: &298 + items: &299 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -46569,7 +46800,7 @@ paths: - updated_at - project_url examples: - default: &776 + default: &777 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46680,8 +46911,8 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -46699,8 +46930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *294 - - *78 + - *295 + - *79 requestBody: required: true content: @@ -46746,7 +46977,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &777 + items: &778 type: object properties: name: @@ -46783,7 +47014,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &778 + iteration_configuration: &779 type: object description: The configuration for iteration fields. properties: @@ -46833,7 +47064,7 @@ paths: value: name: Due date data_type: date - single_select_field: &779 + single_select_field: &780 summary: Create a single select field value: name: Priority @@ -46860,7 +47091,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &780 + iteration_field: &781 summary: Create an iteration field value: name: Sprint @@ -46884,9 +47115,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *298 + schema: *299 examples: - text_field: &781 + text_field: &782 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -46895,7 +47126,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: &782 + number_field: &783 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -46904,7 +47135,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: &783 + date_field: &784 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -46913,7 +47144,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: &784 + single_select_field: &785 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46947,7 +47178,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &785 + iteration_field: &786 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -46972,7 +47203,7 @@ paths: duration: 14 created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' - '304': *37 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -46992,23 +47223,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *294 - - &786 + - *295 + - &787 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: &787 + default: &788 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47043,8 +47274,8 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -47064,8 +47295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *294 - - *78 + - *295 + - *79 - 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. @@ -47087,8 +47318,8 @@ paths: maxItems: 50 items: type: string - - *47 - *48 + - *49 - *17 responses: '200': @@ -47097,7 +47328,7 @@ paths: application/json: schema: type: array - items: &302 + items: &303 title: Projects v2 Item description: An item belonging to a project type: object @@ -47113,7 +47344,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *299 + content_type: *300 content: type: object additionalProperties: true @@ -47156,7 +47387,7 @@ paths: - updated_at - archived_at examples: - default: &303 + default: &304 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -47833,8 +48064,8 @@ paths: data_type: sub_issues_progress value: headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -47853,8 +48084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *78 - - *294 + - *79 + - *295 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -47924,23 +48155,23 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *301 + value: *302 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *301 + value: *302 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *301 + value: *302 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *301 - '304': *37 + value: *302 + '304': *38 '403': *29 '401': *25 x-github: @@ -47959,9 +48190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *294 - - *78 - - &304 + - *295 + - *79 + - &305 name: item_id description: The unique identifier of the project item. in: path @@ -47987,12 +48218,12 @@ paths: description: Response content: application/json: - schema: *302 + schema: *303 examples: - default: *303 + default: *304 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -48010,9 +48241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *294 - - *78 - - *304 + - *295 + - *79 + - *305 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -48082,13 +48313,13 @@ paths: description: Response content: application/json: - schema: *302 + schema: *303 examples: - text_field: *303 - number_field: *303 - date_field: *303 - single_select_field: *303 - iteration_field: *303 + text_field: *304 + number_field: *304 + date_field: *304 + single_select_field: *304 + iteration_field: *304 '401': *25 '403': *29 '404': *6 @@ -48108,9 +48339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *294 - - *78 - - *304 + - *295 + - *79 + - *305 responses: '204': description: Response @@ -48133,8 +48364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *78 - - *294 + - *79 + - *295 requestBody: required: true content: @@ -48205,7 +48436,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &767 + schema: &768 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -48303,7 +48534,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &305 + value: &306 value: id: 1 number: 1 @@ -48349,11 +48580,11 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *305 + value: *306 roadmap_view: summary: Response for creating a roadmap view - value: *305 - '304': *37 + value: *306 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -48380,9 +48611,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *294 - - *78 - - &788 + - *295 + - *79 + - &789 name: view_number description: The number that identifies the project view. in: path @@ -48404,8 +48635,8 @@ paths: maxItems: 50 items: type: string - - *47 - *48 + - *49 - *17 responses: '200': @@ -48414,12 +48645,12 @@ paths: application/json: schema: type: array - items: *302 + items: *303 examples: - default: *303 + default: *304 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -48441,7 +48672,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Response @@ -48449,7 +48680,7 @@ paths: application/json: schema: type: array - items: &306 + items: &307 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -48517,7 +48748,7 @@ paths: - property_name - value_type examples: - default: &307 + default: &308 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -48566,7 +48797,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *78 + - *79 requestBody: required: true content: @@ -48577,7 +48808,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *306 + items: *307 minItems: 1 maxItems: 100 required: @@ -48607,9 +48838,9 @@ paths: application/json: schema: type: array - items: *306 + items: *307 examples: - default: *307 + default: *308 '403': *29 '404': *6 x-github: @@ -48630,8 +48861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *78 - - &308 + - *79 + - &309 name: custom_property_name description: The custom property name in: path @@ -48643,9 +48874,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: - default: &309 + default: &310 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -48679,8 +48910,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: - - *78 - - *308 + - *79 + - *309 requestBody: required: true content: @@ -48751,9 +48982,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: - default: *309 + default: *310 '403': *29 '404': *6 x-github: @@ -48776,10 +49007,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *78 - - *308 + - *79 + - *309 responses: - '204': *61 + '204': *60 '403': *29 '404': *6 x-github: @@ -48800,7 +49031,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *78 + - *79 - *17 - *19 - name: repository_query @@ -48838,7 +49069,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &310 + items: &311 title: Custom Property Value description: Custom property name and associated value type: object @@ -48877,7 +49108,7 @@ paths: - property_name: team value: octocat headers: - Link: *70 + Link: *71 '403': *29 '404': *6 x-github: @@ -48905,7 +49136,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: - - *78 + - *79 requestBody: required: true content: @@ -48925,7 +49156,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *310 + items: *311 required: - repository_names - properties @@ -48966,7 +49197,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *78 + - *79 - *17 - *19 responses: @@ -48978,9 +49209,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48997,8 +49228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response if user is a public member @@ -49022,8 +49253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -49044,8 +49275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *78 - - *74 + - *79 + - *75 responses: '204': description: Response @@ -49069,7 +49300,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *78 + - *79 - name: type description: Specifies the types of repositories you want returned. in: query @@ -49115,11 +49346,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *282 + default: *283 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49138,7 +49369,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *78 + - *79 requestBody: required: true content: @@ -49319,7 +49550,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &362 title: Full Repository description: Full Repository type: object @@ -49607,9 +49838,9 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *311 - required: *312 - x-github-breaking-changes: *313 + properties: *312 + required: *313 + x-github-breaking-changes: *314 nullable: true temp_clone_token: type: string @@ -49696,8 +49927,8 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true organization: title: Simple User @@ -49706,8 +49937,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *82 - source: *82 + parent: *83 + source: *83 forks: type: integer master_branch: @@ -49724,7 +49955,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &502 + properties: &503 url: type: string format: uri @@ -49740,12 +49971,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &503 + required: &504 - url - key - name - html_url - security_and_analysis: *314 + security_and_analysis: *315 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -49840,7 +50071,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &363 + default: &364 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -50370,10 +50601,10 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *79 - *17 - *19 - - &650 + - &651 name: targets description: | A comma-separated list of rule targets to filter by. @@ -50391,7 +50622,7 @@ paths: application/json: schema: type: array - items: &341 + items: &342 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -50426,7 +50657,7 @@ paths: source: type: string description: The name of the source - enforcement: &317 + enforcement: &318 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -50439,7 +50670,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &318 + items: &319 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -50510,7 +50741,7 @@ paths: conditions: nullable: true anyOf: - - &315 + - &316 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -50534,7 +50765,7 @@ paths: match. items: type: string - - &319 + - &320 title: Organization ruleset conditions type: object description: |- @@ -50548,7 +50779,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *315 + - *316 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -50582,7 +50813,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *315 + - *316 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -50604,7 +50835,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *315 + - *316 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -50617,7 +50848,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &316 + items: &317 title: Repository ruleset property targeting definition type: object @@ -50650,17 +50881,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *316 + items: *317 required: - repository_property rules: type: array - items: &651 + items: &652 title: Repository Rule type: object description: A repository rule. oneOf: - - &320 + - &321 title: creation description: Only allow users with bypass permission to create matching refs. @@ -50672,7 +50903,7 @@ paths: type: string enum: - creation - - &321 + - &322 title: update description: Only allow users with bypass permission to update matching refs. @@ -50693,7 +50924,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &322 + - &323 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -50705,7 +50936,7 @@ paths: type: string enum: - deletion - - &323 + - &324 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -50717,7 +50948,7 @@ paths: type: string enum: - required_linear_history - - &648 + - &649 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -50795,7 +51026,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &324 + - &325 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -50819,7 +51050,7 @@ paths: type: string required: - required_deployment_environments - - &325 + - &326 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -50831,7 +51062,7 @@ paths: type: string enum: - required_signatures - - &326 + - &327 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -50974,7 +51205,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &327 + - &328 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -51022,7 +51253,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &328 + - &329 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -51034,7 +51265,7 @@ paths: type: string enum: - non_fast_forward - - &329 + - &330 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -51071,7 +51302,7 @@ paths: required: - operator - pattern - - &330 + - &331 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -51108,7 +51339,7 @@ paths: required: - operator - pattern - - &331 + - &332 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -51145,7 +51376,7 @@ paths: required: - operator - pattern - - &332 + - &333 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -51182,7 +51413,7 @@ paths: required: - operator - pattern - - &333 + - &334 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -51219,7 +51450,7 @@ paths: required: - operator - pattern - - &338 + - &339 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -51269,7 +51500,7 @@ paths: - repository_id required: - workflows - - &339 + - &340 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -51330,7 +51561,7 @@ paths: - tool required: - code_scanning_tools - - &340 + - &341 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -51356,7 +51587,7 @@ paths: type: boolean description: Copilot automatically reviews each new push to the pull request. - - &649 + - &650 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -51368,7 +51599,7 @@ paths: type: string enum: - license_compliance_scanning - - &334 + - &335 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -51393,7 +51624,7 @@ paths: type: string required: - restricted_file_paths - - &335 + - &336 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -51417,7 +51648,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &336 + - &337 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -51440,7 +51671,7 @@ paths: type: string required: - restricted_file_extensions - - &337 + - &338 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -51501,7 +51732,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *55 + '500': *56 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -51517,7 +51748,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *79 requestBody: description: Request body required: true @@ -51538,21 +51769,20 @@ paths: - push - repository default: branch - enforcement: *317 + enforcement: *318 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *318 - conditions: *319 + items: *319 + conditions: *320 rules: type: array description: An array of rules within the ruleset. - items: &343 + items: &344 title: Repository Rule type: object description: A repository rule. oneOf: - - *320 - *321 - *322 - *323 @@ -51573,6 +51803,7 @@ paths: - *338 - *339 - *340 + - *341 required: - name - enforcement @@ -51610,9 +51841,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: - default: &342 + default: &343 value: id: 21 name: super cool ruleset @@ -51653,7 +51884,7 @@ paths: updated_at: '2023-09-23T16:29:47Z' '404': *6 '422': *15 - '500': *55 + '500': *56 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -51667,8 +51898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *78 - - &652 + - *79 + - &653 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 @@ -51683,7 +51914,7 @@ paths: in: query schema: type: string - - &653 + - &654 name: time_period description: |- The time period to filter by. @@ -51699,14 +51930,14 @@ paths: - week - month default: day - - &654 + - &655 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 - - &655 + - &656 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -51719,7 +51950,7 @@ paths: - bypass - all default: all - - &656 + - &657 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. @@ -51742,7 +51973,7 @@ paths: description: Response content: application/json: - schema: &657 + schema: &658 title: Rule Suites description: Response type: array @@ -51797,7 +52028,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &658 + default: &659 value: - id: 21 actor_id: 12 @@ -51821,7 +52052,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51840,8 +52071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *78 - - &659 + - *79 + - &660 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -51857,7 +52088,7 @@ paths: description: Response content: application/json: - schema: &660 + schema: &661 title: Rule Suite description: Response type: object @@ -51956,7 +52187,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &661 + default: &662 value: id: 21 actor_id: 12 @@ -51991,7 +52222,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52017,7 +52248,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *79 - name: ruleset_id description: The ID of the ruleset. in: path @@ -52029,11 +52260,11 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: - default: *342 + default: *343 '404': *6 - '500': *55 + '500': *56 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -52049,7 +52280,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *79 - name: ruleset_id description: The ID of the ruleset. in: path @@ -52075,16 +52306,16 @@ paths: - tag - push - repository - enforcement: *317 + enforcement: *318 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *318 - conditions: *319 + items: *319 + conditions: *320 rules: description: An array of rules within the ruleset. type: array - items: *343 + items: *344 examples: default: value: @@ -52119,12 +52350,12 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: - default: *342 + default: *343 '404': *6 '422': *15 - '500': *55 + '500': *56 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -52140,7 +52371,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *79 - name: ruleset_id description: The ID of the ruleset. in: path @@ -52151,7 +52382,7 @@ paths: '204': description: Response '404': *6 - '500': *55 + '500': *56 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -52163,7 +52394,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *78 + - *79 - *17 - *19 - name: ruleset_id @@ -52179,7 +52410,7 @@ paths: application/json: schema: type: array - items: &344 + items: &345 title: Ruleset version type: object description: The historical version of a ruleset @@ -52203,7 +52434,7 @@ paths: type: string format: date-time examples: - default: &663 + default: &664 value: - version_id: 3 actor: @@ -52221,7 +52452,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52238,7 +52469,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *78 + - *79 - name: ruleset_id description: The ID of the ruleset. in: path @@ -52256,9 +52487,9 @@ paths: description: Response content: application/json: - schema: &664 + schema: &665 allOf: - - *344 + - *345 - type: object required: - state @@ -52305,7 +52536,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52327,8 +52558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *78 - - &665 + - *79 + - &666 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -52339,7 +52570,7 @@ paths: enum: - open - resolved - - &666 + - &667 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -52349,7 +52580,7 @@ paths: required: false schema: type: string - - &667 + - &668 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -52360,7 +52591,7 @@ paths: required: false schema: type: string - - &668 + - &669 name: exclude_providers in: query description: |- @@ -52371,7 +52602,7 @@ paths: required: false schema: type: string - - &669 + - &670 name: providers in: query description: |- @@ -52382,7 +52613,7 @@ paths: required: false schema: type: string - - &670 + - &671 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -52391,7 +52622,7 @@ paths: required: false schema: type: string - - &671 + - &672 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -52410,7 +52641,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &672 + - &673 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. @@ -52422,10 +52653,10 @@ paths: - created - updated default: created - - *62 + - *63 - *19 - *17 - - &673 + - &674 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 @@ -52435,7 +52666,7 @@ paths: required: false schema: type: string - - &674 + - &675 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 @@ -52445,7 +52676,7 @@ paths: required: false schema: type: string - - &675 + - &676 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -52454,7 +52685,7 @@ paths: required: false schema: type: string - - &676 + - &677 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -52463,7 +52694,7 @@ paths: schema: type: boolean default: false - - &677 + - &678 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -52472,7 +52703,7 @@ paths: schema: type: boolean default: false - - &678 + - &679 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -52481,7 +52712,7 @@ paths: schema: type: boolean default: false - - &679 + - &680 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -52492,7 +52723,7 @@ paths: required: false schema: type: boolean - - &680 + - &681 name: included_metadata in: query description: |- @@ -52503,7 +52734,7 @@ paths: required: false schema: type: string - - &681 + - &682 name: owner_email_hash in: query description: |- @@ -52525,8 +52756,8 @@ paths: items: type: object properties: - number: *188 - created_at: *189 + number: *189 + created_at: *190 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -52534,21 +52765,21 @@ paths: format: date-time readOnly: true nullable: true - url: *191 - html_url: *192 + url: *192 + html_url: *193 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &682 + state: &683 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: &683 + resolution: &684 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -52592,7 +52823,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *67 + repository: *68 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -52665,8 +52896,8 @@ paths: pull request. ' - oneOf: &684 - - &686 + oneOf: &685 + - &687 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -52724,7 +52955,7 @@ paths: - blob_url - commit_sha - commit_url - - &687 + - &688 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. @@ -52779,7 +53010,7 @@ paths: - page_url - commit_sha - commit_url - - &688 + - &689 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -52799,7 +53030,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &689 + - &690 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -52819,7 +53050,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &690 + - &691 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -52839,7 +53070,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &691 + - &692 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -52853,7 +53084,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &692 + - &693 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -52867,7 +53098,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &693 + - &694 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -52881,7 +53112,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &694 + - &695 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. @@ -52901,7 +53132,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &695 + - &696 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. @@ -52921,7 +53152,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &696 + - &697 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. @@ -52941,7 +53172,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &697 + - &698 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. @@ -52961,7 +53192,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &698 + - &699 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -53185,9 +53416,9 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53212,8 +53443,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *78 - - &699 + - *79 + - &700 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -53224,7 +53455,7 @@ paths: enum: - published - unpublished - - &700 + - &701 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -53235,7 +53466,7 @@ paths: enum: - enabled - disabled - - &701 + - &702 name: sort description: The property to sort the results by. in: query @@ -53247,7 +53478,7 @@ paths: - updated - name default: created - - *62 + - *63 - *19 - *17 responses: @@ -53257,7 +53488,7 @@ paths: application/json: schema: type: array - items: &345 + items: &346 title: Secret Scanning Custom Pattern description: A custom pattern for secret scanning. type: object @@ -53305,7 +53536,7 @@ paths: nullable: true items: type: string - custom_pattern_version: &346 + custom_pattern_version: &347 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -53329,7 +53560,7 @@ paths: - state - push_protection_enabled examples: - default: &702 + default: &703 value: - id: 1 name: Example Custom Pattern @@ -53358,7 +53589,7 @@ paths: created_at: '2024-01-16T14:20:00Z' updated_at: '2024-01-17T09:15:00Z' headers: - Link: *70 + Link: *71 '403': *29 '404': *6 post: @@ -53379,7 +53610,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *78 + - *79 requestBody: required: true content: @@ -53392,7 +53623,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &703 + items: &704 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -53429,7 +53660,7 @@ paths: items: type: string examples: - default: &704 + default: &705 value: patterns: - name: Example Custom Pattern @@ -53453,9 +53684,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *345 + items: *346 examples: - default: &705 + default: &706 value: created_patterns: - id: 1 @@ -53507,7 +53738,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &706 + items: &707 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -53550,7 +53781,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *78 + - *79 requestBody: required: true content: @@ -53564,7 +53795,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &707 + items: &708 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -53574,7 +53805,7 @@ paths: pattern_id: type: integer description: The ID of the custom pattern to delete. - custom_pattern_version: *346 + custom_pattern_version: *347 post_delete_action: type: string description: |- @@ -53587,7 +53818,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &708 + default: &709 value: patterns: - pattern_id: 2 @@ -53598,7 +53829,7 @@ paths: '400': *14 '403': *29 '404': *6 - '412': &347 + '412': &348 description: Precondition Failed content: application/json: @@ -53622,7 +53853,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *78 + - *79 - name: pattern_id in: path required: true @@ -53633,7 +53864,7 @@ paths: required: true content: application/json: - schema: &709 + schema: &710 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`, @@ -53672,9 +53903,9 @@ paths: description: Updated list of regexes that the secret must not match. items: type: string - custom_pattern_version: *346 + custom_pattern_version: *347 examples: - default: &710 + default: &711 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -53689,9 +53920,9 @@ paths: description: Pattern updated successfully. content: application/json: - schema: *345 + schema: *346 examples: - default: &711 + default: &712 value: id: 1 name: Example Custom Pattern @@ -53711,7 +53942,7 @@ paths: '400': *14 '403': *29 '404': *6 - '412': *347 + '412': *348 '422': *15 "/orgs/{org}/secret-scanning/pattern-configurations": get: @@ -53732,7 +53963,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *78 + - *79 responses: '200': description: Response @@ -53744,11 +53975,11 @@ paths: related to push protection. type: object properties: - pattern_config_version: *346 + pattern_config_version: *347 provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &348 + items: &349 type: object properties: token_type: @@ -53814,7 +54045,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *348 + items: *349 examples: default: value: @@ -53863,7 +54094,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *78 + - *79 requestBody: required: true content: @@ -53871,7 +54102,7 @@ paths: schema: type: object properties: - pattern_config_version: *346 + pattern_config_version: *347 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -53897,7 +54128,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *346 + custom_pattern_version: *347 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -53933,7 +54164,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *15 "/orgs/{org}/security-advisories": get: @@ -53951,8 +54182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *78 - - *62 + - *79 + - *63 - name: sort description: The property to sort the results by. in: query @@ -53964,8 +54195,8 @@ paths: - updated - published default: created - - *47 - *48 + - *49 - 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)." @@ -53995,7 +54226,7 @@ paths: application/json: schema: type: array - items: &715 + items: &716 description: A repository security advisory. type: object properties: @@ -54182,7 +54413,7 @@ paths: required: - vector_string - score - cvss_severities: *64 + cvss_severities: *65 cwes: type: array nullable: true @@ -54215,7 +54446,7 @@ paths: login: type: string description: The username of the user credited. - type: *349 + type: *350 credits_detailed: type: array nullable: true @@ -54225,7 +54456,7 @@ paths: type: object properties: user: *4 - type: *349 + type: *350 state: type: string description: The state of the user's acceptance of the @@ -54249,14 +54480,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *210 + items: *211 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *67 + - *68 required: - ghsa_id - cve_id @@ -54318,7 +54549,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &716 + default: &717 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -54697,7 +54928,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *78 + - *79 responses: '200': description: Response @@ -54705,7 +54936,7 @@ paths: application/json: schema: type: array - items: *350 + items: *351 examples: default: value: @@ -54745,8 +54976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *78 - - *80 + - *79 + - *81 responses: '204': description: Response @@ -54771,8 +55002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *78 - - *80 + - *79 + - *81 responses: '204': description: Response @@ -54799,7 +55030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *78 + - *79 responses: '200': description: Immutable releases settings response @@ -54848,7 +55079,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *78 + - *79 responses: '204': description: Response @@ -54905,7 +55136,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *78 + - *79 - *19 - *17 responses: @@ -54923,9 +55154,9 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *175 + default: *176 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54944,7 +55175,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *78 + - *79 requestBody: required: true content: @@ -54993,8 +55224,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: Response @@ -55016,8 +55247,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: - - *78 - - *152 + - *79 + - *153 responses: '204': description: Response @@ -55040,7 +55271,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *78 + - *79 - *17 - *19 responses: @@ -55058,7 +55289,7 @@ paths: type: integer network_configurations: type: array - items: &351 + items: &352 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -55129,7 +55360,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55148,7 +55379,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: - - *78 + - *79 requestBody: required: true content: @@ -55204,9 +55435,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *352 examples: - default: &352 + default: &353 value: id: 123456789ABCDEF name: My network configuration @@ -55234,8 +55465,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: - - *78 - - &353 + - *79 + - &354 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -55247,11 +55478,11 @@ paths: description: Response content: application/json: - schema: *351 + schema: *352 examples: - default: *352 + default: *353 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55270,8 +55501,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: - - *78 - - *353 + - *79 + - *354 requestBody: required: true content: @@ -55324,9 +55555,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *352 examples: - default: *352 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55345,8 +55576,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: - - *78 - - *353 + - *79 + - *354 responses: '204': description: Response @@ -55369,7 +55600,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: - - *78 + - *79 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -55423,7 +55654,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: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55441,7 +55672,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *78 + - *79 - *17 - *19 - name: team_type @@ -55463,11 +55694,11 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: *275 + default: *276 headers: - Link: *70 + Link: *71 '403': *29 x-github: githubCloudOnly: false @@ -55487,7 +55718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *78 + - *79 requestBody: required: true content: @@ -55559,7 +55790,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &355 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -55622,8 +55853,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *273 - required: *274 + properties: *274 + required: *275 nullable: true members_count: type: integer @@ -55886,7 +56117,7 @@ paths: - repos_count - organization examples: - default: &355 + default: &356 value: id: 1 node_id: MDQ6VGVhbTE= @@ -55967,16 +56198,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *78 - - *80 + - *79 + - *81 responses: '200': description: Response content: application/json: - schema: *354 + schema: *355 examples: - default: *355 + default: *356 '404': *6 x-github: githubCloudOnly: false @@ -55997,8 +56228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *78 - - *80 + - *79 + - *81 requestBody: required: false content: @@ -56060,16 +56291,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *354 + schema: *355 examples: - default: *355 + default: *356 '201': description: Response content: application/json: - schema: *354 + schema: *355 examples: - default: *355 + default: *356 '404': *6 '422': *15 '403': *29 @@ -56094,12 +56325,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *78 - - *80 + - *79 + - *81 responses: '204': description: Response - '422': &356 + '422': &357 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -56122,8 +56353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *78 - - *80 + - *79 + - *81 - *17 - *19 responses: @@ -56133,12 +56364,12 @@ paths: application/json: schema: type: array - items: *252 + items: *253 examples: - default: *253 + default: *254 headers: - Link: *70 - '422': *356 + Link: *71 + '422': *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56160,8 +56391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *78 - - *80 + - *79 + - *81 - name: role description: Filters members returned by their role in the team. in: query @@ -56182,7 +56413,7 @@ paths: application/json: schema: type: array - items: &731 + items: &732 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 @@ -56301,7 +56532,7 @@ paths: - type - url examples: - default: &732 + default: &733 value: - login: octocat id: 1 @@ -56324,7 +56555,7 @@ paths: role: member inherited: false headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56352,15 +56583,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *78 - - *80 - - *74 + - *79 + - *81 + - *75 responses: '200': description: Response content: application/json: - schema: &357 + schema: &358 title: Team Membership description: Team Membership type: object @@ -56387,7 +56618,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &733 + response-if-user-is-a-team-maintainer: &734 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -56423,9 +56654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *78 - - *80 - - *74 + - *79 + - *81 + - *75 requestBody: required: false content: @@ -56450,9 +56681,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *358 examples: - response-if-users-membership-with-team-is-now-pending: &734 + response-if-users-membership-with-team-is-now-pending: &735 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -56487,9 +56718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *78 - - *80 - - *74 + - *79 + - *81 + - *75 responses: '204': description: Response @@ -56515,8 +56746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *78 - - *80 + - *79 + - *81 - *17 - *19 responses: @@ -56526,11 +56757,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *282 + default: *283 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56557,16 +56788,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *78 - - *80 - - *358 + - *79 + - *81 - *359 + - *360 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &735 + schema: &736 title: Team Repository description: A team's access to a repository. type: object @@ -56589,8 +56820,8 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true forks: type: integer @@ -57220,10 +57451,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *78 - - *80 - - *358 + - *79 + - *81 - *359 + - *360 requestBody: required: false content: @@ -57268,10 +57499,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *78 - - *80 - - *358 + - *79 + - *81 - *359 + - *360 responses: '204': description: Response @@ -57295,8 +57526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *78 - - *80 + - *79 + - *81 - *17 - *19 responses: @@ -57306,9 +57537,9 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - response-if-child-teams-exist: &736 + response-if-child-teams-exist: &737 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -57336,7 +57567,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57361,7 +57592,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *78 + - *79 - name: security_product in: path description: The security feature to enable or disable. @@ -57461,7 +57692,7 @@ paths: resources: type: object properties: - core: &360 + core: &361 title: Rate Limit type: object properties: @@ -57478,21 +57709,21 @@ paths: - remaining - reset - used - graphql: *360 - search: *360 - code_search: *360 - source_import: *360 - integration_manifest: *360 - actions_runner_registration: *360 - scim: *360 - dependency_snapshots: *360 - dependency_sbom: *360 - code_scanning_autofix: *360 - copilot_usage_records: *360 + graphql: *361 + search: *361 + code_search: *361 + source_import: *361 + integration_manifest: *361 + actions_runner_registration: *361 + scim: *361 + dependency_snapshots: *361 + dependency_sbom: *361 + code_scanning_autofix: *361 + copilot_usage_records: *361 required: - core - search - rate: *360 + rate: *361 required: - rate - resources @@ -57583,7 +57814,7 @@ paths: schema: type: integer format: timestamp - '304': *37 + '304': *38 '404': *6 x-github: githubCloudOnly: false @@ -57606,14 +57837,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *358 - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: default-response: summary: Default response @@ -58124,7 +58355,7 @@ paths: version: '2026-03-10' '403': *29 '404': *6 - '301': *362 + '301': *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58142,8 +58373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *358 - *359 + - *360 requestBody: required: false content: @@ -58453,10 +58684,10 @@ paths: description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: *363 - '307': &364 + default: *364 + '307': &365 description: Temporary Redirect content: application/json: @@ -58485,8 +58716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *358 - *359 + - *360 responses: '204': description: Response @@ -58508,9 +58739,9 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *364 + '307': *365 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58532,11 +58763,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *358 - *359 + - *360 - *17 - *19 - - &396 + - &397 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -58559,7 +58790,7 @@ paths: type: integer artifacts: type: array - items: &365 + items: &366 title: Artifact description: An artifact type: object @@ -58637,7 +58868,7 @@ paths: - expires_at - updated_at examples: - default: &397 + default: &398 value: total_count: 2 artifacts: @@ -58676,7 +58907,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58698,9 +58929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *358 - *359 - - &366 + - *360 + - &367 name: artifact_id description: The unique identifier of the artifact. in: path @@ -58712,7 +58943,7 @@ paths: description: Response content: application/json: - schema: *365 + schema: *366 examples: default: value: @@ -58750,9 +58981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *358 - *359 - - *366 + - *360 + - *367 responses: '204': description: Response @@ -58776,9 +59007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *358 - *359 - - *366 + - *360 + - *367 - name: archive_format in: path required: true @@ -58788,15 +59019,11 @@ paths: '302': description: Response headers: - Location: &521 + Location: &522 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': &562 - description: Gone - content: - application/json: - schema: *3 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58817,14 +59044,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *358 - *359 + - *360 responses: '200': description: Response content: application/json: - schema: &367 + schema: &368 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -58835,7 +59062,7 @@ paths: type: integer example: 14 examples: - default: *42 + default: *43 '403': *29 '404': *6 x-github: @@ -58857,15 +59084,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *358 - *359 + - *360 requestBody: required: true content: application/json: - schema: *367 + schema: *368 examples: - selected_actions: *42 + selected_actions: *43 responses: '204': description: Response @@ -58892,14 +59119,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *358 - *359 + - *360 responses: '200': description: Response content: application/json: - schema: &368 + schema: &369 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -58910,7 +59137,7 @@ paths: type: integer example: 10 examples: - default: *44 + default: *45 '403': *29 '404': *6 x-github: @@ -58932,15 +59159,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *358 - *359 + - *360 requestBody: required: true content: application/json: - schema: *368 + schema: *369 examples: - selected_actions: *44 + selected_actions: *45 responses: '204': description: Response @@ -58969,14 +59196,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *358 - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *369 + schema: *370 examples: default: value: @@ -59002,11 +59229,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *358 - *359 + - *360 - *17 - *19 - - &370 + - &371 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 @@ -59034,13 +59261,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *62 + - *63 responses: '200': description: Response content: application/json: - schema: &371 + schema: &372 title: Repository actions caches description: Repository actions caches type: object @@ -59082,7 +59309,7 @@ paths: - total_count - actions_caches examples: - default: &372 + default: &373 value: total_count: 1 actions_caches: @@ -59094,7 +59321,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59114,23 +59341,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: - - *358 - *359 + - *360 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: *372 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59150,8 +59377,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: - - *358 - *359 + - *360 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -59180,10 +59407,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *358 - *359 + - *360 - *17 - - *48 + - *49 responses: '200': description: Response @@ -59231,7 +59458,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: *70 + Link: *71 '422': *15 x-github: githubCloudOnly: false @@ -59263,8 +59490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *358 - *359 + - *360 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -59416,9 +59643,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *358 - *359 - - &373 + - *360 + - &374 name: job_id description: The unique identifier of the job. in: path @@ -59430,7 +59657,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &401 title: Job description: Information of a job execution in a workflow run type: object @@ -59737,9 +59964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *358 - *359 - - *373 + - *360 + - *374 responses: '302': description: Response @@ -59767,9 +59994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *358 - *359 - - *373 + - *360 + - *374 requestBody: required: false content: @@ -59795,7 +60022,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -59819,8 +60046,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: - - *358 - *359 + - *360 responses: '200': description: Status response @@ -59879,8 +60106,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: - - *358 - *359 + - *360 requestBody: required: true content: @@ -59919,7 +60146,7 @@ paths: description: Empty response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -59948,8 +60175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -59967,7 +60194,7 @@ paths: type: integer secrets: type: array - items: &402 + items: &403 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -59987,7 +60214,7 @@ paths: - created_at - updated_at examples: - default: &403 + default: &404 value: total_count: 2 secrets: @@ -59998,7 +60225,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60020,9 +60247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *358 - *359 - - *180 + - *360 + - *181 - *19 responses: '200': @@ -60039,7 +60266,7 @@ paths: type: integer variables: type: array - items: &404 + items: &405 title: Actions Variable type: object properties: @@ -60069,7 +60296,7 @@ paths: - created_at - updated_at examples: - default: &405 + default: &406 value: total_count: 2 variables: @@ -60082,7 +60309,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60102,8 +60329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -60112,12 +60339,12 @@ paths: schema: type: object properties: - enabled: &375 + enabled: &376 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *148 - selected_actions_url: *374 - sha_pinning_required: *149 + allowed_actions: *149 + selected_actions_url: *375 + sha_pinning_required: *150 required: - enabled examples: @@ -60145,8 +60372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *358 - *359 + - *360 responses: '204': description: Response @@ -60157,9 +60384,9 @@ paths: schema: type: object properties: - enabled: *375 - allowed_actions: *148 - sha_pinning_required: *149 + enabled: *376 + allowed_actions: *149 + sha_pinning_required: *150 required: - enabled examples: @@ -60189,14 +60416,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: - - *358 - *359 + - *360 responses: '200': description: Response content: application/json: - schema: &376 + schema: &377 type: object properties: access_level: @@ -60213,7 +60440,7 @@ paths: required: - access_level examples: - default: &377 + default: &378 value: access_level: organization x-github: @@ -60237,15 +60464,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: - - *358 - *359 + - *360 requestBody: required: true content: application/json: - schema: *376 + schema: *377 examples: - default: *377 + default: *378 responses: '204': description: Response @@ -60269,14 +60496,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *358 - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *378 + schema: *379 examples: default: value: @@ -60300,8 +60527,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *358 - *359 + - *360 responses: '204': description: Empty response for successful settings update @@ -60311,7 +60538,7 @@ paths: required: true content: application/json: - schema: *379 + schema: *380 examples: default: summary: Set retention days @@ -60335,16 +60562,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *358 - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *380 + default: *381 '404': *6 x-github: enabledForGitHubApps: true @@ -60363,8 +60590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *358 - *359 + - *360 responses: '204': description: Response @@ -60374,7 +60601,7 @@ paths: required: true content: application/json: - schema: *150 + schema: *151 examples: default: summary: Set approval policy to first time contributors @@ -60398,16 +60625,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: - - *358 - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *381 + schema: *382 examples: - default: *151 + default: *152 '403': *29 '404': *6 x-github: @@ -60427,15 +60654,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: - - *358 - *359 + - *360 requestBody: required: true content: application/json: - schema: *382 + schema: *383 examples: - default: *151 + default: *152 responses: '204': description: Empty response for successful settings update @@ -60459,16 +60686,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *358 - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *153 + schema: *154 examples: - default: *154 + default: *155 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60487,8 +60714,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *358 - *359 + - *360 responses: '204': description: Response @@ -60496,9 +60723,9 @@ paths: required: false content: application/json: - schema: *153 + schema: *154 examples: - selected_actions: *154 + selected_actions: *155 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60520,16 +60747,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *358 - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *383 + schema: *384 examples: - default: *158 + default: *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60550,8 +60777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *358 - *359 + - *360 responses: '204': description: Success response @@ -60562,9 +60789,9 @@ paths: required: true content: application/json: - schema: *384 + schema: *385 examples: - default: *158 + default: *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60591,8 +60818,8 @@ paths: in: query schema: type: string - - *358 - *359 + - *360 - *17 - *19 responses: @@ -60610,11 +60837,11 @@ paths: type: integer runners: type: array - items: *165 + items: *166 examples: - default: *166 + default: *167 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60636,8 +60863,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -60645,9 +60872,9 @@ paths: application/json: schema: type: array - items: *385 + items: *386 examples: - default: *386 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60669,8 +60896,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: - - *358 - *359 + - *360 requestBody: required: true content: @@ -60713,10 +60940,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *387 + '201': *388 '404': *6 '422': *7 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60744,16 +60971,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *358 - *359 + - *360 responses: '201': description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: *388 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60781,16 +61008,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *358 - *359 + - *360 responses: '201': description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: *389 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60812,17 +61039,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: - - *358 - *359 - - *164 + - *360 + - *165 responses: '200': description: Response content: application/json: - schema: *165 + schema: *166 examples: - default: *390 + default: *391 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60843,9 +61070,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: - - *358 - *359 - - *164 + - *360 + - *165 responses: '204': description: Response @@ -60871,11 +61098,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: - - *358 - *359 - - *164 + - *360 + - *165 responses: - '200': *169 + '200': *170 '404': *6 x-github: githubCloudOnly: false @@ -60897,9 +61124,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: - - *358 - *359 - - *164 + - *360 + - *165 requestBody: required: true content: @@ -60923,7 +61150,7 @@ paths: - gpu - accelerated responses: - '200': *169 + '200': *170 '404': *6 '422': *7 x-github: @@ -60947,9 +61174,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: - - *358 - *359 - - *164 + - *360 + - *165 requestBody: required: true content: @@ -60974,7 +61201,7 @@ paths: - gpu - accelerated responses: - '200': *169 + '200': *170 '404': *6 '422': *7 x-github: @@ -60998,11 +61225,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: - - *358 - *359 - - *164 + - *360 + - *165 responses: - '200': *391 + '200': *392 '404': *6 x-github: githubCloudOnly: false @@ -61029,12 +61256,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: - - *358 - *359 - - *164 - - *392 + - *360 + - *165 + - *393 responses: - '200': *169 + '200': *170 '404': *6 '422': *7 x-github: @@ -61060,9 +61287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *358 - *359 - - &408 + - *360 + - &409 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. @@ -61070,7 +61297,7 @@ paths: required: false schema: type: string - - &409 + - &410 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -61078,7 +61305,7 @@ paths: required: false schema: type: string - - &410 + - &411 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -61087,7 +61314,7 @@ paths: required: false schema: type: string - - &411 + - &412 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 @@ -61114,7 +61341,7 @@ paths: - pending - *17 - *19 - - &412 + - &413 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)." @@ -61123,7 +61350,7 @@ paths: schema: type: string format: date-time - - &393 + - &394 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -61132,13 +61359,13 @@ paths: schema: type: boolean default: false - - &413 + - &414 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &414 + - &415 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -61161,7 +61388,7 @@ paths: type: integer workflow_runs: type: array - items: &394 + items: &395 title: Workflow Run description: An invocation of a workflow type: object @@ -61256,7 +61483,7 @@ paths: that triggered the run. type: array nullable: true - items: *93 + items: *94 created_at: type: string format: date-time @@ -61309,7 +61536,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &438 + properties: &439 id: type: string description: SHA for the commit @@ -61360,7 +61587,7 @@ paths: - name - email nullable: true - required: &439 + required: &440 - id - tree_id - message @@ -61368,8 +61595,8 @@ paths: - author - committer nullable: true - repository: *163 - head_repository: *163 + repository: *164 + head_repository: *164 head_repository_id: type: integer example: 5 @@ -61407,7 +61634,7 @@ paths: - workflow_url - pull_requests examples: - default: &415 + default: &416 value: total_count: 1 workflow_runs: @@ -61621,7 +61848,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: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61643,24 +61870,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *358 - *359 - - &395 + - *360 + - &396 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *393 + - *394 responses: '200': description: Response content: application/json: - schema: *394 + schema: *395 examples: - default: &398 + default: &399 value: id: 30433642 name: Build @@ -61901,9 +62128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *358 - *359 - - *395 + - *360 + - *396 responses: '204': description: Response @@ -61926,9 +62153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *358 - *359 - - *395 + - *360 + - *396 responses: '200': description: Response @@ -62047,15 +62274,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: - - *358 - *359 - - *395 + - *360 + - *396 responses: '201': description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -62082,13 +62309,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *358 - *359 - - *395 + - *360 + - *396 - *17 - *19 - - *396 - - *62 + - *397 + - *63 responses: '200': description: Response @@ -62104,11 +62331,11 @@ paths: type: integer artifacts: type: array - items: *365 + items: *366 examples: - default: *397 + default: *398 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62130,25 +62357,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *358 - *359 - - *395 - - &399 + - *360 + - *396 + - &400 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *393 + - *394 responses: '200': description: Response content: application/json: - schema: *394 + schema: *395 examples: - default: *398 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62171,10 +62398,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *358 - *359 - - *395 - - *399 + - *360 + - *396 + - *400 - *17 - *19 responses: @@ -62192,9 +62419,9 @@ paths: type: integer jobs: type: array - items: *400 + items: *401 examples: - default: &401 + default: &402 value: total_count: 1 jobs: @@ -62283,7 +62510,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -62307,10 +62534,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *358 - *359 - - *395 - - *399 + - *360 + - *396 + - *400 responses: '302': description: Response @@ -62338,19 +62565,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *358 - *359 - - *395 + - *360 + - *396 responses: '202': description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62386,12 +62613,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *358 - *359 - - *395 + - *360 + - *396 - *17 - - *47 - *48 + - *49 responses: '200': description: Response @@ -62534,7 +62761,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: *70 + Link: *71 '404': *6 '422': *15 x-github: @@ -62559,9 +62786,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: - - *358 - *359 - - *395 + - *360 + - *396 requestBody: required: true content: @@ -62628,19 +62855,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *358 - *359 - - *395 + - *360 + - *396 responses: '202': description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62663,9 +62890,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *358 - *359 - - *395 + - *360 + - *396 - 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 @@ -62695,11 +62922,11 @@ paths: type: integer jobs: type: array - items: *400 + items: *401 examples: - default: *401 + default: *402 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62722,9 +62949,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *358 - *359 - - *395 + - *360 + - *396 responses: '302': description: Response @@ -62751,14 +62978,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *358 - *359 - - *395 + - *360 + - *396 responses: '204': description: Response '403': *29 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62780,9 +63007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *358 - *359 - - *395 + - *360 + - *396 responses: '200': description: Response @@ -62842,7 +63069,7 @@ paths: items: type: object properties: - type: &528 + type: &529 type: string description: The type of reviewer. enum: @@ -62852,7 +63079,7 @@ paths: reviewer: anyOf: - *4 - - *210 + - *211 required: - environment - wait_timer @@ -62927,9 +63154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *358 - *359 - - *395 + - *360 + - *396 requestBody: required: true content: @@ -62976,12 +63203,12 @@ paths: application/json: schema: type: array - items: &523 + items: &524 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &807 + properties: &808 url: type: string format: uri @@ -63064,9 +63291,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 - required: &808 + properties: *84 + required: *85 + required: &809 - id - node_id - sha @@ -63082,7 +63309,7 @@ paths: - created_at - updated_at examples: - default: &524 + default: &525 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -63138,9 +63365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *358 - *359 - - *395 + - *360 + - *396 requestBody: required: false content: @@ -63161,7 +63388,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -63184,9 +63411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *358 - *359 - - *395 + - *360 + - *396 requestBody: required: false content: @@ -63207,7 +63434,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -63239,9 +63466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *358 - *359 - - *395 + - *360 + - *396 responses: '200': description: Response @@ -63378,8 +63605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -63397,11 +63624,11 @@ paths: type: integer secrets: type: array - items: *402 + items: *403 examples: - default: *403 + default: *404 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63424,16 +63651,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *358 - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63455,17 +63682,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *358 - *359 - - *171 + - *360 + - *172 responses: '200': description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: &416 + default: &417 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -63491,9 +63718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *358 - *359 - - *171 + - *360 + - *172 requestBody: required: true content: @@ -63524,7 +63751,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -63550,9 +63777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *358 - *359 - - *171 + - *360 + - *172 responses: '204': description: Response @@ -63577,9 +63804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *358 - *359 - - *180 + - *360 + - *181 - *19 responses: '200': @@ -63596,11 +63823,11 @@ paths: type: integer variables: type: array - items: *404 + items: *405 examples: - default: *405 + default: *406 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63621,8 +63848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -63649,7 +63876,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -63674,17 +63901,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *358 - *359 - - *174 + - *360 + - *175 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: &417 + default: &418 value: name: USERNAME value: octocat @@ -63710,9 +63937,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *358 - *359 - - *174 + - *360 + - *175 requestBody: required: true content: @@ -63754,9 +63981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *358 - *359 - - *174 + - *360 + - *175 responses: '204': description: Response @@ -63781,8 +64008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -63800,7 +64027,7 @@ paths: type: integer workflows: type: array - items: &406 + items: &407 title: Workflow description: A GitHub Actions workflow type: object @@ -63884,7 +64111,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: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63907,9 +64134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *358 - *359 - - &407 + - *360 + - &408 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -63924,7 +64151,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: default: value: @@ -63957,9 +64184,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *358 - *359 - - *407 + - *360 + - *408 responses: '204': description: Response @@ -63984,9 +64211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *358 - *359 - - *407 + - *360 + - *408 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -64084,9 +64311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *358 - *359 - - *407 + - *360 + - *408 responses: '204': description: Response @@ -64113,19 +64340,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *358 - *359 - - *407 + - *360 - *408 - *409 - *410 - *411 + - *412 - *17 - *19 - - *412 - - *393 - *413 + - *394 - *414 + - *415 responses: '200': description: Response @@ -64141,11 +64368,11 @@ paths: type: integer workflow_runs: type: array - items: *394 + items: *395 examples: - default: *415 + default: *416 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64175,9 +64402,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *358 - *359 - - *407 + - *360 + - *408 responses: '200': description: Response @@ -64238,12 +64465,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *358 - *359 - - *62 + - *360 + - *63 - *17 - - *47 - *48 + - *49 - name: ref description: |- The Git reference for the activities you want to list. @@ -64384,7 +64611,7 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 '422': *7 x-github: githubCloudOnly: false @@ -64408,8 +64635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -64427,11 +64654,11 @@ paths: type: integer secrets: type: array - items: *402 + items: *403 examples: - default: *403 + default: *404 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64453,9 +64680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables parameters: - - *358 - *359 - - *180 + - *360 + - *181 - *19 responses: '200': @@ -64472,11 +64699,11 @@ paths: type: integer variables: type: array - items: *404 + items: *405 examples: - default: *405 + default: *406 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64499,8 +64726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-secrets parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -64518,11 +64745,11 @@ paths: type: integer secrets: type: array - items: *402 + items: *403 examples: - default: *403 + default: *404 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64545,16 +64772,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key parameters: - - *358 - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64576,17 +64803,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret parameters: - - *358 - *359 - - *171 + - *360 + - *172 responses: '200': description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: *416 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64608,9 +64835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *358 - *359 - - *171 + - *360 + - *172 requestBody: required: true content: @@ -64641,7 +64868,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -64667,9 +64894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret parameters: - - *358 - *359 - - *171 + - *360 + - *172 responses: '204': description: Response @@ -64694,9 +64921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-variables parameters: - - *358 - *359 - - *180 + - *360 + - *181 - *19 responses: '200': @@ -64713,11 +64940,11 @@ paths: type: integer variables: type: array - items: *404 + items: *405 examples: - default: *405 + default: *406 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64738,8 +64965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-a-repository-variable parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -64766,7 +64993,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -64791,17 +65018,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-a-repository-variable parameters: - - *358 - *359 - - *174 + - *360 + - *175 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *417 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64822,9 +65049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-a-repository-variable parameters: - - *358 - *359 - - *174 + - *360 + - *175 requestBody: required: true content: @@ -64866,9 +65093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable parameters: - - *358 - *359 - - *174 + - *360 + - *175 responses: '204': description: Response @@ -64889,8 +65116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -64902,9 +65129,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -64927,8 +65154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *358 - *359 + - *360 - name: assignee in: path required: true @@ -64964,8 +65191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -65075,11 +65302,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *358 - *359 + - *360 - *17 - - *47 - *48 + - *49 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -65133,7 +65360,7 @@ paths: initiator: type: string examples: - default: *418 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65167,8 +65394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -65176,7 +65403,7 @@ paths: application/json: schema: type: array - items: &419 + items: &420 title: Autolink reference description: An autolink reference. type: object @@ -65230,8 +65457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -65270,9 +65497,9 @@ paths: description: response content: application/json: - schema: *419 + schema: *420 examples: - default: &420 + default: &421 value: id: 1 key_prefix: TICKET- @@ -65303,9 +65530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *358 - *359 - - &421 + - *360 + - &422 name: autolink_id description: The unique identifier of the autolink. in: path @@ -65317,9 +65544,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: - default: *420 + default: *421 '404': *6 x-github: githubCloudOnly: false @@ -65339,9 +65566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *358 - *359 - - *421 + - *360 + - *422 responses: '204': description: Response @@ -65365,8 +65592,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: - - *358 - *359 + - *360 responses: '200': description: Response if Dependabot is enabled @@ -65414,8 +65641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *358 - *359 + - *360 responses: '204': description: Response @@ -65436,8 +65663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *358 - *359 + - *360 responses: '204': description: Response @@ -65457,8 +65684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *358 - *359 + - *360 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -65496,7 +65723,7 @@ paths: - url protected: type: boolean - protection: &423 + protection: &424 title: Branch Protection description: Branch Protection type: object @@ -65538,7 +65765,7 @@ paths: required: - contexts - checks - enforce_admins: &426 + enforce_admins: &427 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -65553,7 +65780,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &428 + required_pull_request_reviews: &429 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -65574,7 +65801,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *210 + items: *211 apps: description: The list of apps with review dismissal access. @@ -65603,7 +65830,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *210 + items: *211 apps: description: The list of apps allowed to bypass pull request requirements. @@ -65629,7 +65856,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &425 + restrictions: &426 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -65692,7 +65919,7 @@ paths: type: string teams: type: array - items: *210 + items: *211 apps: type: array items: @@ -65888,7 +66115,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -65906,9 +66133,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *358 - *359 - - &424 + - *360 + - &425 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). @@ -65922,14 +66149,14 @@ paths: description: Response content: application/json: - schema: &434 + schema: &435 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &493 + commit: &494 title: Commit description: Commit type: object @@ -65963,7 +66190,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &422 + properties: &423 name: type: string example: '"Chris Wanstrath"' @@ -65979,7 +66206,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *422 + properties: *423 nullable: true message: type: string @@ -66000,7 +66227,7 @@ paths: required: - sha - url - verification: &546 + verification: &547 title: Verification type: object properties: @@ -66034,12 +66261,12 @@ paths: nullable: true oneOf: - *4 - - *172 + - *173 committer: nullable: true oneOf: - *4 - - *172 + - *173 parents: type: array items: @@ -66070,7 +66297,7 @@ paths: type: integer files: type: array - items: &506 + items: &507 title: Diff Entry description: Diff Entry type: object @@ -66154,7 +66381,7 @@ paths: - self protected: type: boolean - protection: *423 + protection: *424 protection_url: type: string format: uri @@ -66261,7 +66488,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *362 + '301': *363 '404': *6 x-github: githubCloudOnly: false @@ -66283,15 +66510,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *358 - *359 - - *424 + - *360 + - *425 responses: '200': description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -66485,9 +66712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *358 - *359 - - *424 + - *360 + - *425 requestBody: required: true content: @@ -66742,7 +66969,7 @@ paths: url: type: string format: uri - required_status_checks: &431 + required_status_checks: &432 title: Status Check Policy description: Status Check Policy type: object @@ -66818,7 +67045,7 @@ paths: items: *4 teams: type: array - items: *210 + items: *211 apps: type: array items: *5 @@ -66836,7 +67063,7 @@ paths: items: *4 teams: type: array - items: *210 + items: *211 apps: type: array items: *5 @@ -66894,7 +67121,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *425 + restrictions: *426 required_conversation_resolution: type: object properties: @@ -67006,9 +67233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *358 - *359 - - *424 + - *360 + - *425 responses: '204': description: Response @@ -67033,17 +67260,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *358 - *359 - - *424 + - *360 + - *425 responses: '200': description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: &427 + default: &428 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -67065,17 +67292,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *358 - *359 - - *424 + - *360 + - *425 responses: '200': description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: *427 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67094,9 +67321,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *358 - *359 - - *424 + - *360 + - *425 responses: '204': description: Response @@ -67121,17 +67348,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *358 - *359 - - *424 + - *360 + - *425 responses: '200': description: Response content: application/json: - schema: *428 + schema: *429 examples: - default: &429 + default: &430 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -67227,9 +67454,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *358 - *359 - - *424 + - *360 + - *425 requestBody: required: false content: @@ -67327,9 +67554,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *429 examples: - default: *429 + default: *430 '422': *15 x-github: githubCloudOnly: false @@ -67350,9 +67577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *358 - *359 - - *424 + - *360 + - *425 responses: '204': description: Response @@ -67379,17 +67606,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *358 - *359 - - *424 + - *360 + - *425 responses: '200': description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: &430 + default: &431 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -67412,17 +67639,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *358 - *359 - - *424 + - *360 + - *425 responses: '200': description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: *430 + default: *431 '404': *6 x-github: githubCloudOnly: false @@ -67442,9 +67669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *358 - *359 - - *424 + - *360 + - *425 responses: '204': description: Response @@ -67469,17 +67696,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *358 - *359 - - *424 + - *360 + - *425 responses: '200': description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: &432 + default: &433 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -67505,9 +67732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *358 - *359 - - *424 + - *360 + - *425 requestBody: required: false content: @@ -67559,9 +67786,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 '404': *6 '422': *15 x-github: @@ -67583,9 +67810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *358 - *359 - - *424 + - *360 + - *425 responses: '204': description: Response @@ -67609,9 +67836,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *358 - *359 - - *424 + - *360 + - *425 responses: '200': description: Response @@ -67645,9 +67872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *358 - *359 - - *424 + - *360 + - *425 requestBody: required: false content: @@ -67714,9 +67941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *358 - *359 - - *424 + - *360 + - *425 requestBody: required: false content: @@ -67780,9 +68007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *358 - *359 - - *424 + - *360 + - *425 requestBody: content: application/json: @@ -67848,15 +68075,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *358 - *359 - - *424 + - *360 + - *425 responses: '200': description: Response content: application/json: - schema: *425 + schema: *426 examples: default: value: @@ -67947,9 +68174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *358 - *359 - - *424 + - *360 + - *425 responses: '204': description: Response @@ -67972,9 +68199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *358 - *359 - - *424 + - *360 + - *425 responses: '200': description: Response @@ -67984,7 +68211,7 @@ paths: type: array items: *5 examples: - default: &433 + default: &434 value: - id: 1 slug: octoapp @@ -68041,9 +68268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *358 - *359 - - *424 + - *360 + - *425 requestBody: required: true content: @@ -68077,7 +68304,7 @@ paths: type: array items: *5 examples: - default: *433 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -68098,9 +68325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *358 - *359 - - *424 + - *360 + - *425 requestBody: required: true content: @@ -68134,7 +68361,7 @@ paths: type: array items: *5 examples: - default: *433 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -68155,9 +68382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *358 - *359 - - *424 + - *360 + - *425 requestBody: required: true content: @@ -68191,7 +68418,7 @@ paths: type: array items: *5 examples: - default: *433 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -68213,9 +68440,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *358 - *359 - - *424 + - *360 + - *425 responses: '200': description: Response @@ -68223,9 +68450,9 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: *275 + default: *276 '404': *6 x-github: githubCloudOnly: false @@ -68245,9 +68472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *358 - *359 - - *424 + - *360 + - *425 requestBody: required: false content: @@ -68283,9 +68510,9 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: *275 + default: *276 '422': *15 x-github: githubCloudOnly: false @@ -68306,9 +68533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *358 - *359 - - *424 + - *360 + - *425 requestBody: required: false content: @@ -68344,9 +68571,9 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: *275 + default: *276 '422': *15 x-github: githubCloudOnly: false @@ -68367,9 +68594,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *358 - *359 - - *424 + - *360 + - *425 requestBody: content: application/json: @@ -68404,9 +68631,9 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: *275 + default: *276 '422': *15 x-github: githubCloudOnly: false @@ -68428,9 +68655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *358 - *359 - - *424 + - *360 + - *425 responses: '200': description: Response @@ -68440,7 +68667,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 '404': *6 x-github: githubCloudOnly: false @@ -68464,9 +68691,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *358 - *359 - - *424 + - *360 + - *425 requestBody: required: true content: @@ -68499,7 +68726,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 '422': *15 x-github: githubCloudOnly: false @@ -68524,9 +68751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *358 - *359 - - *424 + - *360 + - *425 requestBody: required: true content: @@ -68559,7 +68786,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 '422': *15 x-github: githubCloudOnly: false @@ -68584,9 +68811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *358 - *359 - - *424 + - *360 + - *425 requestBody: required: true content: @@ -68619,7 +68846,7 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 '422': *15 x-github: githubCloudOnly: false @@ -68646,9 +68873,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *358 - *359 - - *424 + - *360 + - *425 requestBody: required: true content: @@ -68670,7 +68897,7 @@ paths: description: Response content: application/json: - schema: *434 + schema: *435 examples: default: value: @@ -68786,8 +69013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -69066,7 +69293,7 @@ paths: description: Response content: application/json: - schema: &435 + schema: &436 title: CheckRun description: A check performed on the code of a given code change type: object @@ -69177,16 +69404,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *93 - deployment: &800 + items: *94 + deployment: &801 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -69253,8 +69480,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 required: - id - node_id @@ -69466,9 +69693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *358 - *359 - - &436 + - *360 + - &437 name: check_run_id description: The unique identifier of the check run. in: path @@ -69480,9 +69707,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: &437 + default: &438 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -69582,9 +69809,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *358 - *359 - - *436 + - *360 + - *437 requestBody: required: true content: @@ -69824,9 +70051,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *437 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69846,9 +70073,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *358 - *359 - - *436 + - *360 + - *437 - *17 - *19 responses: @@ -69923,7 +70150,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: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69943,15 +70170,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *358 - *359 - - *436 + - *360 + - *437 responses: '201': description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -69989,8 +70216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -70012,7 +70239,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &440 + schema: &441 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -70076,7 +70303,7 @@ paths: nullable: true pull_requests: type: array - items: *93 + items: *94 nullable: true app: title: GitHub app @@ -70087,9 +70314,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 - repository: *163 + properties: *84 + required: *85 + repository: *164 created_at: type: string format: date-time @@ -70098,12 +70325,12 @@ paths: type: string format: date-time nullable: true - head_commit: &828 + head_commit: &829 title: Simple Commit description: A commit. type: object - properties: *438 - required: *439 + properties: *439 + required: *440 latest_check_runs_count: type: integer check_runs_url: @@ -70131,7 +70358,7 @@ paths: - check_runs_url - pull_requests examples: - default: &441 + default: &442 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -70422,9 +70649,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *440 + schema: *441 examples: - default: *441 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70443,8 +70670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -70505,7 +70732,7 @@ paths: required: - app_id - setting - repository: *163 + repository: *164 examples: default: value: @@ -70753,9 +70980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *358 - *359 - - &442 + - *360 + - &443 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -70767,9 +70994,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: - default: *441 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70792,17 +71019,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *358 - *359 - - *442 - - &499 + - *360 + - *443 + - &500 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &500 + - &501 name: status description: Returns check runs with the specified `status`. in: query @@ -70841,9 +71068,9 @@ paths: type: integer check_runs: type: array - items: *435 + items: *436 examples: - default: &501 + default: &502 value: total_count: 1 check_runs: @@ -70925,7 +71152,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70945,15 +71172,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *358 - *359 - - *442 + - *360 + - *443 responses: '201': description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -70976,12 +71203,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository parameters: - - *358 - *359 + - *360 - *17 - - *62 - - *47 + - *63 - *48 + - *49 - name: state description: If specified, only code quality findings with this state will be returned. @@ -70999,7 +71226,7 @@ paths: application/json: schema: type: array - items: &443 + items: &444 description: Code quality finding type: object properties: @@ -71129,14 +71356,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': &444 + '403': &445 description: Response if the user is not authorized to access Code quality for this repository. content: application/json: schema: *3 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71156,8 +71383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding parameters: - - *358 - *359 + - *360 - name: finding_number in: path description: The number that identifies a finding. @@ -71169,7 +71396,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: default: value: @@ -71198,9 +71425,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': *444 + '403': *445 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71220,8 +71447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -71285,9 +71512,9 @@ paths: runner_label: updated_at: '2023-01-01T00:00:00Z' schedule: weekly - '403': *444 + '403': *445 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71306,8 +71533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -71368,7 +71595,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -71411,7 +71638,7 @@ paths: content: application/json: schema: *3 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71435,30 +71662,30 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *358 - *359 - - *445 + - *360 - *446 + - *447 - *19 - *17 - - &463 + - &464 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: *447 - - &464 + schema: *448 + - &465 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *62 - - *47 + - *63 - *48 + - *49 - name: sort description: The property by which to sort the results. in: query @@ -71474,13 +71701,13 @@ paths: be returned. in: query required: false - schema: *448 + schema: *449 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *449 + schema: *450 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -71499,14 +71726,14 @@ paths: items: type: object properties: - number: *188 - created_at: *189 - updated_at: *190 - url: *191 - html_url: *192 - instances_url: *450 - state: *197 - fixed_at: *193 + number: *189 + created_at: *190 + updated_at: *191 + url: *192 + html_url: *193 + instances_url: *451 + state: *198 + fixed_at: *194 dismissed_by: title: Simple User description: A GitHub user. @@ -71514,12 +71741,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *194 - dismissed_reason: *451 - dismissed_comment: *452 - rule: *453 - tool: *454 - most_recent_instance: *455 + dismissed_at: *195 + dismissed_reason: *452 + dismissed_comment: *453 + rule: *454 + tool: *455 + most_recent_instance: *456 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -71644,15 +71871,15 @@ paths: end_column: 18 classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances - '304': *37 - '403': &456 + '304': *38 + '403': &457 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71672,9 +71899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *358 - *359 - - &457 + - *360 + - &458 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -71682,23 +71909,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *188 + schema: *189 responses: '200': description: Response content: application/json: - schema: &458 + schema: &459 type: object properties: - number: *188 - created_at: *189 - updated_at: *190 - url: *191 - html_url: *192 - instances_url: *450 - state: *197 - fixed_at: *193 + number: *189 + created_at: *190 + updated_at: *191 + url: *192 + html_url: *193 + instances_url: *451 + state: *198 + fixed_at: *194 dismissed_by: title: Simple User description: A GitHub user. @@ -71706,9 +71933,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *194 - dismissed_reason: *451 - dismissed_comment: *452 + dismissed_at: *195 + dismissed_reason: *452 + dismissed_comment: *453 rule: type: object properties: @@ -71762,8 +71989,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *454 - most_recent_instance: *455 + tool: *455 + most_recent_instance: *456 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -71861,10 +72088,10 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '304': *37 - '403': *456 + '304': *38 + '403': *457 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71882,9 +72109,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *358 - *359 - - *457 + - *360 + - *458 requestBody: required: true content: @@ -71899,8 +72126,8 @@ paths: enum: - open - dismissed - dismissed_reason: *451 - dismissed_comment: *452 + dismissed_reason: *452 + dismissed_comment: *453 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -71928,7 +72155,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -72004,14 +72231,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &462 + '403': &463 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': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72031,15 +72258,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: - - *358 - *359 - - *457 + - *360 + - *458 responses: '200': description: Response content: application/json: - schema: &459 + schema: &460 type: object properties: status: @@ -72065,13 +72292,13 @@ paths: - description - started_at examples: - default: &460 + default: &461 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &461 + '400': &462 description: Bad Request content: application/json: @@ -72082,9 +72309,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': *456 + '403': *457 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72107,29 +72334,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: - - *358 - *359 - - *457 + - *360 + - *458 responses: '200': description: OK content: application/json: - schema: *459 + schema: *460 examples: - default: *460 + default: *461 '202': description: Accepted content: application/json: - schema: *459 + schema: *460 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *461 + '400': *462 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -72139,7 +72366,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72161,9 +72388,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: - - *358 - *359 - - *457 + - *360 + - *458 requestBody: required: false content: @@ -72208,12 +72435,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *461 - '403': *462 + '400': *462 + '403': *463 '404': *6 '422': description: Unprocessable Entity - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72233,13 +72460,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *358 - *359 - - *457 + - *360 + - *458 - *19 - *17 - - *463 - *464 + - *465 responses: '200': description: Response @@ -72250,10 +72477,10 @@ paths: items: type: object properties: - ref: *447 - analysis_key: *465 - environment: *466 - category: *467 + ref: *448 + analysis_key: *466 + environment: *467 + category: *468 state: type: string description: State of a code scanning alert instance. @@ -72268,7 +72495,7 @@ paths: properties: text: type: string - location: *468 + location: *469 html_url: type: string classifications: @@ -72276,7 +72503,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: *469 + items: *470 examples: default: value: @@ -72313,9 +72540,9 @@ paths: end_column: 50 classifications: - source - '403': *456 + '403': *457 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72347,29 +72574,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *358 - *359 - - *445 + - *360 - *446 + - *447 - *19 - *17 - - *464 + - *465 - 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: *447 + schema: *448 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &470 + schema: &471 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *62 + - *63 - name: sort description: The property by which to sort the results. in: query @@ -72386,23 +72613,23 @@ paths: application/json: schema: type: array - items: &471 + items: &472 type: object properties: - ref: *447 - commit_sha: &479 + ref: *448 + commit_sha: &480 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: *465 + analysis_key: *466 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *467 + category: *468 error: type: string example: error reading field xyz @@ -72426,8 +72653,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *470 - tool: *454 + sarif_id: *471 + tool: *455 deletable: type: boolean warning: @@ -72488,9 +72715,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *456 + '403': *457 '404': *6 - '503': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72524,8 +72751,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: - - *358 - *359 + - *360 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72538,7 +72765,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: response: summary: application/json response @@ -72592,14 +72819,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *456 + '403': *457 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72679,8 +72906,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: - - *358 - *359 + - *360 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72733,9 +72960,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': *462 + '403': *463 '404': *6 - '503': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72755,8 +72982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -72764,7 +72991,7 @@ paths: application/json: schema: type: array - items: &472 + items: &473 title: CodeQL Database description: A CodeQL database. type: object @@ -72875,9 +73102,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': *456 + '403': *457 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72904,8 +73131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *358 - *359 + - *360 - name: language in: path description: The language of the CodeQL database. @@ -72917,7 +73144,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: default: value: @@ -72949,11 +73176,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': &510 + '302': &511 description: Found - '403': *456 + '403': *457 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72973,8 +73200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *358 - *359 + - *360 - name: language in: path description: The language of the CodeQL database. @@ -72984,9 +73211,9 @@ paths: responses: '204': description: Response - '403': *462 + '403': *463 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73012,8 +73239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -73022,7 +73249,7 @@ paths: type: object additionalProperties: false properties: - language: &473 + language: &474 type: string description: The language targeted by the CodeQL query enum: @@ -73102,7 +73329,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &477 + schema: &478 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -73110,9 +73337,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *67 + controller_repo: *68 actor: *4 - query_language: *473 + query_language: *474 query_pack_url: type: string description: The download url for the query pack. @@ -73159,7 +73386,7 @@ paths: items: type: object properties: - repository: &474 + repository: &475 title: Repository Identifier description: Repository Identifier type: object @@ -73195,7 +73422,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &478 + analysis_status: &479 type: string description: The new status of the CodeQL variant analysis repository task. @@ -73227,7 +73454,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &475 + access_mismatch_repos: &476 type: object properties: repository_count: @@ -73241,7 +73468,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: *474 + items: *475 required: - repository_count - repositories @@ -73263,8 +73490,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *475 - over_limit_repos: *475 + no_codeql_db_repos: *476 + over_limit_repos: *476 required: - access_mismatch_repos - not_found_repos @@ -73280,7 +73507,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &476 + value: &477 summary: Default response value: id: 1 @@ -73426,17 +73653,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *476 + value: *477 repository_lists: summary: Response for a successful variant analysis submission - value: *476 + value: *477 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73457,8 +73684,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: - - *358 - *359 + - *360 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -73470,11 +73697,11 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *476 + default: *477 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73495,7 +73722,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: - - *358 + - *359 - name: repo in: path description: The name of the controller repository. @@ -73529,8 +73756,8 @@ paths: schema: type: object properties: - repository: *67 - analysis_status: *478 + repository: *68 + analysis_status: *479 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -73634,7 +73861,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73655,8 +73882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -73758,9 +73985,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *456 + '403': *457 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73779,8 +74006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -73847,7 +74074,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -73872,7 +74099,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *462 + '403': *463 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -73886,7 +74113,7 @@ paths: content: application/json: schema: *3 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73943,8 +74170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -73952,7 +74179,7 @@ paths: schema: type: object properties: - commit_sha: *479 + commit_sha: *480 ref: type: string description: |- @@ -74010,7 +74237,7 @@ paths: schema: type: object properties: - id: *470 + id: *471 url: type: string description: The REST API URL for checking the status of the upload. @@ -74024,11 +74251,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': *462 + '403': *463 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74047,8 +74274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *358 - *359 + - *360 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -74094,10 +74321,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': *456 + '403': *457 '404': description: Not Found if the sarif id does not match any upload - '503': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74119,8 +74346,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: - - *358 - *359 + - *360 responses: '200': description: Response @@ -74144,7 +74371,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *49 + configuration: *50 examples: default: value: @@ -74176,8 +74403,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': *61 - '304': *37 + '204': *60 + '304': *38 '403': *29 '404': *6 x-github: @@ -74201,8 +74428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *358 - *359 + - *360 - 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 @@ -74322,8 +74549,8 @@ paths: parameters: - *17 - *19 - - *358 - *359 + - *360 responses: '200': description: Response @@ -74339,7 +74566,7 @@ paths: type: integer codespaces: type: array - items: *263 + items: *264 examples: default: value: @@ -74615,7 +74842,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': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -74637,8 +74864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -74701,22 +74928,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *263 + schema: *264 examples: - default: *480 + default: *481 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *263 + schema: *264 examples: - default: *480 + default: *481 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -74740,8 +74967,8 @@ paths: parameters: - *17 - *19 - - *358 - *359 + - *360 responses: '200': description: Response @@ -74781,7 +75008,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *55 + '500': *56 '400': *14 '401': *25 '403': *29 @@ -74805,8 +75032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *358 - *359 + - *360 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -74841,14 +75068,14 @@ paths: type: integer machines: type: array - items: &742 + items: &743 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *481 - required: *482 + properties: *482 + required: *483 examples: - default: &743 + default: &744 value: total_count: 2 machines: @@ -74864,8 +75091,8 @@ paths: storage_in_bytes: 68719476736 memory_in_bytes: 34359738368 cpus: 8 - '304': *37 - '500': *55 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -74888,8 +75115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *358 - *359 + - *360 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -74973,8 +75200,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: - - *358 - *359 + - *360 - 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 @@ -75019,7 +75246,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75040,8 +75267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -75059,7 +75286,7 @@ paths: type: integer secrets: type: array - items: &486 + items: &487 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -75079,9 +75306,9 @@ paths: - created_at - updated_at examples: - default: *483 + default: *484 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75102,16 +75329,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *358 - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: *485 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -75131,17 +75358,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *358 - *359 - - *171 + - *360 + - *172 responses: '200': description: Response content: application/json: - schema: *486 + schema: *487 examples: - default: *487 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75161,9 +75388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *358 - *359 - - *171 + - *360 + - *172 requestBody: required: true content: @@ -75191,7 +75418,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -75215,9 +75442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *358 - *359 - - *171 + - *360 + - *172 responses: '204': description: Response @@ -75245,8 +75472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *358 - *359 + - *360 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -75288,7 +75515,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &488 + properties: &489 login: type: string example: octocat @@ -75381,7 +75608,7 @@ paths: user_view_type: type: string example: public - required: &489 + required: &490 - avatar_url - events_url - followers_url @@ -75430,7 +75657,7 @@ paths: admin: false role_name: write headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -75455,9 +75682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *358 - *359 - - *74 + - *360 + - *75 responses: '204': description: Response if user is a collaborator @@ -75503,9 +75730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *358 - *359 - - *74 + - *360 + - *75 requestBody: required: false content: @@ -75531,7 +75758,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &560 + schema: &561 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -75542,7 +75769,7 @@ paths: example: 42 type: integer format: int64 - repository: *163 + repository: *164 invitee: title: Simple User description: A GitHub user. @@ -75720,7 +75947,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *132 + schema: *133 '403': *29 x-github: triggersNotification: true @@ -75760,9 +75987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *358 - *359 - - *74 + - *360 + - *75 responses: '204': description: No Content when collaborator was removed from the repository. @@ -75793,9 +76020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *358 - *359 - - *74 + - *360 + - *75 responses: '200': description: if user has admin permissions @@ -75815,8 +76042,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *488 - required: *489 + properties: *489 + required: *490 nullable: true required: - permission @@ -75871,8 +76098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -75882,7 +76109,7 @@ paths: application/json: schema: type: array - items: &490 + items: &491 title: Commit Comment description: Commit Comment type: object @@ -75923,8 +76150,8 @@ paths: updated_at: type: string format: date-time - author_association: *85 - reactions: *86 + author_association: *86 + reactions: *87 required: - url - html_url @@ -75940,7 +76167,7 @@ paths: - created_at - updated_at examples: - default: &495 + default: &496 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75974,7 +76201,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75999,17 +76226,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *358 - *359 - - *104 + - *360 + - *105 responses: '200': description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: &496 + default: &497 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76066,9 +76293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *358 - *359 - - *104 + - *360 + - *105 requestBody: required: true content: @@ -76090,7 +76317,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: default: value: @@ -76141,9 +76368,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *358 - *359 - - *104 + - *360 + - *105 responses: '204': description: Response @@ -76164,9 +76391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *358 - *359 - - *104 + - *360 + - *105 - 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. @@ -76192,7 +76419,7 @@ paths: application/json: schema: type: array - items: &491 + items: &492 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -76261,7 +76488,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -76280,9 +76507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *358 - *359 - - *104 + - *360 + - *105 requestBody: required: true content: @@ -76314,9 +76541,9 @@ paths: description: Reaction exists content: application/json: - schema: *491 + schema: *492 examples: - default: &492 + default: &493 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -76345,9 +76572,9 @@ paths: description: Reaction created content: application/json: - schema: *491 + schema: *492 examples: - default: *492 + default: *493 '422': *15 x-github: githubCloudOnly: false @@ -76369,9 +76596,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *358 - *359 - - *104 + - *360 + - *105 - &566 name: reaction_id description: The unique identifier of the reaction. @@ -76427,8 +76654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *358 - *359 + - *360 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -76484,9 +76711,9 @@ paths: application/json: schema: type: array - items: *493 + items: *494 examples: - default: &634 + default: &635 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -76556,11 +76783,11 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *70 - '500': *55 + Link: *71 + '500': *56 '400': *14 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76580,9 +76807,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *358 - *359 - - &494 + - *360 + - &495 name: commit_sha description: The SHA of the commit. in: path @@ -76629,7 +76856,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76654,9 +76881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *358 - *359 - - *494 + - *360 + - *495 - *17 - *19 responses: @@ -76666,11 +76893,11 @@ paths: application/json: schema: type: array - items: *490 + items: *491 examples: - default: *495 + default: *496 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76696,9 +76923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *358 - *359 - - *494 + - *360 + - *495 requestBody: required: true content: @@ -76733,9 +76960,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: *496 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76763,9 +76990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *358 - *359 - - *494 + - *360 + - *495 - *17 - *19 responses: @@ -76775,7 +77002,7 @@ paths: application/json: schema: type: array - items: *497 + items: *498 examples: default: &626 value: @@ -77256,8 +77483,8 @@ paths: auto_merge: draft: false headers: - Link: *70 - '409': *54 + Link: *71 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77314,11 +77541,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *358 - *359 + - *360 - *19 - *17 - - &498 + - &499 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)" @@ -77333,7 +77560,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: default: &613 value: @@ -77423,7 +77650,7 @@ paths: schema: type: string examples: - default: &507 + default: &508 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -77436,7 +77663,7 @@ paths: schema: type: string examples: - default: &508 + default: &509 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -77462,9 +77689,9 @@ paths: value: ac3282a2725be3b1d4979169a7a311c89066af1c '422': *15 '404': *6 - '500': *55 - '503': *122 - '409': *54 + '500': *56 + '503': *123 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77489,11 +77716,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *358 - *359 - - *498 + - *360 - *499 - *500 + - *501 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -77527,11 +77754,11 @@ paths: type: integer check_runs: type: array - items: *435 + items: *436 examples: - default: *501 + default: *502 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77554,9 +77781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *358 - *359 - - *498 + - *360 + - *499 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -77564,7 +77791,7 @@ paths: schema: type: integer example: 1 - - *499 + - *500 - *17 - *19 responses: @@ -77582,7 +77809,7 @@ paths: type: integer check_suites: type: array - items: *440 + items: *441 examples: default: value: @@ -77757,7 +77984,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: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77782,9 +78009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *358 - *359 - - *498 + - *360 + - *499 - *17 - *19 responses: @@ -77851,7 +78078,7 @@ paths: type: string total_count: type: integer - repository: *163 + repository: *164 commit_url: type: string format: uri @@ -77982,9 +78209,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *358 - *359 - - *498 + - *360 + - *499 - *17 - *19 responses: @@ -77994,7 +78221,7 @@ paths: application/json: schema: type: array - items: &720 + items: &721 title: Status description: The status of a commit. type: object @@ -78074,8 +78301,8 @@ paths: type: User site_admin: false headers: - Link: *70 - '301': *362 + Link: *71 + '301': *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78103,8 +78330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -78133,20 +78360,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *502 - required: *503 + properties: *503 + required: *504 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &504 + properties: &505 url: type: string format: uri html_url: type: string format: uri - required: &505 + required: &506 - url - html_url nullable: true @@ -78154,32 +78381,32 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true contributing: title: Community Health File type: object - properties: *504 - required: *505 + properties: *505 + required: *506 nullable: true readme: title: Community Health File type: object - properties: *504 - required: *505 + properties: *505 + required: *506 nullable: true issue_template: title: Community Health File type: object - properties: *504 - required: *505 + properties: *505 + required: *506 nullable: true pull_request_template: title: Community Health File type: object - properties: *504 - required: *505 + properties: *505 + required: *506 nullable: true required: - code_of_conduct @@ -78306,8 +78533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *358 - *359 + - *360 - *19 - *17 - name: basehead @@ -78350,8 +78577,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *493 - merge_base_commit: *493 + base_commit: *494 + merge_base_commit: *494 status: type: string enum: @@ -78371,10 +78598,10 @@ paths: example: 6 commits: type: array - items: *493 + items: *494 files: type: array - items: *506 + items: *507 required: - url - html_url @@ -78620,15 +78847,15 @@ paths: schema: type: string examples: - default: *507 + default: *508 application/vnd.github.patch: schema: type: string examples: - default: *508 + default: *509 '404': *6 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78670,8 +78897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *358 - *359 + - *360 - name: path description: path parameter in: path @@ -78831,7 +79058,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &509 + response-if-content-is-a-file-github-object: &510 summary: Response if content is a file value: type: file @@ -78963,7 +79190,7 @@ paths: - size - type - url - - &639 + - &640 title: Content File description: Content File type: object @@ -79164,7 +79391,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *509 + response-if-content-is-a-file: *510 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -79233,8 +79460,8 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *510 - '304': *37 + '302': *511 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79286,8 +79513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *358 - *359 + - *360 - name: path description: path parameter in: path @@ -79380,7 +79607,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &512 title: File Commit description: File Commit type: object @@ -79532,7 +79759,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: example-for-creating-a-file: value: @@ -79586,7 +79813,7 @@ paths: schema: oneOf: - *3 - - &541 + - &542 description: Repository rule violation was detected type: object properties: @@ -79607,7 +79834,7 @@ paths: items: type: object properties: - placeholder_id: &712 + placeholder_id: &713 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -79639,8 +79866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *358 - *359 + - *360 - name: path description: path parameter in: path @@ -79701,7 +79928,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: default: value: @@ -79735,8 +79962,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *54 - '503': *122 + '409': *55 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79756,8 +79983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *358 - *359 + - *360 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -79857,7 +80084,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *70 + Link: *71 '204': description: Response if repository is empty '403': *29 @@ -79886,8 +80113,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: - - *358 - *359 + - *360 responses: '200': description: Response @@ -79997,7 +80224,7 @@ paths: custom_allowlist: - sentry.io - https://api.example.com - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -80019,27 +80246,27 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *358 - *359 - - *212 + - *360 - *213 - *214 - *215 - *216 + - *217 - 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 - - *217 - - *512 - *218 + - *513 - *219 - *220 - - *62 - - *47 + - *221 + - *63 - *48 + - *49 - *17 responses: '200': @@ -80048,11 +80275,11 @@ paths: application/json: schema: type: array - items: &516 + items: &517 type: object description: A Dependabot alert. properties: - number: *188 + number: *189 state: type: string description: The state of the Dependabot alert. @@ -80067,7 +80294,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *63 + package: *64 manifest_path: type: string description: The full path to the dependency manifest file, @@ -80095,13 +80322,13 @@ paths: - direct - transitive - inconclusive - security_advisory: *513 - security_vulnerability: *66 - url: *191 - html_url: *192 - created_at: *189 - updated_at: *190 - dismissed_at: *194 + security_advisory: *514 + security_vulnerability: *67 + url: *192 + html_url: *193 + created_at: *190 + updated_at: *191 + dismissed_at: *195 dismissed_by: title: Simple User description: A GitHub user. @@ -80125,9 +80352,9 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *193 - auto_dismissed_at: *514 - dismissal_request: *515 + fixed_at: *194 + auto_dismissed_at: *515 + dismissal_request: *516 assignees: type: array description: The users assigned to this alert. @@ -80358,7 +80585,7 @@ paths: dismissed_comment: fixed_at: assignees: [] - '304': *37 + '304': *38 '400': *14 '403': *29 '404': *6 @@ -80382,9 +80609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *358 - *359 - - &517 + - *360 + - &518 name: alert_number in: path description: |- @@ -80393,13 +80620,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *188 + schema: *189 responses: '200': description: Response content: application/json: - schema: *516 + schema: *517 examples: default: value: @@ -80509,7 +80736,7 @@ paths: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false - '304': *37 + '304': *38 '403': *29 '404': *6 x-github: @@ -80531,9 +80758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *358 - *359 - - *517 + - *360 + - *518 requestBody: required: true content: @@ -80606,7 +80833,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: default: value: @@ -80713,7 +80940,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *54 + '409': *55 '422': *7 x-github: githubCloudOnly: false @@ -80736,8 +80963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -80755,7 +80982,7 @@ paths: type: integer secrets: type: array - items: &520 + items: &521 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -80786,7 +81013,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80808,16 +81035,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *358 - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *518 + schema: *519 examples: - default: *519 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80837,15 +81064,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *358 - *359 - - *171 + - *360 + - *172 responses: '200': description: Response content: application/json: - schema: *520 + schema: *521 examples: default: value: @@ -80871,9 +81098,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *358 - *359 - - *171 + - *360 + - *172 requestBody: required: true content: @@ -80901,7 +81128,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -80925,9 +81152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *358 - *359 - - *171 + - *360 + - *172 responses: '204': description: Response @@ -80949,8 +81176,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: - - *358 - *359 + - *360 - 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 @@ -81086,7 +81313,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *70 + Link: *71 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -81095,8 +81322,8 @@ paths: application/json: schema: *3 '400': *14 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false category: dependency-graph @@ -81113,8 +81340,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: - - *358 - *359 + - *360 responses: '200': description: Response @@ -81330,7 +81557,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *70 + Link: *71 '404': *6 '403': *29 x-github: @@ -81352,8 +81579,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: - - *358 - *359 + - *360 - name: sbom_uuid in: path required: true @@ -81364,7 +81591,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *521 + Location: *522 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -81385,8 +81612,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: - - *358 - *359 + - *360 responses: '201': description: Response @@ -81424,8 +81651,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: - - *358 - *359 + - *360 requestBody: required: true content: @@ -81500,7 +81727,7 @@ paths: - version - url additionalProperties: false - metadata: &522 + metadata: &523 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -81533,7 +81760,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *522 + metadata: *523 resolved: type: object description: A collection of resolved package dependencies. @@ -81546,7 +81773,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *522 + metadata: *523 relationship: type: string description: A notation of whether a dependency is requested @@ -81675,8 +81902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *358 - *359 + - *360 - name: sha description: The SHA recorded at creation time. in: query @@ -81716,11 +81943,11 @@ paths: application/json: schema: type: array - items: *523 + items: *524 examples: - default: *524 + default: *525 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81784,8 +82011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -81866,7 +82093,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *524 examples: simple-example: summary: Simple example @@ -81939,9 +82166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *358 - *359 - - &525 + - *360 + - &526 name: deployment_id description: deployment_id parameter in: path @@ -81953,7 +82180,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *524 examples: default: value: @@ -82018,9 +82245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *358 - *359 - - *525 + - *360 + - *526 responses: '204': description: Response @@ -82042,9 +82269,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *358 - *359 - - *525 + - *360 + - *526 - *17 - *19 responses: @@ -82054,7 +82281,7 @@ paths: application/json: schema: type: array - items: &526 + items: &527 title: Deployment Status description: The status of a deployment. type: object @@ -82145,8 +82372,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 required: - id - node_id @@ -82195,7 +82422,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -82215,9 +82442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *358 - *359 - - *525 + - *360 + - *526 requestBody: required: true content: @@ -82292,9 +82519,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: &527 + default: &528 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -82350,9 +82577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *358 - *359 - - *525 + - *360 + - *526 - name: status_id in: path required: true @@ -82363,9 +82590,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: *527 + default: *528 '404': *6 x-github: githubCloudOnly: false @@ -82390,8 +82617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -82448,8 +82675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -82466,7 +82693,7 @@ paths: type: integer environments: type: array - items: &529 + items: &530 title: Environment description: Details of a deployment environment type: object @@ -82518,7 +82745,7 @@ paths: type: type: string example: wait_timer - wait_timer: &531 + wait_timer: &532 type: integer example: 30 description: The amount of time to delay a job after @@ -82555,11 +82782,11 @@ paths: items: type: object properties: - type: *528 + type: *529 reviewer: anyOf: - *4 - - *210 + - *211 required: - id - node_id @@ -82579,7 +82806,7 @@ paths: - id - node_id - type - deployment_branch_policy: &532 + deployment_branch_policy: &533 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -82695,9 +82922,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *358 - *359 - - &530 + - *360 + - &531 name: environment_name in: path required: true @@ -82710,9 +82937,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: - default: &533 + default: &534 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -82796,9 +83023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *358 - *359 - - *530 + - *360 + - *531 requestBody: required: false content: @@ -82807,7 +83034,7 @@ paths: type: object nullable: true properties: - wait_timer: *531 + wait_timer: *532 prevent_self_review: type: boolean example: false @@ -82824,13 +83051,13 @@ paths: items: type: object properties: - type: *528 + type: *529 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *532 + deployment_branch_policy: *533 additionalProperties: false examples: default: @@ -82850,9 +83077,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: - default: *533 + default: *534 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -82876,9 +83103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *358 - *359 - - *530 + - *360 + - *531 responses: '204': description: Default response @@ -82903,9 +83130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *358 - *359 - - *530 + - *360 + - *531 - *17 - *19 responses: @@ -82923,7 +83150,7 @@ paths: example: 2 branch_policies: type: array - items: &534 + items: &535 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -82980,9 +83207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *358 - *359 - - *530 + - *360 + - *531 requestBody: required: true content: @@ -83028,9 +83255,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - example-wildcard: &535 + example-wildcard: &536 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -83072,10 +83299,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *358 - *359 - - *530 - - &536 + - *360 + - *531 + - &537 name: branch_policy_id in: path required: true @@ -83087,9 +83314,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: *535 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83108,10 +83335,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *358 - *359 - - *530 - - *536 + - *360 + - *531 + - *537 requestBody: required: true content: @@ -83139,9 +83366,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: *535 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83160,10 +83387,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *358 - *359 - - *530 - - *536 + - *360 + - *531 + - *537 responses: '204': description: Response @@ -83188,9 +83415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *530 + - *531 + - *360 - *359 - - *358 responses: '200': description: List of deployment protection rules @@ -83206,7 +83433,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &537 + items: &538 title: Deployment protection rule description: Deployment protection rule type: object @@ -83225,7 +83452,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &538 + app: &539 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -83324,9 +83551,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: - - *530 + - *531 + - *360 - *359 - - *358 requestBody: content: application/json: @@ -83347,9 +83574,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *537 + schema: *538 examples: - default: &539 + default: &540 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -83384,9 +83611,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: - - *530 + - *531 + - *360 - *359 - - *358 - *19 - *17 responses: @@ -83405,7 +83632,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *538 + items: *539 examples: default: value: @@ -83440,10 +83667,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *358 - *359 - - *530 - - &540 + - *360 + - *531 + - &541 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -83455,9 +83682,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *538 examples: - default: *539 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83478,10 +83705,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *530 + - *531 + - *360 - *359 - - *358 - - *540 + - *541 responses: '204': description: Response @@ -83507,9 +83734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *358 - *359 - - *530 + - *360 + - *531 - *17 - *19 responses: @@ -83527,11 +83754,11 @@ paths: type: integer secrets: type: array - items: *402 + items: *403 examples: - default: *403 + default: *404 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83554,17 +83781,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *358 - *359 - - *530 + - *360 + - *531 responses: '200': description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83586,18 +83813,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *358 - *359 - - *530 - - *171 + - *360 + - *531 + - *172 responses: '200': description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: *416 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83619,10 +83846,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *358 - *359 - - *530 - - *171 + - *360 + - *531 + - *172 requestBody: required: true content: @@ -83653,7 +83880,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -83679,10 +83906,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *358 - *359 - - *530 - - *171 + - *360 + - *531 + - *172 responses: '204': description: Default response @@ -83707,10 +83934,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *358 - *359 - - *530 - - *180 + - *360 + - *531 + - *181 - *19 responses: '200': @@ -83727,11 +83954,11 @@ paths: type: integer variables: type: array - items: *404 + items: *405 examples: - default: *405 + default: *406 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83752,9 +83979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *358 - *359 - - *530 + - *360 + - *531 requestBody: required: true content: @@ -83781,7 +84008,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -83806,18 +84033,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *358 - *359 - - *530 - - *174 + - *360 + - *531 + - *175 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *417 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83838,10 +84065,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *358 - *359 - - *174 - - *530 + - *360 + - *175 + - *531 requestBody: required: true content: @@ -83883,10 +84110,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *358 - *359 - - *174 - - *530 + - *360 + - *175 + - *531 responses: '204': description: Response @@ -83908,8 +84135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -83919,7 +84146,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: 200-response: value: @@ -83977,8 +84204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *358 - *359 + - *360 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -84000,7 +84227,7 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: default: value: @@ -84113,7 +84340,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *70 + Link: *71 '400': *14 x-github: githubCloudOnly: false @@ -84137,8 +84364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *358 - *359 + - *360 requestBody: required: false content: @@ -84170,9 +84397,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: *363 + default: *364 '400': *14 '422': *15 '403': *29 @@ -84193,8 +84420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -84245,7 +84472,7 @@ paths: schema: type: string '404': *6 - '409': *54 + '409': *55 '403': *29 '422': description: Validation failed @@ -84253,8 +84480,8 @@ paths: application/json: schema: oneOf: - - *132 - - *541 + - *133 + - *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84279,8 +84506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *358 - *359 + - *360 - name: file_sha in: path required: true @@ -84331,7 +84558,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84379,8 +84606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -84489,7 +84716,7 @@ paths: description: Response content: application/json: - schema: &542 + schema: &543 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -84653,7 +84880,7 @@ paths: type: string '422': *15 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84703,15 +84930,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *358 - *359 - - *494 + - *360 + - *495 responses: '200': description: Response content: application/json: - schema: *542 + schema: *543 examples: default: value: @@ -84742,7 +84969,7 @@ paths: payload: verified_at: '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84767,9 +84994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *358 - *359 - - &543 + - *360 + - &544 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. @@ -84786,7 +85013,7 @@ paths: application/json: schema: type: array - items: &544 + items: &545 title: Git Reference description: Git references within a repository type: object @@ -84839,8 +85066,8 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *70 - '409': *54 + Link: *71 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84861,17 +85088,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *358 - *359 - - *543 + - *360 + - *544 responses: '200': description: Response content: application/json: - schema: *544 + schema: *545 examples: - default: &545 + default: &546 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -84881,7 +85108,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84900,8 +85127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -84930,16 +85157,16 @@ paths: description: Response content: application/json: - schema: *544 + schema: *545 examples: - default: *545 + default: *546 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84958,9 +85185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *358 - *359 - - *543 + - *360 + - *544 requestBody: required: true content: @@ -84989,11 +85216,11 @@ paths: description: Response content: application/json: - schema: *544 + schema: *545 examples: - default: *545 + default: *546 '422': *15 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85009,16 +85236,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *358 - *359 - - *543 + - *360 + - *544 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85066,8 +85293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -85134,7 +85361,7 @@ paths: description: Response content: application/json: - schema: &547 + schema: &548 title: Git Tag description: Metadata for a Git tag type: object @@ -85185,7 +85412,7 @@ paths: - sha - type - url - verification: *546 + verification: *547 required: - sha - url @@ -85195,7 +85422,7 @@ paths: - tag - message examples: - default: &548 + default: &549 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -85222,7 +85449,7 @@ paths: schema: type: string '422': *15 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85268,8 +85495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *358 - *359 + - *360 - name: tag_sha in: path required: true @@ -85280,11 +85507,11 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: - default: *548 + default: *549 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85306,8 +85533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -85380,7 +85607,7 @@ paths: description: Response content: application/json: - schema: &549 + schema: &550 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -85453,7 +85680,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85476,8 +85703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *358 - *359 + - *360 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -85500,7 +85727,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: default-response: summary: Default response @@ -85541,7 +85768,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85558,8 +85785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -85602,8 +85829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -85613,7 +85840,7 @@ paths: application/json: schema: type: array - items: &550 + items: &551 title: Webhook description: Webhooks for repositories. type: object @@ -85667,7 +85894,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &837 + last_response: &838 title: Hook Response type: object properties: @@ -85722,7 +85949,7 @@ paths: status: unused message: headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -85741,8 +85968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *358 - *359 + - *360 requestBody: required: false content: @@ -85794,9 +86021,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: &551 + default: &552 value: type: Repository id: 12345678 @@ -85844,17 +86071,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *358 - *359 - - *231 + - *360 + - *232 responses: '200': description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '404': *6 x-github: githubCloudOnly: false @@ -85874,9 +86101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *358 - *359 - - *231 + - *360 + - *232 requestBody: required: true content: @@ -85921,9 +86148,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '422': *15 '404': *6 x-github: @@ -85944,9 +86171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *358 - *359 - - *231 + - *360 + - *232 responses: '204': description: Response @@ -85970,9 +86197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *358 - *359 - - *231 + - *360 + - *232 responses: '200': description: Response @@ -85999,9 +86226,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *358 - *359 - - *231 + - *360 + - *232 requestBody: required: false content: @@ -86045,12 +86272,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *358 - *359 - - *231 - - *17 + - *360 - *232 + - *17 - *233 + - *234 responses: '200': description: Response @@ -86058,9 +86285,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *235 + default: *236 '400': *14 '422': *15 x-github: @@ -86079,18 +86306,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *358 - *359 - - *231 + - *360 + - *232 - *16 responses: '200': description: Response content: application/json: - schema: *236 + schema: *237 examples: - default: *237 + default: *238 '400': *14 '422': *15 x-github: @@ -86109,12 +86336,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *358 - *359 - - *231 + - *360 + - *232 - *16 responses: - '202': *39 + '202': *40 '400': *14 '422': *15 x-github: @@ -86134,9 +86361,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *358 - *359 - - *231 + - *360 + - *232 responses: '204': description: Response @@ -86161,9 +86388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *358 - *359 - - *231 + - *360 + - *232 responses: '204': description: Response @@ -86186,8 +86413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *358 - *359 + - *360 responses: '200': description: Response if immutable releases are enabled @@ -86233,11 +86460,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *358 - *359 + - *360 responses: - '204': *61 - '409': *54 + '204': *60 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86254,11 +86481,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *358 - *359 + - *360 responses: - '204': *61 - '409': *54 + '204': *60 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86312,14 +86539,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *358 - *359 + - *360 responses: '200': description: Response content: application/json: - schema: &552 + schema: &553 title: Import description: A repository import from an external source. type: object @@ -86418,7 +86645,7 @@ paths: - html_url - authors_url examples: - default: &555 + default: &556 value: vcs: subversion use_lfs: true @@ -86434,7 +86661,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': &553 + '503': &554 description: Unavailable due to service under maintenance. content: application/json: @@ -86463,8 +86690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -86512,7 +86739,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -86537,7 +86764,7 @@ paths: type: string '422': *15 '404': *6 - '503': *553 + '503': *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86565,8 +86792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *358 - *359 + - *360 requestBody: required: false content: @@ -86615,7 +86842,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: example-1: summary: Example 1 @@ -86663,7 +86890,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': *553 + '503': *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86686,12 +86913,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *358 - *359 + - *360 responses: '204': description: Response - '503': *553 + '503': *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86717,9 +86944,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *358 - *359 - - &765 + - *360 + - &766 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -86733,7 +86960,7 @@ paths: application/json: schema: type: array - items: &554 + items: &555 title: Porter Author description: Porter Author type: object @@ -86787,7 +87014,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': *553 + '503': *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86812,8 +87039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *358 - *359 + - *360 - name: author_id in: path required: true @@ -86843,7 +87070,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *555 examples: default: value: @@ -86856,7 +87083,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *553 + '503': *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86880,8 +87107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -86922,7 +87149,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *553 + '503': *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86950,8 +87177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -86978,11 +87205,11 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: *555 + default: *556 '422': *15 - '503': *553 + '503': *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87005,8 +87232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -87014,8 +87241,8 @@ paths: application/json: schema: *22 examples: - default: *556 - '301': *362 + default: *557 + '301': *363 '404': *6 x-github: githubCloudOnly: false @@ -87035,8 +87262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -87044,12 +87271,12 @@ paths: application/json: schema: anyOf: - - *250 + - *251 - type: object properties: {} additionalProperties: false examples: - default: &558 + default: &559 value: limit: collaborators_only origin: repository @@ -87074,13 +87301,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *358 - *359 + - *360 requestBody: required: true content: application/json: - schema: *557 + schema: *558 examples: default: summary: Example request body @@ -87092,9 +87319,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *558 + default: *559 '409': description: Response x-github: @@ -87116,8 +87343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *358 - *359 + - *360 responses: '204': description: Response @@ -87144,8 +87371,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: - - *358 - *359 + - *360 responses: '200': description: Response @@ -87199,13 +87426,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: - - *358 - *359 + - *360 requestBody: required: true content: application/json: - schema: &559 + schema: &560 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. @@ -87255,13 +87482,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: - - *358 - *359 + - *360 requestBody: required: true content: application/json: - schema: *559 + schema: *560 examples: default: summary: Example request body @@ -87294,8 +87521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -87348,8 +87575,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -87425,8 +87652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -87436,9 +87663,9 @@ paths: application/json: schema: type: array - items: *560 + items: *561 examples: - default: &758 + default: &759 value: - id: 1 repository: @@ -87552,7 +87779,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87569,9 +87796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *358 - *359 - - *254 + - *360 + - *255 requestBody: required: false content: @@ -87600,7 +87827,7 @@ paths: description: Response content: application/json: - schema: *560 + schema: *561 examples: default: value: @@ -87731,9 +87958,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *358 - *359 - - *254 + - *360 + - *255 responses: '204': description: Response @@ -87756,8 +87983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -87765,9 +87992,9 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: - default: *561 + default: *562 '404': *6 x-github: githubCloudOnly: false @@ -87796,8 +88023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *358 - *359 + - *360 - 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 @@ -87859,7 +88086,7 @@ paths: required: false schema: type: string - - *261 + - *262 - name: sort description: What to sort results by. in: query @@ -87871,8 +88098,8 @@ paths: - updated - comments default: created - - *62 - - *95 + - *63 + - *96 - *17 - *19 responses: @@ -87882,7 +88109,7 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: default: &577 value: @@ -88032,8 +88259,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *70 - '301': *362 + Link: *71 + '301': *363 '422': *15 '404': *6 x-github: @@ -88062,8 +88289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -88170,7 +88397,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: &574 value: @@ -88333,9 +88560,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *122 + '503': *123 '404': *6 - '410': *562 + '410': *33 x-github: triggersNotification: true githubCloudOnly: false @@ -88373,9 +88600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *358 - *359 - - *112 + - *360 + - *113 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -88385,7 +88612,7 @@ paths: enum: - asc - desc - - *95 + - *96 - *17 - *19 responses: @@ -88429,7 +88656,7 @@ paths: author_association: COLLABORATOR minimized: headers: - Link: *70 + Link: *71 '422': *15 '404': *6 x-github: @@ -88456,9 +88683,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *358 - *359 - - *104 + - *360 + - *105 responses: '200': description: Response @@ -88522,9 +88749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *358 - *359 - - *104 + - *360 + - *105 requestBody: required: true content: @@ -88566,9 +88793,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *358 - *359 - - *104 + - *360 + - *105 responses: '204': description: Response @@ -88596,9 +88823,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *358 - *359 - - *104 + - *360 + - *105 responses: '200': description: Response @@ -88660,7 +88887,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *562 + '410': *33 '422': *15 x-github: githubCloudOnly: false @@ -88677,17 +88904,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *358 - *359 - - *104 + - *360 + - *105 responses: '204': description: Response '401': *25 '403': *29 '404': *6 - '410': *562 - '503': *122 + '410': *33 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88704,9 +88931,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *358 - *359 - - *104 + - *360 + - *105 - 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. @@ -88732,11 +88959,11 @@ paths: application/json: schema: type: array - items: *491 + items: *492 examples: default: *565 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -88755,9 +88982,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *358 - *359 - - *104 + - *360 + - *105 requestBody: required: true content: @@ -88789,16 +89016,16 @@ paths: description: Reaction exists content: application/json: - schema: *491 + schema: *492 examples: - default: *492 + default: *493 '201': description: Reaction created content: application/json: - schema: *491 + schema: *492 examples: - default: *492 + default: *493 '422': *15 x-github: githubCloudOnly: false @@ -88820,9 +89047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *358 - *359 - - *104 + - *360 + - *105 - *566 responses: '204': @@ -88843,8 +89070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -88943,7 +89170,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *210 + requested_team: *211 dismissed_review: title: Issue Event Dismissed Review type: object @@ -89057,7 +89284,7 @@ paths: type: string description: The reason for the referenced issue's state. nullable: true - repository: *67 + repository: *68 issue_type: title: Issue Type description: The type of the referenced issue. @@ -89111,7 +89338,7 @@ paths: nullable: true properties: *571 required: *572 - author_association: *85 + author_association: *86 lock_reason: type: string nullable: true @@ -89124,8 +89351,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 required: - id - node_id @@ -89292,7 +89519,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *70 + Link: *71 '422': *15 x-github: githubCloudOnly: false @@ -89310,8 +89537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *358 - *359 + - *360 - name: event_id in: path required: true @@ -89515,7 +89742,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *562 + '410': *33 '403': *29 x-github: githubCloudOnly: false @@ -89549,8 +89776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *358 - *359 + - *360 - &575 name: issue_number description: The number that identifies the issue. @@ -89563,7 +89790,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: summary: Issue @@ -89772,10 +89999,10 @@ paths: - op: remove path: "/value/assignee" version: '2026-03-10' - '301': *362 + '301': *363 '404': *6 - '410': *562 - '304': *37 + '410': *33 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89799,8 +90026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *358 - *359 + - *360 - *575 requestBody: required: false @@ -89942,17 +90169,17 @@ paths: application/json: schema: allOf: - - *88 + - *89 - type: object properties: {} examples: default: *574 '422': *15 - '503': *122 + '503': *123 '403': *29 - '301': *362 + '301': *363 '404': *6 - '410': *562 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89980,8 +90207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *358 - *359 + - *360 - *575 requestBody: required: false @@ -90008,7 +90235,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *574 x-github: @@ -90026,8 +90253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *358 - *359 + - *360 - *575 requestBody: content: @@ -90053,7 +90280,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *574 x-github: @@ -90077,8 +90304,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: - - *358 - *359 + - *360 - *575 - name: assignee in: path @@ -90119,10 +90346,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *358 - *359 + - *360 - *575 - - *95 + - *96 - *17 - *19 responses: @@ -90136,9 +90363,9 @@ paths: examples: default: *576 headers: - Link: *70 + Link: *71 '404': *6 - '410': *562 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90167,8 +90394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *358 - *359 + - *360 - *575 requestBody: required: true @@ -90200,7 +90427,7 @@ paths: schema: type: string '403': *29 - '410': *562 + '410': *33 '422': *15 '404': *6 x-github: @@ -90228,8 +90455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *358 - *359 + - *360 - *575 - *17 - *19 @@ -90240,14 +90467,14 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: default: *577 headers: - Link: *70 - '301': *362 + Link: *71 + '301': *363 '404': *6 - '410': *562 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90275,8 +90502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *358 - *359 + - *360 - *575 requestBody: required: true @@ -90299,7 +90526,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *574 headers: @@ -90307,9 +90534,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *362 + '301': *363 '403': *29 - '410': *562 + '410': *33 '422': *15 '404': *6 x-github: @@ -90340,8 +90567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *358 - *359 + - *360 - *575 - name: issue_id in: path @@ -90354,15 +90581,15 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *574 - '301': *362 + '301': *363 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *562 + '410': *33 x-github: triggersNotification: true githubCloudOnly: false @@ -90388,8 +90615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *358 - *359 + - *360 - *575 - *17 - *19 @@ -90400,14 +90627,14 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: default: *577 headers: - Link: *70 - '301': *362 + Link: *71 + '301': *363 '404': *6 - '410': *562 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90424,8 +90651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *358 - *359 + - *360 - *575 - *17 - *19 @@ -90471,8 +90698,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 label: type: object properties: @@ -90525,8 +90752,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 label: type: object properties: @@ -90614,8 +90841,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 assignee: *4 assigner: *4 required: @@ -90661,8 +90888,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 milestone: type: object properties: @@ -90712,8 +90939,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 milestone: type: object properties: @@ -90763,8 +90990,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 rename: type: object properties: @@ -90817,10 +91044,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 review_requester: *4 - requested_team: *210 + requested_team: *211 requested_reviewer: *4 required: - review_requester @@ -90864,10 +91091,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 review_requester: *4 - requested_team: *210 + requested_team: *211 requested_reviewer: *4 required: - review_requester @@ -90911,8 +91138,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 dismissed_review: type: object properties: @@ -90971,8 +91198,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 lock_reason: type: string example: '"off-topic"' @@ -91019,8 +91246,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 project_card: type: object properties: @@ -91085,8 +91312,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 project_card: type: object properties: @@ -91151,8 +91378,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 project_card: type: object properties: @@ -91273,8 +91500,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 issue_type: *570 required: - issue_type @@ -91318,8 +91545,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 prev_issue_type: *570 required: - prev_issue_type @@ -91363,8 +91590,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 issue_type: *570 prev_issue_type: *570 required: @@ -91410,8 +91637,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -91463,8 +91690,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -91516,8 +91743,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -91569,8 +91796,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -91622,8 +91849,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -91675,8 +91902,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -91728,8 +91955,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -91781,8 +92008,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -91837,8 +92064,8 @@ paths: name: label color: red headers: - Link: *70 - '410': *562 + Link: *71 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91855,8 +92082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *358 - *359 + - *360 - *575 - *17 - *19 @@ -91908,10 +92135,10 @@ paths: name: Backend color: green headers: - Link: *70 - '301': *362 + Link: *71 + '301': *363 '404': *6 - '410': *562 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91940,8 +92167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *358 - *359 + - *360 - *575 requestBody: required: true @@ -92019,7 +92246,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *122 + '503': *123 x-github: triggersNotification: true githubCloudOnly: false @@ -92050,8 +92277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *358 - *359 + - *360 - *575 requestBody: required: true @@ -92124,7 +92351,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *122 + '503': *123 x-github: triggersNotification: true githubCloudOnly: false @@ -92150,17 +92377,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: - - *358 - *359 + - *360 - *575 - - *257 + - *258 responses: '204': description: Issue field value deleted successfully '403': *29 '404': *6 '422': *15 - '503': *122 + '503': *123 x-github: triggersNotification: true githubCloudOnly: false @@ -92178,8 +92405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *358 - *359 + - *360 - *575 - *17 - *19 @@ -92190,7 +92417,7 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: default: &580 value: @@ -92209,10 +92436,10 @@ paths: color: a2eeef default: false headers: - Link: *70 - '301': *362 + Link: *71 + '301': *363 '404': *6 - '410': *562 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92228,8 +92455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *358 - *359 + - *360 - *575 requestBody: required: false @@ -92273,12 +92500,12 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: default: *580 - '301': *362 + '301': *363 '404': *6 - '410': *562 + '410': *33 '422': *15 x-github: githubCloudOnly: false @@ -92295,8 +92522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *358 - *359 + - *360 - *575 requestBody: required: false @@ -92357,12 +92584,12 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: default: *580 - '301': *362 + '301': *363 '404': *6 - '410': *562 + '410': *33 '422': *15 x-github: githubCloudOnly: false @@ -92379,15 +92606,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *358 - *359 + - *360 - *575 responses: '204': description: Response - '301': *362 + '301': *363 '404': *6 - '410': *562 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92406,8 +92633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *358 - *359 + - *360 - *575 - name: name in: path @@ -92421,7 +92648,7 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: default: value: @@ -92432,9 +92659,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *362 + '301': *363 '404': *6 - '410': *562 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92454,8 +92681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *358 - *359 + - *360 - *575 requestBody: required: false @@ -92484,7 +92711,7 @@ paths: '204': description: Response '403': *29 - '410': *562 + '410': *33 '404': *6 '422': *15 x-github: @@ -92502,8 +92729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *358 - *359 + - *360 - *575 responses: '204': @@ -92534,20 +92761,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *358 - *359 + - *360 - *575 responses: '200': description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *574 - '301': *362 + '301': *363 '404': *6 - '410': *562 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92564,8 +92791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *358 - *359 + - *360 - *575 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -92592,13 +92819,13 @@ paths: application/json: schema: type: array - items: *491 + items: *492 examples: default: *565 headers: - Link: *70 + Link: *71 '404': *6 - '410': *562 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92616,8 +92843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *358 - *359 + - *360 - *575 requestBody: required: true @@ -92650,16 +92877,16 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: *492 + default: *493 '201': description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: *492 + default: *493 '422': *15 x-github: githubCloudOnly: false @@ -92681,8 +92908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *358 - *359 + - *360 - *575 - *566 responses: @@ -92713,8 +92940,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *358 - *359 + - *360 - *575 requestBody: required: true @@ -92737,7 +92964,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *574 headers: @@ -92772,8 +92999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *358 - *359 + - *360 - *575 - *17 - *19 @@ -92784,13 +93011,13 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: default: *577 headers: - Link: *70 + Link: *71 '404': *6 - '410': *562 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92818,8 +93045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *358 - *359 + - *360 - *575 requestBody: required: true @@ -92847,7 +93074,7 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *574 headers: @@ -92856,7 +93083,7 @@ paths: schema: type: string '403': *29 - '410': *562 + '410': *33 '422': *15 '404': *6 x-github: @@ -92876,8 +93103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *358 - *359 + - *360 - *575 requestBody: required: true @@ -92909,13 +93136,13 @@ paths: description: Response content: application/json: - schema: *88 + schema: *89 examples: default: *574 '403': *29 '404': *6 '422': *7 - '503': *122 + '503': *123 x-github: triggersNotification: true githubCloudOnly: false @@ -92933,8 +93160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *358 - *359 + - *360 - *575 - *17 - *19 @@ -93005,7 +93232,7 @@ paths: issue_url: type: string format: uri - author_association: *85 + author_association: *86 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -93015,9 +93242,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 - reactions: *86 + properties: *84 + required: *85 + reactions: *87 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and @@ -93063,7 +93290,7 @@ paths: properties: type: type: string - issue: *88 + issue: *89 required: - event - created_at @@ -93263,7 +93490,7 @@ paths: type: string body_text: type: string - author_association: *85 + author_association: *86 required: - event - id @@ -93286,7 +93513,7 @@ paths: type: string comments: type: array - items: &628 + items: &629 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -93381,7 +93608,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *85 + author_association: *86 _links: type: object properties: @@ -93465,7 +93692,7 @@ paths: enum: - line - file - reactions: *86 + reactions: *87 body_html: type: string example: '"

comment body

"' @@ -93501,7 +93728,7 @@ paths: type: string comments: type: array - items: *490 + items: *491 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -93532,8 +93759,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 assignee: *4 required: - id @@ -93576,8 +93803,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 assignee: *4 required: - id @@ -93620,8 +93847,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 state_reason: type: string nullable: true @@ -93799,10 +94026,10 @@ paths: type: User site_admin: true headers: - Link: *70 + Link: *71 '404': *6 '400': *14 - '410': *562 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93819,8 +94046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -93880,7 +94107,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93896,8 +94123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -93969,8 +94196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *358 - *359 + - *360 - &611 name: key_id description: The unique identifier of the key. @@ -94003,8 +94230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *358 - *359 + - *360 - *611 responses: '204': @@ -94025,8 +94252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -94036,11 +94263,11 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: default: *580 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -94059,8 +94286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -94096,7 +94323,7 @@ paths: description: Response content: application/json: - schema: *87 + schema: *88 examples: default: &612 value: @@ -94130,8 +94357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *358 - *359 + - *360 - name: name in: path required: true @@ -94142,7 +94369,7 @@ paths: description: Response content: application/json: - schema: *87 + schema: *88 examples: default: *612 '404': *6 @@ -94161,8 +94388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *358 - *359 + - *360 - name: name in: path required: true @@ -94201,7 +94428,7 @@ paths: description: Response content: application/json: - schema: *87 + schema: *88 examples: default: value: @@ -94227,8 +94454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *358 - *359 + - *360 - name: name in: path required: true @@ -94254,8 +94481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -94294,9 +94521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *358 - *359 - - *463 + - *360 + - *464 responses: '200': description: Response @@ -94358,8 +94585,8 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true required: - _links @@ -94441,8 +94668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -94507,8 +94734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -94542,7 +94769,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *493 + schema: *494 examples: default: *613 '204': @@ -94569,8 +94796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *358 - *359 + - *360 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -94615,8 +94842,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *295 - required: *296 + properties: *296 + required: *297 examples: default: value: @@ -94655,7 +94882,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -94672,8 +94899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -94774,8 +95001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *358 - *359 + - *360 - &616 name: milestone_number description: The number that identifies the milestone. @@ -94807,8 +95034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *358 - *359 + - *360 - *616 requestBody: required: false @@ -94865,8 +95092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *358 - *359 + - *360 - *616 responses: '204': @@ -94888,8 +95115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *358 - *359 + - *360 - *616 - *17 - *19 @@ -94900,11 +95127,11 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: default: *580 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94921,11 +95148,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *358 - *359 + - *360 - *617 - *618 - - *95 + - *96 - *619 - *17 - *19 @@ -94936,11 +95163,11 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *620 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94962,8 +95189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *358 - *359 + - *360 requestBody: required: false content: @@ -95021,8 +95248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -95194,8 +95421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -95253,7 +95480,7 @@ paths: examples: default: *622 '422': *15 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95274,8 +95501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -95353,7 +95580,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95374,14 +95601,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *358 - *359 + - *360 responses: '204': description: Response '422': *15 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95401,8 +95628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -95487,7 +95714,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95506,8 +95733,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *358 - *359 + - *360 responses: '201': description: Response @@ -95552,8 +95779,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -95609,8 +95836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *358 - *359 + - *360 - name: build_id in: path required: true @@ -95643,8 +95870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -95749,8 +95976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *358 - *359 + - *360 - &625 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -95809,11 +96036,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *358 - *359 + - *360 - *625 responses: - '204': *61 + '204': *60 '404': *6 x-github: githubCloudOnly: false @@ -95838,8 +96065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -96070,7 +96297,7 @@ paths: description: Empty response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -96097,8 +96324,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: - - *358 - *359 + - *360 responses: '200': description: Private vulnerability reporting status @@ -96135,10 +96362,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *358 - *359 + - *360 responses: - '204': *61 + '204': *60 '422': *14 x-github: githubCloudOnly: false @@ -96157,10 +96384,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *358 - *359 + - *360 responses: - '204': *61 + '204': *60 '422': *14 x-github: githubCloudOnly: false @@ -96180,8 +96407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -96189,7 +96416,7 @@ paths: application/json: schema: type: array - items: *310 + items: *311 examples: default: value: @@ -96220,8 +96447,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: - - *358 - *359 + - *360 requestBody: required: true content: @@ -96233,7 +96460,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *310 + items: *311 required: - properties examples: @@ -96283,8 +96510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *358 - *359 + - *360 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -96344,12 +96571,12 @@ paths: application/json: schema: type: array - items: *497 + items: *498 examples: default: *626 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '422': *15 x-github: githubCloudOnly: false @@ -96378,8 +96605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -96444,7 +96671,7 @@ paths: description: Response content: application/json: - schema: &630 + schema: &631 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -96555,8 +96782,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *295 - required: *296 + properties: *296 + required: *297 nullable: true active_lock_reason: type: string @@ -96599,7 +96826,7 @@ paths: items: *4 requested_teams: type: array - items: *350 + items: *351 head: type: object properties: @@ -96607,7 +96834,7 @@ paths: type: string ref: type: string - repo: *82 + repo: *83 sha: type: string user: *4 @@ -96624,7 +96851,7 @@ paths: type: string ref: type: string - repo: *82 + repo: *83 sha: type: string user: *4 @@ -96637,14 +96864,14 @@ paths: _links: type: object properties: - comments: *297 - commits: *297 - statuses: *297 - html: *297 - issue: *297 - review_comments: *297 - review_comment: *297 - self: *297 + comments: *298 + commits: *298 + statuses: *298 + html: *298 + issue: *298 + review_comments: *298 + review_comment: *298 + self: *298 required: - comments - commits @@ -96654,8 +96881,9 @@ paths: - review_comments - review_comment - self - author_association: *85 + author_association: *86 auto_merge: *627 + stack: *628 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -96841,7 +97069,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &631 + default: &632 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -97379,8 +97607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *358 - *359 + - *360 - name: sort in: query required: false @@ -97399,7 +97627,7 @@ paths: enum: - asc - desc - - *95 + - *96 - *17 - *19 responses: @@ -97409,9 +97637,9 @@ paths: application/json: schema: type: array - items: *628 + items: *629 examples: - default: &633 + default: &634 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97463,7 +97691,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97488,17 +97716,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *358 - *359 - - *104 + - *360 + - *105 responses: '200': description: Response content: application/json: - schema: *628 + schema: *629 examples: - default: &629 + default: &630 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97573,9 +97801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *358 - *359 - - *104 + - *360 + - *105 requestBody: required: true content: @@ -97597,9 +97825,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *629 examples: - default: *629 + default: *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97615,9 +97843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *358 - *359 - - *104 + - *360 + - *105 responses: '204': description: Response @@ -97638,9 +97866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *358 - *359 - - *104 + - *360 + - *105 - 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. @@ -97666,11 +97894,11 @@ paths: application/json: schema: type: array - items: *491 + items: *492 examples: default: *565 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -97689,9 +97917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *358 - *359 - - *104 + - *360 + - *105 requestBody: required: true content: @@ -97723,16 +97951,16 @@ paths: description: Reaction exists content: application/json: - schema: *491 + schema: *492 examples: - default: *492 + default: *493 '201': description: Reaction created content: application/json: - schema: *491 + schema: *492 examples: - default: *492 + default: *493 '422': *15 x-github: githubCloudOnly: false @@ -97754,9 +97982,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *358 - *359 - - *104 + - *360 + - *105 - *566 responses: '204': @@ -97800,9 +98028,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *358 - *359 - - &632 + - *360 + - &633 name: pull_number description: The number that identifies the pull request. in: path @@ -97815,18 +98043,18 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *630 + schema: *631 examples: - default: *631 - '304': *37 + default: *632 + '304': *38 '404': *6 '406': description: Unacceptable content: application/json: schema: *3 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97852,9 +98080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *358 - *359 - - *632 + - *360 + - *633 requestBody: required: false content: @@ -97896,9 +98124,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *631 examples: - default: *631 + default: *632 '422': *15 '403': *29 x-github: @@ -97920,9 +98148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *358 - *359 - - *632 + - *360 + - *633 requestBody: required: true content: @@ -97982,21 +98210,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *263 + schema: *264 examples: - default: *480 + default: *481 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *263 + schema: *264 examples: - default: *480 + default: *481 '401': *25 '403': *29 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98022,10 +98250,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *358 - *359 - - *632 - - *112 + - *360 + - *633 + - *113 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -98035,7 +98263,7 @@ paths: enum: - asc - desc - - *95 + - *96 - *17 - *19 responses: @@ -98045,11 +98273,11 @@ paths: application/json: schema: type: array - items: *628 + items: *629 examples: - default: *633 + default: *634 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98080,9 +98308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *358 - *359 - - *632 + - *360 + - *633 requestBody: required: true content: @@ -98187,7 +98415,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *629 examples: example-for-a-multi-line-comment: value: @@ -98275,10 +98503,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *358 - *359 - - *632 - - *104 + - *360 + - *633 + - *105 requestBody: required: true content: @@ -98300,7 +98528,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *629 examples: default: value: @@ -98386,9 +98614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *358 - *359 - - *632 + - *360 + - *633 - *17 - *19 responses: @@ -98398,11 +98626,11 @@ paths: application/json: schema: type: array - items: *493 + items: *494 examples: - default: *634 + default: *635 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98430,9 +98658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *358 - *359 - - *632 + - *360 + - *633 - *17 - *19 responses: @@ -98442,7 +98670,7 @@ paths: application/json: schema: type: array - items: *506 + items: *507 examples: default: value: @@ -98458,10 +98686,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *70 + Link: *71 '422': *15 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98480,9 +98708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *358 - *359 - - *632 + - *360 + - *633 responses: '204': description: Response if pull request has been merged @@ -98505,9 +98733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *358 - *359 - - *632 + - *360 + - *633 requestBody: required: false content: @@ -98618,9 +98846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *358 - *359 - - *632 + - *360 + - *633 responses: '200': description: Response @@ -98636,7 +98864,7 @@ paths: items: *4 teams: type: array - items: *210 + items: *211 required: - users - teams @@ -98677,7 +98905,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98695,9 +98923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *358 - *359 - - *632 + - *360 + - *633 requestBody: required: false content: @@ -98734,7 +98962,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *498 examples: default: value: @@ -99270,9 +99498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *358 - *359 - - *632 + - *360 + - *633 requestBody: required: true content: @@ -99306,7 +99534,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *498 examples: default: value: @@ -99822,9 +100050,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *358 - *359 - - *632 + - *360 + - *633 - *17 - *19 responses: @@ -99834,7 +100062,7 @@ paths: application/json: schema: type: array - items: &635 + items: &636 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -99903,7 +100131,7 @@ paths: type: string body_text: type: string - author_association: *85 + author_association: *86 required: - id - node_id @@ -99952,7 +100180,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99985,9 +100213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *358 - *359 - - *632 + - *360 + - *633 requestBody: required: false content: @@ -100073,9 +100301,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: &637 + default: &638 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100138,10 +100366,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *358 - *359 - - *632 - - &636 + - *360 + - *633 + - &637 name: review_id description: The unique identifier of the review. in: path @@ -100153,9 +100381,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: &638 + default: &639 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100214,10 +100442,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *358 - *359 - - *632 - - *636 + - *360 + - *633 + - *637 requestBody: required: true content: @@ -100240,7 +100468,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: default: value: @@ -100302,18 +100530,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *358 - *359 - - *632 - - *636 + - *360 + - *633 + - *637 responses: '200': description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: *637 + default: *638 '422': *7 '404': *6 x-github: @@ -100340,10 +100568,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *358 - *359 - - *632 - - *636 + - *360 + - *633 + - *637 - *17 - *19 responses: @@ -100422,13 +100650,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *85 + author_association: *86 _links: type: object properties: - self: *297 - html: *297 - pull_request: *297 + self: *298 + html: *298 + pull_request: *298 required: - self - html @@ -100437,7 +100665,7 @@ paths: type: string body_html: type: string - reactions: *86 + reactions: *87 side: description: The side of the first line of the range for a multi-line comment. @@ -100549,7 +100777,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -100578,10 +100806,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *358 - *359 - - *632 - - *636 + - *360 + - *633 + - *637 requestBody: required: true content: @@ -100609,7 +100837,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: default: value: @@ -100672,10 +100900,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *358 - *359 - - *632 - - *636 + - *360 + - *633 + - *637 requestBody: required: true content: @@ -100710,9 +100938,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: *638 + default: *639 '404': *6 '422': *7 '403': *29 @@ -100734,9 +100962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *358 - *359 - - *632 + - *360 + - *633 requestBody: required: false content: @@ -100799,8 +101027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *358 - *359 + - *360 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -100813,9 +101041,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: &640 + default: &641 value: type: file encoding: base64 @@ -100832,7 +101060,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': *37 + '304': *38 '404': *6 '422': *15 x-github: @@ -100857,8 +101085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *358 - *359 + - *360 - name: dir description: The alternate path to look for a README file in: path @@ -100878,9 +101106,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *640 + default: *641 '404': *6 '422': *15 x-github: @@ -100902,8 +101130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -100913,7 +101141,7 @@ paths: application/json: schema: type: array - items: *641 + items: *642 examples: default: value: @@ -100987,7 +101215,7 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -101007,8 +101235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -101084,9 +101312,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: - default: &645 + default: &646 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -101191,9 +101419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *358 - *359 - - &643 + - *360 + - &644 name: asset_id description: The unique identifier of the asset. in: path @@ -101205,9 +101433,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: - default: &644 + default: &645 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 @@ -101242,7 +101470,7 @@ paths: type: User site_admin: false '404': *6 - '302': *510 + '302': *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101258,9 +101486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *358 - *359 - - *643 + - *360 + - *644 requestBody: required: false content: @@ -101288,9 +101516,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: - default: *644 + default: *645 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101306,9 +101534,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *358 - *359 - - *643 + - *360 + - *644 responses: '204': description: Response @@ -101333,8 +101561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -101419,16 +101647,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *358 - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *641 + schema: *642 examples: - default: *645 + default: *646 '404': *6 x-github: githubCloudOnly: false @@ -101446,8 +101674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *358 - *359 + - *360 - name: tag description: tag parameter in: path @@ -101460,9 +101688,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: - default: *645 + default: *646 '404': *6 x-github: githubCloudOnly: false @@ -101484,9 +101712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *358 - *359 - - &646 + - *360 + - &647 name: release_id description: The unique identifier of the release. in: path @@ -101500,9 +101728,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: *641 + schema: *642 examples: - default: *645 + default: *646 '401': description: Unauthorized x-github: @@ -101520,9 +101748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *358 - *359 - - *646 + - *360 + - *647 requestBody: required: false content: @@ -101586,9 +101814,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: - default: *645 + default: *646 '404': description: Not Found if the discussion category name is invalid content: @@ -101609,9 +101837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *358 - *359 - - *646 + - *360 + - *647 responses: '204': description: Response @@ -101632,9 +101860,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *358 - *359 - - *646 + - *360 + - *647 - *17 - *19 responses: @@ -101644,7 +101872,7 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: default: value: @@ -101681,7 +101909,7 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101725,9 +101953,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: - - *358 - *359 - - *646 + - *360 + - *647 - name: name in: query required: true @@ -101753,7 +101981,7 @@ paths: description: Response for successful upload content: application/json: - schema: *642 + schema: *643 examples: response-for-successful-upload: value: @@ -101808,9 +102036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *358 - *359 - - *646 + - *360 + - *647 - 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. @@ -101834,11 +102062,11 @@ paths: application/json: schema: type: array - items: *491 + items: *492 examples: default: *565 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -101857,9 +102085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *358 - *359 - - *646 + - *360 + - *647 requestBody: required: true content: @@ -101889,16 +102117,16 @@ paths: description: Reaction exists content: application/json: - schema: *491 + schema: *492 examples: - default: *492 + default: *493 '201': description: Reaction created content: application/json: - schema: *491 + schema: *492 examples: - default: *492 + default: *493 '422': *15 x-github: githubCloudOnly: false @@ -101920,9 +102148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *358 - *359 - - *646 + - *360 + - *647 - *566 responses: '204': @@ -101947,9 +102175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *358 - *359 - - *424 + - *360 + - *425 - *17 - *19 responses: @@ -101965,8 +102193,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *320 - - &647 + - *321 + - &648 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -101985,72 +102213,72 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *321 - - *647 - allOf: - *322 - - *647 + - *648 - allOf: - *323 - - *647 - - allOf: - *648 - - *647 - allOf: - *324 - - *647 + - *648 + - allOf: + - *649 + - *648 - allOf: - *325 - - *647 + - *648 - allOf: - *326 - - *647 + - *648 - allOf: - *327 - - *647 + - *648 - allOf: - *328 - - *647 + - *648 - allOf: - *329 - - *647 + - *648 - allOf: - *330 - - *647 + - *648 - allOf: - *331 - - *647 + - *648 - allOf: - *332 - - *647 + - *648 - allOf: - *333 - - *647 + - *648 - allOf: - - *338 - - *647 + - *334 + - *648 - allOf: - *339 - - *647 + - *648 - allOf: - *340 - - *647 + - *648 - allOf: - - *649 - - *647 + - *341 + - *648 - allOf: - - *334 - - *647 + - *650 + - *648 - allOf: - *335 - - *647 + - *648 - allOf: - *336 - - *647 + - *648 - allOf: - *337 - - *647 + - *648 + - allOf: + - *338 + - *648 examples: default: value: @@ -102089,8 +102317,8 @@ paths: category: repos subcategory: rules parameters: - - *358 - *359 + - *360 - *17 - *19 - name: includes_parents @@ -102101,7 +102329,7 @@ paths: schema: type: boolean default: true - - *650 + - *651 responses: '200': description: Response @@ -102109,7 +102337,7 @@ paths: application/json: schema: type: array - items: *341 + items: *342 examples: default: value: @@ -102140,7 +102368,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *55 + '500': *56 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -102156,8 +102384,8 @@ paths: category: repos subcategory: rules parameters: - - *358 - *359 + - *360 requestBody: description: Request body required: true @@ -102177,16 +102405,16 @@ paths: - tag - push default: branch - enforcement: *317 + enforcement: *318 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *318 - conditions: *315 + items: *319 + conditions: *316 rules: type: array description: An array of rules within the ruleset. - items: *651 + items: *652 required: - name - enforcement @@ -102217,9 +102445,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: - default: &662 + default: &663 value: id: 42 name: super cool ruleset @@ -102253,7 +102481,7 @@ paths: updated_at: '2023-08-23T16:29:47Z' '404': *6 '422': *15 - '500': *55 + '500': *56 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -102267,13 +102495,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *358 - *359 - - *652 + - *360 - *653 - *654 - *655 - *656 + - *657 - *17 - *19 responses: @@ -102281,11 +102509,11 @@ paths: description: Response content: application/json: - schema: *657 + schema: *658 examples: - default: *658 + default: *659 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102304,19 +102532,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *358 - *359 - - *659 + - *360 + - *660 responses: '200': description: Response content: application/json: - schema: *660 + schema: *661 examples: - default: *661 + default: *662 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102342,8 +102570,8 @@ paths: category: repos subcategory: rules parameters: - - *358 - *359 + - *360 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102363,11 +102591,11 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: - default: *662 + default: *663 '404': *6 - '500': *55 + '500': *56 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -102383,8 +102611,8 @@ paths: category: repos subcategory: rules parameters: - - *358 - *359 + - *360 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102409,16 +102637,16 @@ paths: - branch - tag - push - enforcement: *317 + enforcement: *318 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *318 - conditions: *315 + items: *319 + conditions: *316 rules: description: An array of rules within the ruleset. type: array - items: *651 + items: *652 examples: default: value: @@ -102446,12 +102674,12 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: - default: *662 + default: *663 '404': *6 '422': *15 - '500': *55 + '500': *56 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -102467,8 +102695,8 @@ paths: category: repos subcategory: rules parameters: - - *358 - *359 + - *360 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102479,7 +102707,7 @@ paths: '204': description: Response '404': *6 - '500': *55 + '500': *56 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -102491,8 +102719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *358 - *359 + - *360 - *17 - *19 - name: ruleset_id @@ -102508,11 +102736,11 @@ paths: application/json: schema: type: array - items: *344 + items: *345 examples: - default: *663 + default: *664 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102529,8 +102757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *358 - *359 + - *360 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102548,7 +102776,7 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: default: value: @@ -102581,7 +102809,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102603,9 +102831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *358 - *359 - - *665 + - *360 - *666 - *667 - *668 @@ -102613,10 +102840,10 @@ paths: - *670 - *671 - *672 - - *62 + - *673 + - *63 - *19 - *17 - - *673 - *674 - *675 - *676 @@ -102625,6 +102852,7 @@ paths: - *679 - *680 - *681 + - *682 responses: '200': description: Response @@ -102635,8 +102863,8 @@ paths: items: type: object properties: - number: *188 - created_at: *189 + number: *189 + created_at: *190 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -102644,15 +102872,15 @@ paths: format: date-time readOnly: true nullable: true - url: *191 - html_url: *192 + url: *192 + html_url: *193 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *682 - resolution: *683 + state: *683 + resolution: *684 resolved_at: type: string format: date-time @@ -102758,7 +102986,7 @@ paths: pull request. ' - oneOf: *684 + oneOf: *685 nullable: true has_more_locations: type: boolean @@ -102900,7 +103128,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102922,20 +103150,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *358 - *359 - - *457 - - *678 + - *360 + - *458 + - *679 responses: '200': description: Response content: application/json: - schema: &685 + schema: &686 type: object properties: - number: *188 - created_at: *189 + number: *189 + created_at: *190 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -102943,14 +103171,14 @@ paths: format: date-time readOnly: true nullable: true - url: *191 - html_url: *192 + url: *192 + html_url: *193 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *682 - resolution: *683 + state: *683 + resolution: *684 resolved_at: type: string format: date-time @@ -103056,7 +103284,7 @@ paths: pull request. ' - oneOf: *684 + oneOf: *685 nullable: true has_more_locations: type: boolean @@ -103084,7 +103312,7 @@ paths: properties: *20 required: *21 nullable: true - metadata: &858 + metadata: &859 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -103130,11 +103358,11 @@ paths: metadata: - key: owner_email value: owner@example.com - '304': *37 + '304': *38 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103157,9 +103385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *358 - *359 - - *457 + - *360 + - *458 requestBody: required: true content: @@ -103167,8 +103395,8 @@ paths: schema: type: object properties: - state: *682 - resolution: *683 + state: *683 + resolution: *684 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103212,7 +103440,7 @@ paths: description: Response content: application/json: - schema: *685 + schema: *686 examples: default: value: @@ -103292,7 +103520,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': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -103314,9 +103542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *358 - *359 - - *457 + - *360 + - *458 - *19 - *17 responses: @@ -103327,7 +103555,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &860 + items: &861 type: object properties: type: @@ -103353,7 +103581,6 @@ paths: example: commit details: oneOf: - - *686 - *687 - *688 - *689 @@ -103366,6 +103593,7 @@ paths: - *696 - *697 - *698 + - *699 examples: default: value: @@ -103425,11 +103653,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *70 + Link: *71 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103454,12 +103682,12 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *358 - *359 - - *699 + - *360 - *700 - *701 - - *62 + - *702 + - *63 - *19 - *17 responses: @@ -103469,11 +103697,11 @@ paths: application/json: schema: type: array - items: *345 + items: *346 examples: - default: *702 + default: *703 headers: - Link: *70 + Link: *71 '403': *29 '404': *6 post: @@ -103494,8 +103722,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -103508,9 +103736,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *703 + items: *704 examples: - default: *704 + default: *705 responses: '201': description: All patterns created successfully. @@ -103522,9 +103750,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *345 + items: *346 examples: - default: *705 + default: *706 '400': *14 '403': *29 '404': *6 @@ -103548,7 +103776,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *706 + items: *707 delete: summary: Bulk delete repository custom patterns description: |- @@ -103567,8 +103795,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -103582,7 +103810,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *707 + items: *708 post_delete_action: type: string description: |- @@ -103595,14 +103823,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *708 + default: *709 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *29 '404': *6 - '412': *347 + '412': *348 "/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update a repository custom pattern @@ -103622,8 +103850,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *358 - *359 + - *360 - name: pattern_id in: path required: true @@ -103634,21 +103862,21 @@ paths: required: true content: application/json: - schema: *709 + schema: *710 examples: - default: *710 + default: *711 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *345 + schema: *346 examples: - default: *711 + default: *712 '400': *14 '403': *29 '404': *6 - '412': *347 + '412': *348 '422': *15 "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": post: @@ -103666,8 +103894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -103675,14 +103903,14 @@ paths: schema: type: object properties: - reason: &713 + reason: &714 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *712 + placeholder_id: *713 required: - reason - placeholder_id @@ -103699,7 +103927,7 @@ paths: schema: type: object properties: - reason: *713 + reason: *714 expire_at: type: string format: date-time @@ -103722,7 +103950,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *122 + '503': *123 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -103745,13 +103973,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: - - *358 - *359 + - *360 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *122 + '503': *123 '200': description: Response content: @@ -103761,7 +103989,7 @@ paths: properties: incremental_scans: type: array - items: &714 + items: &715 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103792,15 +104020,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *714 + items: *715 backfill_scans: type: array - items: *714 + items: *715 custom_pattern_backfill_scans: type: array items: allOf: - - *714 + - *715 - type: object properties: pattern_name: @@ -103813,7 +104041,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *714 + items: *715 examples: default: value: @@ -103878,9 +104106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *358 - *359 - - *62 + - *360 + - *63 - name: sort description: The property to sort the results by. in: query @@ -103892,8 +104120,8 @@ paths: - updated - published default: created - - *47 - *48 + - *49 - 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)." @@ -103923,9 +104151,9 @@ paths: application/json: schema: type: array - items: *715 + items: *716 examples: - default: *716 + default: *717 '400': *14 '404': *6 x-github: @@ -103948,8 +104176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -104022,7 +104250,7 @@ paths: login: type: string description: The username of the user credited. - type: *349 + type: *350 required: - login - type @@ -104109,9 +104337,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *716 examples: - default: &718 + default: &719 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -104350,8 +104578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -104455,7 +104683,7 @@ paths: description: Response content: application/json: - schema: *715 + schema: *716 examples: default: value: @@ -104608,17 +104836,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *358 - *359 - - *717 + - *360 + - *718 responses: '200': description: Response content: application/json: - schema: *715 + schema: *716 examples: - default: *718 + default: *719 '403': *29 '404': *6 x-github: @@ -104642,9 +104870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *358 - *359 - - *717 + - *360 + - *718 requestBody: required: true content: @@ -104717,7 +104945,7 @@ paths: login: type: string description: The username of the user credited. - type: *349 + type: *350 required: - login - type @@ -104803,17 +105031,17 @@ paths: description: Response content: application/json: - schema: *715 + schema: *716 examples: - default: *718 - add_credit: *718 + default: *719 + add_credit: *719 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *132 + schema: *133 examples: invalid_state_transition: value: @@ -104844,11 +105072,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: - - *358 - *359 - - *717 + - *360 + - *718 responses: - '202': *39 + '202': *40 '400': *14 '403': *29 '404': *6 @@ -104873,17 +105101,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *358 - *359 - - *717 + - *360 + - *718 responses: '202': description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: *363 + default: *364 '400': *14 '422': *15 '403': *29 @@ -104909,8 +105137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -104987,7 +105215,7 @@ paths: type: User site_admin: false headers: - Link: *70 + Link: *71 '422': *15 x-github: githubCloudOnly: false @@ -105009,8 +105237,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *358 - *359 + - *360 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -105019,7 +105247,7 @@ paths: application/json: schema: type: array - items: &719 + items: &720 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -105031,8 +105259,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *39 - '204': *61 + '202': *40 + '204': *60 '422': description: Repository contains more than 10,000 commits x-github: @@ -105052,8 +105280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -105101,8 +105329,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *39 - '204': *61 + '202': *40 + '204': *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105129,8 +105357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -105203,8 +105431,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *39 - '204': *61 + '202': *40 + '204': *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105226,8 +105454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *358 - *359 + - *360 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -105381,8 +105609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *358 - *359 + - *360 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -105392,7 +105620,7 @@ paths: application/json: schema: type: array - items: *719 + items: *720 examples: default: value: @@ -105405,7 +105633,7 @@ paths: - - 0 - 2 - 21 - '204': *61 + '204': *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105425,8 +105653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *358 - *359 + - *360 - name: sha in: path required: true @@ -105480,7 +105708,7 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: default: value: @@ -105534,8 +105762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -105547,9 +105775,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105567,14 +105795,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *358 - *359 + - *360 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &721 + schema: &722 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -105642,8 +105870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *358 - *359 + - *360 requestBody: required: false content: @@ -105669,7 +105897,7 @@ paths: description: Response content: application/json: - schema: *721 + schema: *722 examples: default: value: @@ -105696,8 +105924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *358 - *359 + - *360 responses: '204': description: Response @@ -105717,8 +105945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -105774,7 +106002,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105797,8 +106025,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *358 - *359 + - *360 - name: ref in: path required: true @@ -105834,8 +106062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *358 - *359 + - *360 - *17 - *19 responses: @@ -105845,11 +106073,11 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - default: *275 + default: *276 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -105867,8 +106095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *358 - *359 + - *360 - *19 - *17 responses: @@ -105876,7 +106104,7 @@ paths: description: Response content: application/json: - schema: &722 + schema: &723 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -105888,7 +106116,7 @@ paths: required: - names examples: - default: &723 + default: &724 value: names: - octocat @@ -105911,8 +106139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -105943,9 +106171,9 @@ paths: description: Response content: application/json: - schema: *722 + schema: *723 examples: - default: *723 + default: *724 '404': *6 '422': *7 x-github: @@ -105966,9 +106194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *358 - *359 - - &724 + - *360 + - &725 name: per description: The time frame to display results for. in: query @@ -105997,7 +106225,7 @@ paths: example: 128 clones: type: array - items: &725 + items: &726 title: Traffic type: object properties: @@ -106084,8 +106312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -106175,8 +106403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *358 - *359 + - *360 responses: '200': description: Response @@ -106236,9 +106464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *358 - *359 - - *724 + - *360 + - *725 responses: '200': description: Response @@ -106257,7 +106485,7 @@ paths: example: 3782 views: type: array - items: *725 + items: *726 required: - uniques - count @@ -106334,8 +106562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *358 - *359 + - *360 requestBody: required: true content: @@ -106371,7 +106599,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *164 examples: default: value: @@ -106615,8 +106843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *358 - *359 + - *360 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106639,8 +106867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *358 - *359 + - *360 responses: '204': description: Response @@ -106662,8 +106890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *358 - *359 + - *360 responses: '204': description: Response @@ -106689,8 +106917,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *358 - *359 + - *360 - name: ref in: path required: true @@ -106782,9 +107010,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: *363 + default: *364 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106825,7 +107053,7 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: default: value: @@ -106901,7 +107129,7 @@ paths: schema: type: string '422': *15 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107017,7 +107245,7 @@ paths: html_url: type: string format: uri - repository: *163 + repository: *164 score: type: number file_size: @@ -107035,7 +107263,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &726 + text_matches: &727 title: Search Result Text Matches type: array items: @@ -107148,8 +107376,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': *37 - '503': *122 + '304': *38 + '503': *123 '422': *15 '403': *29 x-github: @@ -107197,7 +107425,7 @@ paths: enum: - author-date - committer-date - - &727 + - &728 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 @@ -107268,7 +107496,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *422 + properties: *423 nullable: true comment_count: type: integer @@ -107288,7 +107516,7 @@ paths: url: type: string format: uri - verification: *546 + verification: *547 required: - author - committer @@ -107307,7 +107535,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *422 + properties: *423 nullable: true parents: type: array @@ -107320,12 +107548,12 @@ paths: type: string sha: type: string - repository: *163 + repository: *164 score: type: number node_id: type: string - text_matches: *726 + text_matches: *727 required: - sha - node_id @@ -107454,7 +107682,7 @@ paths: deployments_url: https://api.github.com/repos/octocat/Spoon-Knife/deployments score: 1 node_id: MDQ6VXNlcjU4MzIzMQ== - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107517,7 +107745,7 @@ paths: - interactions - created - updated - - *727 + - *728 - *17 - *19 - name: advanced_search @@ -107631,8 +107859,8 @@ paths: description: type: string nullable: true - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 issue_field_values: type: array items: *578 @@ -107652,8 +107880,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *295 - required: *296 + properties: *296 + required: *297 nullable: true comments: type: integer @@ -107667,7 +107895,7 @@ paths: type: string format: date-time nullable: true - text_matches: *726 + text_matches: *727 pull_request: type: object properties: @@ -107700,10 +107928,10 @@ paths: type: string score: type: number - author_association: *85 + author_association: *86 draft: type: boolean - repository: *82 + repository: *83 body_html: type: string body_text: @@ -107711,7 +107939,7 @@ paths: timeline_url: type: string format: uri - type: *258 + type: *259 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -107721,17 +107949,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - reactions: *86 + reactions: *87 required: - assignee - closed_at @@ -107929,9 +108157,9 @@ paths: - quoted_text items: - "..." - '503': *122 + '503': *123 '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -107983,7 +108211,7 @@ paths: enum: - created - updated - - *727 + - *728 - *17 - *19 responses: @@ -108027,7 +108255,7 @@ paths: nullable: true score: type: number - text_matches: *726 + text_matches: *727 required: - id - node_id @@ -108059,7 +108287,7 @@ paths: default: true description: Something isn't working. score: 1 - '304': *37 + '304': *38 '404': *6 '403': *29 '422': *15 @@ -108112,7 +108340,7 @@ paths: - forks - help-wanted-issues - updated - - *727 + - *728 - *17 - *19 responses: @@ -108340,8 +108568,8 @@ paths: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true permissions: type: object @@ -108360,7 +108588,7 @@ paths: - admin - pull - push - text_matches: *726 + text_matches: *727 temp_clone_token: type: string allow_merge_commit: @@ -108562,9 +108790,9 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *122 + '503': *123 '422': *15 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108660,7 +108888,7 @@ paths: type: string format: uri nullable: true - text_matches: *726 + text_matches: *727 related: type: array nullable: true @@ -108801,7 +109029,7 @@ paths: featured: true curated: true score: 1 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108851,7 +109079,7 @@ paths: - followers - repositories - joined - - *727 + - *728 - *17 - *19 responses: @@ -108955,7 +109183,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *726 + text_matches: *727 blog: type: string nullable: true @@ -109013,8 +109241,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': *37 - '503': *122 + '304': *38 + '503': *123 '422': *15 x-github: githubCloudOnly: false @@ -109034,7 +109262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &730 + - &731 name: team_id description: The unique identifier of the team. in: path @@ -109046,9 +109274,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *355 examples: - default: *355 + default: *356 '404': *6 x-github: githubCloudOnly: false @@ -109075,7 +109303,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *730 + - *731 requestBody: required: true content: @@ -109138,16 +109366,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *354 + schema: *355 examples: - default: *355 + default: *356 '201': description: Response content: application/json: - schema: *354 + schema: *355 examples: - default: *355 + default: *356 '404': *6 '422': *15 '403': *29 @@ -109175,7 +109403,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *730 + - *731 responses: '204': description: Response @@ -109204,7 +109432,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *730 + - *731 - *17 - *19 responses: @@ -109214,11 +109442,11 @@ paths: application/json: schema: type: array - items: *252 + items: *253 examples: - default: *253 + default: *254 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109244,7 +109472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *730 + - *731 - name: role description: Filters members returned by their role in the team. in: query @@ -109265,11 +109493,11 @@ paths: application/json: schema: type: array - items: *731 + items: *732 examples: - default: *732 + default: *733 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -109295,8 +109523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *730 - - *74 + - *731 + - *75 responses: '204': description: if user is a member @@ -109332,8 +109560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *730 - - *74 + - *731 + - *75 responses: '204': description: Response @@ -109372,8 +109600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *730 - - *74 + - *731 + - *75 responses: '204': description: Response @@ -109409,16 +109637,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *730 - - *74 + - *731 + - *75 responses: '200': description: Response content: application/json: - schema: *357 + schema: *358 examples: - response-if-user-is-a-team-maintainer: *733 + response-if-user-is-a-team-maintainer: *734 '404': *6 x-github: githubCloudOnly: false @@ -109451,8 +109679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *730 - - *74 + - *731 + - *75 requestBody: required: false content: @@ -109477,9 +109705,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *358 examples: - response-if-users-membership-with-team-is-now-pending: *734 + response-if-users-membership-with-team-is-now-pending: *735 '403': description: Forbidden if team synchronization is set up '422': @@ -109513,8 +109741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *730 - - *74 + - *731 + - *75 responses: '204': description: Response @@ -109541,7 +109769,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *730 + - *731 - *17 - *19 responses: @@ -109551,11 +109779,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *282 + default: *283 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -109583,15 +109811,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *730 - - *358 + - *731 - *359 + - *360 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *735 + schema: *736 examples: alternative-response-with-extra-repository-information: value: @@ -109748,9 +109976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *730 - - *358 + - *731 - *359 + - *360 requestBody: required: false content: @@ -109800,9 +110028,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *730 - - *358 + - *731 - *359 + - *360 responses: '204': description: Response @@ -109827,7 +110055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *730 + - *731 - *17 - *19 responses: @@ -109837,11 +110065,11 @@ paths: application/json: schema: type: array - items: *210 + items: *211 examples: - response-if-child-teams-exist: *736 + response-if-child-teams-exist: *737 headers: - Link: *70 + Link: *71 '404': *6 '403': *29 '422': *15 @@ -109872,7 +110100,7 @@ paths: application/json: schema: oneOf: - - &738 + - &739 title: Private User description: Private User type: object @@ -110075,7 +110303,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *737 + - *738 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -110158,7 +110386,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -110228,7 +110456,7 @@ paths: description: Response content: application/json: - schema: *738 + schema: *739 examples: default: value: @@ -110275,7 +110503,7 @@ paths: space: 400 private_repos: 20 collaborators: 0 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -110307,8 +110535,8 @@ paths: type: array items: *4 examples: - default: *73 - '304': *37 + default: *74 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -110330,7 +110558,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: - - *74 + - *75 responses: '204': description: If the user is blocked @@ -110339,7 +110567,7 @@ paths: content: application/json: schema: *3 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -110358,11 +110586,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *74 + - *75 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -110382,11 +110610,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *74 + - *75 responses: '204': description: Response - '304': *37 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -110431,11 +110659,11 @@ paths: type: integer codespaces: type: array - items: *263 + items: *264 examples: - default: *264 - '304': *37 - '500': *55 + default: *265 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -110572,21 +110800,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *263 + schema: *264 examples: - default: *480 + default: *481 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *263 + schema: *264 examples: - default: *480 + default: *481 '401': *25 '403': *29 '404': *6 - '503': *122 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110626,7 +110854,7 @@ paths: type: integer secrets: type: array - items: &739 + items: &740 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -110666,9 +110894,9 @@ paths: - visibility - selected_repositories_url examples: - default: *483 + default: *484 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110736,13 +110964,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *171 + - *172 responses: '200': description: Response content: application/json: - schema: *739 + schema: *740 examples: default: value: @@ -110772,7 +111000,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *171 + - *172 requestBody: required: true content: @@ -110817,7 +111045,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -110845,7 +111073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *171 + - *172 responses: '204': description: Response @@ -110870,7 +111098,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *171 + - *172 responses: '200': description: Response @@ -110886,13 +111114,13 @@ paths: type: integer repositories: type: array - items: *163 + items: *164 examples: - default: *211 + default: *212 '401': *25 '403': *29 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110913,7 +111141,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *171 + - *172 requestBody: required: true content: @@ -110945,7 +111173,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110967,7 +111195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *171 + - *172 - name: repository_id in: path required: true @@ -110979,7 +111207,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111000,7 +111228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *171 + - *172 - name: repository_id in: path required: true @@ -111012,7 +111240,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *55 + '500': *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111032,17 +111260,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *265 + - *266 responses: '200': description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *480 - '304': *37 - '500': *55 + default: *481 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -111066,7 +111294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *265 + - *266 requestBody: required: false content: @@ -111096,9 +111324,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *480 + default: *481 '401': *25 '403': *29 '404': *6 @@ -111120,11 +111348,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *265 + - *266 responses: - '202': *39 - '304': *37 - '500': *55 + '202': *40 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -111149,13 +111377,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *265 + - *266 responses: '202': description: Response content: application/json: - schema: &740 + schema: &741 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -111196,7 +111424,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &741 + default: &742 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -111204,7 +111432,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *55 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -111228,7 +111456,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *265 + - *266 - name: export_id in: path required: true @@ -111241,9 +111469,9 @@ paths: description: Response content: application/json: - schema: *740 + schema: *741 examples: - default: *741 + default: *742 '404': *6 x-github: githubCloudOnly: false @@ -111264,7 +111492,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *265 + - *266 responses: '200': description: Response @@ -111280,11 +111508,11 @@ paths: type: integer machines: type: array - items: *742 + items: *743 examples: - default: *743 - '304': *37 - '500': *55 + default: *744 + '304': *38 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -111311,7 +111539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *265 + - *266 requestBody: required: true content: @@ -111361,13 +111589,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *361 + repository: *362 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *481 - required: *482 + properties: *482 + required: *483 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -112141,17 +112369,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *265 + - *266 responses: '200': description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *480 - '304': *37 - '500': *55 + default: *481 + '304': *38 + '500': *56 '400': *14 '401': *25 '402': @@ -112161,7 +112389,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *54 + '409': *55 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112181,16 +112409,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *265 + - *266 responses: '200': description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *480 - '500': *55 + default: *481 + '500': *56 '401': *25 '403': *29 '404': *6 @@ -112219,9 +112447,9 @@ paths: application/json: schema: type: array - items: *276 + items: *277 examples: - default: &755 + default: &756 value: - id: 197 name: hello_docker @@ -112322,7 +112550,7 @@ paths: application/json: schema: type: array - items: &744 + items: &745 title: Email description: Email type: object @@ -112353,7 +112581,7 @@ paths: primary: true verified: true visibility: private - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -112387,17 +112615,17 @@ paths: application/json: schema: type: array - items: *744 + items: *745 examples: - default: &757 + default: &758 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -112464,7 +112692,7 @@ paths: application/json: schema: type: array - items: *744 + items: *745 examples: default: value: @@ -112481,7 +112709,7 @@ paths: verified: false visibility: '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -112542,7 +112770,7 @@ paths: responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -112574,10 +112802,10 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -112607,10 +112835,10 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -112629,7 +112857,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: - - *74 + - *75 responses: '204': description: if the person is followed by the authenticated user @@ -112638,7 +112866,7 @@ paths: content: application/json: schema: *3 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -112659,11 +112887,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *74 + - *75 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -112684,11 +112912,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *74 + - *75 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -112720,7 +112948,7 @@ paths: application/json: schema: type: array - items: &745 + items: &746 title: GPG Key description: A unique encryption key type: object @@ -112851,7 +113079,7 @@ paths: - subkeys - revoked examples: - default: &774 + default: &775 value: - id: 3 name: Octocat's GPG Key @@ -112883,8 +113111,8 @@ paths: revoked: false raw_key: string headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -112936,9 +113164,9 @@ paths: description: Response content: application/json: - schema: *745 + schema: *746 examples: - default: &746 + default: &747 value: id: 3 name: Octocat's GPG Key @@ -112972,7 +113200,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': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -112995,7 +113223,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &747 + - &748 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -113007,11 +113235,11 @@ paths: description: Response content: application/json: - schema: *745 + schema: *746 examples: - default: *746 + default: *747 '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -113032,13 +113260,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *747 + - *748 responses: '204': description: Response '404': *6 '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -113175,8 +113403,8 @@ paths: suspended_at: suspended_by: headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -113223,7 +113451,7 @@ paths: type: array items: allOf: - - *82 + - *83 - type: object properties: custom_properties: @@ -113234,12 +113462,12 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *155 + default: *156 headers: - Link: *70 + Link: *71 '404': *6 '403': *29 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113260,12 +113488,12 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *152 + - *153 responses: '204': description: Response '403': *29 - '304': *37 + '304': *38 '404': *6 x-github: githubCloudOnly: false @@ -113286,12 +113514,12 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *152 + - *153 responses: '204': description: Response '403': *29 - '304': *37 + '304': *38 '404': *6 '422': description: Returned when the application is installed on `all` repositories @@ -113320,12 +113548,12 @@ paths: application/json: schema: anyOf: - - *250 + - *251 - type: object properties: {} additionalProperties: false examples: - default: *251 + default: *252 '204': description: Response when there are no restrictions x-github: @@ -113349,7 +113577,7 @@ paths: required: true content: application/json: - schema: *557 + schema: *558 examples: default: value: @@ -113360,7 +113588,7 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: default: value: @@ -113441,7 +113669,7 @@ paths: - closed - all default: open - - *261 + - *262 - name: sort description: What to sort results by. in: query @@ -113453,8 +113681,8 @@ paths: - updated - comments default: created - - *62 - - *95 + - *63 + - *96 - *17 - *19 responses: @@ -113464,13 +113692,13 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: *262 + default: *263 headers: - Link: *70 + Link: *71 '404': *6 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113499,7 +113727,7 @@ paths: application/json: schema: type: array - items: &748 + items: &749 title: Key description: Key type: object @@ -113550,8 +113778,8 @@ paths: verified: false read_only: false headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -113600,9 +113828,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *749 examples: - default: &749 + default: &750 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -113612,7 +113840,7 @@ paths: verified: false read_only: false '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -113641,11 +113869,11 @@ paths: description: Response content: application/json: - schema: *748 + schema: *749 examples: - default: *749 + default: *750 '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -113670,7 +113898,7 @@ paths: responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -113699,7 +113927,7 @@ paths: application/json: schema: type: array - items: &750 + items: &751 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -113756,7 +113984,7 @@ paths: - id - type - login - plan: *106 + plan: *107 required: - billing_cycle - next_billing_date @@ -113767,7 +113995,7 @@ paths: - account - plan examples: - default: &751 + default: &752 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -113800,8 +114028,8 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '401': *25 '404': *6 x-github: @@ -113829,12 +114057,12 @@ paths: application/json: schema: type: array - items: *750 + items: *751 examples: - default: *751 + default: *752 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '401': *25 x-github: githubCloudOnly: false @@ -113871,7 +114099,7 @@ paths: application/json: schema: type: array - items: *267 + items: *268 examples: default: value: @@ -113954,8 +114182,8 @@ paths: type: User site_admin: false headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -113979,13 +114207,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *78 + - *79 responses: '200': description: Response content: application/json: - schema: *267 + schema: *268 examples: default: value: @@ -114047,7 +114275,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *78 + - *79 requestBody: required: true content: @@ -114072,9 +114300,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *267 + schema: *268 examples: - default: &752 + default: &753 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -114121,9 +114349,9 @@ paths: processed asynchronously. content: application/json: - schema: *267 + schema: *268 examples: - default: *752 + default: *753 '403': *29 '404': *6 '422': *15 @@ -114152,7 +114380,7 @@ paths: application/json: schema: type: array - items: *269 + items: *270 examples: default: value: @@ -114305,8 +114533,8 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -114405,7 +114633,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *270 examples: default: value: @@ -114558,7 +114786,7 @@ paths: created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -114585,7 +114813,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *270 + - *271 - name: exclude in: query required: false @@ -114598,7 +114826,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *270 examples: default: value: @@ -114752,7 +114980,7 @@ paths: created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -114792,11 +115020,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *270 + - *271 responses: '302': description: Response - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -114818,12 +115046,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *270 + - *271 responses: '204': description: Response '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -114847,12 +115075,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *270 - - *753 + - *271 + - *754 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -114872,7 +115100,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *270 + - *271 - *17 - *19 responses: @@ -114882,11 +115110,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *282 + default: *283 headers: - Link: *70 + Link: *71 '404': *6 x-github: githubCloudOnly: false @@ -114901,7 +115129,7 @@ paths: content: application/json: schema: - items: *67 + items: *68 version: '2026-03-10' - changeset: restrict_repo_fields_in_migration_resource patch: @@ -114937,12 +115165,12 @@ paths: application/json: schema: type: array - items: *76 + items: *77 examples: - default: *119 + default: *120 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -114981,7 +115209,7 @@ paths: - docker - nuget - container - - *754 + - *755 - *19 - *17 responses: @@ -114991,10 +115219,10 @@ paths: application/json: schema: type: array - items: *276 + items: *277 examples: - default: *755 - '400': *756 + default: *756 + '400': *757 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115014,16 +115242,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *278 - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *276 + schema: *277 examples: - default: &775 + default: &776 value: id: 40201 name: octo-name @@ -115136,8 +115364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *278 - *279 + - *280 responses: '204': description: Response @@ -115167,8 +115395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *278 - *279 + - *280 - name: token description: package token schema: @@ -115200,8 +115428,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: - - *278 - *279 + - *280 - *19 - *17 - name: state @@ -115221,7 +115449,7 @@ paths: application/json: schema: type: array - items: *280 + items: *281 examples: default: value: @@ -115270,15 +115498,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *278 - *279 - - *281 + - *280 + - *282 responses: '200': description: Response content: application/json: - schema: *280 + schema: *281 examples: default: value: @@ -115314,9 +115542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *278 - *279 - - *281 + - *280 + - *282 responses: '204': description: Response @@ -115346,9 +115574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *278 - *279 - - *281 + - *280 + - *282 responses: '204': description: Response @@ -115385,12 +115613,12 @@ paths: application/json: schema: type: array - items: *744 + items: *745 examples: - default: *757 + default: *758 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -115498,9 +115726,9 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default: &764 + default: &765 summary: Default response value: - id: 1296269 @@ -115621,9 +115849,9 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *70 + Link: *71 '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -115804,16 +116032,16 @@ paths: description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: *363 + default: *364 headers: Location: example: https://api.github.com/repos/octocat/Hello-World schema: type: string '401': *25 - '304': *37 + '304': *38 '404': *6 '403': *29 '422': *15 @@ -115850,12 +116078,12 @@ paths: application/json: schema: type: array - items: *560 + items: *561 examples: - default: *758 + default: *759 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -115875,14 +116103,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *254 + - *255 responses: '204': description: Response '403': *29 - '409': *54 + '409': *55 '404': *6 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115904,12 +116132,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *254 + - *255 responses: '204': description: Response - '409': *54 - '304': *37 + '409': *55 + '304': *38 '404': *6 '403': *29 x-github: @@ -115937,7 +116165,7 @@ paths: application/json: schema: type: array - items: &759 + items: &760 title: Social account description: Social media account type: object @@ -115952,13 +116180,13 @@ paths: - provider - url examples: - default: &760 + default: &761 value: - provider: twitter url: https://twitter.com/github headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -116014,11 +116242,11 @@ paths: application/json: schema: type: array - items: *759 + items: *760 examples: - default: *760 + default: *761 '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -116071,7 +116299,7 @@ paths: '204': description: Response '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -116103,7 +116331,7 @@ paths: application/json: schema: type: array - items: &761 + items: &762 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -116123,7 +116351,7 @@ paths: - title - created_at examples: - default: &792 + default: &793 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -116134,8 +116362,8 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -116187,16 +116415,16 @@ paths: description: Response content: application/json: - schema: *761 + schema: *762 examples: - default: &762 + default: &763 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 title: ssh-rsa AAAAB3NzaC1yc2EAAA created_at: '2020-06-11T21:31:57Z' '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -116219,7 +116447,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: - - &763 + - &764 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -116231,11 +116459,11 @@ paths: description: Response content: application/json: - schema: *761 + schema: *762 examples: - default: *762 + default: *763 '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -116256,11 +116484,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: - - *763 + - *764 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -116285,7 +116513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &793 + - &794 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 @@ -116298,7 +116526,7 @@ paths: - created - updated default: created - - *62 + - *63 - *17 - *19 responses: @@ -116308,13 +116536,13 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default-response: *764 + default-response: *765 application/vnd.github.v3.star+json: schema: type: array - items: &794 + items: &795 title: Starred Repository description: Starred Repository type: object @@ -116322,7 +116550,7 @@ paths: starred_at: type: string format: date-time - repo: *82 + repo: *83 required: - starred_at - repo @@ -116450,8 +116678,8 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -116470,8 +116698,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: - - *358 - *359 + - *360 responses: '204': description: Response if this repository is starred by you @@ -116481,7 +116709,7 @@ paths: application/json: schema: *3 '401': *25 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -116499,15 +116727,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *358 - *359 + - *360 responses: '204': description: Response '403': *29 '404': *6 '401': *25 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116524,14 +116752,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *358 - *359 + - *360 responses: '204': description: Response '404': *6 '401': *25 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -116558,12 +116786,12 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *282 + default: *283 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -116597,7 +116825,7 @@ paths: application/json: schema: type: array - items: *354 + items: *355 examples: default: value: @@ -116648,8 +116876,8 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '404': *6 '403': *29 x-github: @@ -116675,7 +116903,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *108 + - *109 responses: '200': description: Response @@ -116683,10 +116911,10 @@ paths: application/json: schema: oneOf: + - *739 - *738 - - *737 examples: - default-response: &768 + default-response: &769 summary: Default response value: login: octocat @@ -116721,7 +116949,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &769 + response-with-git-hub-plan-information: &770 summary: Response with GitHub plan information value: login: octocat @@ -116778,14 +117006,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &766 + - &767 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *294 + - *295 requestBody: required: true description: Details of the draft item to create in the project. @@ -116819,10 +117047,10 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - draft_issue: *301 - '304': *37 + draft_issue: *302 + '304': *38 '403': *29 '401': *25 x-github: @@ -116844,7 +117072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *765 + - *766 - *17 responses: '200': @@ -116855,13 +117083,13 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: Link: example: ; rel="next" schema: type: string - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116879,8 +117107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *766 - - *294 + - *767 + - *295 requestBody: required: true content: @@ -116951,18 +117179,18 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *767 + schema: *768 examples: table_view: summary: Response for creating a table view - value: *305 + value: *306 board_view: summary: Response for creating a board view with filter - value: *305 + value: *306 roadmap_view: summary: Response for creating a roadmap view - value: *305 - '304': *37 + value: *306 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -116995,7 +117223,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *74 + - *75 responses: '200': description: Response @@ -117003,11 +117231,11 @@ paths: application/json: schema: oneOf: + - *739 - *738 - - *737 examples: - default-response: *768 - response-with-git-hub-plan-information: *769 + default-response: *769 + response-with-git-hub-plan-information: *770 '404': *6 x-github: githubCloudOnly: false @@ -117031,9 +117259,9 @@ paths: url: https://docs.github.com/rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *47 - *48 - - *74 + - *49 + - *75 requestBody: required: true content: @@ -117057,8 +117285,8 @@ paths: required: - subject_digests examples: - default: *770 - withPredicateType: *771 + default: *771 + withPredicateType: *772 responses: '200': description: Response @@ -117111,7 +117339,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *772 + default: *773 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117144,7 +117372,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *74 + - *75 requestBody: required: true content: @@ -117209,7 +117437,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *74 + - *75 - name: subject_digest description: Subject Digest in: path @@ -117240,7 +117468,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *74 + - *75 - name: attestation_id description: Attestation ID in: path @@ -117276,9 +117504,9 @@ paths: url: https://docs.github.com/rest/users/attestations#list-attestations parameters: - *17 - - *47 - *48 - - *74 + - *49 + - *75 - name: subject_digest description: Subject Digest in: path @@ -117331,12 +117559,12 @@ paths: initiator: type: string examples: - default: *418 + default: *419 '201': description: Response content: application/json: - schema: *172 + schema: *173 examples: default: value: @@ -117378,7 +117606,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#list-copilot-spaces-for-a-user parameters: - - *74 + - *75 - name: per_page description: The number of results per page (max 100). in: query @@ -117412,7 +117640,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *204 + items: *205 examples: default: summary: Example response for listing user copilot spaces @@ -117511,7 +117739,7 @@ paths: html_url: https://github.com/copilot/spaces/octocat/2 api_url: https://api.github.com/user/1/copilot-spaces/2 headers: - Link: *70 + Link: *71 '403': *29 '404': *6 x-github: @@ -117533,7 +117761,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#create-a-copilot-space-for-a-user parameters: - - *74 + - *75 requestBody: required: true content: @@ -117624,9 +117852,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: &773 + default: &774 summary: Example response for a user copilot space value: id: 42 @@ -117713,7 +117941,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#get-a-copilot-space-for-a-user parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -117725,9 +117953,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: *773 + default: *774 '403': *29 '404': *6 x-github: @@ -117749,7 +117977,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#set-a-copilot-space-for-a-user parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -117848,9 +118076,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: *773 + default: *774 '403': *29 '404': *6 '422': *15 @@ -117873,7 +118101,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#delete-a-copilot-space-for-a-user parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -117907,7 +118135,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -117927,7 +118155,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *206 + items: *207 examples: default: value: @@ -118023,7 +118251,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -118070,7 +118298,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *207 examples: default: value: @@ -118130,7 +118358,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -118181,7 +118409,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *207 examples: default: value: @@ -118243,7 +118471,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -118291,7 +118519,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -118311,7 +118539,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *207 + items: *208 examples: default: value: @@ -118349,7 +118577,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -118403,7 +118631,7 @@ paths: description: Resource created content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -118419,7 +118647,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -118454,7 +118682,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -118472,7 +118700,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -118504,7 +118732,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -118539,7 +118767,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -118572,7 +118800,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: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -118608,7 +118836,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: - - *74 + - *75 responses: '200': description: Response @@ -118616,9 +118844,9 @@ paths: application/json: schema: type: array - items: *276 + items: *277 examples: - default: *755 + default: *756 '403': *29 '401': *25 x-github: @@ -118641,7 +118869,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -118651,7 +118879,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: default: value: @@ -118713,8 +118941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *74 - - *78 + - *75 + - *79 - *17 - *19 responses: @@ -118724,7 +118952,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: default: value: @@ -118801,7 +119029,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -118811,7 +119039,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: default: value: @@ -118869,7 +119097,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -118881,9 +119109,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118900,7 +119128,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *74 + - *75 - *17 - *19 responses: @@ -118912,9 +119140,9 @@ paths: type: array items: *4 examples: - default: *73 + default: *74 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118931,7 +119159,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *74 + - *75 - name: target_user in: path required: true @@ -118958,8 +119186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *74 - - *95 + - *75 + - *96 - *17 - *19 responses: @@ -118969,11 +119197,11 @@ paths: application/json: schema: type: array - items: *96 + items: *97 examples: - default: *97 + default: *98 headers: - Link: *70 + Link: *71 '422': *15 x-github: githubCloudOnly: false @@ -118992,7 +119220,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -119002,11 +119230,11 @@ paths: application/json: schema: type: array - items: *745 + items: *746 examples: - default: *774 + default: *775 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119028,7 +119256,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *74 + - *75 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -119100,7 +119328,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *74 + - *75 responses: '200': description: Response @@ -119108,7 +119336,7 @@ paths: application/json: schema: *22 examples: - default: *556 + default: *557 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119126,7 +119354,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -119161,7 +119389,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119181,7 +119409,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -119191,11 +119419,11 @@ paths: application/json: schema: type: array - items: *76 + items: *77 examples: - default: *119 + default: *120 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119232,8 +119460,8 @@ paths: - docker - nuget - container - - *754 - - *74 + - *755 + - *75 - *19 - *17 responses: @@ -119243,12 +119471,12 @@ paths: application/json: schema: type: array - items: *276 + items: *277 examples: - default: *755 + default: *756 '403': *29 '401': *25 - '400': *756 + '400': *757 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119268,17 +119496,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *278 - *279 - - *74 + - *280 + - *75 responses: '200': description: Response content: application/json: - schema: *276 + schema: *277 examples: - default: *775 + default: *776 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119299,9 +119527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *278 - *279 - - *74 + - *280 + - *75 responses: '204': description: Response @@ -119333,9 +119561,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *278 - *279 - - *74 + - *280 + - *75 - name: token description: package token schema: @@ -119367,9 +119595,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: - - *278 - *279 - - *74 + - *280 + - *75 responses: '200': description: Response @@ -119377,7 +119605,7 @@ paths: application/json: schema: type: array - items: *280 + items: *281 examples: default: value: @@ -119435,16 +119663,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *278 - *279 - - *281 - - *74 + - *280 + - *282 + - *75 responses: '200': description: Response content: application/json: - schema: *280 + schema: *281 examples: default: value: @@ -119479,10 +119707,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *278 - *279 - - *74 - - *281 + - *280 + - *75 + - *282 responses: '204': description: Response @@ -119514,10 +119742,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *278 - *279 - - *74 - - *281 + - *280 + - *75 + - *282 responses: '204': description: Response @@ -119541,15 +119769,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *74 + - *75 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *47 - *48 + - *49 - *17 responses: '200': @@ -119558,12 +119786,12 @@ paths: application/json: schema: type: array - items: *292 + items: *293 examples: - default: *293 + default: *294 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -119582,19 +119810,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *294 - - *74 + - *295 + - *75 responses: '200': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -119613,11 +119841,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *294 - - *74 + - *295 + - *75 - *17 - - *47 - *48 + - *49 responses: '200': description: Response @@ -119625,12 +119853,12 @@ paths: application/json: schema: type: array - items: *298 + items: *299 examples: - default: *776 + default: *777 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -119648,8 +119876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *74 - - *294 + - *75 + - *295 requestBody: required: true content: @@ -119687,7 +119915,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *777 + items: *778 required: - name - data_type @@ -119703,7 +119931,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *778 + iteration_configuration: *779 required: - name - data_type @@ -119725,21 +119953,21 @@ paths: value: name: Due date data_type: date - single_select_field: *779 - iteration_field: *780 + single_select_field: *780 + iteration_field: *781 responses: '201': description: Response content: application/json: - schema: *298 + schema: *299 examples: - text_field: *781 - number_field: *782 - date_field: *783 - single_select_field: *784 - iteration_field: *785 - '304': *37 + text_field: *782 + number_field: *783 + date_field: *784 + single_select_field: *785 + iteration_field: *786 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -119759,20 +119987,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *294 - - *786 - - *74 + - *295 + - *787 + - *75 responses: '200': description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: *787 + default: *788 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -119792,10 +120020,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *294 - - *74 - - *47 + - *295 + - *75 - *48 + - *49 - *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) @@ -119825,12 +120053,12 @@ paths: application/json: schema: type: array - items: *302 + items: *303 examples: - default: *303 + default: *304 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -119848,8 +120076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *74 - - *294 + - *75 + - *295 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -119919,23 +120147,23 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *301 + value: *302 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *301 + value: *302 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *301 + value: *302 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *301 - '304': *37 + value: *302 + '304': *38 '403': *29 '401': *25 x-github: @@ -119954,9 +120182,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *294 - - *74 - - *304 + - *295 + - *75 + - *305 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -119976,12 +120204,12 @@ paths: description: Response content: application/json: - schema: *302 + schema: *303 examples: - default: *303 + default: *304 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 x-github: @@ -119999,9 +120227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *294 - - *74 - - *304 + - *295 + - *75 + - *305 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -120071,13 +120299,13 @@ paths: description: Response content: application/json: - schema: *302 + schema: *303 examples: - text_field: *303 - number_field: *303 - date_field: *303 - single_select_field: *303 - iteration_field: *303 + text_field: *304 + number_field: *304 + date_field: *304 + single_select_field: *304 + iteration_field: *304 '401': *25 '403': *29 '404': *6 @@ -120097,9 +120325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *294 - - *74 - - *304 + - *295 + - *75 + - *305 responses: '204': description: Response @@ -120121,9 +120349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *294 - - *74 - - *788 + - *295 + - *75 + - *789 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -120139,8 +120367,8 @@ paths: maxItems: 50 items: type: string - - *47 - *48 + - *49 - *17 responses: '200': @@ -120149,12 +120377,12 @@ paths: application/json: schema: type: array - items: *302 + items: *303 examples: - default: *303 + default: *304 headers: - Link: *70 - '304': *37 + Link: *71 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -120179,7 +120407,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -120189,7 +120417,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: default: value: @@ -120254,7 +120482,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -120264,7 +120492,7 @@ paths: application/json: schema: type: array - items: *114 + items: *115 examples: default: value: @@ -120327,7 +120555,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *74 + - *75 - name: type description: Limit results to repositories of the specified type. in: query @@ -120370,11 +120598,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *282 + default: *283 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120394,12 +120622,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-ai-credit-usage-report-for-a-user parameters: - - *74 - - *124 + - *75 - *125 - *126 - - *128 + - *127 - *129 + - *130 responses: '200': description: Response when getting a billing AI credit usage report @@ -120506,8 +120734,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120527,12 +120755,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *74 - - *124 + - *75 - *125 - *126 - - *128 + - *127 - *129 + - *130 responses: '200': description: Response when getting a billing premium request usage report @@ -120639,8 +120867,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120660,10 +120888,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *74 - - *124 - - *789 - - *126 + - *75 + - *125 + - *790 + - *127 responses: '200': description: Response when getting a billing usage report @@ -120733,8 +120961,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120757,13 +120985,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *74 - - *124 + - *75 - *125 - *126 - - *790 - - *129 + - *127 - *791 + - *130 + - *792 responses: '200': description: Response when getting a billing usage summary @@ -120868,8 +121096,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *55 - '503': *122 + '500': *56 + '503': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120887,7 +121115,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -120897,11 +121125,11 @@ paths: application/json: schema: type: array - items: *759 + items: *760 examples: - default: *760 + default: *761 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120919,7 +121147,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -120929,11 +121157,11 @@ paths: application/json: schema: type: array - items: *761 + items: *762 examples: - default: *792 + default: *793 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120955,9 +121183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *74 - - *793 - - *62 + - *75 + - *794 + - *63 - *17 - *19 responses: @@ -120968,13 +121196,13 @@ paths: schema: anyOf: - type: array - items: *794 + items: *795 - type: array - items: *82 + items: *83 examples: - default-response: *764 + default-response: *765 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120991,7 +121219,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *74 + - *75 - *17 - *19 responses: @@ -121001,11 +121229,11 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *282 + default: *283 headers: - Link: *70 + Link: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121131,7 +121359,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &795 + enterprise: &796 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -121189,7 +121417,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &796 + installation: &797 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -121208,7 +121436,7 @@ x-webhooks: required: - id - node_id - organization: &797 + organization: &798 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -121268,13 +121496,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &798 + repository: &799 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &830 + properties: &831 id: description: Unique identifier of the repository example: 42 @@ -121294,8 +121522,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *91 - required: *92 + properties: *92 + required: *93 nullable: true organization: title: Simple User @@ -121969,7 +122197,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &831 + required: &832 - archive_url - assignees_url - blobs_url @@ -122043,7 +122271,7 @@ x-webhooks: - watchers_count - created_at - updated_at - x-github-breaking-changes: &832 + x-github-breaking-changes: &833 - changeset: remove_use_squash_pr_title_as_default patch: properties: @@ -122134,10 +122362,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -122213,11 +122441,11 @@ x-webhooks: type: string enum: - created - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 - rule: &799 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 + rule: &800 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) @@ -122440,11 +122668,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 - rule: *799 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 + rule: *800 sender: *4 required: - action @@ -122627,11 +122855,11 @@ x-webhooks: - everyone required: - from - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 - rule: *799 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 + rule: *800 sender: *4 required: - action @@ -122715,7 +122943,7 @@ x-webhooks: type: string enum: - completed - check_run: &801 + check_run: &802 title: CheckRun description: A check performed on the code of a given code change type: object @@ -122768,8 +122996,8 @@ x-webhooks: type: string pull_requests: type: array - items: *93 - repository: *163 + items: *94 + repository: *164 status: example: completed type: string @@ -122806,7 +123034,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *800 + deployment: *801 details_url: example: https://example.com type: string @@ -122856,7 +123084,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *93 + items: *94 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -122891,10 +123119,10 @@ x-webhooks: - output - app - pull_requests - installation: *796 - enterprise: *795 - organization: *797 - repository: *798 + installation: *797 + enterprise: *796 + organization: *798 + repository: *799 sender: *4 required: - check_run @@ -123285,11 +123513,11 @@ x-webhooks: type: string enum: - created - check_run: *801 - installation: *796 - enterprise: *795 - organization: *797 - repository: *798 + check_run: *802 + installation: *797 + enterprise: *796 + organization: *798 + repository: *799 sender: *4 required: - check_run @@ -123683,11 +123911,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *801 - installation: *796 - enterprise: *795 - organization: *797 - repository: *798 + check_run: *802 + installation: *797 + enterprise: *796 + organization: *798 + repository: *799 requested_action: description: The action requested by the user. type: object @@ -124090,11 +124318,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *801 - installation: *796 - enterprise: *795 - organization: *797 - repository: *798 + check_run: *802 + installation: *797 + enterprise: *796 + organization: *798 + repository: *799 sender: *4 required: - check_run @@ -125064,10 +125292,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -125766,10 +125994,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -126462,10 +126690,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -126631,7 +126859,7 @@ x-webhooks: required: - login - id - dismissed_comment: *452 + dismissed_comment: *453 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -126776,20 +127004,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &802 + commit_oid: &803 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: *795 - installation: *796 - organization: *797 - ref: &803 + enterprise: *796 + installation: *797 + organization: *798 + ref: &804 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: *798 + repository: *799 sender: *4 required: - action @@ -126954,7 +127182,7 @@ x-webhooks: required: - login - id - dismissed_comment: *452 + dismissed_comment: *453 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127184,12 +127412,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *802 - enterprise: *795 - installation: *796 - organization: *797 - ref: *803 - repository: *798 + commit_oid: *803 + enterprise: *796 + installation: *797 + organization: *798 + ref: *804 + repository: *799 sender: *4 required: - action @@ -127284,7 +127512,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *452 + dismissed_comment: *453 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127455,12 +127683,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *802 - enterprise: *795 - installation: *796 - organization: *797 - ref: *803 - repository: *798 + commit_oid: *803 + enterprise: *796 + installation: *797 + organization: *798 + ref: *804 + repository: *799 sender: *4 required: - action @@ -127626,7 +127854,7 @@ x-webhooks: required: - login - id - dismissed_comment: *452 + dismissed_comment: *453 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127792,12 +128020,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *802 - enterprise: *795 - installation: *796 - organization: *797 - ref: *803 - repository: *798 + commit_oid: *803 + enterprise: *796 + installation: *797 + organization: *798 + ref: *804 + repository: *799 sender: *4 required: - action @@ -127896,7 +128124,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *452 + dismissed_comment: *453 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128071,16 +128299,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *798 + repository: *799 sender: *4 required: - action @@ -128177,7 +128405,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *452 + dismissed_comment: *453 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128317,12 +128545,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *802 - enterprise: *795 - installation: *796 - organization: *797 - ref: *803 - repository: *798 + commit_oid: *803 + enterprise: *796 + installation: *797 + organization: *798 + ref: *804 + repository: *799 sender: *4 required: - action @@ -128488,7 +128716,7 @@ x-webhooks: required: - login - id - dismissed_comment: *452 + dismissed_comment: *453 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128633,10 +128861,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -128891,10 +129119,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -128974,18 +129202,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *797 - pusher_type: &804 + organization: *798 + pusher_type: &805 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &805 + ref: &806 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -128995,7 +129223,7 @@ x-webhooks: enum: - tag - branch - repository: *798 + repository: *799 sender: *4 required: - ref @@ -129077,10 +129305,10 @@ x-webhooks: type: string enum: - created - definition: *306 - enterprise: *795 - installation: *796 - organization: *797 + definition: *307 + enterprise: *796 + installation: *797 + organization: *798 sender: *4 required: - action @@ -129165,9 +129393,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 sender: *4 required: - action @@ -129244,10 +129472,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *306 - enterprise: *795 - installation: *796 - organization: *797 + definition: *307 + enterprise: *796 + installation: *797 + organization: *798 sender: *4 required: - action @@ -129324,10 +129552,10 @@ x-webhooks: type: string enum: - updated - definition: *306 - enterprise: *795 - installation: *796 - organization: *797 + definition: *307 + enterprise: *796 + installation: *797 + organization: *798 sender: *4 required: - action @@ -129404,19 +129632,19 @@ x-webhooks: type: string enum: - updated - enterprise: *795 - installation: *796 - repository: *798 - organization: *797 + enterprise: *796 + installation: *797 + repository: *799 + organization: *798 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *310 + items: *311 old_property_values: type: array description: The old custom property values for the repository. - items: *310 + items: *311 required: - action - repository @@ -129492,18 +129720,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *795 - installation: *796 - organization: *797 - pusher_type: *804 - ref: *805 + enterprise: *796 + installation: *797 + organization: *798 + pusher_type: *805 + ref: *806 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *798 + repository: *799 sender: *4 required: - ref @@ -129583,11 +129811,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *516 - installation: *796 - organization: *797 - enterprise: *795 - repository: *798 + alert: *517 + installation: *797 + organization: *798 + enterprise: *796 + repository: *799 sender: *4 required: - action @@ -129667,11 +129895,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *516 - installation: *796 - organization: *797 - enterprise: *795 - repository: *798 + alert: *517 + installation: *797 + organization: *798 + enterprise: *796 + repository: *799 sender: *4 required: - action @@ -129752,11 +129980,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *516 - installation: *796 - organization: *797 - enterprise: *795 - repository: *798 + alert: *517 + installation: *797 + organization: *798 + enterprise: *796 + repository: *799 sender: *4 required: - action @@ -129837,11 +130065,11 @@ x-webhooks: type: string enum: - created - alert: *516 - installation: *796 - organization: *797 - enterprise: *795 - repository: *798 + alert: *517 + installation: *797 + organization: *798 + enterprise: *796 + repository: *799 sender: *4 required: - action @@ -129920,11 +130148,11 @@ x-webhooks: type: string enum: - dismissed - alert: *516 - installation: *796 - organization: *797 - enterprise: *795 - repository: *798 + alert: *517 + installation: *797 + organization: *798 + enterprise: *796 + repository: *799 sender: *4 required: - action @@ -130003,11 +130231,11 @@ x-webhooks: type: string enum: - fixed - alert: *516 - installation: *796 - organization: *797 - enterprise: *795 - repository: *798 + alert: *517 + installation: *797 + organization: *798 + enterprise: *796 + repository: *799 sender: *4 required: - action @@ -130087,11 +130315,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *516 - installation: *796 - organization: *797 - enterprise: *795 - repository: *798 + alert: *517 + installation: *797 + organization: *798 + enterprise: *796 + repository: *799 sender: *4 required: - action @@ -130170,11 +130398,11 @@ x-webhooks: type: string enum: - reopened - alert: *516 - installation: *796 - organization: *797 - enterprise: *795 - repository: *798 + alert: *517 + installation: *797 + organization: *798 + enterprise: *796 + repository: *799 sender: *4 required: - action @@ -130251,9 +130479,9 @@ x-webhooks: type: string enum: - created - enterprise: *795 - installation: *796 - key: &806 + enterprise: *796 + installation: *797 + key: &807 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -130289,8 +130517,8 @@ x-webhooks: - verified - created_at - read_only - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -130367,11 +130595,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *795 - installation: *796 - key: *806 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + key: *807 + organization: *798 + repository: *799 sender: *4 required: - action @@ -130927,12 +131155,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 - workflow: &812 + workflow: &813 title: Workflow type: object nullable: true @@ -131673,15 +131901,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *807 - required: *808 + properties: *808 + required: *809 nullable: true pull_requests: type: array - items: *630 - repository: *798 - organization: *797 - installation: *796 + items: *631 + repository: *799 + organization: *798 + installation: *797 sender: *4 responses: '200': @@ -131752,7 +131980,7 @@ x-webhooks: type: string enum: - approved - approver: &809 + approver: &810 type: object properties: avatar_url: @@ -131795,11 +132023,11 @@ x-webhooks: type: string comment: type: string - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 - reviewers: &810 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 + reviewers: &811 type: array items: type: object @@ -131878,7 +132106,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &811 + workflow_job_run: &812 type: object properties: conclusion: @@ -132609,18 +132837,18 @@ x-webhooks: type: string enum: - rejected - approver: *809 + approver: *810 comment: type: string - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 - reviewers: *810 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 + reviewers: *811 sender: *4 since: type: string - workflow_job_run: *811 + workflow_job_run: *812 workflow_job_runs: type: array items: @@ -133324,13 +133552,13 @@ x-webhooks: type: string enum: - requested - enterprise: *795 + enterprise: *796 environment: type: string - installation: *796 - organization: *797 - repository: *798 - requestor: &817 + installation: *797 + organization: *798 + repository: *799 + requestor: &818 title: User type: object nullable: true @@ -135219,12 +135447,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 - workflow: *812 + workflow: *813 workflow_run: title: Deployment Workflow Run type: object @@ -135904,7 +136132,7 @@ x-webhooks: type: string enum: - answered - answer: &815 + answer: &816 type: object properties: author_association: @@ -136061,11 +136289,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *813 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + discussion: *814 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -136192,11 +136420,11 @@ x-webhooks: - from required: - category - discussion: *813 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + discussion: *814 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -136279,11 +136507,11 @@ x-webhooks: type: string enum: - closed - discussion: *813 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + discussion: *814 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -136365,7 +136593,7 @@ x-webhooks: type: string enum: - created - comment: &814 + comment: &815 type: object properties: author_association: @@ -136522,11 +136750,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *813 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + discussion: *814 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -136609,12 +136837,12 @@ x-webhooks: type: string enum: - deleted - comment: *814 - discussion: *813 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + comment: *815 + discussion: *814 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -136709,12 +136937,12 @@ x-webhooks: - from required: - body - comment: *814 - discussion: *813 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + comment: *815 + discussion: *814 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -136798,11 +137026,11 @@ x-webhooks: type: string enum: - created - discussion: *813 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + discussion: *814 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -136884,11 +137112,11 @@ x-webhooks: type: string enum: - deleted - discussion: *813 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + discussion: *814 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -136988,11 +137216,11 @@ x-webhooks: type: string required: - from - discussion: *813 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + discussion: *814 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -137074,10 +137302,10 @@ x-webhooks: type: string enum: - labeled - discussion: *813 - enterprise: *795 - installation: *796 - label: &816 + discussion: *814 + enterprise: *796 + installation: *797 + label: &817 title: Label type: object properties: @@ -137109,8 +137337,8 @@ x-webhooks: - color - default - description - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -137193,11 +137421,11 @@ x-webhooks: type: string enum: - locked - discussion: *813 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + discussion: *814 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -137279,11 +137507,11 @@ x-webhooks: type: string enum: - pinned - discussion: *813 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + discussion: *814 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -137365,11 +137593,11 @@ x-webhooks: type: string enum: - reopened - discussion: *813 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + discussion: *814 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -137454,16 +137682,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *813 - new_repository: *798 + new_discussion: *814 + new_repository: *799 required: - new_discussion - new_repository - discussion: *813 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + discussion: *814 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -137546,10 +137774,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *813 - old_answer: *815 - organization: *797 - repository: *798 + discussion: *814 + old_answer: *816 + organization: *798 + repository: *799 sender: *4 required: - action @@ -137631,12 +137859,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *813 - enterprise: *795 - installation: *796 - label: *816 - organization: *797 - repository: *798 + discussion: *814 + enterprise: *796 + installation: *797 + label: *817 + organization: *798 + repository: *799 sender: *4 required: - action @@ -137719,11 +137947,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *813 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + discussion: *814 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -137805,11 +138033,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *813 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + discussion: *814 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -137882,7 +138110,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *795 + enterprise: *796 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -138542,9 +138770,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *796 - organization: *797 - repository: *798 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - forkee @@ -138690,9 +138918,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 pages: description: The pages that were updated. type: array @@ -138729,7 +138957,7 @@ x-webhooks: - action - sha - html_url - repository: *798 + repository: *799 sender: *4 required: - pages @@ -138805,10 +139033,10 @@ x-webhooks: type: string enum: - created - enterprise: *795 + enterprise: *796 installation: *22 - organization: *797 - repositories: &818 + organization: *798 + repositories: &819 description: An array of repository objects that the installation can access. type: array @@ -138834,8 +139062,8 @@ x-webhooks: - name - full_name - private - repository: *798 - requester: *817 + repository: *799 + requester: *818 sender: *4 required: - action @@ -138910,11 +139138,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *795 + enterprise: *796 installation: *22 - organization: *797 - repositories: *818 - repository: *798 + organization: *798 + repositories: *819 + repository: *799 requester: nullable: true sender: *4 @@ -138990,11 +139218,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *795 + enterprise: *796 installation: *22 - organization: *797 - repositories: *818 - repository: *798 + organization: *798 + repositories: *819 + repository: *799 requester: nullable: true sender: *4 @@ -139070,10 +139298,10 @@ x-webhooks: type: string enum: - added - enterprise: *795 + enterprise: *796 installation: *22 - organization: *797 - repositories_added: &819 + organization: *798 + repositories_added: &820 description: An array of repository objects, which were added to the installation. type: array @@ -139119,15 +139347,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *798 - repository_selection: &820 + repository: *799 + repository_selection: &821 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *817 + requester: *818 sender: *4 required: - action @@ -139206,10 +139434,10 @@ x-webhooks: type: string enum: - removed - enterprise: *795 + enterprise: *796 installation: *22 - organization: *797 - repositories_added: *819 + organization: *798 + repositories_added: *820 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -139236,9 +139464,9 @@ x-webhooks: - name - full_name - private - repository: *798 - repository_selection: *820 - requester: *817 + repository: *799 + repository_selection: *821 + requester: *818 sender: *4 required: - action @@ -139317,11 +139545,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *795 + enterprise: *796 installation: *22 - organization: *797 - repositories: *818 - repository: *798 + organization: *798 + repositories: *819 + repository: *799 requester: nullable: true sender: *4 @@ -139499,10 +139727,10 @@ x-webhooks: type: string required: - from - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 target_type: type: string @@ -139581,11 +139809,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *795 + enterprise: *796 installation: *22 - organization: *797 - repositories: *818 - repository: *798 + organization: *798 + repositories: *819 + repository: *799 requester: nullable: true sender: *4 @@ -139709,8 +139937,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *83 - required: *84 + properties: *84 + required: *85 reactions: title: Reactions type: object @@ -139852,8 +140080,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -140642,8 +140870,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140659,7 +140887,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *258 + type: *259 updated_at: type: string format: date-time @@ -140992,8 +141220,8 @@ x-webhooks: - state - locked - assignee - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -141073,7 +141301,7 @@ x-webhooks: type: string enum: - deleted - comment: &821 + comment: &822 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -141253,8 +141481,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -142039,8 +142267,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142056,7 +142284,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *258 + type: *259 updated_at: type: string format: date-time @@ -142391,8 +142619,8 @@ x-webhooks: - state - locked - assignee - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -142472,7 +142700,7 @@ x-webhooks: type: string enum: - edited - changes: &851 + changes: &852 description: The changes to the comment. type: object properties: @@ -142484,9 +142712,9 @@ x-webhooks: type: string required: - from - comment: *821 - enterprise: *795 - installation: *796 + comment: *822 + enterprise: *796 + installation: *797 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -143274,8 +143502,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143291,7 +143519,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *258 + type: *259 updated_at: type: string format: date-time @@ -143624,8 +143852,8 @@ x-webhooks: - state - locked - assignee - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -143706,9 +143934,9 @@ x-webhooks: type: string enum: - pinned - comment: *821 - enterprise: *795 - installation: *796 + comment: *822 + enterprise: *796 + installation: *797 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -144498,8 +144726,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144515,7 +144743,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *258 + type: *259 updated_at: type: string format: date-time @@ -144850,8 +145078,8 @@ x-webhooks: - state - locked - assignee - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -144931,9 +145159,9 @@ x-webhooks: type: string enum: - unpinned - comment: *821 - enterprise: *795 - installation: *796 + comment: *822 + enterprise: *796 + installation: *797 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -145723,8 +145951,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145740,7 +145968,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *258 + type: *259 updated_at: type: string format: date-time @@ -146075,8 +146303,8 @@ x-webhooks: - state - locked - assignee - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -146159,15 +146387,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *88 + blocked_issue: *89 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *88 - blocking_issue_repo: *82 - installation: *796 - organization: *797 - repository: *798 + blocking_issue: *89 + blocking_issue_repo: *83 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -146250,15 +146478,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *88 + blocked_issue: *89 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *88 - blocking_issue_repo: *82 - installation: *796 - organization: *797 - repository: *798 + blocking_issue: *89 + blocking_issue_repo: *83 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -146340,15 +146568,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *88 - blocked_issue_repo: *82 + blocked_issue: *89 + blocked_issue_repo: *83 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *88 - installation: *796 - organization: *797 - repository: *798 + blocking_issue: *89 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -146431,15 +146659,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *88 - blocked_issue_repo: *82 + blocked_issue: *89 + blocked_issue_repo: *83 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *88 - installation: *796 - organization: *797 - repository: *798 + blocking_issue: *89 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -146519,10 +146747,10 @@ x-webhooks: type: string enum: - assigned - assignee: *817 - enterprise: *795 - installation: *796 - issue: &822 + assignee: *818 + enterprise: *796 + installation: *797 + issue: &823 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -147311,11 +147539,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 issue_field_values: type: array items: *578 @@ -147334,7 +147562,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *258 + type: *259 updated_at: type: string format: date-time @@ -147435,8 +147663,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -147516,8 +147744,8 @@ x-webhooks: type: string enum: - closed - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -148311,11 +148539,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 issue_field_values: type: array items: *578 @@ -148334,7 +148562,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *258 + type: *259 updated_at: type: string format: date-time @@ -148570,8 +148798,8 @@ x-webhooks: required: - state - closed_at - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -148650,8 +148878,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -149436,11 +149664,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 issue_field_values: type: array items: *578 @@ -149459,7 +149687,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *258 + type: *259 updated_at: type: string format: date-time @@ -149559,8 +149787,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -149639,8 +149867,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150447,11 +150675,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 issue_field_values: type: array items: *578 @@ -150470,7 +150698,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *258 + type: *259 updated_at: type: string format: date-time @@ -150549,7 +150777,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &823 + milestone: &824 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150687,8 +150915,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -150787,8 +151015,8 @@ x-webhooks: type: string required: - from - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151577,11 +151805,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 issue_field_values: type: array items: *578 @@ -151597,7 +151825,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *258 + type: *259 title: description: Title of the issue type: string @@ -151701,9 +151929,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *816 - organization: *797 - repository: *798 + label: *817 + organization: *798 + repository: *799 sender: *4 required: - action @@ -151783,9 +152011,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *795 - installation: *796 - issue: *822 + enterprise: *796 + installation: *797 + issue: *823 issue_field: type: object description: The issue field whose value was set or updated on the @@ -151939,8 +152167,8 @@ x-webhooks: - id required: - from - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -152020,9 +152248,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *795 - installation: *796 - issue: *822 + enterprise: *796 + installation: *797 + issue: *823 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -152103,8 +152331,8 @@ x-webhooks: nullable: true required: - id - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -152184,8 +152412,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152973,11 +153201,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 issue_field_values: type: array items: *578 @@ -152993,7 +153221,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *258 + type: *259 title: description: Title of the issue type: string @@ -153097,9 +153325,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *816 - organization: *797 - repository: *798 + label: *817 + organization: *798 + repository: *799 sender: *4 required: - action @@ -153179,8 +153407,8 @@ x-webhooks: type: string enum: - locked - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153992,11 +154220,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 issue_field_values: type: array items: *578 @@ -154012,7 +154240,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *258 + type: *259 title: description: Title of the issue type: string @@ -154093,8 +154321,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -154173,8 +154401,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154980,11 +155208,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 issue_field_values: type: array items: *578 @@ -155003,7 +155231,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *258 + type: *259 updated_at: type: string format: date-time @@ -155081,9 +155309,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *823 - organization: *797 - repository: *798 + milestone: *824 + organization: *798 + repository: *799 sender: *4 required: - action @@ -155946,8 +156174,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 issue_field_values: type: array items: *578 @@ -155978,8 +156206,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true user: title: User @@ -156051,7 +156279,7 @@ x-webhooks: required: - login - id - type: *258 + type: *259 required: - id - number @@ -156531,8 +156759,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -157316,8 +157544,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 issue_field_values: type: array items: *578 @@ -157336,7 +157564,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *258 + type: *259 updated_at: type: string format: date-time @@ -157349,8 +157577,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true user: title: User @@ -157444,8 +157672,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -157525,9 +157753,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *795 - installation: *796 - issue: &824 + enterprise: *796 + installation: *797 + issue: &825 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -158310,11 +158538,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 issue_field_values: type: array items: *578 @@ -158333,7 +158561,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *258 + type: *259 updated_at: type: string format: date-time @@ -158433,8 +158661,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -158513,8 +158741,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -159324,11 +159552,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 issue_field_values: type: array items: *578 @@ -159425,9 +159653,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *258 - organization: *797 - repository: *798 + type: *259 + organization: *798 + repository: *799 sender: *4 required: - action @@ -160293,11 +160521,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 issue_field_values: type: array items: *578 @@ -160316,7 +160544,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *258 + type: *259 updated_at: type: string format: date-time @@ -160895,11 +161123,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *795 - installation: *796 - issue: *824 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + issue: *825 + organization: *798 + repository: *799 sender: *4 required: - action @@ -160979,12 +161207,12 @@ x-webhooks: type: string enum: - typed - enterprise: *795 - installation: *796 - issue: *822 - type: *258 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + issue: *823 + type: *259 + organization: *798 + repository: *799 sender: *4 required: - action @@ -161065,7 +161293,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &854 + assignee: &855 title: User type: object nullable: true @@ -161135,11 +161363,11 @@ x-webhooks: required: - login - id - enterprise: *795 - installation: *796 - issue: *822 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + issue: *823 + organization: *798 + repository: *799 sender: *4 required: - action @@ -161218,12 +161446,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *795 - installation: *796 - issue: *822 - label: *816 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + issue: *823 + label: *817 + organization: *798 + repository: *799 sender: *4 required: - action @@ -161303,8 +161531,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -162114,11 +162342,11 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *89 - required: *90 + properties: *90 + required: *91 nullable: true - sub_issues_summary: *728 - issue_dependencies_summary: *729 + sub_issues_summary: *729 + issue_dependencies_summary: *730 issue_field_values: type: array items: *578 @@ -162137,7 +162365,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *258 + type: *259 updated_at: type: string format: date-time @@ -162215,8 +162443,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -162296,11 +162524,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *795 - installation: *796 - issue: *824 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + issue: *825 + organization: *798 + repository: *799 sender: *4 required: - action @@ -162379,12 +162607,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *795 - installation: *796 - issue: *822 - type: *258 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + issue: *823 + type: *259 + organization: *798 + repository: *799 sender: *4 required: - action @@ -162464,11 +162692,11 @@ x-webhooks: type: string enum: - created - enterprise: *795 - installation: *796 - label: *816 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + label: *817 + organization: *798 + repository: *799 sender: *4 required: - action @@ -162546,11 +162774,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *795 - installation: *796 - label: *816 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + label: *817 + organization: *798 + repository: *799 sender: *4 required: - action @@ -162660,11 +162888,11 @@ x-webhooks: type: string required: - from - enterprise: *795 - installation: *796 - label: *816 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + label: *817 + organization: *798 + repository: *799 sender: *4 required: - action @@ -162746,9 +162974,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *795 - installation: *796 - marketplace_purchase: &825 + enterprise: *796 + installation: *797 + marketplace_purchase: &826 title: Marketplace Purchase type: object required: @@ -162831,8 +163059,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *797 - previous_marketplace_purchase: &826 + organization: *798 + previous_marketplace_purchase: &827 title: Marketplace Purchase type: object properties: @@ -162912,7 +163140,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *798 + repository: *799 sender: *4 required: - action @@ -162992,10 +163220,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *795 - installation: *796 - marketplace_purchase: *825 - organization: *797 + enterprise: *796 + installation: *797 + marketplace_purchase: *826 + organization: *798 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163078,7 +163306,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *798 + repository: *799 sender: *4 required: - action @@ -163160,10 +163388,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *795 - installation: *796 - marketplace_purchase: *825 - organization: *797 + enterprise: *796 + installation: *797 + marketplace_purchase: *826 + organization: *798 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163245,7 +163473,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *798 + repository: *799 sender: *4 required: - action @@ -163326,8 +163554,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 marketplace_purchase: title: Marketplace Purchase type: object @@ -163409,9 +163637,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *797 - previous_marketplace_purchase: *826 - repository: *798 + organization: *798 + previous_marketplace_purchase: *827 + repository: *799 sender: *4 required: - action @@ -163491,12 +163719,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *795 - installation: *796 - marketplace_purchase: *825 - organization: *797 - previous_marketplace_purchase: *826 - repository: *798 + enterprise: *796 + installation: *797 + marketplace_purchase: *826 + organization: *798 + previous_marketplace_purchase: *827 + repository: *799 sender: *4 required: - action @@ -163598,11 +163826,11 @@ x-webhooks: type: string required: - to - enterprise: *795 - installation: *796 - member: *817 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + member: *818 + organization: *798 + repository: *799 sender: *4 required: - action @@ -163702,11 +163930,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *795 - installation: *796 - member: *817 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + member: *818 + organization: *798 + repository: *799 sender: *4 required: - action @@ -163785,11 +164013,11 @@ x-webhooks: type: string enum: - removed - enterprise: *795 - installation: *796 - member: *817 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + member: *818 + organization: *798 + repository: *799 sender: *4 required: - action @@ -163867,11 +164095,11 @@ x-webhooks: type: string enum: - added - enterprise: *795 - installation: *796 - member: *817 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + member: *818 + organization: *798 + repository: *799 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163947,7 +164175,7 @@ x-webhooks: required: - login - id - team: &827 + team: &828 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -164170,11 +164398,11 @@ x-webhooks: type: string enum: - removed - enterprise: *795 - installation: *796 - member: *817 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + member: *818 + organization: *798 + repository: *799 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164251,7 +164479,7 @@ x-webhooks: required: - login - id - team: *827 + team: *828 required: - action - scope @@ -164333,8 +164561,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *796 - merge_group: &829 + installation: *797 + merge_group: &830 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -164353,15 +164581,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *828 + head_commit: *829 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -164447,10 +164675,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *796 - merge_group: *829 - organization: *797 - repository: *798 + installation: *797 + merge_group: *830 + organization: *798 + repository: *799 sender: *4 required: - action @@ -164523,7 +164751,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *795 + enterprise: *796 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -164632,17 +164860,17 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *796 - organization: *797 + installation: *797 + organization: *798 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *830 - required: *831 - x-github-breaking-changes: *832 + properties: *831 + required: *832 + x-github-breaking-changes: *833 nullable: true sender: *4 required: @@ -164723,11 +164951,11 @@ x-webhooks: type: string enum: - closed - enterprise: *795 - installation: *796 - milestone: *823 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + milestone: *824 + organization: *798 + repository: *799 sender: *4 required: - action @@ -164806,9 +165034,9 @@ x-webhooks: type: string enum: - created - enterprise: *795 - installation: *796 - milestone: &833 + enterprise: *796 + installation: *797 + milestone: &834 title: Milestone description: A collection of related issues and pull requests. type: object @@ -164945,8 +165173,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -165025,11 +165253,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *795 - installation: *796 - milestone: *823 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + milestone: *824 + organization: *798 + repository: *799 sender: *4 required: - action @@ -165139,11 +165367,11 @@ x-webhooks: type: string required: - from - enterprise: *795 - installation: *796 - milestone: *823 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + milestone: *824 + organization: *798 + repository: *799 sender: *4 required: - action @@ -165223,11 +165451,11 @@ x-webhooks: type: string enum: - opened - enterprise: *795 - installation: *796 - milestone: *833 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + milestone: *834 + organization: *798 + repository: *799 sender: *4 required: - action @@ -165306,11 +165534,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *817 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + blocked_user: *818 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -165389,11 +165617,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *817 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + blocked_user: *818 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -165472,9 +165700,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *795 - installation: *796 - membership: &834 + enterprise: *796 + installation: *797 + membership: &835 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -165581,8 +165809,8 @@ x-webhooks: - role - organization_url - user - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 required: - action @@ -165660,11 +165888,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *795 - installation: *796 - membership: *834 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + membership: *835 + organization: *798 + repository: *799 sender: *4 required: - action @@ -165743,8 +165971,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -165860,10 +166088,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 - user: *817 + user: *818 required: - action - invitation @@ -165941,11 +166169,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *795 - installation: *796 - membership: *834 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + membership: *835 + organization: *798 + repository: *799 sender: *4 required: - action @@ -166032,11 +166260,11 @@ x-webhooks: properties: from: type: string - enterprise: *795 - installation: *796 - membership: *834 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + membership: *835 + organization: *798 + repository: *799 sender: *4 required: - action @@ -166113,9 +166341,9 @@ x-webhooks: type: string enum: - published - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 package: description: Information about the package. type: object @@ -166614,7 +166842,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &835 + items: &836 title: Ruby Gems metadata type: object properties: @@ -166709,7 +166937,7 @@ x-webhooks: - owner - package_version - registry - repository: *798 + repository: *799 sender: *4 required: - action @@ -166785,9 +167013,9 @@ x-webhooks: type: string enum: - updated - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 package: description: Information about the package. type: object @@ -167140,7 +167368,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *835 + items: *836 source_url: type: string format: uri @@ -167210,7 +167438,7 @@ x-webhooks: - owner - package_version - registry - repository: *798 + repository: *799 sender: *4 required: - action @@ -167386,12 +167614,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *795 + enterprise: *796 id: type: integer - installation: *796 - organization: *797 - repository: *798 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - id @@ -167468,7 +167696,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &836 + personal_access_token_request: &837 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -167614,10 +167842,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *795 - organization: *797 + enterprise: *796 + organization: *798 sender: *4 - installation: *796 + installation: *797 required: - action - personal_access_token_request @@ -167694,11 +167922,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *836 - enterprise: *795 - organization: *797 + personal_access_token_request: *837 + enterprise: *796 + organization: *798 sender: *4 - installation: *796 + installation: *797 required: - action - personal_access_token_request @@ -167774,11 +168002,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *836 - enterprise: *795 - organization: *797 + personal_access_token_request: *837 + enterprise: *796 + organization: *798 sender: *4 - installation: *796 + installation: *797 required: - action - personal_access_token_request @@ -167853,11 +168081,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *836 - organization: *797 - enterprise: *795 + personal_access_token_request: *837 + organization: *798 + enterprise: *796 sender: *4 - installation: *796 + installation: *797 required: - action - personal_access_token_request @@ -167962,7 +168190,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *837 + last_response: *838 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -167994,8 +168222,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 zen: description: Random string of GitHub zen. @@ -168240,10 +168468,10 @@ x-webhooks: - from required: - note - enterprise: *795 - installation: *796 - organization: *797 - project_card: &838 + enterprise: *796 + installation: *797 + organization: *798 + project_card: &839 title: Project Card type: object properties: @@ -168362,7 +168590,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *798 + repository: *799 sender: *4 required: - action @@ -168443,11 +168671,11 @@ x-webhooks: type: string enum: - created - enterprise: *795 - installation: *796 - organization: *797 - project_card: *838 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + project_card: *839 + repository: *799 sender: *4 required: - action @@ -168527,9 +168755,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 project_card: title: Project Card type: object @@ -168657,9 +168885,9 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *830 - required: *831 - x-github-breaking-changes: *832 + properties: *831 + required: *832 + x-github-breaking-changes: *833 nullable: true sender: *4 required: @@ -168753,11 +168981,11 @@ x-webhooks: - from required: - note - enterprise: *795 - installation: *796 - organization: *797 - project_card: *838 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + project_card: *839 + repository: *799 sender: *4 required: - action @@ -168851,9 +169079,9 @@ x-webhooks: - from required: - column_id - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 project_card: allOf: - title: Project Card @@ -169043,7 +169271,7 @@ x-webhooks: type: string required: - after_id - repository: *798 + repository: *799 sender: *4 required: - action @@ -169123,10 +169351,10 @@ x-webhooks: type: string enum: - closed - enterprise: *795 - installation: *796 - organization: *797 - project: &840 + enterprise: *796 + installation: *797 + organization: *798 + project: &841 title: Project type: object properties: @@ -169250,7 +169478,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *798 + repository: *799 sender: *4 required: - action @@ -169330,10 +169558,10 @@ x-webhooks: type: string enum: - created - enterprise: *795 - installation: *796 - organization: *797 - project_column: &839 + enterprise: *796 + installation: *797 + organization: *798 + project_column: &840 title: Project Column type: object properties: @@ -169372,7 +169600,7 @@ x-webhooks: - name - created_at - updated_at - repository: *798 + repository: *799 sender: *4 required: - action @@ -169451,19 +169679,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *795 - installation: *796 - organization: *797 - project_column: *839 + enterprise: *796 + installation: *797 + organization: *798 + project_column: *840 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *830 - required: *831 - x-github-breaking-changes: *832 + properties: *831 + required: *832 + x-github-breaking-changes: *833 nullable: true sender: *4 required: @@ -169553,11 +169781,11 @@ x-webhooks: type: string required: - from - enterprise: *795 - installation: *796 - organization: *797 - project_column: *839 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + project_column: *840 + repository: *799 sender: *4 required: - action @@ -169637,11 +169865,11 @@ x-webhooks: type: string enum: - moved - enterprise: *795 - installation: *796 - organization: *797 - project_column: *839 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + project_column: *840 + repository: *799 sender: *4 required: - action @@ -169721,11 +169949,11 @@ x-webhooks: type: string enum: - created - enterprise: *795 - installation: *796 - organization: *797 - project: *840 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + project: *841 + repository: *799 sender: *4 required: - action @@ -169805,19 +170033,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *795 - installation: *796 - organization: *797 - project: *840 + enterprise: *796 + installation: *797 + organization: *798 + project: *841 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *830 - required: *831 - x-github-breaking-changes: *832 + properties: *831 + required: *832 + x-github-breaking-changes: *833 nullable: true sender: *4 required: @@ -169919,11 +170147,11 @@ x-webhooks: type: string required: - from - enterprise: *795 - installation: *796 - organization: *797 - project: *840 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + project: *841 + repository: *799 sender: *4 required: - action @@ -170002,11 +170230,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *795 - installation: *796 - organization: *797 - project: *840 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + project: *841 + repository: *799 sender: *4 required: - action @@ -170087,9 +170315,9 @@ x-webhooks: type: string enum: - closed - installation: *796 - organization: *797 - projects_v2: *292 + installation: *797 + organization: *798 + projects_v2: *293 sender: *4 required: - action @@ -170170,9 +170398,9 @@ x-webhooks: type: string enum: - created - installation: *796 - organization: *797 - projects_v2: *292 + installation: *797 + organization: *798 + projects_v2: *293 sender: *4 required: - action @@ -170253,9 +170481,9 @@ x-webhooks: type: string enum: - deleted - installation: *796 - organization: *797 - projects_v2: *292 + installation: *797 + organization: *798 + projects_v2: *293 sender: *4 required: - action @@ -170372,9 +170600,9 @@ x-webhooks: type: string to: type: string - installation: *796 - organization: *797 - projects_v2: *292 + installation: *797 + organization: *798 + projects_v2: *293 sender: *4 required: - action @@ -170457,7 +170685,7 @@ x-webhooks: type: string enum: - archived - changes: &844 + changes: &845 type: object properties: archived_at: @@ -170471,9 +170699,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *796 - organization: *797 - projects_v2_item: &841 + installation: *797 + organization: *798 + projects_v2_item: &842 title: Projects v2 Item description: An item belonging to a project type: object @@ -170491,7 +170719,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *299 + content_type: *300 creator: *4 created_at: type: string @@ -170608,9 +170836,9 @@ x-webhooks: nullable: true to: type: string - installation: *796 - organization: *797 - projects_v2_item: *841 + installation: *797 + organization: *798 + projects_v2_item: *842 sender: *4 required: - action @@ -170692,9 +170920,9 @@ x-webhooks: type: string enum: - created - installation: *796 - organization: *797 - projects_v2_item: *841 + installation: *797 + organization: *798 + projects_v2_item: *842 sender: *4 required: - action @@ -170775,9 +171003,9 @@ x-webhooks: type: string enum: - deleted - installation: *796 - organization: *797 - projects_v2_item: *841 + installation: *797 + organization: *798 + projects_v2_item: *842 sender: *4 required: - action @@ -170883,7 +171111,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &842 + - &843 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -170905,7 +171133,7 @@ x-webhooks: required: - id - name - - &843 + - &844 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -170939,8 +171167,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *842 - *843 + - *844 required: - field_value - type: object @@ -170956,9 +171184,9 @@ x-webhooks: nullable: true required: - body - installation: *796 - organization: *797 - projects_v2_item: *841 + installation: *797 + organization: *798 + projects_v2_item: *842 sender: *4 required: - action @@ -171053,9 +171281,9 @@ x-webhooks: to: type: string nullable: true - installation: *796 - organization: *797 - projects_v2_item: *841 + installation: *797 + organization: *798 + projects_v2_item: *842 sender: *4 required: - action @@ -171138,10 +171366,10 @@ x-webhooks: type: string enum: - restored - changes: *844 - installation: *796 - organization: *797 - projects_v2_item: *841 + changes: *845 + installation: *797 + organization: *798 + projects_v2_item: *842 sender: *4 required: - action @@ -171223,9 +171451,9 @@ x-webhooks: type: string enum: - reopened - installation: *796 - organization: *797 - projects_v2: *292 + installation: *797 + organization: *798 + projects_v2: *293 sender: *4 required: - action @@ -171306,14 +171534,14 @@ x-webhooks: type: string enum: - created - installation: *796 - organization: *797 - projects_v2_status_update: &847 + installation: *797 + organization: *798 + projects_v2_status_update: &848 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *845 - required: *846 + properties: *846 + required: *847 sender: *4 required: - action @@ -171394,9 +171622,9 @@ x-webhooks: type: string enum: - deleted - installation: *796 - organization: *797 - projects_v2_status_update: *847 + installation: *797 + organization: *798 + projects_v2_status_update: *848 sender: *4 required: - action @@ -171532,9 +171760,9 @@ x-webhooks: type: string format: date nullable: true - installation: *796 - organization: *797 - projects_v2_status_update: *847 + installation: *797 + organization: *798 + projects_v2_status_update: *848 sender: *4 required: - action @@ -171605,10 +171833,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - repository @@ -171685,13 +171913,13 @@ x-webhooks: type: string enum: - assigned - assignee: *817 - enterprise: *795 - installation: *796 - number: &848 + assignee: *818 + enterprise: *796 + installation: *797 + number: &849 description: The pull request number. type: integer - organization: *797 + organization: *798 pull_request: title: Pull Request type: object @@ -173870,6 +174098,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -173996,7 +174225,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *798 + repository: *799 sender: *4 required: - action @@ -174093,11 +174322,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 number: type: integer - organization: *797 + organization: *798 pull_request: title: Pull Request type: object @@ -176269,6 +176498,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -176397,7 +176627,7 @@ x-webhooks: - draft reason: type: string - repository: *798 + repository: *799 sender: *4 required: - action @@ -176494,11 +176724,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 number: type: integer - organization: *797 + organization: *798 pull_request: title: Pull Request type: object @@ -178670,6 +178900,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -178798,7 +179029,7 @@ x-webhooks: - draft reason: type: string - repository: *798 + repository: *799 sender: *4 required: - action @@ -178895,13 +179126,13 @@ x-webhooks: type: string enum: - closed - enterprise: *795 - installation: *796 - number: *848 - organization: *797 - pull_request: &849 + enterprise: *796 + installation: *797 + number: *849 + organization: *798 + pull_request: &850 allOf: - - *630 + - *631 - type: object properties: allow_auto_merge: @@ -178963,7 +179194,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *798 + repository: *799 sender: *4 required: - action @@ -179044,12 +179275,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *795 - installation: *796 - number: *848 - organization: *797 - pull_request: *849 - repository: *798 + enterprise: *796 + installation: *797 + number: *849 + organization: *798 + pull_request: *850 + repository: *799 sender: *4 required: - action @@ -179129,11 +179360,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *795 + enterprise: *796 milestone: *614 - number: *848 - organization: *797 - pull_request: &850 + number: *849 + organization: *798 + pull_request: &851 title: Pull Request type: object properties: @@ -181292,6 +181523,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -181460,7 +181692,7 @@ x-webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *798 + repository: *799 sender: *4 required: - action @@ -181539,11 +181771,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 number: type: integer - organization: *797 + organization: *798 pull_request: title: Pull Request type: object @@ -183706,6 +183938,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -183847,7 +184080,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *798 + repository: *799 sender: *4 required: - action @@ -183979,12 +184212,12 @@ x-webhooks: type: string required: - from - enterprise: *795 - installation: *796 - number: *848 - organization: *797 - pull_request: *849 - repository: *798 + enterprise: *796 + installation: *797 + number: *849 + organization: *798 + pull_request: *850 + repository: *799 sender: *4 required: - action @@ -184064,11 +184297,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 number: type: integer - organization: *797 + organization: *798 pull_request: title: Pull Request type: object @@ -186231,6 +186464,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -186357,7 +186591,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *798 + repository: *799 sender: *4 required: - action @@ -186445,11 +186679,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *795 - installation: *796 - label: *816 - number: *848 - organization: *797 + enterprise: *796 + installation: *797 + label: *817 + number: *849 + organization: *798 pull_request: title: Pull Request type: object @@ -188627,6 +188861,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -188753,7 +188988,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *798 + repository: *799 sender: *4 required: - action @@ -188849,10 +189084,10 @@ x-webhooks: type: string enum: - locked - enterprise: *795 - installation: *796 - number: *848 - organization: *797 + enterprise: *796 + installation: *797 + number: *849 + organization: *798 pull_request: title: Pull Request type: object @@ -191028,6 +191263,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -191154,7 +191390,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *798 + repository: *799 sender: *4 required: - action @@ -191249,12 +191485,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *795 + enterprise: *796 milestone: *614 - number: *848 - organization: *797 - pull_request: *850 - repository: *798 + number: *849 + organization: *798 + pull_request: *851 + repository: *799 sender: *4 required: - action @@ -191333,12 +191569,12 @@ x-webhooks: type: string enum: - opened - enterprise: *795 - installation: *796 - number: *848 - organization: *797 - pull_request: *849 - repository: *798 + enterprise: *796 + installation: *797 + number: *849 + organization: *798 + pull_request: *850 + repository: *799 sender: *4 required: - action @@ -191419,12 +191655,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *795 - installation: *796 - number: *848 - organization: *797 - pull_request: *849 - repository: *798 + enterprise: *796 + installation: *797 + number: *849 + organization: *798 + pull_request: *850 + repository: *799 sender: *4 required: - action @@ -191504,12 +191740,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *795 - installation: *796 - number: *848 - organization: *797 - pull_request: *849 - repository: *798 + enterprise: *796 + installation: *797 + number: *849 + organization: *798 + pull_request: *850 + repository: *799 sender: *4 required: - action @@ -191875,9 +192111,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 pull_request: type: object properties: @@ -193948,6 +194184,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: type: string enum: @@ -194069,7 +194306,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *798 + repository: *799 sender: *4 required: - action @@ -194164,7 +194401,7 @@ x-webhooks: type: string enum: - deleted - comment: &852 + comment: &853 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -194449,9 +194686,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 pull_request: type: object properties: @@ -196510,6 +196747,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: type: string enum: @@ -196631,7 +196869,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *798 + repository: *799 sender: *4 required: - action @@ -196726,11 +196964,11 @@ x-webhooks: type: string enum: - edited - changes: *851 - comment: *852 - enterprise: *795 - installation: *796 - organization: *797 + changes: *852 + comment: *853 + enterprise: *796 + installation: *797 + organization: *798 pull_request: type: object properties: @@ -198792,6 +199030,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: type: string enum: @@ -198913,7 +199152,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *798 + repository: *799 sender: *4 required: - action @@ -199009,9 +199248,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 pull_request: title: Simple Pull Request type: object @@ -201083,6 +201322,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: type: string enum: @@ -201206,7 +201446,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *798 + repository: *799 review: description: The review that was affected. type: object @@ -201468,9 +201708,9 @@ x-webhooks: type: string required: - from - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 pull_request: title: Simple Pull Request type: object @@ -203524,8 +203764,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *798 - review: &853 + repository: *799 + review: &854 description: The review that was affected. type: object properties: @@ -203766,12 +204006,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 number: description: The pull request number. type: integer - organization: *797 + organization: *798 pull_request: title: Pull Request type: object @@ -205950,6 +206190,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: description: State of this Pull Request. Either `open` or `closed`. @@ -206076,7 +206317,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *798 + repository: *799 requested_reviewer: title: User type: object @@ -206160,12 +206401,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 number: description: The pull request number. type: integer - organization: *797 + organization: *798 pull_request: title: Pull Request type: object @@ -208351,6 +208592,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: description: State of this Pull Request. Either `open` or `closed`. @@ -208477,7 +208719,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *798 + repository: *799 requested_team: title: Team description: Groups of organization members that gives permissions @@ -208692,12 +208934,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 number: description: The pull request number. type: integer - organization: *797 + organization: *798 pull_request: title: Pull Request type: object @@ -210877,6 +211119,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: description: State of this Pull Request. Either `open` or `closed`. @@ -211004,7 +211247,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *798 + repository: *799 requested_reviewer: title: User type: object @@ -211089,12 +211332,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *795 - installation: *796 + enterprise: *796 + installation: *797 number: description: The pull request number. type: integer - organization: *797 + organization: *798 pull_request: title: Pull Request type: object @@ -213265,6 +213508,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: description: State of this Pull Request. Either `open` or `closed`. @@ -213392,7 +213636,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *798 + repository: *799 requested_team: title: Team description: Groups of organization members that gives permissions @@ -213596,9 +213840,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 pull_request: title: Simple Pull Request type: object @@ -215672,6 +215916,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: type: string enum: @@ -215795,8 +216040,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *798 - review: *853 + repository: *799 + review: *854 sender: *4 required: - action @@ -215891,9 +216136,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 pull_request: title: Simple Pull Request type: object @@ -217862,6 +218107,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: type: string enum: @@ -217985,7 +218231,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *798 + repository: *799 sender: *4 thread: type: object @@ -218380,9 +218626,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 pull_request: title: Simple Pull Request type: object @@ -220338,6 +220584,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: type: string enum: @@ -220460,7 +220707,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *798 + repository: *799 sender: *4 thread: type: object @@ -220852,10 +221099,11 @@ x-webhooks: type: string enum: - stacked - enterprise: *795 - installation: *796 - number: *848 - organization: *797 + enterprise: *796 + installation: *797 + stack: *628 + number: *849 + organization: *798 pull_request: title: Pull Request type: object @@ -223033,6 +223281,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -223159,7 +223408,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *798 + repository: *799 sender: *4 required: - action @@ -223260,10 +223509,10 @@ x-webhooks: type: string before: type: string - enterprise: *795 - installation: *796 - number: *848 - organization: *797 + enterprise: *796 + installation: *797 + number: *849 + organization: *798 pull_request: title: Pull Request type: object @@ -225430,6 +225679,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -225556,7 +225806,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *798 + repository: *799 sender: *4 required: - action @@ -225653,11 +225903,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *854 - enterprise: *795 - installation: *796 - number: *848 - organization: *797 + assignee: *855 + enterprise: *796 + installation: *797 + number: *849 + organization: *798 pull_request: title: Pull Request type: object @@ -227836,6 +228086,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -227962,7 +228213,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *798 + repository: *799 sender: *4 required: - action @@ -228056,11 +228307,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *795 - installation: *796 - label: *816 - number: *848 - organization: *797 + enterprise: *796 + installation: *797 + label: *817 + number: *849 + organization: *798 pull_request: title: Pull Request type: object @@ -230229,6 +230480,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -230355,7 +230607,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *798 + repository: *799 sender: *4 required: - action @@ -230451,10 +230703,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *795 - installation: *796 - number: *848 - organization: *797 + enterprise: *796 + installation: *797 + number: *849 + organization: *798 pull_request: title: Pull Request type: object @@ -232616,6 +232868,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *628 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -232741,7 +232994,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *798 + repository: *799 sender: *4 required: - action @@ -232956,7 +233209,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *795 + enterprise: *796 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -233048,8 +233301,8 @@ x-webhooks: - url - author - committer - installation: *796 - organization: *797 + installation: *797 + organization: *798 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -233635,9 +233888,9 @@ x-webhooks: type: string enum: - published - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 registry_package: type: object properties: @@ -234083,7 +234336,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *835 + items: *836 summary: type: string tag_name: @@ -234137,7 +234390,7 @@ x-webhooks: - owner - package_version - registry - repository: *798 + repository: *799 sender: *4 required: - action @@ -234215,9 +234468,9 @@ x-webhooks: type: string enum: - updated - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 registry_package: type: object properties: @@ -234525,7 +234778,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *835 + items: *836 summary: type: string tag_name: @@ -234574,7 +234827,7 @@ x-webhooks: - owner - package_version - registry - repository: *798 + repository: *799 sender: *4 required: - action @@ -234651,10 +234904,10 @@ x-webhooks: type: string enum: - created - enterprise: *795 - installation: *796 - organization: *797 - release: &855 + enterprise: *796 + installation: *797 + organization: *798 + release: &856 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -234972,7 +235225,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *798 + repository: *799 sender: *4 required: - action @@ -235049,11 +235302,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *795 - installation: *796 - organization: *797 - release: *855 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + release: *856 + repository: *799 sender: *4 required: - action @@ -235170,11 +235423,11 @@ x-webhooks: type: boolean required: - to - enterprise: *795 - installation: *796 - organization: *797 - release: *855 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + release: *856 + repository: *799 sender: *4 required: - action @@ -235252,9 +235505,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -235576,7 +235829,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *798 + repository: *799 sender: *4 required: - action @@ -235652,10 +235905,10 @@ x-webhooks: type: string enum: - published - enterprise: *795 - installation: *796 - organization: *797 - release: &856 + enterprise: *796 + installation: *797 + organization: *798 + release: &857 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -235974,7 +236227,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *798 + repository: *799 sender: *4 required: - action @@ -236050,11 +236303,11 @@ x-webhooks: type: string enum: - released - enterprise: *795 - installation: *796 - organization: *797 - release: *855 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + release: *856 + repository: *799 sender: *4 required: - action @@ -236130,11 +236383,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *795 - installation: *796 - organization: *797 - release: *856 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + release: *857 + repository: *799 sender: *4 required: - action @@ -236210,11 +236463,11 @@ x-webhooks: type: string enum: - published - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 - repository_advisory: *715 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 + repository_advisory: *716 sender: *4 required: - action @@ -236290,11 +236543,11 @@ x-webhooks: type: string enum: - reported - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 - repository_advisory: *715 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 + repository_advisory: *716 sender: *4 required: - action @@ -236370,10 +236623,10 @@ x-webhooks: type: string enum: - archived - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -236450,10 +236703,10 @@ x-webhooks: type: string enum: - created - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -236531,10 +236784,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -236618,10 +236871,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -236733,10 +236986,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -236808,10 +237061,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 status: type: string @@ -236892,10 +237145,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -236972,10 +237225,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -237069,10 +237322,10 @@ x-webhooks: - name required: - repository - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -237152,11 +237405,11 @@ x-webhooks: type: string enum: - created - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 - repository_ruleset: *341 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 + repository_ruleset: *342 sender: *4 required: - action @@ -237234,11 +237487,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 - repository_ruleset: *341 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 + repository_ruleset: *342 sender: *4 required: - action @@ -237316,11 +237569,11 @@ x-webhooks: type: string enum: - edited - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 - repository_ruleset: *341 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 + repository_ruleset: *342 changes: type: object properties: @@ -237339,16 +237592,16 @@ x-webhooks: properties: added: type: array - items: *315 + items: *316 deleted: type: array - items: *315 + items: *316 updated: type: array items: type: object properties: - condition: *315 + condition: *316 changes: type: object properties: @@ -237381,16 +237634,16 @@ x-webhooks: properties: added: type: array - items: *651 + items: *652 deleted: type: array - items: *651 + items: *652 updated: type: array items: type: object properties: - rule: *651 + rule: *652 changes: type: object properties: @@ -237624,10 +237877,10 @@ x-webhooks: - from required: - owner - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -237705,10 +237958,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -237786,7 +238039,7 @@ x-webhooks: type: string enum: - create - alert: &857 + alert: &858 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -237908,10 +238161,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -238117,10 +238370,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -238198,11 +238451,11 @@ x-webhooks: type: string enum: - reopen - alert: *857 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + alert: *858 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -238401,10 +238654,10 @@ x-webhooks: enum: - fixed - open - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -238482,11 +238735,11 @@ x-webhooks: type: string enum: - assigned - alert: &859 + alert: &860 type: object properties: - number: *188 - created_at: *189 + number: *189 + created_at: *190 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -238494,8 +238747,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *191 - html_url: *192 + url: *192 + html_url: *193 locations_url: type: string format: uri @@ -238546,6 +238799,14 @@ x-webhooks: description: The slug identifier for the provider of the secret that was detected. nullable: true + 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. @@ -238624,12 +238885,12 @@ x-webhooks: properties: *20 required: *21 nullable: true - metadata: *858 + metadata: *859 assignee: *4 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -238707,11 +238968,11 @@ x-webhooks: type: string enum: - created - alert: *859 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + alert: *860 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -238792,11 +239053,11 @@ x-webhooks: type: string enum: - created - alert: *859 - installation: *796 - location: *860 - organization: *797 - repository: *798 + alert: *860 + installation: *797 + location: *861 + organization: *798 + repository: *799 sender: *4 required: - location @@ -239034,11 +239295,11 @@ x-webhooks: type: string enum: - metadata_created - alert: *859 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + alert: *860 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -239115,11 +239376,11 @@ x-webhooks: type: string enum: - metadata_removed - alert: *859 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + alert: *860 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -239196,11 +239457,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *859 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + alert: *860 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -239278,11 +239539,11 @@ x-webhooks: type: string enum: - reopened - alert: *859 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + alert: *860 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -239360,11 +239621,11 @@ x-webhooks: type: string enum: - resolved - alert: *859 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + alert: *860 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -239442,12 +239703,12 @@ x-webhooks: type: string enum: - unassigned - alert: *859 + alert: *860 assignee: *4 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -239525,11 +239786,11 @@ x-webhooks: type: string enum: - validated - alert: *859 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + alert: *860 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -239655,10 +239916,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *798 - enterprise: *795 - installation: *796 - organization: *797 + repository: *799 + enterprise: *796 + installation: *797 + organization: *798 sender: *4 required: - action @@ -239736,11 +239997,11 @@ x-webhooks: type: string enum: - published - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 - security_advisory: &861 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 + security_advisory: &862 description: The details of the security advisory, including summary, description, and severity. type: object @@ -239756,7 +240017,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *64 + cvss_severities: *65 cwes: type: array items: @@ -239941,11 +240202,11 @@ x-webhooks: type: string enum: - updated - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 - security_advisory: *861 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 + security_advisory: *862 sender: *4 required: - action @@ -240018,10 +240279,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -240038,7 +240299,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *64 + cvss_severities: *65 cwes: type: array items: @@ -240213,11 +240474,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *314 - enterprise: *795 - installation: *796 - organization: *797 - repository: *361 + security_and_analysis: *315 + enterprise: *796 + installation: *797 + organization: *798 + repository: *362 sender: *4 required: - changes @@ -240295,12 +240556,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 - sponsorship: &862 + sponsorship: &863 type: object properties: created_at: @@ -240601,12 +240862,12 @@ x-webhooks: type: string enum: - created - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 - sponsorship: *862 + sponsorship: *863 required: - action - sponsorship @@ -240694,12 +240955,12 @@ x-webhooks: type: string required: - from - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 - sponsorship: *862 + sponsorship: *863 required: - action - changes @@ -240776,17 +241037,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &863 + effective_date: &864 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: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 - sponsorship: *862 + sponsorship: *863 required: - action - sponsorship @@ -240860,7 +241121,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &864 + changes: &865 type: object properties: tier: @@ -240904,13 +241165,13 @@ x-webhooks: - from required: - tier - effective_date: *863 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + effective_date: *864 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 - sponsorship: *862 + sponsorship: *863 required: - action - changes @@ -240987,13 +241248,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *864 - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + changes: *865 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 - sponsorship: *862 + sponsorship: *863 required: - action - changes @@ -241067,10 +241328,10 @@ x-webhooks: type: string enum: - created - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -241153,10 +241414,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -241576,15 +241837,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *795 + enterprise: *796 id: description: The unique identifier of the status. type: integer - installation: *796 + installation: *797 name: type: string - organization: *797 - repository: *798 + organization: *798 + repository: *799 sender: *4 sha: description: The Commit SHA. @@ -241693,15 +241954,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *88 - parent_issue_repo: *82 + parent_issue: *89 + parent_issue_repo: *83 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *88 - installation: *796 - organization: *797 - repository: *798 + sub_issue: *89 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -241784,15 +242045,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *88 - parent_issue_repo: *82 + parent_issue: *89 + parent_issue_repo: *83 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *88 - installation: *796 - organization: *797 - repository: *798 + sub_issue: *89 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -241875,15 +242136,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *88 - sub_issue_repo: *82 + sub_issue: *89 + sub_issue_repo: *83 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *88 - installation: *796 - organization: *797 - repository: *798 + parent_issue: *89 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -241966,15 +242227,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *88 - sub_issue_repo: *82 + sub_issue: *89 + sub_issue_repo: *83 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *88 - installation: *796 - organization: *797 - repository: *798 + parent_issue: *89 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -242050,12 +242311,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 - team: &865 + team: &866 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -242278,9 +242539,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 repository: title: Repository description: A git repository @@ -242738,7 +242999,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *865 + team: *866 required: - action - team @@ -242814,9 +243075,9 @@ x-webhooks: type: string enum: - created - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 repository: title: Repository description: A git repository @@ -243274,7 +243535,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *865 + team: *866 required: - action - team @@ -243351,9 +243612,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 repository: title: Repository description: A git repository @@ -243811,7 +244072,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *865 + team: *866 required: - action - team @@ -243955,9 +244216,9 @@ x-webhooks: - from required: - permissions - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 repository: title: Repository description: A git repository @@ -244415,7 +244676,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *865 + team: *866 required: - action - changes @@ -244493,9 +244754,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *795 - installation: *796 - organization: *797 + enterprise: *796 + installation: *797 + organization: *798 repository: title: Repository description: A git repository @@ -244953,7 +245214,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *865 + team: *866 required: - action - team @@ -245029,10 +245290,10 @@ x-webhooks: type: string enum: - started - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 required: - action @@ -245105,16 +245366,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *795 + enterprise: *796 inputs: type: object nullable: true additionalProperties: true - installation: *796 - organization: *797 + installation: *797 + organization: *798 ref: type: string - repository: *798 + repository: *799 sender: *4 workflow: type: string @@ -245196,10 +245457,10 @@ x-webhooks: type: string enum: - completed - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 workflow_job: allOf: @@ -245436,7 +245697,7 @@ x-webhooks: type: string required: - conclusion - deployment: *523 + deployment: *524 required: - action - repository @@ -245515,10 +245776,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 workflow_job: allOf: @@ -245778,7 +246039,7 @@ x-webhooks: required: - status - steps - deployment: *523 + deployment: *524 required: - action - repository @@ -245857,10 +246118,10 @@ x-webhooks: type: string enum: - queued - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 workflow_job: type: object @@ -245995,7 +246256,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *523 + deployment: *524 required: - action - repository @@ -246074,10 +246335,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 workflow_job: type: object @@ -246213,7 +246474,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *523 + deployment: *524 required: - action - repository @@ -246293,12 +246554,12 @@ x-webhooks: type: string enum: - completed - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 - workflow: *812 + workflow: *813 workflow_run: title: Workflow Run type: object @@ -247297,12 +247558,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 - workflow: *812 + workflow: *813 workflow_run: title: Workflow Run type: object @@ -248286,12 +248547,12 @@ x-webhooks: type: string enum: - requested - enterprise: *795 - installation: *796 - organization: *797 - repository: *798 + enterprise: *796 + installation: *797 + organization: *798 + repository: *799 sender: *4 - workflow: *812 + workflow: *813 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index f6d3f7aeb8..b2aa6daf81 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -16854,6 +16854,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": { @@ -17240,6 +17266,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": { @@ -17406,241 +17458,319 @@ } } } - } - }, - "x-github": { - "enabledForGitHubApps": true, - "category": "classroom", - "subcategory": "classroom", - "deprecationDate": "2026-05-22", - "removalDate": "2026-08-28" - }, - "deprecated": true - } - }, - "/classrooms": { - "get": { - "summary": "Closing down - List classrooms", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nLists GitHub Classroom classrooms for the current user. Classrooms will only be returned if the current user is an administrator of one or more GitHub Classrooms.", - "tags": [ - "classroom" - ], - "operationId": "classroom/list-classrooms", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/classroom/classroom#closing-down---list-classrooms" - }, - "parameters": [ - { - "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 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Simple Classroom", - "description": "A GitHub Classroom classroom", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the classroom.", - "example": 42, - "type": "integer" - }, - "name": { - "description": "The name of the classroom.", - "type": "string", - "example": "Programming Elixir" - }, - "archived": { - "description": "Returns whether classroom is archived or not.", - "type": "boolean", - "example": false - }, - "url": { - "description": "The url of the classroom on GitHub Classroom.", - "type": "string", - "example": "https://classroom.github.com/classrooms/1-programming-elixir" - } - }, - "required": [ - "id", - "name", - "archived", - "url" - ] - } - }, - "examples": { - "default": { - "value": { - "id": 1296269, - "name": "Programming Elixir", - "archived": "false,", - "url": "https://classroom.github.com/classrooms/1-programming-elixir" - } - } - } - } - } - } - }, - "x-github": { - "enabledForGitHubApps": true, - "category": "classroom", - "subcategory": "classroom", - "deprecationDate": "2026-05-22", - "removalDate": "2026-08-28" - }, - "deprecated": true - } - }, - "/classrooms/{classroom_id}": { - "get": { - "summary": "Closing down - Get a classroom", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nGets a GitHub Classroom classroom for the current user. Classroom will only be returned if the current user is an administrator of the GitHub Classroom.", - "tags": [ - "classroom" - ], - "operationId": "classroom/get-a-classroom", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/classroom/classroom#closing-down---get-a-classroom" - }, - "parameters": [ - { - "name": "classroom_id", - "description": "The unique identifier of the classroom.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Classroom", - "description": "A GitHub Classroom classroom", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the classroom.", - "example": 42, - "type": "integer" - }, - "name": { - "description": "The name of the classroom.", - "type": "string", - "example": "Programming Elixir" - }, - "archived": { - "description": "Whether classroom is archived.", - "type": "boolean", - "example": false - }, - "organization": { - "title": "Organization Simple for Classroom", - "description": "A GitHub organization.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 1 - }, - "login": { - "type": "string", - "example": "github" - }, - "node_id": { - "type": "string", - "example": "MDEyOk9yZ2FuaXphdGlvbjE=" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/github" - }, - "name": { - "type": "string", - "example": "Github - Code thigns happen here", - "nullable": true - }, - "avatar_url": { - "type": "string", - "example": "https://github.com/images/error/octocat_happy.gif" - } - }, - "required": [ - "id", - "login", - "node_id", - "html_url", - "name", - "avatar_url" - ] - }, - "url": { - "description": "The URL of the classroom on GitHub Classroom.", - "type": "string", - "example": "https://classroom.github.com/classrooms/1-programming-elixir" - } - }, - "required": [ - "id", - "name", - "archived", - "organization", - "url" - ] - }, - "examples": { - "default": { - "value": { - "id": 1296269, - "name": "Programming Elixir", - "archived": "false,", - "organization": { - "id": 1, - "login": "programming-elixir", - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "html_url": "https://github.com/programming-elixir", - "name": "Learn how to build fault tolerant applications", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4" - }, - "url": "https://classroom.github.com/classrooms/1-programming-elixir" - } - } - } - } - } }, - "404": { - "description": "Resource not found", + "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": { + "enabledForGitHubApps": true, + "category": "classroom", + "subcategory": "classroom", + "deprecationDate": "2026-05-22", + "removalDate": "2026-08-28" + }, + "deprecated": true + } + }, + "/classrooms": { + "get": { + "summary": "Closing down - List classrooms", + "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nLists GitHub Classroom classrooms for the current user. Classrooms will only be returned if the current user is an administrator of one or more GitHub Classrooms.", + "tags": [ + "classroom" + ], + "operationId": "classroom/list-classrooms", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/classroom/classroom#closing-down---list-classrooms" + }, + "parameters": [ + { + "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 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Simple Classroom", + "description": "A GitHub Classroom classroom", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the classroom.", + "example": 42, + "type": "integer" + }, + "name": { + "description": "The name of the classroom.", + "type": "string", + "example": "Programming Elixir" + }, + "archived": { + "description": "Returns whether classroom is archived or not.", + "type": "boolean", + "example": false + }, + "url": { + "description": "The url of the classroom on GitHub Classroom.", + "type": "string", + "example": "https://classroom.github.com/classrooms/1-programming-elixir" + } + }, + "required": [ + "id", + "name", + "archived", + "url" + ] + } + }, + "examples": { + "default": { + "value": { + "id": 1296269, + "name": "Programming Elixir", + "archived": "false,", + "url": "https://classroom.github.com/classrooms/1-programming-elixir" + } + } + } + } + } + }, + "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": { + "enabledForGitHubApps": true, + "category": "classroom", + "subcategory": "classroom", + "deprecationDate": "2026-05-22", + "removalDate": "2026-08-28" + }, + "deprecated": true + } + }, + "/classrooms/{classroom_id}": { + "get": { + "summary": "Closing down - Get a classroom", + "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nGets a GitHub Classroom classroom for the current user. Classroom will only be returned if the current user is an administrator of the GitHub Classroom.", + "tags": [ + "classroom" + ], + "operationId": "classroom/get-a-classroom", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/classroom/classroom#closing-down---get-a-classroom" + }, + "parameters": [ + { + "name": "classroom_id", + "description": "The unique identifier of the classroom.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Classroom", + "description": "A GitHub Classroom classroom", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the classroom.", + "example": 42, + "type": "integer" + }, + "name": { + "description": "The name of the classroom.", + "type": "string", + "example": "Programming Elixir" + }, + "archived": { + "description": "Whether classroom is archived.", + "type": "boolean", + "example": false + }, + "organization": { + "title": "Organization Simple for Classroom", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "example": 1 + }, + "login": { + "type": "string", + "example": "github" + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/github" + }, + "name": { + "type": "string", + "example": "Github - Code thigns happen here", + "nullable": true + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + } + }, + "required": [ + "id", + "login", + "node_id", + "html_url", + "name", + "avatar_url" + ] + }, + "url": { + "description": "The URL of the classroom on GitHub Classroom.", + "type": "string", + "example": "https://classroom.github.com/classrooms/1-programming-elixir" + } + }, + "required": [ + "id", + "name", + "archived", + "organization", + "url" + ] + }, + "examples": { + "default": { + "value": { + "id": 1296269, + "name": "Programming Elixir", + "archived": "false,", + "organization": { + "id": 1, + "login": "programming-elixir", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "html_url": "https://github.com/programming-elixir", + "name": "Learn how to build fault tolerant applications", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4" + }, + "url": "https://classroom.github.com/classrooms/1-programming-elixir" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "410": { + "description": "Gone", "content": { "application/json": { "schema": { @@ -17907,6 +18037,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": { @@ -47858,17 +48014,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": [ { @@ -47935,6 +48091,9 @@ } } }, + "204": { + "description": "A header with no content is returned." + }, "500": { "description": "Internal Error", "content": { @@ -48022,17 +48181,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": [ { @@ -48186,17 +48345,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": [ { @@ -48207,6 +48366,17 @@ "schema": { "type": "string" } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } } ], "responses": { @@ -48216,8 +48386,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", @@ -48225,23 +48395,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": { @@ -48251,8 +48415,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" } } } @@ -48346,17 +48509,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": [ { @@ -48369,205 +48532,365 @@ } } ], - "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", + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." }, - "detail": { + "report_start_day": { "type": "string", - "nullable": true - }, - "status": { - "type": "integer" + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." }, - "scimType": { + "report_end_day": { "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "enabledForGitHubApps": false, - "category": "copilot", - "subcategory": "copilot-coding-agent-management" - } - } - }, - "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": { - "post": { - "summary": "Add organizations to the enterprise coding agent policy", - "description": "Enables Copilot cloud agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can add organizations to the coding agent policy.\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/add-organizations-to-enterprise-coding-agent-policy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "description": "The organizations to enable Copilot cloud agent for", - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "organizations": { - "type": "array", - "description": "List of organization logins within the enterprise to enable Copilot cloud agent for.", - "items": { - "type": "string" + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." } }, - "custom_properties": { - "type": "array", - "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", - "items": { - "type": "object", - "properties": { - "property_name": { - "type": "string", - "description": "The name of the custom property to filter by." - }, - "values": { - "type": "array", - "description": "The values of the custom property to match.", - "items": { - "type": "string" - } - } - }, - "required": [ - "property_name", - "values" - ] + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "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" } } } - }, - "examples": { - "default": { - "summary": "Add organizations that match a login or have a custom property", - "value": { - "organizations": [ - "my-org-1", - "my-org-2" - ], - "custom_properties": [ - { - "property_name": "department", - "values": [ - "engineering", - "security" - ] - } - ] - } - } } } - } - }, - "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": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": { + "post": { + "summary": "Add organizations to the enterprise coding agent policy", + "description": "Enables Copilot cloud agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can add organizations to the coding agent policy.\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/add-organizations-to-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The organizations to enable Copilot cloud agent for", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organizations": { + "type": "array", + "description": "List of organization logins within the enterprise to enable Copilot cloud agent for.", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "array", + "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", + "items": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the custom property to filter by." + }, + "values": { + "type": "array", + "description": "The values of the custom property to match.", + "items": { + "type": "string" + } + } + }, + "required": [ + "property_name", + "values" + ] + } + } + } + }, + "examples": { + "default": { + "summary": "Add organizations that match a login or have a custom property", + "value": { + "organizations": [ + "my-org-1", + "my-org-2" + ], + "custom_properties": [ + { + "property_name": "department", + "values": [ + "engineering", + "security" + ] + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -150820,6 +151143,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, @@ -150960,6 +151288,193 @@ } } }, + "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", + "description": "The ID of the provenance attestation associated with the deployment record.", + "nullable": true + } + } + } + }, + "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", + "nullable": true, + "description": "The version of the deployment." + }, + "status": { + "type": "string", + "description": "The deployment status." + }, + "github_repository": { + "type": "string", + "nullable": true, + "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": { @@ -178508,6 +179023,173 @@ } } }, + "/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", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.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", @@ -244105,6 +244787,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -253663,6 +254389,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -368614,6 +369384,1132 @@ } } }, + "/repos/{owner}/{repo}/code-quality/findings": { + "get": { + "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-quality" + ], + "operationId": "code-quality/list-findings-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#list-code-quality-findings-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": "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": "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.", + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled" + ] + }, + "runner_label": { + "description": "Runner label to be used if the runner type is labeled.", + "nullable": true, + "type": "string", + "example": "code-scanning" + }, + "updated_at": { + "description": "Timestamp of latest configuration update.", + "nullable": true, + "type": "string", + "format": "date-time", + "example": "2023-12-06T14:20:20.000Z" + }, + "schedule": { + "description": "The frequency of the periodic analysis.", + "nullable": true, + "type": "string", + "enum": [ + "weekly" + ] + } + } + }, + "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": { + "nullable": true, + "description": "Runner label to be used if the runner type is labeled.", + "type": "string", + "example": "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", @@ -395526,6 +397422,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -584476,6 +586416,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -588299,6 +590283,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -595011,6 +597039,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -599045,6 +601117,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -610099,6 +612215,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -614012,6 +616172,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -755463,6 +757667,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -813863,6 +816111,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -942221,6 +944513,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1289472,6 +1291808,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1294075,6 +1296455,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1298681,6 +1301105,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1303545,6 +1306013,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1308527,6 +1311039,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1313449,6 +1316005,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1318041,6 +1320641,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1322981,6 +1325625,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1327695,6 +1330383,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1332345,6 +1335077,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1336952,6 +1339728,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1341753,6 +1344573,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1346613,6 +1349477,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1351595,6 +1354503,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1356577,6 +1359529,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1361521,6 +1364517,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1366326,6 +1369366,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1371153,6 +1374237,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1375614,6 +1378742,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1384993,6 +1388165,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1389611,6 +1392827,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1394361,6 +1397621,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1398966,6 +1402270,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1403565,6 +1406913,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1408150,6 +1411542,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1412899,6 +1416335,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1414986,6 +1418466,50 @@ "node_id" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "number": { "description": "The pull request number.", "type": "integer" @@ -1417881,6 +1421405,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1422493,6 +1426061,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1427201,6 +1430813,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1431849,6 +1435505,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1436442,6 +1440142,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1502337,6 +1506081,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1504870,6 +1508622,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1507279,6 +1511039,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1510158,6 +1513926,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1512566,6 +1516342,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1514974,6 +1518758,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1517383,6 +1521175,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1519792,6 +1523592,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1522201,6 +1526009,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1524734,6 +1528550,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 9fddaac36a..612d878086 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -455,7 +455,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &110 + - &111 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 @@ -464,7 +464,7 @@ paths: required: false schema: type: string - - &111 + - &112 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 @@ -473,7 +473,7 @@ paths: required: false schema: type: string - - &112 + - &113 name: direction description: The direction to sort the results by. in: query @@ -694,7 +694,7 @@ paths: required: - vector_string - score - cvss_severities: &136 + cvss_severities: &137 type: object nullable: true properties: @@ -734,7 +734,7 @@ paths: required: - vector_string - score - epss: &137 + epss: &138 type: object nullable: true readOnly: true @@ -872,7 +872,7 @@ paths: - subscriptions_url - type - url - type: &492 + type: &493 type: string description: The type of credit the user is receiving. enum: @@ -1005,7 +1005,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &271 + schema: &272 title: Validation Error Simple description: Validation Error Simple type: object @@ -1038,7 +1038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &826 + - &829 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -3682,7 +3682,7 @@ paths: GitHub. type: object nullable: true - properties: &229 + properties: &230 id: description: Unique identifier of the GitHub app example: 37 @@ -3704,7 +3704,7 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: &147 + properties: &148 description: description: A short description of the enterprise. type: string @@ -3746,7 +3746,7 @@ paths: avatar_url: type: string format: uri - required: &148 + required: &149 - id - node_id - name @@ -3815,7 +3815,7 @@ paths: about itself. example: 5 type: integer - required: &230 + required: &231 - id - node_id - owner @@ -4120,7 +4120,7 @@ paths: schema: type: integer default: 30 - - &376 + - &377 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 @@ -4129,7 +4129,7 @@ paths: required: false schema: type: string - - &377 + - &378 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4149,7 +4149,7 @@ paths: application/json: schema: type: array - items: &378 + items: &379 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4229,7 +4229,7 @@ paths: - installation_id - repository_id examples: - default: &379 + default: &380 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4261,7 +4261,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &835 + schema: &838 title: Scim Error description: Scim Error type: object @@ -4288,7 +4288,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &270 + schema: &271 title: Validation Error description: Validation Error type: object @@ -4357,7 +4357,7 @@ paths: description: Response content: application/json: - schema: &380 + schema: &381 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4471,7 +4471,7 @@ paths: - request - response examples: - default: &381 + default: &382 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4531,7 +4531,7 @@ paths: parameters: - *16 responses: - '202': &39 + '202': &40 description: Accepted content: application/json: @@ -4644,7 +4644,7 @@ paths: type: User site_admin: false created_at: '2022-07-08T16:18:44-04:00' - '304': &37 + '304': &38 description: Not modified '401': &25 description: Requires authentication @@ -4672,7 +4672,7 @@ paths: parameters: - *17 - *19 - - &241 + - &242 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) @@ -5288,7 +5288,7 @@ paths: suspended_at: suspended_by: headers: - Link: &47 + Link: &48 example: ; rel="next", ; rel="last" schema: @@ -5329,7 +5329,7 @@ paths: application/json: schema: *22 examples: - default: &90 + default: &91 value: id: 1 account: @@ -5479,11 +5479,11 @@ paths: - selected repositories: type: array - items: &80 + items: &81 title: Repository description: A repository on GitHub. type: object - properties: &450 + properties: &451 id: description: Unique identifier of the repository example: 42 @@ -5503,7 +5503,7 @@ paths: title: License Simple description: License Simple type: object - properties: &237 + properties: &238 key: type: string example: mit @@ -5525,7 +5525,7 @@ paths: html_url: type: string format: uri - required: &238 + required: &239 - key - name - url @@ -5934,7 +5934,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &451 + required: &452 - archive_url - assignees_url - blobs_url @@ -6874,7 +6874,7 @@ paths: - node_id - private - default_branch - classroom: &34 + classroom: &35 title: Classroom description: A GitHub Classroom classroom type: object @@ -6986,6 +6986,11 @@ paths: archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir '404': *6 + '410': &33 + description: Gone + content: + application/json: + schema: *3 x-github: enabledForGitHubApps: true category: classroom @@ -7071,7 +7076,7 @@ paths: - avatar_url - html_url repository: *32 - assignment: &36 + assignment: &37 title: Simple Classroom Assignment description: A GitHub Classroom assignment type: object @@ -7160,7 +7165,7 @@ paths: format: date-time example: '2011-01-26T19:06:43Z' nullable: true - classroom: &33 + classroom: &34 title: Simple Classroom description: A GitHub Classroom classroom type: object @@ -7255,6 +7260,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7362,6 +7368,7 @@ paths: points_available: 15 group_name: monalisa-and-friends '404': *6 + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7394,7 +7401,7 @@ paths: application/json: schema: type: array - items: *33 + items: *34 examples: default: value: @@ -7402,6 +7409,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7425,7 +7433,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/classroom/classroom#closing-down---get-a-classroom parameters: - - &35 + - &36 name: classroom_id description: The unique identifier of the classroom. in: path @@ -7437,7 +7445,7 @@ paths: description: Response content: application/json: - schema: *34 + schema: *35 examples: default: value: @@ -7453,6 +7461,7 @@ paths: avatar_url: https://avatars.githubusercontent.com/u/9919?v=4 url: https://classroom.github.com/classrooms/1-programming-elixir '404': *6 + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7476,7 +7485,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/classroom/classroom#closing-down---list-assignments-for-a-classroom parameters: - - *35 + - *36 - *19 - *17 responses: @@ -7486,7 +7495,7 @@ paths: application/json: schema: type: array - items: *36 + items: *37 examples: default: value: @@ -7512,6 +7521,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7537,7 +7547,7 @@ paths: application/json: schema: type: array - items: &38 + items: &39 title: Code Of Conduct description: Code Of Conduct type: object @@ -7620,7 +7630,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': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -7647,7 +7657,7 @@ paths: description: Response content: application/json: - schema: *38 + schema: *39 examples: default: value: @@ -7702,7 +7712,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': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -7762,9 +7772,9 @@ paths: - ghu_1234567890abcdef1234567890abcdef12345678 - ghr_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab responses: - '202': *39 + '202': *40 '422': *7 - '500': &40 + '500': &41 description: Internal Error content: application/json: @@ -9673,7 +9683,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': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -10034,7 +10044,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprises#disable-access-restrictions-for-an-enterprise parameters: - - &41 + - &42 name: enterprise description: The slug version of the enterprise name. in: path @@ -10046,7 +10056,7 @@ paths: description: Response content: application/json: - schema: &42 + schema: &43 type: object title: Enterprise Access Restrictions description: Information about the enterprise access restrictions @@ -10074,7 +10084,7 @@ paths: header_value: '12345' '400': *29 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10092,13 +10102,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprises#enable-access-restrictions-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: *42 + schema: *43 examples: default: value: @@ -10107,7 +10117,7 @@ paths: header_value: '12345' '400': *29 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10128,13 +10138,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &43 + schema: &44 title: Actions cache retention limit for an enterprise description: GitHub Actions cache retention policy for an enterprise. type: object @@ -10146,7 +10156,7 @@ paths: type: integer example: 14 examples: - default: &44 + default: &45 value: max_cache_retention_days: 80 '403': *29 @@ -10170,14 +10180,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: application/json: - schema: *43 + schema: *44 examples: - selected_actions: *44 + selected_actions: *45 responses: '204': description: Response @@ -10204,13 +10214,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &45 + schema: &46 title: Actions cache storage limit for an enterprise description: GitHub Actions cache storage policy for an enterprise. type: object @@ -10222,7 +10232,7 @@ paths: type: integer example: 10 examples: - default: &46 + default: &47 value: max_cache_size_gb: 150 '403': *29 @@ -10246,14 +10256,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: application/json: - schema: *45 + schema: *46 examples: - selected_actions: *46 + selected_actions: *47 responses: '204': description: Response @@ -10280,13 +10290,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-usage-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &272 + schema: &273 type: object properties: total_active_caches_count: @@ -10301,12 +10311,12 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &273 + default: &274 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *47 + Link: *48 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -10326,7 +10336,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#list-github-hosted-runners-for-an-enterprise parameters: - - *41 + - *42 - *17 - *19 responses: @@ -10344,7 +10354,7 @@ paths: type: integer runners: type: array - items: &48 + items: &49 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -10398,7 +10408,7 @@ paths: - display_name - source nullable: true - machine_size_details: &56 + machine_size_details: &57 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -10494,7 +10504,7 @@ paths: - public_ip_enabled - platform examples: - default: &274 + default: &275 value: total_count: 2 runners: @@ -10536,7 +10546,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10554,7 +10564,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -10632,9 +10642,9 @@ paths: description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: &57 + default: &58 value: id: 5 name: My hosted ubuntu runner @@ -10675,7 +10685,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#list-custom-images-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -10691,7 +10701,7 @@ paths: type: integer images: type: array - items: &49 + items: &50 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -10742,7 +10752,7 @@ paths: - latest_version - state examples: - default: &51 + default: &52 value: total_count: 2 image_versions: @@ -10774,8 +10784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-an-enterprise-custom-image-definition-for-github-actions-hosted-runners parameters: - - *41 - - &50 + - *42 + - &51 name: image_definition_id description: Image definition ID of custom image in: path @@ -10787,9 +10797,9 @@ paths: description: Response content: application/json: - schema: *49 + schema: *50 examples: - default: &275 + default: &276 value: id: 1 platform: linux-x64 @@ -10817,8 +10827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#delete-a-custom-image-from-the-enterprise parameters: - - *41 - - *50 + - *42 + - *51 responses: '204': description: Response @@ -10841,8 +10851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-enterprise parameters: - - *50 - - *41 + - *51 + - *42 responses: '200': description: Response @@ -10858,7 +10868,7 @@ paths: type: integer image_versions: type: array - items: &52 + items: &53 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -10891,7 +10901,7 @@ paths: - created_on - state_details examples: - default: *51 + default: *52 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10912,9 +10922,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-an-image-version-of-an-enterprise-custom-image-for-github-actions-hosted-runners parameters: - - *41 - - *50 - - &53 + - *42 + - *51 + - &54 name: version description: Version of a custom image in: path @@ -10927,9 +10937,9 @@ paths: description: Response content: application/json: - schema: *52 + schema: *53 examples: - default: &276 + default: &277 value: version: 1.0.0 size_gb: 75 @@ -10953,9 +10963,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-enterprise parameters: - - *41 - - *50 - - *53 + - *42 + - *51 + - *54 responses: '204': description: Response @@ -10976,7 +10986,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -10992,7 +11002,7 @@ paths: type: integer images: type: array - items: &54 + items: &55 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -11028,7 +11038,7 @@ paths: - display_name - source examples: - default: &55 + default: &56 value: id: ubuntu-20.04 platform: linux-x64 @@ -11052,7 +11062,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -11068,9 +11078,9 @@ paths: type: integer images: type: array - items: *54 + items: *55 examples: - default: *55 + default: *56 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -11087,13 +11097,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &277 + schema: &278 type: object properties: public_ips: @@ -11118,7 +11128,7 @@ paths: required: - public_ips examples: - default: &278 + default: &279 value: public_ips: current_usage: 17 @@ -11140,7 +11150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -11156,9 +11166,9 @@ paths: type: integer machine_specs: type: array - items: *56 + items: *57 examples: - default: &279 + default: &280 value: id: 4-core cpu_cores: 4 @@ -11181,7 +11191,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -11225,8 +11235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-enterprise parameters: - - *41 - - &58 + - *42 + - &59 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -11238,11 +11248,11 @@ paths: description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: *57 + default: *58 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -11260,8 +11270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-enterprise parameters: - - *41 - - *58 + - *42 + - *59 requestBody: required: true content: @@ -11327,9 +11337,9 @@ paths: description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: *57 + default: *58 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -11345,16 +11355,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-enterprise parameters: - - *41 - - *58 + - *42 + - *59 responses: '202': description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: *57 + default: *58 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -11374,7 +11384,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#set-the-github-actions-oidc-custom-issuer-policy-for-an-enterprise parameters: - - *41 + - *42 responses: '204': description: Response @@ -11413,7 +11423,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -11421,7 +11431,7 @@ paths: application/json: schema: type: array - items: &59 + items: &60 title: Actions OIDC Custom Property Inclusion description: An OIDC custom property inclusion for repository properties type: object @@ -11468,12 +11478,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: application/json: - schema: &280 + schema: &281 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -11485,7 +11495,7 @@ paths: required: - custom_property_name examples: - default: &60 + default: &61 value: custom_property_name: environment responses: @@ -11493,9 +11503,9 @@ paths: description: OIDC custom property inclusion created content: application/json: - schema: *59 + schema: *60 examples: - default: *60 + default: *61 '400': description: Invalid input '403': *29 @@ -11520,7 +11530,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-enterprise parameters: - - *41 + - *42 - name: custom_property_name in: path required: true @@ -11554,7 +11564,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-github-actions-permissions-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -11563,7 +11573,7 @@ paths: schema: type: object properties: - enabled_organizations: &61 + enabled_organizations: &62 type: string description: The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. @@ -11576,7 +11586,7 @@ paths: description: The API URL to use to get or set the selected organizations that are allowed to run GitHub Actions, when `enabled_organizations` is set to `selected`. - allowed_actions: &62 + allowed_actions: &63 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -11584,12 +11594,12 @@ paths: - all - local_only - selected - selected_actions_url: &282 + selected_actions_url: &283 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: &63 + sha_pinning_required: &64 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -11620,7 +11630,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-github-actions-permissions-for-an-enterprise parameters: - - *41 + - *42 responses: '204': description: Response @@ -11631,9 +11641,9 @@ paths: schema: type: object properties: - enabled_organizations: *61 - allowed_actions: *62 - sha_pinning_required: *63 + enabled_organizations: *62 + allowed_actions: *63 + sha_pinning_required: *64 required: - enabled_organizations examples: @@ -11658,13 +11668,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &284 + schema: &285 type: object properties: days: @@ -11682,7 +11692,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &836 + '401': &839 description: Authorization failure '404': *6 x-github: @@ -11700,7 +11710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-enterprise parameters: - - *41 + - *42 responses: '204': description: Successfully updated the artifact and log retention settings @@ -11710,7 +11720,7 @@ paths: required: true content: application/json: - schema: &285 + schema: &286 type: object properties: days: @@ -11739,13 +11749,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &64 + schema: &65 type: object properties: approval_policy: @@ -11759,7 +11769,7 @@ paths: required: - approval_policy examples: - default: &286 + default: &287 value: approval_policy: first_time_contributors '404': *6 @@ -11778,7 +11788,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-enterprise parameters: - - *41 + - *42 responses: '204': description: Response @@ -11788,7 +11798,7 @@ paths: required: true content: application/json: - schema: *64 + schema: *65 examples: default: summary: Set approval policy to first time contributors @@ -11811,13 +11821,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &287 + schema: &288 type: object required: - run_workflows_from_fork_pull_requests @@ -11843,7 +11853,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &65 + default: &66 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -11866,12 +11876,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: application/json: - schema: &288 + schema: &289 type: object required: - run_workflows_from_fork_pull_requests @@ -11894,7 +11904,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *65 + default: *66 responses: '204': description: Empty response for successful settings update @@ -11919,7 +11929,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise parameters: - - *41 + - *42 - *17 - *19 responses: @@ -11934,11 +11944,11 @@ paths: type: number organizations: type: array - items: &75 + items: &76 title: Organization Simple description: A GitHub organization. type: object - properties: &123 + properties: &124 login: type: string example: github @@ -11979,7 +11989,7 @@ paths: type: string example: A great organization nullable: true - required: &124 + required: &125 - login - url - id @@ -11996,7 +12006,7 @@ paths: - total_count - organizations examples: - default: &76 + default: &77 value: total_count: 1 organizations: @@ -12030,7 +12040,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise parameters: - - *41 + - *42 responses: '204': description: Response @@ -12074,8 +12084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - - *41 - - &66 + - *42 + - &67 name: org_id description: The unique identifier of the organization. in: path @@ -12103,8 +12113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - - *41 - - *66 + - *42 + - *67 responses: '204': description: Response @@ -12127,13 +12137,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &67 + schema: &68 type: object properties: github_owned_allowed: @@ -12154,7 +12164,7 @@ paths: items: type: string examples: - default: &68 + default: &69 value: github_owned_allowed: true verified_allowed: false @@ -12179,7 +12189,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-enterprise parameters: - - *41 + - *42 responses: '204': description: Response @@ -12187,9 +12197,9 @@ paths: required: true content: application/json: - schema: *67 + schema: *68 examples: - selected_actions: *68 + selected_actions: *69 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -12207,7 +12217,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-self-hosted-runners-permissions-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -12243,7 +12253,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-self-hosted-runners-permissions-for-an-enterprise parameters: - - *41 + - *42 responses: '204': description: Response @@ -12288,23 +12298,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-default-workflow-permissions-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Success response content: application/json: - schema: &291 + schema: &292 type: object properties: - default_workflow_permissions: &69 + default_workflow_permissions: &70 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &70 + can_approve_pull_request_reviews: &71 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -12312,7 +12322,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &71 + default: &72 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -12337,18 +12347,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-default-workflow-permissions-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: application/json: - schema: &292 + schema: &293 type: object properties: - default_workflow_permissions: *69 - can_approve_pull_request_reviews: *70 + default_workflow_permissions: *70 + can_approve_pull_request_reviews: *71 examples: - default: *71 + default: *72 responses: '204': description: Success response @@ -12371,7 +12381,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-enterprise parameters: - - *41 + - *42 - *17 - *19 - name: visible_to_organization @@ -12393,7 +12403,7 @@ paths: type: number runner_groups: type: array - items: &72 + items: &73 type: object properties: id: @@ -12501,7 +12511,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -12572,9 +12582,9 @@ paths: description: Response content: application/json: - schema: *72 + schema: *73 examples: - default: &73 + default: &74 value: id: 2 name: octo-runner-group @@ -12608,8 +12618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-enterprise parameters: - - *41 - - &74 + - *42 + - &75 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -12621,9 +12631,9 @@ paths: description: Response content: application/json: - schema: *72 + schema: *73 examples: - default: *73 + default: *74 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -12642,8 +12652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-enterprise parameters: - - *41 - - *74 + - *42 + - *75 requestBody: required: false content: @@ -12695,7 +12705,7 @@ paths: description: Response content: application/json: - schema: *72 + schema: *73 examples: default: value: @@ -12730,8 +12740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-enterprise parameters: - - *41 - - *74 + - *42 + - *75 responses: '204': description: Response @@ -12754,8 +12764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - - *41 - - *74 + - *42 + - *75 - *17 - *19 responses: @@ -12770,12 +12780,12 @@ paths: type: number organizations: type: array - items: *75 + items: *76 required: - total_count - organizations examples: - default: *76 + default: *77 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -12794,8 +12804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#set-organization-access-for-a-self-hosted-runner-group-in-an-enterprise parameters: - - *41 - - *74 + - *42 + - *75 requestBody: required: true content: @@ -12840,9 +12850,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - - *41 - - *74 - - *66 + - *42 + - *75 + - *67 responses: '204': description: Response @@ -12864,9 +12874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - - *41 - - *74 - - *66 + - *42 + - *75 + - *67 responses: '204': description: Response @@ -12889,8 +12899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-enterprise parameters: - - *41 - - *74 + - *42 + - *75 - *17 - *19 responses: @@ -12905,7 +12915,7 @@ paths: type: number runners: type: array - items: &78 + items: &79 title: Self hosted runners description: A self hosted runner type: object @@ -12934,7 +12944,7 @@ paths: type: boolean labels: type: array - items: &82 + items: &83 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -12974,7 +12984,7 @@ paths: - total_count - runners examples: - default: &79 + default: &80 value: total_count: 2 runners: @@ -13016,7 +13026,7 @@ paths: name: no-gpu type: custom headers: - Link: *47 + Link: *48 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -13035,8 +13045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-enterprise parameters: - - *41 - - *74 + - *42 + - *75 requestBody: required: true content: @@ -13080,9 +13090,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-enterprise parameters: - - *41 - - *74 - - &77 + - *42 + - *75 + - &78 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -13110,9 +13120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-enterprise parameters: - - *41 - - *74 - - *77 + - *42 + - *75 + - *78 responses: '204': description: Response @@ -13140,7 +13150,7 @@ paths: in: query schema: type: string - - *41 + - *42 - *17 - *19 responses: @@ -13155,11 +13165,11 @@ paths: type: number runners: type: array - items: *78 + items: *79 examples: - default: *79 + default: *80 headers: - Link: *47 + Link: *48 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -13179,7 +13189,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-runner-applications-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -13187,7 +13197,7 @@ paths: application/json: schema: type: array - items: &296 + items: &297 title: Runner Application description: Runner Application type: object @@ -13212,7 +13222,7 @@ paths: - download_url - filename examples: - default: &297 + default: &298 value: - os: osx architecture: x64 @@ -13253,7 +13263,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -13296,7 +13306,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &298 + '201': &299 description: Response content: application/json: @@ -13306,7 +13316,7 @@ paths: - runner - encoded_jit_config properties: - runner: *78 + runner: *79 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -13335,7 +13345,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &121 + '409': &122 description: Conflict content: application/json: @@ -13367,13 +13377,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-registration-token-for-an-enterprise parameters: - - *41 + - *42 responses: '201': description: Response content: application/json: - schema: &81 + schema: &82 title: Authentication Token description: Authentication Token type: object @@ -13395,7 +13405,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *80 + items: *81 single_file: type: string example: config.yaml @@ -13411,7 +13421,7 @@ paths: - token - expires_at examples: - default: &299 + default: &300 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -13443,15 +13453,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-remove-token-for-an-enterprise parameters: - - *41 + - *42 responses: '201': description: Response content: application/json: - schema: *81 + schema: *82 examples: - default: &300 + default: &301 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13474,16 +13484,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-enterprise parameters: - - *41 - - *77 + - *42 + - *78 responses: '200': description: Response content: application/json: - schema: *78 + schema: *79 examples: - default: &301 + default: &302 value: id: 23 name: MBP @@ -13523,8 +13533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-enterprise parameters: - - *41 - - *77 + - *42 + - *78 responses: '204': description: Response @@ -13548,10 +13558,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-enterprise parameters: - - *41 - - *77 + - *42 + - *78 responses: - '200': &83 + '200': &84 description: Response content: application/json: @@ -13565,7 +13575,7 @@ paths: type: integer labels: type: array - items: *82 + items: *83 examples: default: value: @@ -13602,8 +13612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise parameters: - - *41 - - *77 + - *42 + - *78 requestBody: required: true content: @@ -13627,7 +13637,7 @@ paths: - gpu - accelerated responses: - '200': *83 + '200': *84 '404': *6 '422': *7 x-github: @@ -13649,8 +13659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise parameters: - - *41 - - *77 + - *42 + - *78 requestBody: required: true content: @@ -13675,7 +13685,7 @@ paths: - gpu - accelerated responses: - '200': *83 + '200': *84 '404': *6 '422': *7 x-github: @@ -13697,10 +13707,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise parameters: - - *41 - - *77 + - *42 + - *78 responses: - '200': &302 + '200': &303 description: Response content: application/json: @@ -13714,7 +13724,7 @@ paths: type: integer labels: type: array - items: *82 + items: *83 examples: default: value: @@ -13754,9 +13764,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise parameters: - - *41 - - *77 - - &303 + - *42 + - *78 + - &304 name: name description: The name of a self-hosted runner's custom label. in: path @@ -13764,7 +13774,7 @@ paths: schema: type: string responses: - '200': *83 + '200': *84 '404': *6 '422': *7 x-github: @@ -13783,26 +13793,26 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/announcement-banners/enterprises#get-announcement-banner-for-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &88 + schema: &89 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level type: object properties: - announcement: &84 + announcement: &85 type: string description: The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see "[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax)." example: Very **important** announcement about _something_. nullable: true - expires_at: &85 + expires_at: &86 type: string format: date-time description: 'The time at which the announcement expires. This @@ -13812,7 +13822,7 @@ paths: it to an empty string.' example: '"2021-01-01T00:00:00.000-07:00"' nullable: true - user_dismissible: &86 + user_dismissible: &87 type: boolean description: Whether an announcement can be dismissed by the user. example: false @@ -13823,7 +13833,7 @@ paths: - expires_at - user_dismissible examples: - default: &87 + default: &88 summary: Announcement banner value: announcement: Very **important** announcement about _something_. @@ -13847,28 +13857,28 @@ paths: required: true content: application/json: - schema: &317 + schema: &318 title: Enterprise Announcement description: Enterprise global announcement type: object properties: - announcement: *84 - expires_at: *85 - user_dismissible: *86 + announcement: *85 + expires_at: *86 + user_dismissible: *87 required: - announcement examples: - default: *87 + default: *88 parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: *88 + schema: *89 examples: - default: *87 + default: *88 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -13884,7 +13894,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/announcement-banners/enterprises#remove-announcement-banner-from-enterprise parameters: - - *41 + - *42 responses: '204': description: Response @@ -13907,7 +13917,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#get-enterprise-owned-organizations-that-can-have-github-apps-installed parameters: - - *41 + - *42 - *17 - *19 responses: @@ -13963,8 +13973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization parameters: - - *41 - - &89 + - *42 + - &90 name: org description: The organization name. The name is not case sensitive. in: path @@ -13981,7 +13991,7 @@ paths: application/json: schema: type: array - items: &91 + items: &92 title: Accessible Repository description: A repository that may be made accessible to a GitHub App. @@ -14031,8 +14041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#list-github-apps-installed-on-an-enterprise-owned-organization parameters: - - *41 - - *89 + - *42 + - *90 - *17 - *19 responses: @@ -14126,8 +14136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#install-a-github-app-on-an-enterprise-owned-organization parameters: - - *41 - - *89 + - *42 + - *90 responses: '200': description: A GitHub App installation that was installed previously. @@ -14135,14 +14145,14 @@ paths: application/json: schema: *22 examples: - default: *90 + default: *91 '201': description: A GitHub App installation. content: application/json: schema: *22 examples: - default: *90 + default: *91 requestBody: required: true content: @@ -14209,8 +14219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization parameters: - - *41 - - *89 + - *42 + - *90 - *23 responses: '204': @@ -14237,8 +14247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation parameters: - - *41 - - *89 + - *42 + - *90 - *23 - *17 - *19 @@ -14250,7 +14260,7 @@ paths: application/json: schema: type: array - items: *91 + items: *92 examples: default: value: @@ -14278,8 +14288,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories parameters: - - *41 - - *89 + - *42 + - *90 - *23 requestBody: required: true @@ -14319,7 +14329,7 @@ paths: application/json: schema: *22 examples: - default: *90 + default: *91 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -14339,8 +14349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation parameters: - - *41 - - *89 + - *42 + - *90 - *23 responses: '200': @@ -14350,7 +14360,7 @@ paths: application/json: schema: type: array - items: *91 + items: *92 examples: default: value: @@ -14400,8 +14410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation parameters: - - *41 - - *89 + - *42 + - *90 - *23 responses: '200': @@ -14411,7 +14421,7 @@ paths: application/json: schema: type: array - items: *91 + items: *92 examples: default: value: @@ -14480,7 +14490,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#get-the-audit-log-for-an-enterprise parameters: - - *41 + - *42 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/searching-the-audit-log-for-your-enterprise#searching-the-audit-log). @@ -14488,7 +14498,7 @@ paths: required: false schema: type: string - - &320 + - &321 name: include description: |- The event types to include: @@ -14506,7 +14516,7 @@ paths: - web - git - all - - &131 + - &132 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -14514,7 +14524,7 @@ paths: required: false schema: type: string - - &132 + - &133 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -14522,7 +14532,7 @@ paths: required: false schema: type: string - - &133 + - &134 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -14544,7 +14554,7 @@ paths: application/json: schema: type: array - items: &321 + items: &322 type: object properties: "@timestamp": @@ -14666,7 +14676,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &322 + default: &323 value: - "@timestamp": 1606929874512 action: team.add_member @@ -14709,7 +14719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#get-the-audit-log-stream-key-for-encrypting-secrets parameters: - - *41 + - *42 responses: '200': description: The stream key for the audit log streaming configuration was @@ -14753,7 +14763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#list-audit-log-stream-configurations-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: OK @@ -14819,7 +14829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#create-an-audit-log-streaming-configuration-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -14845,7 +14855,7 @@ paths: vendor_specific: type: object oneOf: - - &95 + - &96 title: AzureBlobConfig description: Azure Blob Config for audit log streaming configuration. type: object @@ -14864,7 +14874,7 @@ paths: - key_id - encrypted_sas_url - container - - &96 + - &97 title: AzureHubConfig description: Azure Event Hubs Config for audit log streaming configuration. type: object @@ -14883,7 +14893,7 @@ paths: - name - encrypted_connstring - key_id - - &97 + - &98 title: AmazonS3OIDCConfig description: Amazon S3 OIDC Config for audit log streaming configuration. type: object @@ -14911,7 +14921,7 @@ paths: - bucket - key_id - region - - &98 + - &99 title: AmazonS3AccessKeysConfig description: Amazon S3 Access Keys Config for audit log streaming configuration. @@ -14945,7 +14955,7 @@ paths: - encrypted_secret_key - key_id - region - - &99 + - &100 title: SplunkConfig description: Splunk Config for Audit Log Stream Configuration type: object @@ -14973,7 +14983,7 @@ paths: - key_id - port - ssl_verify - - &100 + - &101 title: HecConfig description: Hec Config for Audit Log Stream Configuration type: object @@ -15005,7 +15015,7 @@ paths: - key_id - port - ssl_verify - - &101 + - &102 title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. type: object @@ -15023,7 +15033,7 @@ paths: - bucket - key_id - encrypted_json_credentials - - &102 + - &103 title: DatadogConfig description: Datadog Config for audit log streaming configuration. type: object @@ -15054,7 +15064,7 @@ paths: - stream_type - vendor_specific examples: - default: &103 + default: &104 value: enabled: false stream_type: Azure Event Hubs @@ -15068,7 +15078,7 @@ paths: description: The audit log stream configuration was created successfully. content: application/json: - schema: &92 + schema: &93 title: Get an audit log streaming configuration description: Get an audit log streaming configuration for an enterprise. type: object @@ -15099,7 +15109,7 @@ paths: - created_at - updated_at examples: - default: &93 + default: &94 value: id: 1 stream_type: Splunk @@ -15127,8 +15137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id parameters: - - *41 - - &94 + - *42 + - &95 name: stream_id description: The ID of the audit log stream configuration. in: path @@ -15140,9 +15150,9 @@ paths: description: Lists one audit log stream configuration via stream ID. content: application/json: - schema: *92 + schema: *93 examples: - default: *93 + default: *94 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -15161,8 +15171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration parameters: - - *41 - - *94 + - *42 + - *95 requestBody: required: true content: @@ -15188,7 +15198,6 @@ paths: vendor_specific: type: object oneOf: - - *95 - *96 - *97 - *98 @@ -15196,20 +15205,21 @@ paths: - *100 - *101 - *102 + - *103 required: - enabled - stream_type - vendor_specific examples: - default: *103 + default: *104 responses: '200': description: Successful update content: application/json: - schema: *92 + schema: *93 examples: - default: *93 + default: *94 '422': description: Validation error content: @@ -15239,8 +15249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise parameters: - - *41 - - *94 + - *42 + - *95 responses: '204': description: The audit log stream configuration was deleted successfully. @@ -15266,14 +15276,14 @@ paths: category: enterprise-admin subcategory: bypass-requests parameters: - - *41 - - &104 + - *42 + - &105 name: organization_name description: The name of the organization to filter on. in: query schema: type: string - - &105 + - &106 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -15281,7 +15291,7 @@ paths: required: false schema: type: string - - &106 + - &107 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -15289,7 +15299,7 @@ paths: required: false schema: type: string - - &107 + - &108 name: time_period description: |- The time period to filter by. @@ -15305,7 +15315,7 @@ paths: - week - month default: day - - &108 + - &109 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -15332,7 +15342,7 @@ paths: application/json: schema: type: array - items: &323 + items: &324 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -15449,7 +15459,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: &109 + items: &110 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -15493,7 +15503,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &324 + default: &325 value: - id: 21 number: 42 @@ -15562,7 +15572,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': *40 + '500': *41 "/enterprises/{enterprise}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for an enterprise @@ -15583,12 +15593,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *41 - - *104 + - *42 - *105 - *106 - *107 - *108 + - *109 - *17 - *19 responses: @@ -15598,7 +15608,7 @@ paths: application/json: schema: type: array - items: &326 + items: &327 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -15712,7 +15722,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: *109 + items: *110 url: type: string format: uri @@ -15723,7 +15733,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &327 + default: &328 value: - id: 21 number: 42 @@ -15790,7 +15800,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': *40 + '500': *41 "/enterprises/{enterprise}/code-scanning/alerts": get: summary: List code scanning alerts for an enterprise @@ -15807,18 +15817,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - - *41 - - &332 + - *42 + - &333 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: &113 + schema: &114 type: string description: The name of the tool used to generate the code scanning analysis. - - &333 + - &334 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 @@ -15826,22 +15836,22 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &114 + schema: &115 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *110 - *111 + - *112 - *19 - *17 - - *112 + - *113 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &334 + schema: &335 type: string description: State of a code scanning alert. enum: @@ -15874,42 +15884,42 @@ paths: application/json: schema: type: array - items: &335 + items: &336 type: object properties: - number: &134 + number: &135 type: integer description: The security alert number. readOnly: true - created_at: &141 + created_at: &142 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: &142 + updated_at: &143 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - url: &139 + url: &140 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &140 + html_url: &141 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &582 + instances_url: &585 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &115 + state: &116 type: string description: State of a code scanning alert. nullable: true @@ -15917,7 +15927,7 @@ paths: - open - dismissed - fixed - fixed_at: &144 + fixed_at: &145 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -15931,14 +15941,14 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &143 + dismissed_at: &144 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissed_reason: &583 + dismissed_reason: &586 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -15947,13 +15957,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &584 + dismissed_comment: &587 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &585 + rule: &588 type: object properties: id: @@ -16006,42 +16016,42 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &586 + tool: &589 type: object properties: - name: *113 + name: *114 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *114 - most_recent_instance: &587 + guid: *115 + most_recent_instance: &590 type: object properties: - ref: &580 + ref: &583 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &597 + analysis_key: &600 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: &598 + environment: &601 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: &599 + category: &602 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: *115 + state: *116 commit_sha: type: string message: @@ -16055,7 +16065,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: &600 + location: &603 type: object description: Describe a region within a file for the alert. properties: @@ -16076,7 +16086,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: &601 + items: &604 type: string description: A classification of the file. For example to identify it as generated. @@ -16086,11 +16096,11 @@ paths: - generated - test - library - repository: &122 + repository: &123 title: Simple Repository description: A GitHub repository. type: object - properties: &145 + properties: &146 id: type: integer format: int64 @@ -16317,7 +16327,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &146 + required: &147 - archive_url - assignees_url - blobs_url @@ -16389,7 +16399,7 @@ paths: - most_recent_instance - repository examples: - default: &336 + default: &337 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -16618,9 +16628,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: *47 + Link: *48 '404': *6 - '503': &203 + '503': &204 description: Service unavailable content: application/json: @@ -16655,7 +16665,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise parameters: - - *41 + - *42 - name: per_page in: query description: The number of results per page (max 100). For more information, @@ -16664,8 +16674,8 @@ paths: schema: type: integer default: 30 - - *110 - *111 + - *112 responses: '200': description: Response @@ -16673,7 +16683,7 @@ paths: application/json: schema: type: array - items: &116 + items: &117 type: object description: A code security configuration properties: @@ -16993,7 +17003,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -17071,7 +17081,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &120 + code_scanning_options: &121 type: object description: Security Configuration feature options for code scanning nullable: true @@ -17088,7 +17098,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &119 + code_scanning_default_setup_options: &120 type: object description: Feature options for code scanning default setup nullable: true @@ -17212,9 +17222,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *116 + schema: *117 examples: - default: &117 + default: &118 value: id: 1325 target_type: enterprise @@ -17266,13 +17276,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &338 + schema: &339 type: array description: A list of default code security configurations items: @@ -17286,9 +17296,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *116 + configuration: *117 examples: - default: &339 + default: &340 value: - default_for_new_repos: public configuration: @@ -17371,8 +17381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - - *41 - - &118 + - *42 + - &119 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -17384,10 +17394,10 @@ paths: description: Response content: application/json: - schema: *116 + schema: *117 examples: - default: *117 - '304': *37 + default: *118 + '304': *38 '403': *29 '404': *6 x-github: @@ -17410,8 +17420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - - *41 - - *118 + - *42 + - *119 requestBody: required: true content: @@ -17490,8 +17500,8 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *119 - code_scanning_options: *120 + code_scanning_default_setup_options: *120 + code_scanning_options: *121 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -17587,13 +17597,13 @@ paths: description: Response content: application/json: - schema: *116 + schema: *117 examples: - default: *117 - '304': *37 + default: *118 + '304': *38 '403': *29 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17616,15 +17626,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - - *41 - - *118 + - *42 + - *119 responses: - '204': &130 + '204': &129 description: A header with no content is returned. '400': *14 '403': *29 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17648,8 +17658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - - *41 - - *118 + - *42 + - *119 requestBody: required: true content: @@ -17673,10 +17683,10 @@ paths: value: scope: all responses: - '202': *39 + '202': *40 '403': *29 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17700,8 +17710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise parameters: - - *41 - - *118 + - *42 + - *119 requestBody: required: true content: @@ -17741,12 +17751,12 @@ paths: - none - private_and_internal - public - configuration: *116 + configuration: *117 examples: default: value: default_for_new_repos: all - configuration: &337 + configuration: &338 value: id: 1325 target_type: organization @@ -17807,8 +17817,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - - *41 - - *118 + - *42 + - *119 - 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)." @@ -17817,8 +17827,8 @@ paths: schema: type: integer default: 30 - - *110 - *111 + - *112 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -17836,7 +17846,7 @@ paths: application/json: schema: type: array - items: &340 + items: &341 type: object description: Repositories associated with a code security configuration and attachment status @@ -17854,13 +17864,13 @@ paths: - failed - updating - removed_by_enterprise - repository: *122 + repository: *123 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: &341 + repository: &342 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -17954,7 +17964,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/code-security-and-analysis#get-code-security-and-analysis-features-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -18052,7 +18062,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/code-security-and-analysis#update-code-security-and-analysis-features-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: false content: @@ -18136,7 +18146,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#list-enterprise-consumed-licenses parameters: - - *41 + - *42 - *17 - *19 responses: @@ -18268,7 +18278,7 @@ paths: visual_studio_subscription_email: '' total_user_accounts: 1 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18301,7 +18311,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-enterprise parameters: - - *41 + - *42 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -18325,7 +18335,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &154 + items: &155 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -18342,14 +18352,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *123 - required: *124 + properties: *124 + required: *125 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &328 + - &329 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -18435,7 +18445,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &416 + properties: &417 id: description: Unique identifier of the team type: integer @@ -18507,7 +18517,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &417 + required: &418 - id - node_id - url @@ -18533,7 +18543,7 @@ paths: - slug - parent - type - - &153 + - &154 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -18651,7 +18661,7 @@ paths: - created_at additionalProperties: false examples: - default: &155 + default: &156 value: total_seats: 2 seats: @@ -18721,8 +18731,8 @@ paths: type: User site_admin: false headers: - Link: *47 - '500': *40 + Link: *48 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -18752,7 +18762,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#add-enterprise-teams-to-the-copilot-subscription-for-an-enterprise parameters: - - *41 + - *42 requestBody: content: application/json: @@ -18794,7 +18804,7 @@ paths: default: value: seats_created: 5 - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -18828,7 +18838,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#remove-enterprise-teams-from-the-copilot-subscription-for-an-enterprise parameters: - - *41 + - *42 requestBody: content: application/json: @@ -18883,7 +18893,7 @@ paths: response: value: message: Status for delete command - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -18918,7 +18928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-enterprise parameters: - - *41 + - *42 requestBody: content: application/json: @@ -18959,7 +18969,7 @@ paths: default: value: seats_created: 5 - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -18994,7 +19004,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-enterprise parameters: - - *41 + - *42 requestBody: content: application/json: @@ -19036,7 +19046,7 @@ paths: default: value: seats_cancelled: 5 - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -19075,7 +19085,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: OK @@ -19097,7 +19107,7 @@ paths: - "/__tests__/**" octo-org/octo-repo: - "/src/some-dir/kernel.rs" - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -19130,7 +19140,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-enterprise parameters: - - *41 + - *42 requestBody: description: The content exclusion rules to set required: true @@ -19184,11 +19194,11 @@ paths: default: value: message: Content exclusion rules updated successfully. - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 - '413': &348 + '413': &349 description: Payload Too Large content: application/json: @@ -19217,7 +19227,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-custom-agents#get-custom-agents-for-an-enterprise parameters: - - *41 + - *42 - *17 - *19 responses: @@ -19261,7 +19271,7 @@ paths: summary: Response when no source repository configured value: custom_agents: - '500': *40 + '500': *41 '401': *25 '403': *29 '404': @@ -19304,7 +19314,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-custom-agents#get-the-source-organization-for-custom-agents-in-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -19383,7 +19393,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-custom-agents#set-the-source-organization-for-custom-agents-in-an-enterprise parameters: - - *41 + - *42 requestBody: description: The source organization configuration required: true @@ -19486,7 +19496,7 @@ paths: id: 456 name: ".github-private" full_name: my-org/.github-private - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -19543,7 +19553,7 @@ paths: category: copilot subcategory: copilot-custom-agents parameters: - - *41 + - *42 responses: '204': description: No Content - The custom agents source was successfully removed. @@ -19576,8 +19586,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day parameters: - - *41 - - &125 + - *42 + - &126 name: day description: The day to request data for, in `YYYY-MM-DD` format. in: query @@ -19591,7 +19601,7 @@ paths: description: Response content: application/json: - schema: &126 + schema: &127 type: object title: Copilot Metrics 1 Day Report description: Links to download the Copilot usage metrics report for @@ -19612,13 +19622,13 @@ paths: - download_links - report_day examples: - default: &127 + default: &128 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': *40 + '500': *41 '403': *29 '404': *6 x-github: @@ -19644,13 +19654,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &128 + schema: &130 type: object title: Copilot Metrics 28 Day Report description: Links to download the latest Copilot usage metrics report @@ -19678,14 +19688,51 @@ paths: - report_start_day - report_end_day examples: - default: &129 + default: &131 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': *40 + '500': *41 + '403': *29 + '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/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-repository-report-for-a-specific-day + parameters: + - *42 + - *126 + responses: + '200': + description: Response + content: + application/json: + schema: *127 + examples: + default: *128 + '204': *129 + '500': *41 '403': *29 '404': *6 x-github: @@ -19711,17 +19758,17 @@ paths: 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 parameters: - - *41 - - *125 + - *42 + - *126 responses: '200': description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: *127 - '500': *40 + default: *128 + '500': *41 '403': *29 '404': *6 x-github: @@ -19747,17 +19794,17 @@ paths: 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 parameters: - - *41 - - *125 + - *42 + - *126 responses: '200': description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: *127 - '500': *40 + default: *128 + '500': *41 '403': *29 '404': *6 x-github: @@ -19783,16 +19830,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: *128 + schema: *130 examples: - default: *129 - '500': *40 + default: *131 + '500': *41 '403': *29 '404': *6 x-github: @@ -19820,7 +19867,7 @@ paths: 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: - - *41 + - *42 requestBody: description: The coding agent policy configuration required: true @@ -19847,7 +19894,7 @@ paths: value: policy_state: enabled_for_all_orgs responses: - '204': *130 + '204': *129 '400': *14 x-github: enabledForGitHubApps: false @@ -19874,7 +19921,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy parameters: - - *41 + - *42 requestBody: description: The organizations to enable Copilot cloud agent for required: true @@ -19923,7 +19970,7 @@ paths: - engineering - security responses: - '204': *130 + '204': *129 '400': *14 x-github: enabledForGitHubApps: false @@ -19949,7 +19996,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy parameters: - - *41 + - *42 requestBody: description: The organizations to disable Copilot cloud agent for required: true @@ -19999,7 +20046,7 @@ paths: - engineering - security responses: - '204': *130 + '204': *129 '400': *14 x-github: enabledForGitHubApps: false @@ -20026,7 +20073,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-usage-records-for-an-enterprise parameters: - - *41 + - *42 - name: phrase description: 'A search phrase to filter usage records. Supported qualifiers: `type` (request/response), `user_id`, `created`.' @@ -20042,9 +20089,9 @@ paths: schema: type: integer default: 25 - - *131 - *132 - *133 + - *134 responses: '200': description: Response @@ -20098,7 +20145,7 @@ paths: body: '{"choices":[{"message":{"content":"Hi there!"}}]}' "@timestamp": 1719600000500 headers: - Link: *47 + Link: *48 '400': *14 '422': *15 '403': *29 @@ -20136,7 +20183,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/credential-authorizations#revoke-all-credential-authorizations-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: false content: @@ -20232,8 +20279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/credential-authorizations#revoke-credential-authorizations-for-a-user-in-an-enterprise parameters: - - *41 - - &151 + - *42 + - &152 name: username description: The handle for the GitHub user account. in: path @@ -20343,8 +20390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - - *41 - - &353 + - *42 + - &354 name: classification in: query description: |- @@ -20353,7 +20400,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &354 + - &355 name: state in: query description: |- @@ -20362,7 +20409,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &355 + - &356 name: severity in: query description: |- @@ -20371,7 +20418,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &356 + - &357 name: ecosystem in: query description: |- @@ -20380,14 +20427,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &357 + - &358 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 - - &358 + - &359 name: epss_percentage in: query description: |- @@ -20399,7 +20446,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 - - &644 + - &647 name: has in: query description: |- @@ -20413,7 +20460,7 @@ paths: type: string enum: - patch - - &359 + - &360 name: assignee in: query description: |- @@ -20422,7 +20469,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &360 + - &361 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -20432,7 +20479,7 @@ paths: enum: - development - runtime - - &361 + - &362 name: sort in: query description: |- @@ -20447,9 +20494,9 @@ paths: - updated - epss_percentage default: created - - *112 - - *110 + - *113 - *111 + - *112 - *17 responses: '200': @@ -20458,11 +20505,11 @@ paths: application/json: schema: type: array - items: &362 + items: &363 type: object description: A Dependabot alert. properties: - number: *134 + number: *135 state: type: string description: The state of the Dependabot alert. @@ -20477,7 +20524,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &135 + package: &136 type: object description: Details for the vulnerable package. readOnly: true @@ -20522,7 +20569,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &645 + security_advisory: &648 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -20552,13 +20599,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &138 + items: &139 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *135 + package: *136 severity: type: string description: The severity of the vulnerability. @@ -20631,8 +20678,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *136 - epss: *137 + cvss_severities: *137 + epss: *138 cwes: type: array description: Details for the advisory pertaining to Common @@ -20731,12 +20778,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *138 - url: *139 - html_url: *140 - created_at: *141 - updated_at: *142 - dismissed_at: *143 + security_vulnerability: *139 + url: *140 + html_url: *141 + created_at: *142 + updated_at: *143 + dismissed_at: *144 dismissed_by: title: Simple User description: A GitHub user. @@ -20760,15 +20807,15 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *144 - auto_dismissed_at: &646 + fixed_at: *145 + auto_dismissed_at: &649 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &647 + dismissal_request: &650 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -20811,7 +20858,7 @@ paths: description: The users assigned to this alert. readOnly: true items: *4 - repository: *122 + repository: *123 required: - number - state @@ -20830,7 +20877,7 @@ paths: - repository additionalProperties: false examples: - default: &363 + default: &364 value: - number: 2 state: dismissed @@ -21168,7 +21215,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': *37 + '304': *38 '403': *29 '404': *6 '422': *7 @@ -21192,7 +21239,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise parameters: - - *41 + - *42 - name: page in: query description: The page number of results to fetch. @@ -21215,7 +21262,7 @@ paths: description: Response content: application/json: - schema: &364 + schema: &365 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -21236,12 +21283,12 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *145 - required: *146 + properties: *146 + required: *147 nullable: true additionalProperties: false examples: - default: &365 + default: &366 value: default_level: public accessible_repositories: @@ -21341,7 +21388,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -21405,7 +21452,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -21458,12 +21505,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *41 - - *104 + - *42 - *105 - *106 - *107 - - &367 + - *108 + - &368 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -21489,7 +21536,7 @@ paths: application/json: schema: type: array - items: &369 + items: &370 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -21599,7 +21646,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *109 + items: *110 url: type: string format: uri @@ -21610,7 +21657,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &370 + default: &371 value: - id: 21 number: 42 @@ -21675,7 +21722,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/19 '404': *6 '403': *29 - '500': *40 + '500': *41 "/enterprises/{enterprise}/enterprise-roles": get: summary: Get all enterprise roles for an enterprise @@ -21695,7 +21742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#get-all-enterprise-roles-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response - list of enterprise roles @@ -21711,7 +21758,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &152 + items: &153 title: Enterprise Role description: Enterprise custom roles type: object @@ -21745,8 +21792,8 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: *147 - required: *148 + properties: *148 + required: *149 nullable: true created_at: description: The date and time the role was created. @@ -21838,8 +21885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - - *41 - - &149 + - *42 + - &150 name: team_slug description: The slug of the enterprise team name. in: path @@ -21881,9 +21928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - - *41 - - *149 - - &150 + - *42 + - *150 + - &151 name: role_id description: The unique identifier of the role. in: path @@ -21924,9 +21971,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - - *41 - - *149 + - *42 - *150 + - *151 responses: '204': description: Response @@ -21959,8 +22006,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user parameters: - - *41 - - *151 + - *42 + - *152 responses: '204': description: Response @@ -21993,9 +22040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user parameters: - - *41 + - *42 + - *152 - *151 - - *150 responses: '204': description: Response @@ -22027,9 +22074,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment parameters: - - *41 + - *42 + - *152 - *151 - - *150 responses: '204': description: Response @@ -22062,14 +22109,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - - *41 - - *150 + - *42 + - *151 responses: '200': description: Response content: application/json: - schema: *152 + schema: *153 examples: default: value: @@ -22122,8 +22169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#list-teams-that-are-assigned-to-an-enterprise-role parameters: - - *41 - - *150 + - *42 + - *151 - *17 - *19 responses: @@ -22133,9 +22180,9 @@ paths: application/json: schema: type: array - items: *153 + items: *154 examples: - default: &220 + default: &221 value: - id: 1 name: Justice League @@ -22173,8 +22220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#list-users-that-are-assigned-to-an-enterprise-role parameters: - - *41 - - *150 + - *42 + - *151 - *17 - *19 responses: @@ -22206,7 +22253,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *153 + items: *154 examples: default: value: @@ -22268,7 +22315,7 @@ paths: type: User site_admin: false headers: - Link: *47 + Link: *48 '403': *29 '404': *6 x-github: @@ -22299,7 +22346,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/security-advisories#sync-innersource-vulnerabilities-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -22522,7 +22569,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/security-advisories#get-innersource-vulnerability-sync-status-for-an-enterprise parameters: - - *41 + - *42 - name: job_id in: path required: true @@ -22681,7 +22728,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-an-enterprise-installation-for-the-authenticated-app parameters: - - *41 + - *42 responses: '200': description: Response @@ -22689,7 +22736,7 @@ paths: application/json: schema: *22 examples: - default: &393 + default: &394 value: id: 1 account: @@ -22757,7 +22804,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-a-license-sync-status parameters: - - *41 + - *42 responses: '200': description: License Sync Status Response @@ -22829,8 +22876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - - *41 - - *151 + - *42 + - *152 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -22846,10 +22893,10 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *154 + items: *155 examples: - default: *155 - '500': *40 + default: *156 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -22873,7 +22920,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#list-hosted-compute-network-configurations-for-an-enterprise parameters: - - *41 + - *42 - *17 - *19 responses: @@ -22891,7 +22938,7 @@ paths: type: integer network_configurations: type: array - items: &156 + items: &157 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -22943,7 +22990,7 @@ paths: - name - created_on examples: - default: &497 + default: &498 value: total_count: 2 network_configurations: @@ -22962,7 +23009,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -22979,7 +23026,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#create-a-hosted-compute-network-configuration-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -23035,9 +23082,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: &157 + default: &158 value: id: 123456789ABCDEF name: My network configuration @@ -23063,8 +23110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - - *41 - - &158 + - *42 + - &159 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -23076,11 +23123,11 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: *157 + default: *158 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23097,8 +23144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - - *41 - - *158 + - *42 + - *159 requestBody: required: true content: @@ -23151,9 +23198,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: *157 + default: *158 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23170,8 +23217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - - *41 - - *158 + - *42 + - *159 responses: '204': description: Response @@ -23193,8 +23240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - - *41 - - &498 + - *42 + - &499 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -23206,7 +23253,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &500 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -23240,7 +23287,7 @@ paths: - subnet_id - region examples: - default: &500 + default: &501 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -23248,7 +23295,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: *47 + Link: *48 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23271,7 +23318,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#get-organization-custom-properties-schema-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -23279,7 +23326,7 @@ paths: application/json: schema: type: array - items: &159 + items: &160 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -23347,7 +23394,7 @@ paths: - property_name - value_type examples: - default: &160 + default: &161 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23395,7 +23442,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#create-or-update-organization-custom-property-definitions-on-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -23407,7 +23454,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *159 + items: *160 minItems: 1 maxItems: 100 required: @@ -23440,9 +23487,9 @@ paths: application/json: schema: type: array - items: *159 + items: *160 examples: - default: *160 + default: *161 '403': *29 '404': *6 '422': *7 @@ -23468,8 +23515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#get-an-organization-custom-property-definition-from-an-enterprise parameters: - - *41 - - &161 + - *42 + - &162 name: custom_property_name description: The custom property name in: path @@ -23481,9 +23528,9 @@ paths: description: Response content: application/json: - schema: *159 + schema: *160 examples: - default: &162 + default: &163 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23519,8 +23566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#create-or-update-an-organization-custom-property-definition-on-an-enterprise parameters: - - *41 - - *161 + - *42 + - *162 requestBody: required: true content: @@ -23589,9 +23636,9 @@ paths: description: Response content: application/json: - schema: *159 + schema: *160 examples: - default: *162 + default: *163 '403': *29 '404': *6 '422': *7 @@ -23616,10 +23663,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#remove-an-organization-custom-property-definition-from-an-enterprise parameters: - - *41 - - *161 + - *42 + - *162 responses: - '204': *130 + '204': *129 '403': *29 '404': *6 '422': *7 @@ -23645,7 +23692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#list-custom-property-values-for-organizations-in-an-enterprise parameters: - - *41 + - *42 - *17 - *19 responses: @@ -23668,7 +23715,7 @@ paths: example: Hello-World properties: type: array - items: &163 + items: &164 title: Custom Property Value description: Custom property name and associated value type: object @@ -23705,7 +23752,7 @@ paths: - property_name: team value: octocat headers: - Link: *47 + Link: *48 '403': *29 '404': *6 x-github: @@ -23731,7 +23778,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#create-or-update-custom-property-values-for-organizations-in-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -23751,7 +23798,7 @@ paths: type: array description: List of custom property names and associated values to apply to the organizations. - items: *163 + items: *164 required: - organization_logins - properties @@ -23793,7 +23840,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#get-custom-properties-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -23801,7 +23848,7 @@ paths: application/json: schema: type: array - items: &164 + items: &165 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -23869,7 +23916,7 @@ paths: - property_name - value_type examples: - default: &165 + default: &166 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -23916,7 +23963,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#create-or-update-custom-properties-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -23927,7 +23974,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *164 + items: *165 minItems: 1 maxItems: 100 required: @@ -23957,9 +24004,9 @@ paths: application/json: schema: type: array - items: *164 + items: *165 examples: - default: *165 + default: *166 '403': *29 '404': *6 x-github: @@ -23981,17 +24028,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - - *41 - - *89 - - *161 + - *42 + - *90 + - *162 responses: '200': description: Response content: application/json: - schema: *164 + schema: *165 examples: - default: &166 + default: &167 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -24023,16 +24070,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - - *41 - - *161 + - *42 + - *162 responses: '200': description: Response content: application/json: - schema: *164 + schema: *165 examples: - default: *166 + default: *167 '403': *29 '404': *6 x-github: @@ -24053,13 +24100,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - - *41 - - *161 + - *42 + - *162 requestBody: required: true content: application/json: - schema: &449 + schema: &450 title: Custom Property Set Payload description: Custom property set payload type: object @@ -24125,9 +24172,9 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: - default: *166 + default: *167 '403': *29 '404': *6 x-github: @@ -24148,10 +24195,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - - *41 - - *161 + - *42 + - *162 responses: - '204': *130 + '204': *129 '403': *29 '404': *6 x-github: @@ -24170,7 +24217,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/rules#create-an-enterprise-repository-ruleset parameters: - - *41 + - *42 requestBody: description: Request body required: true @@ -24191,7 +24238,7 @@ paths: - push - repository default: branch - enforcement: &175 + enforcement: &176 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -24204,7 +24251,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &176 + items: &177 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -24247,7 +24294,7 @@ paths: - pull_request - exempt default: always - conditions: &200 + conditions: &201 title: Enterprise ruleset conditions type: object description: |- @@ -24260,7 +24307,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &167 + - &168 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -24286,7 +24333,7 @@ paths: type: string required: - organization_name - - &170 + - &171 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -24315,7 +24362,7 @@ paths: is prevented. required: - repository_name - - &169 + - &170 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -24343,8 +24390,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *167 - - &172 + - *168 + - &173 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -24357,7 +24404,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &168 + items: &169 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -24388,16 +24435,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *168 + items: *169 required: - repository_property - - *169 + - *170 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &171 + - &172 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -24414,22 +24461,22 @@ paths: type: integer required: - organization_id + - *171 - *170 - - *169 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *171 - *172 - - *169 + - *173 + - *170 - type: object title: organization_property_and_repository_name description: Conditions to target organizations by property and all repositories allOf: - - &174 + - &175 title: Repository ruleset conditions for organization properties type: object description: Parameters for a organization property condition @@ -24442,7 +24489,7 @@ paths: description: The organization properties and values to include. All of these properties must match for the condition to pass. - items: &173 + items: &174 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a organization @@ -24466,28 +24513,28 @@ paths: description: The organization properties and values to exclude. The condition will not pass if any of these properties match. - items: *173 + items: *174 required: - organization_property + - *171 - *170 - - *169 - type: object title: organization_property_and_repository_property description: Conditions to target organizations by property and repositories by property allOf: - - *174 - - *172 - - *169 + - *175 + - *173 + - *170 rules: type: array description: An array of rules within the ruleset. - items: &201 + items: &202 title: Repository Rule type: object description: A repository rule. oneOf: - - &177 + - &178 title: creation description: Only allow users with bypass permission to create matching refs. @@ -24499,7 +24546,7 @@ paths: type: string enum: - creation - - &178 + - &179 title: update description: Only allow users with bypass permission to update matching refs. @@ -24520,7 +24567,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &179 + - &180 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -24532,7 +24579,7 @@ paths: type: string enum: - deletion - - &180 + - &181 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -24544,7 +24591,7 @@ paths: type: string enum: - required_linear_history - - &181 + - &182 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -24568,7 +24615,7 @@ paths: type: string required: - required_deployment_environments - - &182 + - &183 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -24580,7 +24627,7 @@ paths: type: string enum: - required_signatures - - &183 + - &184 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -24720,7 +24767,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &184 + - &185 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -24767,7 +24814,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &185 + - &186 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -24779,7 +24826,7 @@ paths: type: string enum: - non_fast_forward - - &186 + - &187 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -24816,7 +24863,7 @@ paths: required: - operator - pattern - - &187 + - &188 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -24853,7 +24900,7 @@ paths: required: - operator - pattern - - &188 + - &189 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -24890,7 +24937,7 @@ paths: required: - operator - pattern - - &189 + - &190 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -24927,7 +24974,7 @@ paths: required: - operator - pattern - - &190 + - &191 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -24964,7 +25011,7 @@ paths: required: - operator - pattern - - &194 + - &195 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -24988,7 +25035,7 @@ paths: type: string required: - restricted_file_paths - - &195 + - &196 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -25012,7 +25059,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &196 + - &197 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -25035,7 +25082,7 @@ paths: type: string required: - restricted_file_extensions - - &197 + - &198 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -25059,7 +25106,7 @@ paths: maximum: 100 required: - max_file_size - - &191 + - &192 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -25108,7 +25155,7 @@ paths: - repository_id required: - workflows - - &192 + - &193 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -25168,7 +25215,7 @@ paths: - tool required: - code_scanning_tools - - &193 + - &194 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review @@ -25218,7 +25265,7 @@ paths: description: Response content: application/json: - schema: &198 + schema: &199 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -25253,11 +25300,11 @@ paths: source: type: string description: The name of the source - enforcement: *175 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *176 + items: *177 current_user_can_bypass: type: string description: |- @@ -25289,8 +25336,8 @@ paths: conditions: nullable: true anyOf: - - *169 - - &455 + - *170 + - &456 title: Organization ruleset conditions type: object description: |- @@ -25304,14 +25351,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *169 - *170 + - *171 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *169 + - *170 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -25333,20 +25380,20 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *169 - - *172 + - *170 + - *173 rules: type: array - items: &791 + items: &794 title: Repository Rule type: object description: A repository rule. oneOf: - - *177 - *178 - *179 - *180 - - &788 + - *181 + - &791 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -25424,7 +25471,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *181 - *182 - *183 - *184 @@ -25437,7 +25483,8 @@ paths: - *191 - *192 - *193 - - &789 + - *194 + - &792 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -25449,10 +25496,10 @@ paths: type: string enum: - license_compliance_scanning - - *194 - *195 - *196 - *197 + - *198 created_at: type: string format: date-time @@ -25460,7 +25507,7 @@ paths: type: string format: date-time examples: - default: &199 + default: &200 value: id: 21 name: super cool ruleset @@ -25486,7 +25533,7 @@ paths: created_at: '2024-08-15T08:43:03Z' updated_at: '2024-09-23T16:29:47Z' '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -25507,7 +25554,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/rules#get-an-enterprise-repository-ruleset parameters: - - *41 + - *42 - name: ruleset_id description: The ID of the ruleset. in: path @@ -25519,11 +25566,11 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: *199 + default: *200 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -25539,7 +25586,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/rules#update-an-enterprise-repository-ruleset parameters: - - *41 + - *42 - name: ruleset_id description: The ID of the ruleset. in: path @@ -25565,16 +25612,16 @@ paths: - tag - push - repository - enforcement: *175 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *176 - conditions: *200 + items: *177 + conditions: *201 rules: description: An array of rules within the ruleset. type: array - items: *201 + items: *202 examples: default: value: @@ -25598,11 +25645,11 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: *199 + default: *200 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -25618,7 +25665,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/rules#delete-an-enterprise-repository-ruleset parameters: - - *41 + - *42 - name: ruleset_id description: The ID of the ruleset. in: path @@ -25629,7 +25676,7 @@ paths: '204': description: Response '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -25646,7 +25693,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/rules#get-enterprise-ruleset-history parameters: - - *41 + - *42 - *17 - *19 - name: ruleset_id @@ -25662,7 +25709,7 @@ paths: application/json: schema: type: array - items: &202 + items: &203 title: Ruleset version type: object description: The historical version of a ruleset @@ -25686,7 +25733,7 @@ paths: type: string format: date-time examples: - default: &458 + default: &459 value: - version_id: 3 actor: @@ -25704,7 +25751,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -25721,7 +25768,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/rules#get-enterprise-ruleset-version parameters: - - *41 + - *42 - name: ruleset_id description: The ID of the ruleset. in: path @@ -25739,9 +25786,9 @@ paths: description: Response content: application/json: - schema: &459 + schema: &460 allOf: - - *202 + - *203 - type: object required: - state @@ -25774,7 +25821,7 @@ paths: rules: - type: repository_delete '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -25793,8 +25840,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - - *41 - - &460 + - *42 + - &461 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -25805,7 +25852,7 @@ paths: enum: - open - resolved - - &461 + - &462 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -25815,7 +25862,7 @@ paths: required: false schema: type: string - - &462 + - &463 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -25826,7 +25873,7 @@ paths: required: false schema: type: string - - &463 + - &464 name: exclude_providers in: query description: |- @@ -25837,7 +25884,7 @@ paths: required: false schema: type: string - - &464 + - &465 name: providers in: query description: |- @@ -25848,7 +25895,7 @@ paths: required: false schema: type: string - - &465 + - &466 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -25857,7 +25904,7 @@ paths: required: false schema: type: string - - &466 + - &467 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -25876,7 +25923,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &467 + - &468 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. @@ -25888,11 +25935,11 @@ paths: - created - updated default: created - - *112 + - *113 - *17 - - *110 - *111 - - &468 + - *112 + - &469 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -25901,7 +25948,7 @@ paths: required: false schema: type: string - - &469 + - &470 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -25910,7 +25957,7 @@ paths: schema: type: boolean default: false - - &470 + - &471 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -25919,7 +25966,7 @@ paths: schema: type: boolean default: false - - &471 + - &472 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -25928,7 +25975,7 @@ paths: schema: type: boolean default: false - - &472 + - &473 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -25939,7 +25986,7 @@ paths: required: false schema: type: boolean - - &473 + - &474 name: included_metadata in: query description: |- @@ -25950,7 +25997,7 @@ paths: required: false schema: type: string - - &474 + - &475 name: owner_email_hash in: query description: |- @@ -25969,11 +26016,11 @@ paths: application/json: schema: type: array - items: &475 + items: &476 type: object properties: - number: *134 - created_at: *141 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -25981,21 +26028,21 @@ paths: format: date-time readOnly: true nullable: true - url: *139 - html_url: *140 + url: *140 + html_url: *141 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &804 + state: &807 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: &805 + resolution: &808 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -26039,7 +26086,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *122 + repository: *123 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -26112,8 +26159,8 @@ paths: pull request. ' - oneOf: &806 - - &808 + oneOf: &809 + - &811 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -26171,7 +26218,7 @@ paths: - blob_url - commit_sha - commit_url - - &809 + - &812 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. @@ -26226,7 +26273,7 @@ paths: - page_url - commit_sha - commit_url - - &810 + - &813 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -26246,7 +26293,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &811 + - &814 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -26266,7 +26313,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &812 + - &815 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -26286,7 +26333,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &813 + - &816 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -26300,7 +26347,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &814 + - &817 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -26314,7 +26361,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &815 + - &818 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -26328,7 +26375,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &816 + - &819 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. @@ -26348,7 +26395,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &817 + - &820 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. @@ -26368,7 +26415,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &818 + - &821 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. @@ -26388,7 +26435,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &819 + - &822 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. @@ -26408,7 +26455,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &820 + - &823 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -26456,7 +26503,7 @@ paths: required: *21 nullable: true examples: - default: &476 + default: &477 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -26632,9 +26679,9 @@ paths: type: User site_admin: false headers: - Link: *47 + Link: *48 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -26659,8 +26706,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *41 - - &477 + - *42 + - &478 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -26671,7 +26718,7 @@ paths: enum: - published - unpublished - - &478 + - &479 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -26682,7 +26729,7 @@ paths: enum: - enabled - disabled - - &479 + - &480 name: sort description: The property to sort the results by. in: query @@ -26694,7 +26741,7 @@ paths: - updated - name default: created - - *112 + - *113 - *19 - *17 responses: @@ -26704,7 +26751,7 @@ paths: application/json: schema: type: array - items: &204 + items: &205 title: Secret Scanning Custom Pattern description: A custom pattern for secret scanning. type: object @@ -26752,7 +26799,7 @@ paths: nullable: true items: type: string - custom_pattern_version: &205 + custom_pattern_version: &206 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -26776,7 +26823,7 @@ paths: - state - push_protection_enabled examples: - default: &480 + default: &481 value: - id: 1 name: Example Custom Pattern @@ -26805,7 +26852,7 @@ paths: created_at: '2024-01-16T14:20:00Z' updated_at: '2024-01-17T09:15:00Z' headers: - Link: *47 + Link: *48 '403': *29 '404': *6 post: @@ -26826,7 +26873,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *41 + - *42 requestBody: required: true content: @@ -26839,7 +26886,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &481 + items: &482 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -26876,7 +26923,7 @@ paths: items: type: string examples: - default: &482 + default: &483 value: patterns: - name: Example Custom Pattern @@ -26900,9 +26947,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *204 + items: *205 examples: - default: &483 + default: &484 value: created_patterns: - id: 1 @@ -26954,7 +27001,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &484 + items: &485 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -26997,7 +27044,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *41 + - *42 requestBody: required: true content: @@ -27011,7 +27058,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &485 + items: &486 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -27021,7 +27068,7 @@ paths: pattern_id: type: integer description: The ID of the custom pattern to delete. - custom_pattern_version: *205 + custom_pattern_version: *206 post_delete_action: type: string description: |- @@ -27034,7 +27081,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &486 + default: &487 value: patterns: - pattern_id: 2 @@ -27045,7 +27092,7 @@ paths: '400': *14 '403': *29 '404': *6 - '412': &206 + '412': &207 description: Precondition Failed content: application/json: @@ -27069,7 +27116,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *41 + - *42 - name: pattern_id in: path required: true @@ -27080,7 +27127,7 @@ paths: required: true content: application/json: - schema: &487 + schema: &488 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`, @@ -27119,9 +27166,9 @@ paths: description: Updated list of regexes that the secret must not match. items: type: string - custom_pattern_version: *205 + custom_pattern_version: *206 examples: - default: &488 + default: &489 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -27136,9 +27183,9 @@ paths: description: Pattern updated successfully. content: application/json: - schema: *204 + schema: *205 examples: - default: &489 + default: &490 value: id: 1 name: Example Custom Pattern @@ -27158,7 +27205,7 @@ paths: '400': *14 '403': *29 '404': *6 - '412': *206 + '412': *207 '422': *15 "/enterprises/{enterprise}/secret-scanning/pattern-configurations": get: @@ -27179,23 +27226,23 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &490 + schema: &491 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. type: object properties: - pattern_config_version: *205 + pattern_config_version: *206 provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &207 + items: &208 type: object properties: token_type: @@ -27261,9 +27308,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *207 + items: *208 examples: - default: &491 + default: &492 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -27310,7 +27357,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *41 + - *42 requestBody: required: true content: @@ -27318,7 +27365,7 @@ paths: schema: type: object properties: - pattern_config_version: *205 + pattern_config_version: *206 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -27344,7 +27391,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *205 + custom_pattern_version: *206 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -27380,7 +27427,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *121 + '409': *122 '422': *15 "/enterprises/{enterprise}/settings/billing/advanced-security": get: @@ -27398,8 +27445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - - *41 - - &494 + - *42 + - &495 name: advanced_security_product in: query description: | @@ -27419,7 +27466,7 @@ paths: description: Success content: application/json: - schema: &495 + schema: &496 type: object properties: total_advanced_security_committers: @@ -27474,7 +27521,7 @@ paths: required: - repositories examples: - default: &496 + default: &497 value: total_advanced_security_committers: 2 total_count: 2 @@ -27515,8 +27562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-enterprise parameters: - - *41 - - &211 + - *42 + - &212 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, @@ -27525,7 +27572,7 @@ paths: required: false schema: type: integer - - &212 + - &213 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 @@ -27534,7 +27581,7 @@ paths: required: false schema: type: integer - - &213 + - &214 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 @@ -27543,7 +27590,7 @@ paths: required: false schema: type: integer - - &214 + - &215 name: organization description: The organization name to query usage for. The name is not case sensitive. @@ -27551,21 +27598,21 @@ paths: required: false schema: type: string - - &215 + - &216 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &216 + - &217 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &217 + - &218 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -27703,8 +27750,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27723,7 +27770,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-all-budgets parameters: - - *41 + - *42 - name: page description: The page number of results to fetch. in: query @@ -27977,7 +28024,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#create-a-budget parameters: - - *41 + - *42 requestBody: required: true content: @@ -28211,8 +28258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-a-budget-by-id parameters: - - *41 - - &208 + - *42 + - &209 name: budget_id description: The ID corresponding to the budget. in: path @@ -28316,8 +28363,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28589,8 +28636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#delete-a-budget parameters: - - *41 - - *208 + - *42 + - *209 responses: '200': description: Response when deleting a budget @@ -28616,8 +28663,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28635,8 +28682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-user-states-for-a-multi-user-budget parameters: - - *41 - - *208 + - *42 + - *209 - name: page description: The page number of results to fetch. in: query @@ -28730,8 +28777,8 @@ paths: total_count: 2 '404': *6 '403': *29 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28748,7 +28795,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#get-all-cost-centers-for-an-enterprise parameters: - - *41 + - *42 - name: state in: query description: Set to `active` or `deleted` to only list cost centers in a specific @@ -28860,8 +28907,8 @@ paths: ai_credit_pool_enabled: false '400': *14 '403': *29 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28878,7 +28925,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#create-a-new-cost-center parameters: - - *41 + - *42 requestBody: required: true content: @@ -29035,8 +29082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#get-a-cost-center-by-id parameters: - - *41 - - &210 + - *42 + - &211 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -29113,7 +29160,7 @@ paths: - name - resources examples: - default: &209 + default: &210 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -29130,8 +29177,8 @@ paths: current_amount: 7250.5 '400': *14 '403': *29 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29251,14 +29298,14 @@ paths: - name - resources examples: - update-cost-center: *209 - update-cost-center-with-cap: *209 + update-cost-center: *210 + update-cost-center-with-cap: *210 '400': *14 '403': *29 '404': *6 - '409': *121 - '500': *40 - '503': *203 + '409': *122 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29275,8 +29322,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#delete-a-cost-center parameters: - - *41 - - *210 + - *42 + - *211 responses: '200': description: Response when deleting a cost center @@ -29314,8 +29361,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29335,8 +29382,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - - *41 - - *210 + - *42 + - *211 requestBody: required: true content: @@ -29414,9 +29461,9 @@ paths: previous_cost_center: old-cost-center '400': *14 '403': *29 - '409': *121 - '500': *40 - '503': *203 + '409': *122 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29435,8 +29482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - - *41 - - *210 + - *42 + - *211 requestBody: required: true content: @@ -29487,8 +29534,8 @@ paths: message: Resources successfully removed from the cost center. '400': *14 '403': *29 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29508,14 +29555,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - - *41 - - *211 + - *42 - *212 - *213 - *214 - *215 - *216 - *217 + - *218 - name: cost_center_id description: The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center. @@ -29647,8 +29694,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29666,7 +29713,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage-reports#list-usage-report-exports parameters: - - *41 + - *42 responses: '200': description: List of usage report exports @@ -29678,7 +29725,7 @@ paths: usage_report_exports: type: array description: List of usage report exports - items: &218 + items: &219 type: object properties: id: @@ -29768,8 +29815,8 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29787,7 +29834,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage-reports#create-a-usage-report-export parameters: - - *41 + - *42 requestBody: required: true content: @@ -29833,9 +29880,9 @@ paths: description: Report export request accepted content: application/json: - schema: *218 + schema: *219 examples: - usage-report-export: &219 + usage-report-export: &220 value: id: a1b2c3d4-e5f6-7890-abcd-ef1234567890 report_type: detailed @@ -29850,8 +29897,8 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29869,7 +29916,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage-reports#get-a-usage-report-export parameters: - - *41 + - *42 - name: report_id description: The unique identifier (UUID) for the usage report export. in: path @@ -29882,14 +29929,14 @@ paths: description: Usage report export details content: application/json: - schema: *218 + schema: *219 examples: - usage-report-export: *219 + usage-report-export: *220 '401': *25 '403': *29 '404': *6 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29909,8 +29956,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - - *41 - - *211 + - *42 + - *212 - 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 @@ -29919,7 +29966,7 @@ paths: required: false schema: type: integer - - *213 + - *214 - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -30001,8 +30048,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -30022,18 +30069,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - - *41 - - *211 + - *42 - *212 - *213 - *214 + - *215 - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *217 + - *218 - name: sku description: The SKU to query for usage. in: query @@ -30165,8 +30212,8 @@ paths: netAmount: 8.0 '400': *14 '403': *29 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -30183,7 +30230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#list-enterprise-teams parameters: - - *41 + - *42 - *17 - *19 responses: @@ -30193,11 +30240,11 @@ paths: application/json: schema: type: array - items: *153 + items: *154 examples: - default: *220 + default: *221 headers: - Link: *47 + Link: *48 '403': *29 x-github: githubCloudOnly: false @@ -30215,7 +30262,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team parameters: - - *41 + - *42 requestBody: required: true content: @@ -30282,9 +30329,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: - default: &225 + default: &226 value: id: 1 name: Justice League @@ -30312,8 +30359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - - *41 - - &221 + - *42 + - &222 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -30332,7 +30379,7 @@ paths: type: array items: *4 examples: - default: &222 + default: &223 value: - login: octocat id: 1 @@ -30353,7 +30400,7 @@ paths: type: User site_admin: false headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30370,8 +30417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - - *41 - - *221 + - *42 + - *222 requestBody: required: true content: @@ -30402,7 +30449,7 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30419,8 +30466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - - *41 - - *221 + - *42 + - *222 requestBody: required: true content: @@ -30451,7 +30498,7 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30468,9 +30515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - - *41 - - *221 - - *151 + - *42 + - *222 + - *152 responses: '200': description: User is a member of the enterprise team. @@ -30478,7 +30525,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &223 + exampleKey1: &224 value: login: octocat id: 1 @@ -30513,9 +30560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - - *41 - - *221 - - *151 + - *42 + - *222 + - *152 responses: '201': description: Successfully added team member @@ -30523,7 +30570,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *223 + exampleKey1: *224 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30540,9 +30587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - - *41 - - *221 - - *151 + - *42 + - *222 + - *152 responses: '204': description: Response @@ -30563,8 +30610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - - *41 - - *221 + - *42 + - *222 - *17 - *19 responses: @@ -30574,9 +30621,9 @@ paths: application/json: schema: type: array - items: *75 + items: *76 examples: - default: &224 + default: &225 value: login: github id: 1 @@ -30606,8 +30653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - - *41 - - *221 + - *42 + - *222 requestBody: required: true content: @@ -30635,9 +30682,9 @@ paths: application/json: schema: type: array - items: *75 + items: *76 examples: - default: &265 + default: &266 value: - login: github id: 1 @@ -30667,8 +30714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - - *41 - - *221 + - *42 + - *222 requestBody: required: true content: @@ -30708,17 +30755,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - - *41 - - *221 - - *89 + - *42 + - *222 + - *90 responses: '200': description: The team is assigned to the organization content: application/json: - schema: *75 + schema: *76 examples: - default: *224 + default: *225 '404': description: The team is not assigned to the organization x-github: @@ -30736,17 +30783,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - - *41 - - *221 - - *89 + - *42 + - *222 + - *90 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *75 + schema: *76 examples: - default: *224 + default: *225 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30762,9 +30809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - - *41 - - *221 - - *89 + - *42 + - *222 + - *90 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -30787,8 +30834,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - - *41 - - &226 + - *42 + - &227 name: team_slug description: The slug of the team name. in: path @@ -30800,11 +30847,11 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: - default: *225 + default: *226 headers: - Link: *47 + Link: *48 '403': *29 x-github: githubCloudOnly: false @@ -30821,8 +30868,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - - *41 - - *226 + - *42 + - *227 requestBody: required: true content: @@ -30887,11 +30934,11 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: - default: *225 + default: *226 headers: - Link: *47 + Link: *48 '403': *29 x-github: githubCloudOnly: false @@ -30911,8 +30958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - - *41 - - *226 + - *42 + - *227 responses: '204': description: Response @@ -30964,7 +31011,7 @@ paths: type: integer visual_studio_subscriptions: type: array - items: &227 + items: &228 title: Visual Studio Subscription Assignment description: Visual Studio Subscription Assignment type: object @@ -31050,7 +31097,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -31093,7 +31140,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -31127,7 +31174,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/code-security-and-analysis#enable-or-disable-a-security-feature parameters: - - *41 + - *42 - name: security_product in: path description: The security feature to enable or disable. @@ -31197,7 +31244,7 @@ paths: application/json: schema: type: array - items: &260 + items: &261 title: Event description: Event type: object @@ -31207,7 +31254,7 @@ paths: type: type: string nullable: true - actor: &228 + actor: &229 title: Actor description: Actor type: object @@ -31247,7 +31294,7 @@ paths: - id - name - url - org: *228 + org: *229 payload: oneOf: - title: CreateEvent @@ -31293,7 +31340,7 @@ paths: properties: action: type: string - discussion: &947 + discussion: &950 title: Discussion description: A Discussion in a repository. type: object @@ -31580,7 +31627,7 @@ paths: - id labels: type: array - items: &233 + items: &234 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -31655,12 +31702,12 @@ paths: properties: action: type: string - issue: &234 + issue: &235 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &706 + properties: &708 id: type: integer format: int64 @@ -31773,7 +31820,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &438 + properties: &439 url: type: string format: uri @@ -31843,7 +31890,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &439 + required: &440 - closed_issues - creator - description @@ -31922,7 +31969,7 @@ paths: timeline_url: type: string format: uri - type: &403 + type: &404 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -31974,7 +32021,7 @@ paths: - node_id - name - description - repository: *80 + repository: *81 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -31985,9 +32032,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *229 - required: *230 - author_association: &231 + properties: *230 + required: *231 + author_association: &232 title: author_association type: string example: OWNER @@ -32002,7 +32049,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &232 + reactions: &233 title: Reaction Rollup type: object properties: @@ -32038,7 +32085,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &863 + sub_issues_summary: &866 title: Sub-issues Summary type: object properties: @@ -32063,7 +32110,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &235 + properties: &236 id: description: Unique identifier of the issue comment example: 42 @@ -32106,7 +32153,7 @@ paths: issue_url: type: string format: uri - author_association: *231 + author_association: *232 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -32117,15 +32164,15 @@ paths: class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 - reactions: *232 + properties: *230 + required: *231 + reactions: *233 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &732 + properties: &734 pinned_at: type: string format: date-time @@ -32137,7 +32184,7 @@ paths: properties: *20 required: *21 nullable: true - required: &733 + required: &735 - pinned_at - pinned_by nullable: true @@ -32146,16 +32193,16 @@ paths: description: Details about why an issue comment was minimized. type: object - properties: &734 + properties: &736 reason: description: The reason the comment was minimized. type: string nullable: true example: low-quality - required: &735 + required: &737 - reason nullable: true - required: &236 + required: &237 - id - node_id - html_url @@ -32165,7 +32212,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &864 + issue_dependencies_summary: &867 title: Issue Dependencies Summary type: object properties: @@ -32184,7 +32231,7 @@ paths: - total_blocking issue_field_values: type: array - items: &716 + items: &718 title: Issue Field Value description: A value assigned to an issue field type: object @@ -32276,7 +32323,7 @@ paths: - node_id - data_type - value - required: &707 + required: &709 - assignee - closed_at - comments @@ -32301,10 +32348,10 @@ paths: assignees: type: array items: *4 - label: *233 + label: *234 labels: type: array - items: *233 + items: *234 required: - action - issue @@ -32313,14 +32360,14 @@ paths: properties: action: type: string - issue: *234 - comment: &702 + issue: *235 + comment: &704 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 required: - action - issue @@ -32493,8 +32540,8 @@ paths: title: License Simple description: License Simple type: object - properties: *237 - required: *238 + properties: *238 + required: *239 nullable: true allow_forking: type: boolean @@ -32583,7 +32630,7 @@ paths: type: string number: type: integer - pull_request: &239 + pull_request: &240 title: Pull Request Minimal type: object properties: @@ -32654,10 +32701,10 @@ paths: assignees: type: array items: *4 - label: *233 + label: *234 labels: type: array - items: *233 + items: *234 required: - action - number @@ -32667,7 +32714,7 @@ paths: properties: action: type: string - pull_request: *239 + pull_request: *240 comment: type: object properties: @@ -32918,7 +32965,7 @@ paths: - pull_request updated_at: type: string - pull_request: *239 + pull_request: *240 required: - action - review @@ -32967,7 +33014,7 @@ paths: updated_at: type: string format: date-time - reactions: *232 + reactions: *233 required: - action - comment @@ -32978,7 +33025,7 @@ paths: type: string release: allOf: - - &781 + - &784 title: Release description: A release. type: object @@ -33049,7 +33096,7 @@ paths: author: *4 assets: type: array - items: &782 + items: &785 title: Release Asset description: Data related to a release. type: object @@ -33124,7 +33171,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *232 + reactions: *233 required: - assets_url - upload_url @@ -33214,9 +33261,9 @@ paths: before: 883efe034920928c47fe18598c01249d1a9fdabd public: true created_at: '2022-06-07T07:50:26Z' - '304': *37 + '304': *38 '403': *29 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33297,7 +33344,7 @@ paths: _links: type: object properties: - timeline: &240 + timeline: &241 title: Link With Type description: Hypermedia Link with Type type: object @@ -33309,17 +33356,17 @@ paths: required: - href - type - user: *240 - security_advisories: *240 - current_user: *240 - current_user_public: *240 - current_user_actor: *240 - current_user_organization: *240 + user: *241 + security_advisories: *241 + current_user: *241 + current_user_public: *241 + current_user_actor: *241 + current_user_organization: *241 current_user_organizations: type: array - items: *240 - repository_discussions: *240 - repository_discussions_category: *240 + items: *241 + repository_discussions: *241 + repository_discussions_category: *241 required: - timeline - user @@ -33381,7 +33428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *241 + - *242 - *17 - *19 responses: @@ -33391,7 +33438,7 @@ paths: application/json: schema: type: array - items: &242 + items: &243 title: Base Gist description: Base Gist type: object @@ -33490,7 +33537,7 @@ paths: - created_at - updated_at examples: - default: &243 + default: &244 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -33535,8 +33582,8 @@ paths: site_admin: false truncated: false headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -33611,7 +33658,7 @@ paths: description: Response content: application/json: - schema: &244 + schema: &245 title: Gist Simple description: Gist Simple type: object @@ -33628,7 +33675,7 @@ paths: url: type: string format: uri - user: &872 + user: &875 title: Public User description: Public User type: object @@ -33990,7 +34037,7 @@ paths: truncated: type: boolean examples: - default: &245 + default: &246 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -34072,7 +34119,7 @@ paths: schema: type: string '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -34094,7 +34141,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *241 + - *242 - *17 - *19 responses: @@ -34104,13 +34151,13 @@ paths: application/json: schema: type: array - items: *242 + items: *243 examples: - default: *243 + default: *244 headers: - Link: *47 + Link: *48 '422': *15 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -34128,7 +34175,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *241 + - *242 - *17 - *19 responses: @@ -34138,13 +34185,13 @@ paths: application/json: schema: type: array - items: *242 + items: *243 examples: - default: *243 + default: *244 headers: - Link: *47 + Link: *48 '401': *25 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -34167,7 +34214,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &246 + - &247 name: gist_id description: The unique identifier of the gist. in: path @@ -34179,10 +34226,10 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 - '403': &249 + default: *246 + '403': &250 description: Forbidden Gist content: application/json: @@ -34204,7 +34251,7 @@ paths: documentation_url: type: string '404': *6 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34229,7 +34276,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *246 + - *247 requestBody: required: true content: @@ -34289,9 +34336,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - updateGist: *245 + updateGist: *246 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -34449,12 +34496,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *246 + - *247 responses: '204': description: Response '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -34477,7 +34524,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *246 + - *247 - *17 - *19 responses: @@ -34487,7 +34534,7 @@ paths: application/json: schema: type: array - items: &247 + items: &248 title: Gist Comment description: A comment made to a gist. type: object @@ -34522,7 +34569,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *231 + author_association: *232 required: - url - id @@ -34562,8 +34609,8 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '404': *6 '403': *29 x-github: @@ -34586,7 +34633,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *246 + - *247 requestBody: required: true content: @@ -34611,9 +34658,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: &248 + default: &249 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -34646,7 +34693,7 @@ paths: example: https://api.github.com/gists/a6db0bec360bb87e9418/comments/1 schema: type: string - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -34670,8 +34717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *246 - - &250 + - *247 + - &251 name: comment_id description: The unique identifier of the comment. in: path @@ -34684,12 +34731,12 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 - '304': *37 + default: *249 + '304': *38 '404': *6 - '403': *249 + '403': *250 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34710,8 +34757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *246 - - *250 + - *247 + - *251 requestBody: required: true content: @@ -34736,9 +34783,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '404': *6 x-github: githubCloudOnly: false @@ -34755,12 +34802,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *246 - - *250 + - *247 + - *251 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -34779,7 +34826,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *246 + - *247 - *17 - *19 responses: @@ -34862,7 +34909,7 @@ paths: schema: type: string '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -34880,7 +34927,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *246 + - *247 - *17 - *19 responses: @@ -34890,7 +34937,7 @@ paths: application/json: schema: type: array - items: *244 + items: *245 examples: default: value: @@ -34936,9 +34983,9 @@ paths: type: User site_admin: false headers: - Link: *47 + Link: *48 '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -34955,13 +35002,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *246 + - *247 responses: '201': description: Response content: application/json: - schema: *242 + schema: *243 examples: default: value: @@ -35014,7 +35061,7 @@ paths: type: string '404': *6 '422': *15 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -35032,7 +35079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *246 + - *247 responses: '204': description: Response if gist is starred @@ -35044,7 +35091,7 @@ paths: type: object properties: {} additionalProperties: false - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -35062,12 +35109,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *246 + - *247 responses: '204': description: Response '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -35084,11 +35131,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *246 + - *247 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -35112,7 +35159,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *246 + - *247 - name: sha in: path required: true @@ -35123,9 +35170,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 '422': *15 '404': *6 '403': *29 @@ -35165,7 +35212,7 @@ paths: - Bancha - C - C++ - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35250,7 +35297,7 @@ paths: *.exe *.out *.app - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35286,7 +35333,7 @@ paths: type: array items: allOf: - - *80 + - *81 - type: object properties: custom_properties: @@ -35421,9 +35468,9 @@ paths: environment: production service: web headers: - Link: *47 + Link: *48 '403': *29 - '304': *37 + '304': *38 '401': *25 x-github: githubCloudOnly: false @@ -35505,7 +35552,7 @@ paths: - closed - all default: open - - &406 + - &407 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -35523,8 +35570,8 @@ paths: - updated - comments default: created - - *112 - - *241 + - *113 + - *242 - name: collab in: query required: false @@ -35554,9 +35601,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: &407 + default: &408 value: - id: 1 node_id: MDU6SXNzdWUx @@ -35801,9 +35848,9 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *47 + Link: *48 '422': *15 - '304': *37 + '304': *38 '404': *6 x-github: githubCloudOnly: false @@ -35840,8 +35887,8 @@ paths: title: License Simple description: License Simple type: object - properties: *237 - required: *238 + properties: *238 + required: *239 examples: default: value: @@ -35880,7 +35927,7 @@ paths: spdx_id: GPL-3.0 url: https://api.github.com/licenses/gpl-3.0 node_id: MDc6TGljZW5zZW1pdA== - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36065,7 +36112,7 @@ paths: featured: true '403': *29 '404': *6 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36126,7 +36173,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &251 + X-CommonMarker-Version: &252 example: 0.17.4 schema: type: string @@ -36138,7 +36185,7 @@ paths: default: summary: Example response value: "

Hello world

" - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36181,7 +36228,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *251 + X-CommonMarker-Version: *252 content: text/html: schema: @@ -36190,7 +36237,7 @@ paths: default: summary: Example response value: "

Hello world

" - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36210,7 +36257,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &254 + - &255 name: account_id description: account_id parameter in: path @@ -36222,7 +36269,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &254 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -36252,7 +36299,7 @@ paths: nullable: true id: type: integer - plan: &252 + plan: &253 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -36341,7 +36388,7 @@ paths: nullable: true updated_at: type: string - plan: *252 + plan: *253 required: - url - id @@ -36349,7 +36396,7 @@ paths: - login - marketplace_purchase examples: - default: &255 + default: &256 value: url: https://api.github.com/orgs/github type: Organization @@ -36434,9 +36481,9 @@ paths: application/json: schema: type: array - items: *252 + items: *253 examples: - default: &256 + default: &257 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -36454,7 +36501,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *47 + Link: *48 '404': *6 '401': *25 x-github: @@ -36476,14 +36523,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &257 + - &258 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &258 + - &259 name: sort description: The property to sort the results by. in: query @@ -36513,9 +36560,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: &259 + default: &260 value: - url: https://api.github.com/orgs/github type: Organization @@ -36566,7 +36613,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *47 + Link: *48 '404': *6 '422': *15 '401': *25 @@ -36589,15 +36636,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *254 + - *255 responses: '200': description: Response content: application/json: - schema: *253 + schema: *254 examples: - default: *255 + default: *256 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -36629,11 +36676,11 @@ paths: application/json: schema: type: array - items: *252 + items: *253 examples: - default: *256 + default: *257 headers: - Link: *47 + Link: *48 '401': *25 x-github: githubCloudOnly: false @@ -36654,8 +36701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *257 - *258 + - *259 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -36675,11 +36722,11 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *259 + default: *260 headers: - Link: *47 + Link: *48 '401': *25 x-github: githubCloudOnly: false @@ -36922,7 +36969,7 @@ paths: - "*.example.com" packages: - "*.example.com" - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36941,14 +36988,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &509 + - &510 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &510 + - &511 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -36965,7 +37012,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: default: value: @@ -37009,8 +37056,8 @@ paths: created_at: '2022-06-08T23:29:25Z' '404': *6 '403': *29 - '304': *37 - '301': &515 + '304': *38 + '301': &516 description: Moved permanently content: application/json: @@ -37032,7 +37079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &755 + - &757 name: all description: If `true`, show notifications marked as read. in: query @@ -37040,7 +37087,7 @@ paths: schema: type: boolean default: false - - &756 + - &758 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -37049,8 +37096,8 @@ paths: schema: type: boolean default: false - - *241 - - &757 + - *242 + - &759 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -37075,18 +37122,18 @@ paths: application/json: schema: type: array - items: &261 + items: &262 title: Thread description: Thread type: object properties: id: type: string - repository: &295 + repository: &296 title: Minimal Repository description: Minimal Repository type: object - properties: &371 + properties: &372 id: type: integer format: int64 @@ -37342,7 +37389,7 @@ paths: type: integer network_count: type: integer - code_of_conduct: *38 + code_of_conduct: *39 license: type: object properties: @@ -37372,7 +37419,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &452 + security_and_analysis: &453 nullable: true type: object properties: @@ -37500,7 +37547,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &372 + required: &373 - archive_url - assignees_url - blobs_url @@ -37588,7 +37635,7 @@ paths: - url - subscription_url examples: - default: &758 + default: &760 value: - id: '1' repository: @@ -37670,8 +37717,8 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -37735,7 +37782,7 @@ paths: Notifications are being marked as read in the background. '205': description: Reset Content - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -37754,7 +37801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &262 + - &263 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 @@ -37768,7 +37815,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: default: value: @@ -37851,7 +37898,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': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -37871,11 +37918,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *262 + - *263 responses: '205': description: Reset Content - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -37894,7 +37941,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *262 + - *263 responses: '204': description: No content @@ -37917,13 +37964,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *262 + - *263 responses: '200': description: Response content: application/json: - schema: &263 + schema: &264 title: Thread Subscription description: Thread Subscription type: object @@ -37960,7 +38007,7 @@ paths: - url - subscribed examples: - default: &264 + default: &265 value: subscribed: true ignored: false @@ -37968,7 +38015,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': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -37991,7 +38038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *262 + - *263 requestBody: required: false content: @@ -38012,10 +38059,10 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *264 - '304': *37 + default: *265 + '304': *38 '403': *29 '401': *25 x-github: @@ -38037,11 +38084,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *262 + - *263 responses: '204': description: Response - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -38132,15 +38179,15 @@ paths: application/json: schema: type: array - items: *75 + items: *76 examples: - default: *265 + default: *266 headers: Link: example: ; rel="next" schema: type: string - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38185,7 +38232,7 @@ paths: type: integer custom_roles: type: array - items: &349 + items: &350 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -38233,7 +38280,7 @@ paths: - created_at - updated_at examples: - default: &350 + default: &351 value: id: 8030 name: Security Engineer @@ -38280,13 +38327,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: &266 + schema: &267 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -38297,7 +38344,7 @@ paths: type: integer example: 14 examples: - default: *44 + default: *45 '403': *29 '404': *6 x-github: @@ -38319,14 +38366,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: application/json: - schema: *266 + schema: *267 examples: - selected_actions: *44 + selected_actions: *45 responses: '204': description: Response @@ -38353,13 +38400,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: &267 + schema: &268 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -38370,7 +38417,7 @@ paths: type: integer example: 10 examples: - default: *46 + default: *47 '403': *29 '404': *6 x-github: @@ -38392,14 +38439,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: application/json: - schema: *267 + schema: *268 examples: - selected_actions: *46 + selected_actions: *47 responses: '204': description: Response @@ -38430,7 +38477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -38438,9 +38485,9 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: &764 + default: &766 value: - property_name: environment value: production @@ -38474,7 +38521,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -38486,11 +38533,11 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *163 + items: *164 required: - properties examples: - default: &765 + default: &767 value: properties: - property_name: environment @@ -38531,13 +38578,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#get-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: &268 + schema: &269 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -38870,7 +38917,7 @@ paths: - updated_at - archived_at examples: - default-response: &269 + default-response: &270 value: login: github id: 1 @@ -38972,7 +39019,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#update-an-organization parameters: - - *89 + - *90 requestBody: required: false content: @@ -39195,18 +39242,18 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: - default: *269 + default: *270 '422': description: Validation failed content: application/json: schema: oneOf: - - *270 - *271 - '409': *121 + - *272 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39229,9 +39276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#delete-an-organization parameters: - - *89 + - *90 responses: - '202': *39 + '202': *40 '404': *6 '403': *29 x-github: @@ -39254,17 +39301,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *273 + default: *274 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39285,7 +39332,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *89 + - *90 - *17 - *19 responses: @@ -39303,7 +39350,7 @@ paths: type: integer repository_cache_usages: type: array - items: &522 + items: &523 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -39338,7 +39385,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39358,7 +39405,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *89 + - *90 - *17 - *19 responses: @@ -39376,11 +39423,11 @@ paths: type: integer runners: type: array - items: *48 + items: *49 examples: - default: *274 + default: *275 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39398,7 +39445,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -39475,9 +39522,9 @@ paths: description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: *57 + default: *58 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -39497,7 +39544,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -39513,9 +39560,9 @@ paths: type: integer images: type: array - items: *49 + items: *50 examples: - default: *51 + default: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39535,16 +39582,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - - *89 - - *50 + - *90 + - *51 responses: '200': description: Response content: application/json: - schema: *49 + schema: *50 examples: - default: *275 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39563,8 +39610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *89 - - *50 + - *90 + - *51 responses: '204': description: Response @@ -39587,8 +39634,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization parameters: - - *50 - - *89 + - *51 + - *90 responses: '200': description: Response @@ -39604,9 +39651,9 @@ paths: type: integer image_versions: type: array - items: *52 + items: *53 examples: - default: *51 + default: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39626,17 +39673,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - - *89 - - *50 - - *53 + - *90 + - *51 + - *54 responses: '200': description: Response content: application/json: - schema: *52 + schema: *53 examples: - default: *276 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39655,9 +39702,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - - *89 - - *50 - - *53 + - *90 + - *51 + - *54 responses: '204': description: Response @@ -39678,7 +39725,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -39694,9 +39741,9 @@ paths: type: integer images: type: array - items: *54 + items: *55 examples: - default: *55 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39714,7 +39761,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -39730,9 +39777,9 @@ paths: type: integer images: type: array - items: *54 + items: *55 examples: - default: *55 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39749,15 +39796,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *277 + schema: *278 examples: - default: *278 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39775,7 +39822,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -39791,9 +39838,9 @@ paths: type: integer machine_specs: type: array - items: *56 + items: *57 examples: - default: *279 + default: *280 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39811,7 +39858,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -39855,18 +39902,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *89 - - *58 + - *90 + - *59 responses: '200': description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: *57 + default: *58 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39884,8 +39931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *89 - - *58 + - *90 + - *59 requestBody: required: true content: @@ -39951,9 +39998,9 @@ paths: description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: *57 + default: *58 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -39969,16 +40016,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *89 - - *58 + - *90 + - *59 responses: '202': description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: *57 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39998,7 +40045,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *89 + - *90 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -40006,7 +40053,7 @@ paths: application/json: schema: type: array - items: *59 + items: *60 examples: default: value: @@ -40031,22 +40078,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: application/json: - schema: *280 + schema: *281 examples: - default: *60 + default: *61 responses: '201': description: OIDC custom property inclusion created content: application/json: - schema: *59 + schema: *60 examples: - default: *60 + default: *61 '400': description: Invalid input '403': *29 @@ -40070,7 +40117,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *89 + - *90 - name: custom_property_name in: path required: true @@ -40103,7 +40150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *89 + - *90 responses: '200': description: A JSON serialized template for OIDC subject claim customization @@ -40129,7 +40176,7 @@ paths: required: - include_claim_keys examples: - default: &281 + default: &282 value: include_claim_keys: - repo @@ -40151,7 +40198,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -40174,13 +40221,13 @@ paths: format. type: boolean examples: - default: *281 + default: *282 responses: '201': description: Empty response content: application/json: - schema: &306 + schema: &307 title: Empty Object description: An object without any properties. type: object @@ -40210,7 +40257,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -40219,7 +40266,7 @@ paths: schema: type: object properties: - enabled_repositories: &283 + enabled_repositories: &284 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -40232,9 +40279,9 @@ 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: *62 - selected_actions_url: *282 - sha_pinning_required: *63 + allowed_actions: *63 + selected_actions_url: *283 + sha_pinning_required: *64 required: - enabled_repositories examples: @@ -40264,7 +40311,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *89 + - *90 responses: '204': description: Response @@ -40275,9 +40322,9 @@ paths: schema: type: object properties: - enabled_repositories: *283 - allowed_actions: *62 - sha_pinning_required: *63 + enabled_repositories: *284 + allowed_actions: *63 + sha_pinning_required: *64 required: - enabled_repositories examples: @@ -40305,13 +40352,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *284 + schema: *285 examples: response: summary: Example response @@ -40337,12 +40384,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: application/json: - schema: *285 + schema: *286 examples: application/json: value: @@ -40352,7 +40399,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *121 + '409': *122 '422': *15 x-github: enabledForGitHubApps: true @@ -40372,15 +40419,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *64 + schema: *65 examples: - default: *286 + default: *287 '404': *6 x-github: enabledForGitHubApps: true @@ -40399,7 +40446,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *89 + - *90 responses: '204': description: Response @@ -40409,7 +40456,7 @@ paths: required: true content: application/json: - schema: *64 + schema: *65 examples: default: summary: Set approval policy to first time contributors @@ -40431,15 +40478,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *65 + default: *66 '403': *29 '404': *6 x-github: @@ -40457,14 +40504,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: application/json: - schema: *288 + schema: *289 examples: - default: *65 + default: *66 responses: '204': description: Empty response for successful settings update @@ -40494,7 +40541,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *89 + - *90 - *17 - *19 responses: @@ -40512,9 +40559,9 @@ paths: type: number repositories: type: array - items: *80 + items: *81 examples: - default: &290 + default: &291 value: total_count: 1 repositories: @@ -40654,7 +40701,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *89 + - *90 responses: '204': description: Response @@ -40698,8 +40745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *89 - - &289 + - *90 + - &290 name: repository_id description: The unique identifier of the repository. in: path @@ -40727,8 +40774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *89 - - *289 + - *90 + - *290 responses: '204': description: Response @@ -40751,15 +40798,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *67 + schema: *68 examples: - default: *68 + default: *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -40782,7 +40829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *89 + - *90 responses: '204': description: Response @@ -40790,9 +40837,9 @@ paths: required: false content: application/json: - schema: *67 + schema: *68 examples: - selected_actions: *68 + selected_actions: *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -40812,7 +40859,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -40860,7 +40907,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -40887,7 +40934,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *121 + '409': *122 '422': *15 x-github: enabledForGitHubApps: true @@ -40907,7 +40954,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *89 + - *90 - *17 - *19 responses: @@ -40922,9 +40969,9 @@ paths: type: integer repositories: type: array - items: *80 + items: *81 examples: - default: *290 + default: *291 '403': *29 '404': *6 x-github: @@ -40944,7 +40991,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -40992,14 +41039,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *89 - - *289 + - *90 + - *290 responses: '204': description: No content '403': *29 '404': *6 - '409': *121 + '409': *122 '422': *15 x-github: enabledForGitHubApps: true @@ -41019,14 +41066,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *89 - - *289 + - *90 + - *290 responses: '204': description: No content '403': *29 '404': *6 - '409': *121 + '409': *122 '422': *15 x-github: enabledForGitHubApps: true @@ -41048,15 +41095,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: *71 + default: *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41077,7 +41124,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *89 + - *90 responses: '204': description: Success response @@ -41088,9 +41135,9 @@ paths: required: false content: application/json: - schema: *292 + schema: *293 examples: - default: *71 + default: *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41110,7 +41157,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *89 + - *90 - *17 - *19 - name: visible_to_repository @@ -41135,7 +41182,7 @@ paths: type: number runner_groups: type: array - items: &293 + items: &294 type: object properties: id: @@ -41251,7 +41298,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -41323,9 +41370,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *294 examples: - default: &294 + default: &295 value: id: 2 name: octo-runner-group @@ -41360,14 +41407,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *89 - - *74 + - *90 + - *75 responses: '200': description: Response content: application/json: - schema: *293 + schema: *294 examples: default: value: @@ -41403,8 +41450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *89 - - *74 + - *90 + - *75 requestBody: required: true content: @@ -41458,9 +41505,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *294 examples: - default: *294 + default: *295 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -41479,8 +41526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *89 - - *74 + - *90 + - *75 responses: '204': description: Response @@ -41503,8 +41550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *89 - - *74 + - *90 + - *75 - *17 - *19 responses: @@ -41522,11 +41569,11 @@ paths: type: number runners: type: array - items: *48 + items: *49 examples: - default: *274 + default: *275 headers: - Link: *47 + Link: *48 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -41546,8 +41593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *89 - - *74 + - *90 + - *75 - *19 - *17 responses: @@ -41565,9 +41612,9 @@ paths: type: number repositories: type: array - items: *295 + items: *296 examples: - default: &347 + default: &348 value: total_count: 1 repositories: @@ -41819,8 +41866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *89 - - *74 + - *90 + - *75 requestBody: required: true content: @@ -41864,9 +41911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *89 - - *74 - - *289 + - *90 + - *75 + - *290 responses: '204': description: Response @@ -41888,9 +41935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *89 - - *74 - - *289 + - *90 + - *75 + - *290 responses: '204': description: Response @@ -41913,8 +41960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *89 - - *74 + - *90 + - *75 - *17 - *19 responses: @@ -41932,11 +41979,11 @@ paths: type: number runners: type: array - items: *78 + items: *79 examples: - default: *79 + default: *80 headers: - Link: *47 + Link: *48 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -41955,8 +42002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *89 - - *74 + - *90 + - *75 requestBody: required: true content: @@ -42000,9 +42047,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *89 - - *74 - - *77 + - *90 + - *75 + - *78 responses: '204': description: Response @@ -42024,9 +42071,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *89 - - *74 - - *77 + - *90 + - *75 + - *78 responses: '204': description: Response @@ -42056,7 +42103,7 @@ paths: in: query schema: type: string - - *89 + - *90 - *17 - *19 responses: @@ -42074,11 +42121,11 @@ paths: type: integer runners: type: array - items: *78 + items: *79 examples: - default: *79 + default: *80 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42100,7 +42147,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -42108,9 +42155,9 @@ paths: application/json: schema: type: array - items: *296 + items: *297 examples: - default: *297 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42132,7 +42179,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -42175,10 +42222,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *298 + '201': *299 '404': *6 '422': *7 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42206,15 +42253,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *89 + - *90 responses: '201': description: Response content: application/json: - schema: *81 + schema: *82 examples: - default: *299 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42242,15 +42289,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *89 + - *90 responses: '201': description: Response content: application/json: - schema: *81 + schema: *82 examples: - default: *300 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42272,16 +42319,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *89 - - *77 + - *90 + - *78 responses: '200': description: Response content: application/json: - schema: *78 + schema: *79 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42302,8 +42349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *89 - - *77 + - *90 + - *78 responses: '204': description: Response @@ -42329,10 +42376,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *89 - - *77 + - *90 + - *78 responses: - '200': *83 + '200': *84 '404': *6 x-github: githubCloudOnly: false @@ -42354,8 +42401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *89 - - *77 + - *90 + - *78 requestBody: required: true content: @@ -42379,7 +42426,7 @@ paths: - gpu - accelerated responses: - '200': *83 + '200': *84 '404': *6 '422': *7 x-github: @@ -42403,8 +42450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *89 - - *77 + - *90 + - *78 requestBody: required: true content: @@ -42429,7 +42476,7 @@ paths: - gpu - accelerated responses: - '200': *83 + '200': *84 '404': *6 '422': *7 x-github: @@ -42453,10 +42500,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *89 - - *77 + - *90 + - *78 responses: - '200': *302 + '200': *303 '404': *6 x-github: githubCloudOnly: false @@ -42483,11 +42530,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *89 - - *77 - - *303 + - *90 + - *78 + - *304 responses: - '200': *83 + '200': *84 '404': *6 '422': *7 x-github: @@ -42512,7 +42559,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-organization-secrets parameters: - - *89 + - *90 - *17 - *19 responses: @@ -42530,7 +42577,7 @@ paths: type: integer secrets: type: array - items: &304 + items: &305 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -42562,7 +42609,7 @@ paths: - updated_at - visibility examples: - default: &310 + default: &311 value: total_count: 3 secrets: @@ -42580,7 +42627,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42603,13 +42650,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-public-key parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: &311 + schema: &312 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -42638,7 +42685,7 @@ paths: - key_id - key examples: - default: &312 + default: &313 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42663,8 +42710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - - *89 - - &305 + - *90 + - &306 name: secret_name description: The name of the secret. in: path @@ -42676,9 +42723,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *305 examples: - default: &313 + default: &314 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -42706,8 +42753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 requestBody: required: true content: @@ -42764,7 +42811,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -42790,8 +42837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 responses: '204': description: Response @@ -42817,8 +42864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - *19 - *17 responses: @@ -42836,9 +42883,9 @@ paths: type: integer repositories: type: array - items: *295 + items: *296 examples: - default: &309 + default: &310 value: total_count: 1 repositories: @@ -42930,8 +42977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 requestBody: required: true content: @@ -42983,8 +43030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - name: repository_id in: path required: true @@ -43017,8 +43064,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - name: repository_id in: path required: true @@ -43050,8 +43097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - - *89 - - &314 + - *90 + - &315 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -43075,7 +43122,7 @@ paths: type: integer variables: type: array - items: &307 + items: &308 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -43118,7 +43165,7 @@ paths: - updated_at - visibility examples: - default: &315 + default: &316 value: total_count: 3 variables: @@ -43139,7 +43186,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43160,7 +43207,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-organization-variable parameters: - - *89 + - *90 requestBody: required: true content: @@ -43208,7 +43255,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -43233,8 +43280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - - *89 - - &308 + - *90 + - &309 name: name description: The name of the variable. in: path @@ -43246,9 +43293,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: &316 + default: &317 value: name: USERNAME value: octocat @@ -43276,8 +43323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 requestBody: required: true content: @@ -43339,8 +43386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 responses: '204': description: Response @@ -43366,8 +43413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 - *19 - *17 responses: @@ -43385,9 +43432,9 @@ paths: type: integer repositories: type: array - items: *295 + items: *296 examples: - default: *309 + default: *310 '409': description: Response when the visibility of the variable is not set to `selected` @@ -43413,8 +43460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 requestBody: required: true content: @@ -43463,8 +43510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 - name: repository_id in: path required: true @@ -43498,8 +43545,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 - name: repository_id in: path required: true @@ -43533,7 +43580,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-organization-secrets parameters: - - *89 + - *90 - *17 - *19 responses: @@ -43551,11 +43598,11 @@ paths: type: integer secrets: type: array - items: *304 + items: *305 examples: - default: *310 + default: *311 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43578,15 +43625,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-public-key parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43608,16 +43655,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 responses: '200': description: Response content: application/json: - schema: *304 + schema: *305 examples: - default: *313 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43639,8 +43686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 requestBody: required: true content: @@ -43697,7 +43744,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -43723,8 +43770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 responses: '204': description: Response @@ -43750,8 +43797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - *19 - *17 responses: @@ -43769,9 +43816,9 @@ paths: type: integer repositories: type: array - items: *295 + items: *296 examples: - default: *309 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43794,8 +43841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 requestBody: required: true content: @@ -43847,8 +43894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - name: repository_id in: path required: true @@ -43881,8 +43928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - name: repository_id in: path required: true @@ -43915,8 +43962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - - *89 - - *314 + - *90 + - *315 - *19 responses: '200': @@ -43933,11 +43980,11 @@ paths: type: integer variables: type: array - items: *307 + items: *308 examples: - default: *315 + default: *316 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43958,7 +44005,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-an-organization-variable parameters: - - *89 + - *90 requestBody: required: true content: @@ -44006,7 +44053,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -44031,16 +44078,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 responses: '200': description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *316 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44061,8 +44108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 requestBody: required: true content: @@ -44124,8 +44171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 responses: '204': description: Response @@ -44151,8 +44198,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 - *19 - *17 responses: @@ -44170,9 +44217,9 @@ paths: type: integer repositories: type: array - items: *295 + items: *296 examples: - default: *309 + default: *310 '409': description: Response when the visibility of the variable is not set to `selected` @@ -44198,8 +44245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 requestBody: required: true content: @@ -44248,8 +44295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 - name: repository_id in: path required: true @@ -44283,8 +44330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 - name: repository_id in: path required: true @@ -44315,15 +44362,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *88 + schema: *89 examples: - default: *87 + default: *88 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -44342,19 +44389,19 @@ paths: required: true content: application/json: - schema: *317 + schema: *318 examples: - default: *87 + default: *88 parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *88 + schema: *89 examples: - default: *87 + default: *88 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -44370,7 +44417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *89 + - *90 responses: '204': description: Response @@ -44403,7 +44450,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *89 + - *90 requestBody: required: true content: @@ -44526,7 +44573,7 @@ paths: type: integer deployment_records: type: array - items: &318 + items: &319 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -44572,7 +44619,7 @@ paths: required: - total_count examples: - default: &319 + default: &320 value: total_count: 1 deployment_records: @@ -44613,7 +44660,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *89 + - *90 - name: cluster in: path description: The cluster name. @@ -44712,6 +44759,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 @@ -44752,11 +44807,109 @@ paths: type: integer deployment_records: type: array - items: *318 + items: *319 required: - total_count examples: - default: *319 + default: *320 + '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: *319 + 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 + nullable: true + description: The version of the deployment. + status: + type: string + description: The deployment status. + github_repository: + type: string + nullable: true + 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: @@ -44803,7 +44956,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *89 + - *90 requestBody: required: true content: @@ -44970,7 +45123,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *89 + - *90 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -44995,9 +45148,9 @@ paths: type: integer deployment_records: type: array - items: *318 + items: *319 examples: - default: *319 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45017,7 +45170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *89 + - *90 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -45100,9 +45253,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *110 - *111 - - *89 + - *112 + - *90 requestBody: required: true content: @@ -45126,12 +45279,12 @@ paths: required: - subject_digests examples: - default: &905 + default: &908 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &906 + withPredicateType: &909 value: subject_digests: - sha256:abc123 @@ -45189,7 +45342,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &907 + default: &910 value: attestations_subject_digests: - sha256:abc: @@ -45298,7 +45451,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *89 + - *90 requestBody: required: true content: @@ -45363,7 +45516,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *89 + - *90 - name: subject_digest description: Subject Digest in: path @@ -45396,9 +45549,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/attestations#list-attestation-repositories parameters: - *17 - - *110 - *111 - - *89 + - *112 + - *90 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -45446,7 +45599,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/attestations#delete-attestations-by-id parameters: - - *89 + - *90 - name: attestation_id description: Attestation ID in: path @@ -45482,9 +45635,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/attestations#list-attestations parameters: - *17 - - *110 - *111 - - *89 + - *112 + - *90 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -45539,7 +45692,7 @@ paths: initiator: type: string examples: - default: &555 + default: &556 value: attestations: - bundle: @@ -45657,7 +45810,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *89 + - *90 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -45665,10 +45818,10 @@ paths: required: false schema: type: string - - *320 - - *131 + - *321 - *132 - *133 + - *134 - *17 responses: '200': @@ -45677,9 +45830,9 @@ paths: application/json: schema: type: array - items: *321 + items: *322 examples: - default: *322 + default: *323 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45696,7 +45849,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *89 + - *90 - *17 - *19 responses: @@ -45708,7 +45861,7 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45727,8 +45880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: If the user is blocked @@ -45753,8 +45906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response @@ -45774,8 +45927,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response @@ -45801,17 +45954,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *89 - - &325 + - *90 + - &326 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *105 - *106 - *107 - *108 + - *109 - *17 - *19 responses: @@ -45821,11 +45974,11 @@ paths: application/json: schema: type: array - items: *323 + items: *324 examples: - default: *324 + default: *325 '404': *6 - '500': *40 + '500': *41 "/orgs/{org}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for an org @@ -45846,12 +45999,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *89 - - *325 - - *105 + - *90 + - *326 - *106 - *107 - *108 + - *109 - *17 - *19 responses: @@ -45861,11 +46014,11 @@ paths: application/json: schema: type: array - items: *326 + items: *327 examples: - default: *327 + default: *328 '404': *6 - '500': *40 + '500': *41 "/orgs/{org}/campaigns": get: summary: List campaigns for an organization @@ -45882,15 +46035,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *89 + - *90 - *19 - *17 - - *112 + - *113 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &329 + schema: &330 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -45916,7 +46069,7 @@ paths: application/json: schema: type: array - items: &330 + items: &331 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -45947,7 +46100,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *328 + items: *329 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -45965,7 +46118,7 @@ paths: type: string format: date-time nullable: true - state: *329 + state: *330 contact_link: description: The contact link of the campaign. type: string @@ -46060,9 +46213,9 @@ paths: closed_at: state: open headers: - Link: *47 + Link: *48 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46086,7 +46239,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -46185,9 +46338,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: &331 + default: &332 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -46236,7 +46389,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46258,7 +46411,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *89 + - *90 - name: campaign_number description: The campaign number. in: path @@ -46270,16 +46423,16 @@ paths: description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: *331 + default: *332 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46300,7 +46453,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/campaigns/campaigns#update-a-campaign parameters: - - *89 + - *90 - name: campaign_number description: The campaign number. in: path @@ -46349,7 +46502,7 @@ paths: type: string format: uri nullable: true - state: *329 + state: *330 examples: default: value: @@ -46359,9 +46512,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: *331 + default: *332 '400': description: Bad Request content: @@ -46373,7 +46526,7 @@ paths: content: application/json: schema: *3 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46394,7 +46547,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *89 + - *90 - name: campaign_number description: The campaign number. in: path @@ -46405,7 +46558,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46427,20 +46580,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *89 - - *332 + - *90 - *333 - - *110 + - *334 - *111 + - *112 - *19 - *17 - - *112 + - *113 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *334 + schema: *335 - name: sort description: The property by which to sort the results. in: query @@ -46456,7 +46609,7 @@ paths: be returned. in: query required: false - schema: &581 + schema: &584 type: string description: Severity of a code scanning alert. enum: @@ -46482,13 +46635,13 @@ paths: application/json: schema: type: array - items: *335 + items: *336 examples: - default: *336 + default: *337 headers: - Link: *47 + Link: *48 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46510,7 +46663,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *89 + - *90 - name: target_type in: query description: The target type of the code security configuration @@ -46529,8 +46682,8 @@ paths: schema: type: integer default: 30 - - *110 - *111 + - *112 responses: '200': description: Response @@ -46538,7 +46691,7 @@ paths: application/json: schema: type: array - items: *116 + items: *117 examples: default: value: @@ -46616,7 +46769,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *89 + - *90 requestBody: required: true content: @@ -46703,7 +46856,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *120 + code_scanning_options: *121 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -46712,7 +46865,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *119 + code_scanning_default_setup_options: *120 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -46857,9 +47010,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *116 + schema: *117 examples: - default: *337 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46881,16 +47034,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *338 + schema: *339 examples: - default: *339 - '304': *37 + default: *340 + '304': *38 '403': *29 '404': *6 x-github: @@ -46915,7 +47068,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *89 + - *90 requestBody: required: true content: @@ -46943,11 +47096,11 @@ paths: - 32 - 91 responses: - '204': *130 + '204': *129 '400': *14 '403': *29 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46969,17 +47122,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *89 - - *118 + - *90 + - *119 responses: '200': description: Response content: application/json: - schema: *116 + schema: *117 examples: - default: *337 - '304': *37 + default: *338 + '304': *38 '403': *29 '404': *6 x-github: @@ -47002,8 +47155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *89 - - *118 + - *90 + - *119 requestBody: required: true content: @@ -47090,8 +47243,8 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *119 - code_scanning_options: *120 + code_scanning_default_setup_options: *120 + code_scanning_options: *121 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -47223,7 +47376,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *116 + schema: *117 examples: default: value: @@ -47282,14 +47435,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *89 - - *118 + - *90 + - *119 responses: - '204': *130 + '204': *129 '400': *14 '403': *29 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47313,8 +47466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *89 - - *118 + - *90 + - *119 requestBody: required: true content: @@ -47353,7 +47506,7 @@ paths: - 32 - 91 responses: - '202': *39 + '202': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47377,8 +47530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *89 - - *118 + - *90 + - *119 requestBody: required: true content: @@ -47418,12 +47571,12 @@ paths: - none - private_and_internal - public - configuration: *116 + configuration: *117 examples: default: value: default_for_new_repos: all - configuration: *337 + configuration: *338 '403': *29 '404': *6 x-github: @@ -47447,8 +47600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *89 - - *118 + - *90 + - *119 - 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)." @@ -47457,8 +47610,8 @@ paths: schema: type: integer default: 30 - - *110 - *111 + - *112 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -47476,13 +47629,13 @@ paths: application/json: schema: type: array - items: *340 + items: *341 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *341 + repository: *342 '403': *29 '404': *6 x-github: @@ -47506,7 +47659,7 @@ paths: parameters: - *17 - *19 - - *89 + - *90 responses: '200': description: Response @@ -47522,7 +47675,7 @@ paths: type: integer codespaces: type: array - items: &408 + items: &409 type: object title: Codespace description: A codespace. @@ -47547,12 +47700,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *295 + repository: *296 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &613 + properties: &616 name: type: string description: The name of the machine. @@ -47594,7 +47747,7 @@ paths: - ready - in_progress nullable: true - required: &614 + required: &617 - name - display_name - operating_system @@ -47799,7 +47952,7 @@ paths: - pulls_url - recent_folders examples: - default: &409 + default: &410 value: total_count: 3 codespaces: @@ -48208,8 +48361,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': *37 - '500': *40 + '304': *38 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -48231,7 +48384,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *89 + - *90 deprecated: true requestBody: required: true @@ -48270,12 +48423,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *37 + '304': *38 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -48298,7 +48451,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *89 + - *90 deprecated: true requestBody: required: true @@ -48325,12 +48478,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *37 + '304': *38 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -48353,7 +48506,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *89 + - *90 requestBody: required: true content: @@ -48379,12 +48532,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *37 + '304': *38 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -48405,7 +48558,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *89 + - *90 - *17 - *19 responses: @@ -48423,7 +48576,7 @@ paths: type: integer secrets: type: array - items: &342 + items: &343 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -48462,7 +48615,7 @@ paths: - updated_at - visibility examples: - default: &615 + default: &618 value: total_count: 2 secrets: @@ -48475,7 +48628,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -48494,13 +48647,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: &616 + schema: &619 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -48529,7 +48682,7 @@ paths: - key_id - key examples: - default: &617 + default: &620 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -48552,23 +48705,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 responses: '200': description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: &619 + default: &622 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -48588,8 +48741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 requestBody: required: true content: @@ -48644,7 +48797,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -48670,8 +48823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 responses: '204': description: Response @@ -48696,8 +48849,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - *19 - *17 responses: @@ -48715,9 +48868,9 @@ paths: type: integer repositories: type: array - items: *295 + items: *296 examples: - default: *309 + default: *310 '404': *6 x-github: githubCloudOnly: false @@ -48739,8 +48892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 requestBody: required: true content: @@ -48790,8 +48943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - name: repository_id in: path required: true @@ -48824,8 +48977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - name: repository_id in: path required: true @@ -48861,7 +49014,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#list-organization-copilot-spaces parameters: - - *89 + - *90 - name: per_page description: The number of results per page (max 100). in: query @@ -48895,7 +49048,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &343 + items: &344 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -48943,7 +49096,7 @@ paths: owner: anyOf: - *4 - - *75 + - *76 description: The user or organization that owns this space. creator: *4 created_at: @@ -49158,7 +49311,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: *47 + Link: *48 '403': *29 '404': *6 x-github: @@ -49182,7 +49335,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#create-an-organization-copilot-space parameters: - - *89 + - *90 requestBody: required: true content: @@ -49276,9 +49429,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: &344 + default: &345 summary: Example response for an organization copilot space value: id: 84 @@ -49371,7 +49524,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#get-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -49383,9 +49536,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: *344 + default: *345 '403': *29 '404': *6 x-github: @@ -49409,7 +49562,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#set-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -49511,9 +49664,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: *344 + default: *345 '403': *29 '404': *6 '422': *15 @@ -49540,7 +49693,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#delete-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -49576,7 +49729,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/collaborators#list-collaborators-for-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -49596,7 +49749,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &345 + items: &346 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -49768,7 +49921,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/collaborators#add-a-collaborator-to-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -49819,7 +49972,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *346 examples: user: value: @@ -49899,7 +50052,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/collaborators#set-a-collaborator-role-for-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -49949,7 +50102,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *346 examples: user: value: @@ -50031,7 +50184,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/collaborators#remove-a-collaborator-from-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -50080,7 +50233,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#list-resources-for-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -50100,7 +50253,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &346 + items: &347 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -50189,7 +50342,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#create-a-resource-for-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -50243,7 +50396,7 @@ paths: description: Resource created content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -50259,7 +50412,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -50296,7 +50449,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#get-a-resource-for-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -50314,7 +50467,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -50348,7 +50501,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#set-a-resource-for-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -50383,7 +50536,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -50418,7 +50571,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#delete-a-resource-from-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -50461,7 +50614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *89 + - *90 responses: '200': description: OK @@ -50570,7 +50723,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -50602,7 +50755,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *89 + - *90 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -50625,12 +50778,12 @@ paths: currently being billed. seats: type: array - items: *154 + items: *155 examples: - default: *155 + default: *156 headers: - Link: *47 - '500': *40 + Link: *48 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -50663,7 +50816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *89 + - *90 requestBody: content: application/json: @@ -50705,7 +50858,7 @@ paths: default: value: seats_created: 5 - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -50741,7 +50894,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *89 + - *90 requestBody: content: application/json: @@ -50783,7 +50936,7 @@ paths: default: value: seats_cancelled: 5 - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -50821,7 +50974,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *89 + - *90 requestBody: content: application/json: @@ -50862,7 +51015,7 @@ paths: default: value: seats_created: 5 - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -50898,7 +51051,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *89 + - *90 requestBody: content: application/json: @@ -50940,7 +51093,7 @@ paths: default: value: seats_cancelled: 5 - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -50976,7 +51129,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#get-copilot-cloud-agent-permissions-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -51013,7 +51166,7 @@ paths: summary: No repositories enabled value: enabled_repositories: none - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -51041,7 +51194,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#set-copilot-cloud-agent-permissions-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -51066,7 +51219,7 @@ paths: responses: '204': description: No Content - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -51096,7 +51249,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-cloud-agent-in-an-organization parameters: - - *89 + - *90 - *17 - *19 responses: @@ -51111,17 +51264,17 @@ paths: type: integer repositories: type: array - items: *295 + items: *296 required: - total_count - repositories examples: - default: *347 - '500': *40 + default: *348 + '500': *41 '401': *25 '403': *29 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51145,7 +51298,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-cloud-agent-in-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -51171,11 +51324,11 @@ paths: responses: '204': description: No Content - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 - '409': *121 + '409': *122 '422': *15 x-github: githubCloudOnly: false @@ -51201,16 +51354,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - - *89 - - *289 + - *90 + - *290 responses: '204': description: No Content - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 - '409': *121 + '409': *122 '422': *15 x-github: githubCloudOnly: false @@ -51235,16 +51388,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - - *89 - - *289 + - *90 + - *290 responses: '204': description: No Content - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51275,7 +51428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization parameters: - - *89 + - *90 responses: '200': description: OK @@ -51295,7 +51448,7 @@ paths: value: octo-repo: - "/src/some-dir/kernel.rs" - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -51328,7 +51481,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization parameters: - - *89 + - *90 requestBody: description: The content exclusion rules to set required: true @@ -51380,11 +51533,11 @@ paths: default: value: message: Content exclusion rules updated successfully. - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 - '413': *348 + '413': *349 '422': *7 x-github: githubCloudOnly: @@ -51411,18 +51564,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day parameters: - - *89 - - *125 + - *90 + - *126 responses: '200': description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: *127 - '204': *130 - '500': *40 + default: *128 + '204': *129 + '500': *41 '403': *29 '404': *6 x-github: @@ -51450,16 +51603,55 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics parameters: - - *89 + - *90 + responses: + '200': + description: Response + content: + application/json: + schema: *130 + examples: + default: *131 + '500': *41 + '403': *29 + '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/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: + - *90 + - *126 responses: '200': description: Response content: application/json: - schema: *128 + schema: *127 examples: - default: *129 - '500': *40 + default: *128 + '204': *129 + '500': *41 '403': *29 '404': *6 x-github: @@ -51487,18 +51679,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-user-teams-report-for-a-specific-day parameters: - - *89 - - *125 + - *90 + - *126 responses: '200': description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: *127 - '204': *130 - '500': *40 + default: *128 + '204': *129 + '500': *41 '403': *29 '404': *6 x-github: @@ -51526,18 +51718,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day parameters: - - *89 - - *125 + - *90 + - *126 responses: '200': description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: *127 - '204': *130 - '500': *40 + default: *128 + '204': *129 + '500': *41 '403': *29 '404': *6 x-github: @@ -51565,16 +51757,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *128 + schema: *130 examples: - default: *129 - '500': *40 + default: *131 + '500': *41 '403': *29 '404': *6 x-github: @@ -51598,7 +51790,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *89 + - *90 - *17 - name: page description: Page token @@ -51778,7 +51970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *89 + - *90 - name: credential_id in: path required: true @@ -51809,7 +52001,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *89 + - *90 responses: '200': description: Response - list of custom role names @@ -51824,7 +52016,7 @@ paths: type: integer custom_roles: type: array - items: *349 + items: *350 examples: default: value: @@ -51911,12 +52103,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *89 + - *90 requestBody: required: true content: application/json: - schema: &351 + schema: &352 type: object properties: name: @@ -51957,9 +52149,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *350 examples: - default: *350 + default: *351 '422': *15 '404': *6 x-github: @@ -51983,16 +52175,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *89 - - *150 + - *90 + - *151 responses: '200': description: Response content: application/json: - schema: *349 + schema: *350 examples: - default: *350 + default: *351 '404': *6 x-github: githubCloudOnly: true @@ -52014,13 +52206,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *89 - - *150 + - *90 + - *151 requestBody: required: true content: application/json: - schema: &352 + schema: &353 type: object properties: name: @@ -52058,9 +52250,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *350 examples: - default: *350 + default: *351 '422': *15 '404': *6 x-github: @@ -52084,8 +52276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *89 - - *150 + - *90 + - *151 responses: '204': description: Response @@ -52113,12 +52305,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *89 + - *90 requestBody: required: true content: application/json: - schema: *351 + schema: *352 examples: default: value: @@ -52132,9 +52324,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *350 examples: - default: *350 + default: *351 '422': *15 '404': *6 x-github: @@ -52164,16 +52356,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *89 - - *150 + - *90 + - *151 responses: '200': description: Response content: application/json: - schema: *349 + schema: *350 examples: - default: *350 + default: *351 '404': *6 x-github: githubCloudOnly: true @@ -52201,13 +52393,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *89 - - *150 + - *90 + - *151 requestBody: required: true content: application/json: - schema: *352 + schema: *353 examples: default: value: @@ -52222,9 +52414,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *350 examples: - default: *350 + default: *351 '422': *15 '404': *6 x-github: @@ -52254,8 +52446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *89 - - *150 + - *90 + - *151 responses: '204': description: Response @@ -52283,13 +52475,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *89 - - *353 + - *90 - *354 - *355 - *356 - *357 - *358 + - *359 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -52319,7 +52511,7 @@ paths: enum: - patch - deployment - - *359 + - *360 - name: runtime_risk in: query description: |- @@ -52328,11 +52520,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *360 - *361 - - *112 - - *110 + - *362 + - *113 - *111 + - *112 - *17 responses: '200': @@ -52341,10 +52533,10 @@ paths: application/json: schema: type: array - items: *362 + items: *363 examples: - default: *363 - '304': *37 + default: *364 + '304': *38 '400': *14 '403': *29 '404': *6 @@ -52369,7 +52561,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *89 + - *90 - name: page in: query description: The page number of results to fetch. @@ -52392,9 +52584,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *365 examples: - default: *365 + default: *366 '403': *29 '404': *6 x-github: @@ -52425,7 +52617,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -52491,7 +52683,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *89 + - *90 requestBody: required: true content: @@ -52539,7 +52731,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-organization-secrets parameters: - - *89 + - *90 - *17 - *19 responses: @@ -52557,7 +52749,7 @@ paths: type: integer secrets: type: array - items: &366 + items: &367 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -52607,7 +52799,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52628,13 +52820,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: &650 + schema: &653 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -52651,7 +52843,7 @@ paths: - key_id - key examples: - default: &651 + default: &654 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -52674,14 +52866,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 responses: '200': description: Response content: application/json: - schema: *366 + schema: *367 examples: default: value: @@ -52709,8 +52901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 requestBody: required: true content: @@ -52767,7 +52959,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -52791,8 +52983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 responses: '204': description: Response @@ -52816,8 +53008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - *19 - *17 responses: @@ -52835,9 +53027,9 @@ paths: type: integer repositories: type: array - items: *295 + items: *296 examples: - default: *309 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52858,8 +53050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 requestBody: required: true content: @@ -52909,8 +53101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - name: repository_id in: path required: true @@ -52941,8 +53133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - name: repository_id in: path required: true @@ -52978,8 +53170,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *89 - - &660 + - *90 + - &663 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -52987,7 +53179,7 @@ paths: required: false schema: type: string - - &661 + - &664 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -52995,7 +53187,7 @@ paths: required: false schema: type: string - - &662 + - &665 name: time_period description: |- The time period to filter by. @@ -53011,7 +53203,7 @@ paths: - week - month default: month - - &663 + - &666 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -53026,7 +53218,7 @@ paths: - denied - all default: all - - *325 + - *326 - *17 - *19 responses: @@ -53036,7 +53228,7 @@ paths: application/json: schema: type: array - items: &664 + items: &667 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -53142,7 +53334,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: &368 + items: &369 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -53192,7 +53384,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &665 + default: &668 value: - id: 21 number: 42 @@ -53257,7 +53449,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *40 + '500': *41 "/orgs/{org}/dismissal-requests/dependabot": get: summary: List dismissal requests for Dependabot alerts for an organization @@ -53279,12 +53471,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *89 - - *325 - - *105 + - *90 + - *326 - *106 - *107 - - *367 + - *108 + - *368 - *17 - *19 responses: @@ -53294,7 +53486,7 @@ paths: application/json: schema: type: array - items: &666 + items: &669 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -53400,7 +53592,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *368 + items: *369 url: type: string format: uri @@ -53411,7 +53603,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &667 + default: &670 value: - id: 21 number: 42 @@ -53477,7 +53669,7 @@ paths: html_url: https://github.com/octo-org/smile/security/dependabot/2 '404': *6 '403': *29 - '500': *40 + '500': *41 "/orgs/{org}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for an org @@ -53498,12 +53690,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *89 - - *325 - - *105 + - *90 + - *326 - *106 - *107 - - *367 + - *108 + - *368 - *17 - *19 responses: @@ -53513,12 +53705,12 @@ paths: application/json: schema: type: array - items: *369 + items: *370 examples: - default: *370 + default: *371 '404': *6 '403': *29 - '500': *40 + '500': *41 "/orgs/{org}/docker/conflicts": get: summary: Get list of conflicting packages during Docker migration for organization @@ -53533,7 +53725,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -53541,7 +53733,7 @@ paths: application/json: schema: type: array - items: &419 + items: &420 title: Package description: A software package type: object @@ -53591,8 +53783,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *371 - required: *372 + properties: *372 + required: *373 nullable: true created_at: type: string @@ -53611,7 +53803,7 @@ paths: - created_at - updated_at examples: - default: &420 + default: &421 value: - id: 197 name: hello_docker @@ -53689,7 +53881,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-organization-events parameters: - - *89 + - *90 - *17 - *19 responses: @@ -53699,7 +53891,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: 200-response: value: @@ -53772,7 +53964,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#get-an-external-group parameters: - - *89 + - *90 - name: group_id description: The unique identifier of the group. in: path @@ -53798,7 +53990,7 @@ paths: description: Response content: application/json: - schema: &506 + schema: &507 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -53879,7 +54071,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &507 + default: &508 value: group_id: '123' group_name: Octocat admins @@ -53917,7 +54109,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#list-external-groups-available-to-an-organization parameters: - - *89 + - *90 - *17 - name: page description: Page token @@ -53934,7 +54126,7 @@ paths: description: Response content: application/json: - schema: &503 + schema: &504 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -53971,7 +54163,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &504 + default: &505 value: groups: - group_id: '123' @@ -54006,7 +54198,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-failed-organization-invitations parameters: - - *89 + - *90 - *17 - *19 responses: @@ -54016,7 +54208,7 @@ paths: application/json: schema: type: array - items: &397 + items: &398 title: Organization Invitation description: Organization Invitation type: object @@ -54063,7 +54255,7 @@ paths: - invitation_teams_url - node_id examples: - default: &398 + default: &399 value: - id: 1 login: monalisa @@ -54096,7 +54288,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -54122,7 +54314,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -54130,7 +54322,7 @@ paths: application/json: schema: type: array - items: &453 + items: &454 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -54144,7 +54336,7 @@ paths: - name - description examples: - default: &454 + default: &455 value: - name: add_assignee description: Assign or remove a user @@ -54175,7 +54367,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-organization-webhooks parameters: - - *89 + - *90 - *17 - *19 responses: @@ -54185,7 +54377,7 @@ paths: application/json: schema: type: array - items: &373 + items: &374 title: Org Hook description: Org Hook type: object @@ -54273,7 +54465,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -54294,7 +54486,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *89 + - *90 requestBody: required: true content: @@ -54354,9 +54546,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *374 examples: - default: &374 + default: &375 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -54400,8 +54592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *89 - - &375 + - *90 + - &376 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. @@ -54414,9 +54606,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *374 examples: - default: *374 + default: *375 '404': *6 x-github: githubCloudOnly: false @@ -54437,8 +54629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *89 - - *375 + - *90 + - *376 requestBody: required: false content: @@ -54483,7 +54675,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *374 examples: default: value: @@ -54522,8 +54714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *89 - - *375 + - *90 + - *376 responses: '204': description: Response @@ -54548,8 +54740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *89 - - *375 + - *90 + - *376 responses: '200': description: Response @@ -54577,8 +54769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *89 - - *375 + - *90 + - *376 requestBody: required: false content: @@ -54626,11 +54818,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *89 - - *375 - - *17 + - *90 - *376 + - *17 - *377 + - *378 responses: '200': description: Response @@ -54638,9 +54830,9 @@ paths: application/json: schema: type: array - items: *378 + items: *379 examples: - default: *379 + default: *380 '400': *14 '422': *15 x-github: @@ -54663,17 +54855,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *89 - - *375 + - *90 + - *376 - *16 responses: '200': description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: *381 + default: *382 '400': *14 '422': *15 x-github: @@ -54696,11 +54888,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *89 - - *375 + - *90 + - *376 - *16 responses: - '202': *39 + '202': *40 '400': *14 '422': *15 x-github: @@ -54723,8 +54915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *89 - - *375 + - *90 + - *376 responses: '204': description: Response @@ -54746,8 +54938,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *89 - - &386 + - *90 + - &387 name: actor_type in: path description: The type of the actor @@ -54760,14 +54952,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &387 + - &388 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &382 + - &383 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`.' @@ -54775,7 +54967,7 @@ paths: required: true schema: type: string - - &383 + - &384 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) @@ -54786,7 +54978,7 @@ paths: type: string - *19 - *17 - - *112 + - *113 - name: sort description: The property to sort the results by. in: query @@ -54868,13 +55060,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - - *89 - - *382 + - *90 - *383 + - *384 - *19 - *17 - - *112 - - &392 + - *113 + - &393 name: sort description: The property to sort the results by. in: query @@ -54951,15 +55143,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - - *89 - - *382 + - *90 - *383 + - *384 responses: '200': description: Response content: application/json: - schema: &384 + schema: &385 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -54975,7 +55167,7 @@ paths: type: integer format: int64 examples: - default: &385 + default: &386 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -54995,24 +55187,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *89 - - &388 + - *90 + - &389 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *382 - *383 + - *384 responses: '200': description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: *385 + default: *386 x-github: enabledForGitHubApps: true category: orgs @@ -55030,19 +55222,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *89 - - *382 + - *90 - *383 - - *386 + - *384 - *387 + - *388 responses: '200': description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: *385 + default: *386 x-github: enabledForGitHubApps: true category: orgs @@ -55059,10 +55251,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - - *89 - - *382 + - *90 - *383 - - &389 + - *384 + - &390 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -55075,7 +55267,7 @@ paths: description: Response content: application/json: - schema: &390 + schema: &391 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -55091,7 +55283,7 @@ paths: type: integer format: int64 examples: - default: &391 + default: &392 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -55127,19 +55319,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *89 - - *388 - - *382 - - *383 + - *90 - *389 + - *383 + - *384 + - *390 responses: '200': description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *391 + default: *392 x-github: enabledForGitHubApps: true category: orgs @@ -55156,20 +55348,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *89 - - *386 + - *90 - *387 - - *382 + - *388 - *383 - - *389 + - *384 + - *390 responses: '200': description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *391 + default: *392 x-github: enabledForGitHubApps: true category: orgs @@ -55186,14 +55378,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - - *89 - - *388 - - *382 + - *90 + - *389 - *383 + - *384 - *19 - *17 - - *112 - - *392 + - *113 + - *393 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -55266,7 +55458,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *89 + - *90 responses: '200': description: Response @@ -55274,7 +55466,7 @@ paths: application/json: schema: *22 examples: - default: *393 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55297,7 +55489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *89 + - *90 - *17 - *19 responses: @@ -55367,7 +55559,7 @@ paths: suspended_at: suspended_by: headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55386,7 +55578,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -55394,12 +55586,12 @@ paths: application/json: schema: anyOf: - - &395 + - &396 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &394 + limit: &395 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -55424,7 +55616,7 @@ paths: properties: {} additionalProperties: false examples: - default: &396 + default: &397 value: limit: collaborators_only origin: organization @@ -55448,18 +55640,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: application/json: - schema: &696 + schema: &699 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *394 + limit: *395 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -55483,9 +55675,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: *396 + default: *397 '422': *15 x-github: githubCloudOnly: false @@ -55503,7 +55695,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *89 + - *90 responses: '204': description: Response @@ -55529,7 +55721,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-pending-organization-invitations parameters: - - *89 + - *90 - *17 - *19 - name: role @@ -55563,11 +55755,11 @@ paths: application/json: schema: type: array - items: *397 + items: *398 examples: - default: *398 + default: *399 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -55589,7 +55781,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#create-an-organization-invitation parameters: - - *89 + - *90 requestBody: required: false content: @@ -55643,7 +55835,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *398 examples: default: value: @@ -55699,8 +55891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - - *89 - - &399 + - *90 + - &400 name: invitation_id description: The unique identifier of the invitation. in: path @@ -55733,8 +55925,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - - *89 - - *399 + - *90 + - *400 - *17 - *19 responses: @@ -55744,9 +55936,9 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - default: &418 + default: &419 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -55762,7 +55954,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -55781,7 +55973,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -55789,7 +55981,7 @@ paths: application/json: schema: type: array - items: &400 + items: &401 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -55951,7 +56143,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -56042,9 +56234,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: &401 + default: &402 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -56099,8 +56291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *89 - - &402 + - *90 + - &403 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -56208,9 +56400,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: *401 + default: *402 '404': *6 '422': *7 x-github: @@ -56234,10 +56426,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *89 - - *402 + - *90 + - *403 responses: - '204': *130 + '204': *129 '404': *6 '422': *7 x-github: @@ -56257,7 +56449,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -56265,9 +56457,9 @@ paths: application/json: schema: type: array - items: *403 + items: *404 examples: - default: &700 + default: &703 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -56303,7 +56495,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -56350,9 +56542,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: - default: &404 + default: &405 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -56384,8 +56576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *89 - - &405 + - *90 + - &406 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -56438,9 +56630,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: - default: *404 + default: *405 '404': *6 '422': *7 x-github: @@ -56464,8 +56656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *89 - - *405 + - *90 + - *406 responses: '204': description: Response @@ -56498,7 +56690,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *89 + - *90 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -56528,7 +56720,7 @@ paths: - closed - all default: open - - *406 + - *407 - name: type description: Can be the name of an issue type. in: query @@ -56546,8 +56738,8 @@ paths: - updated - comments default: created - - *112 - - *241 + - *113 + - *242 - *17 - *19 responses: @@ -56557,11 +56749,11 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *407 + default: *408 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -56581,7 +56773,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-members parameters: - - *89 + - *90 - 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) @@ -56619,9 +56811,9 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: - Link: *47 + Link: *48 '422': *15 x-github: githubCloudOnly: false @@ -56639,8 +56831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response if requester is an organization member and user is @@ -56674,8 +56866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-an-organization-member parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response @@ -56701,8 +56893,8 @@ paths: parameters: - *17 - *19 - - *89 - - *151 + - *90 + - *152 responses: '200': description: Response @@ -56718,11 +56910,11 @@ paths: type: integer codespaces: type: array - items: *408 + items: *409 examples: - default: *409 - '304': *37 - '500': *40 + default: *410 + '304': *38 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -56745,9 +56937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *89 - - *151 - - &410 + - *90 + - *152 + - &411 name: codespace_name in: path required: true @@ -56755,9 +56947,9 @@ paths: schema: type: string responses: - '202': *39 - '304': *37 - '500': *40 + '202': *40 + '304': *38 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -56780,17 +56972,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *89 - - *151 - - *410 + - *90 + - *152 + - *411 responses: '200': description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: &612 + default: &615 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -56931,8 +57123,8 @@ paths: pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls/1 recent_folders: [] template: - '304': *37 - '500': *40 + '304': *38 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -56963,14 +57155,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *89 - - *151 + - *90 + - *152 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *154 + schema: *155 examples: default: value: @@ -57014,7 +57206,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -57039,14 +57231,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *89 - - *151 + - *90 + - *152 responses: '200': description: Response content: application/json: - schema: &411 + schema: &412 title: Org Membership description: Org Membership type: object @@ -57090,7 +57282,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *75 + organization: *76 user: title: Simple User description: A GitHub user. @@ -57113,7 +57305,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &412 + response-if-user-has-an-active-admin-membership-with-organization: &413 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -57185,8 +57377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *89 - - *151 + - *90 + - *152 requestBody: required: false content: @@ -57214,9 +57406,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *412 examples: - response-if-user-already-had-membership-with-organization: *412 + response-if-user-already-had-membership-with-organization: *413 '422': *15 '403': *29 x-github: @@ -57240,8 +57432,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response @@ -57266,7 +57458,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-organization-migrations parameters: - - *89 + - *90 - *17 - *19 - name: exclude @@ -57287,7 +57479,7 @@ paths: application/json: schema: type: array - items: &413 + items: &414 title: Migration description: A migration. type: object @@ -57328,7 +57520,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *80 + items: *81 url: type: string format: uri @@ -57524,7 +57716,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -57540,7 +57732,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#start-an-organization-migration parameters: - - *89 + - *90 requestBody: required: true content: @@ -57616,7 +57808,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *414 examples: default: value: @@ -57794,8 +57986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *89 - - &414 + - *90 + - &415 name: migration_id description: The unique identifier of the migration. in: path @@ -57822,7 +58014,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *413 + schema: *414 examples: default: value: @@ -57991,8 +58183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *89 - - *414 + - *90 + - *415 responses: '302': description: Response @@ -58013,8 +58205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *89 - - *414 + - *90 + - *415 responses: '204': description: Response @@ -58037,9 +58229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *89 - - *414 - - &888 + - *90 + - *415 + - &891 name: repo_name description: repo_name parameter in: path @@ -58066,8 +58258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *89 - - *414 + - *90 + - *415 - *17 - *19 responses: @@ -58077,9 +58269,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: &425 + default: &426 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -58192,7 +58384,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -58220,7 +58412,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -58274,7 +58466,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response - list of organization roles @@ -58290,7 +58482,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &415 + items: &416 title: Organization Role description: Organization roles type: object @@ -58450,7 +58642,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *89 + - *90 requestBody: required: true content: @@ -58497,7 +58689,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: default: value: @@ -58526,7 +58718,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -58548,8 +58740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *89 - - *226 + - *90 + - *227 responses: '204': description: Response @@ -58574,9 +58766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *89 - - *226 - - *150 + - *90 + - *227 + - *151 responses: '204': description: Response @@ -58605,9 +58797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *89 - - *226 - - *150 + - *90 + - *227 + - *151 responses: '204': description: Response @@ -58632,8 +58824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response @@ -58658,9 +58850,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *89 + - *90 + - *152 - *151 - - *150 responses: '204': description: Response @@ -58690,9 +58882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *89 + - *90 + - *152 - *151 - - *150 responses: '204': description: Response @@ -58720,14 +58912,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#get-an-organization-role parameters: - - *89 - - *150 + - *90 + - *151 responses: '200': description: Response content: application/json: - schema: *415 + schema: *416 examples: default: value: @@ -58784,8 +58976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *89 - - *150 + - *90 + - *151 requestBody: required: true content: @@ -58824,7 +59016,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: default: value: @@ -58852,7 +59044,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *121 + '409': *122 '404': *6 x-github: githubCloudOnly: true @@ -58877,8 +59069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *89 - - *150 + - *90 + - *151 responses: '204': description: Response @@ -58903,8 +59095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *89 - - *150 + - *90 + - *151 - *17 - *19 responses: @@ -58982,8 +59174,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *416 - required: *417 + properties: *417 + required: *418 nullable: true type: description: The ownership type of the team @@ -59015,9 +59207,9 @@ paths: - type - parent examples: - default: *418 + default: *419 headers: - Link: *47 + Link: *48 '404': description: Response if the organization or role does not exist. '422': @@ -59044,8 +59236,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *89 - - *150 + - *90 + - *151 - *17 - *19 responses: @@ -59073,13 +59265,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &493 + items: &494 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *416 - required: *417 + properties: *417 + required: *418 name: nullable: true type: string @@ -59174,9 +59366,9 @@ paths: - type - url examples: - default: *222 + default: *223 headers: - Link: *47 + Link: *48 '404': description: Response if the organization or role does not exist. '422': @@ -59198,7 +59390,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *89 + - *90 - 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) @@ -59225,9 +59417,9 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59250,8 +59442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *89 - - *151 + - *90 + - *152 requestBody: required: false content: @@ -59308,8 +59500,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response @@ -59366,8 +59558,8 @@ paths: - docker - nuget - container - - *89 - - &889 + - *90 + - &892 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -59403,12 +59595,12 @@ paths: application/json: schema: type: array - items: *419 + items: *420 examples: - default: *420 + default: *421 '403': *29 '401': *25 - '400': &891 + '400': &894 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -59430,7 +59622,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &421 + - &422 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 @@ -59448,20 +59640,20 @@ paths: - docker - nuget - container - - &422 + - &423 name: package_name description: The name of the package. in: path required: true schema: type: string - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *419 + schema: *420 examples: default: value: @@ -59513,9 +59705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *421 - *422 - - *89 + - *423 + - *90 responses: '204': description: Response @@ -59547,9 +59739,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *421 - *422 - - *89 + - *423 + - *90 - name: token description: package token schema: @@ -59581,9 +59773,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *421 - *422 - - *89 + - *423 + - *90 - *19 - *17 - name: state @@ -59603,7 +59795,7 @@ paths: application/json: schema: type: array - items: &423 + items: &424 title: Package Version description: A version of a software package type: object @@ -59728,10 +59920,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *421 - *422 - - *89 - - &424 + - *423 + - *90 + - &425 name: package_version_id description: Unique identifier of the package version. in: path @@ -59743,7 +59935,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -59779,10 +59971,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *421 - *422 - - *89 - - *424 + - *423 + - *90 + - *425 responses: '204': description: Response @@ -59814,10 +60006,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *421 - *422 - - *89 - - *424 + - *423 + - *90 + - *425 responses: '204': description: Response @@ -59844,10 +60036,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *89 + - *90 - *17 - *19 - - &426 + - &427 name: sort description: The property by which to sort the results. in: query @@ -59857,8 +60049,8 @@ paths: enum: - created_at default: created_at - - *112 - - &427 + - *113 + - &428 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -59869,7 +60061,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &428 + - &429 name: repository description: The name of the repository to use to filter the results. in: query @@ -59877,7 +60069,7 @@ paths: schema: type: string example: Hello-World - - &429 + - &430 name: permission description: The permission to use to filter the results. in: query @@ -59885,7 +60077,7 @@ paths: schema: type: string example: issues_read - - &430 + - &431 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) @@ -59895,7 +60087,7 @@ paths: schema: type: string format: date-time - - &431 + - &432 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) @@ -59905,7 +60097,7 @@ paths: schema: type: string format: date-time - - &432 + - &433 name: token_id description: The ID of the token in: query @@ -59917,7 +60109,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *40 + '500': *41 '422': *15 '404': *6 '403': *29 @@ -60049,7 +60241,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60069,7 +60261,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *89 + - *90 requestBody: required: true content: @@ -60110,11 +60302,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *40 + '500': *41 '422': *15 '404': *6 '403': *29 - '202': *39 + '202': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60135,7 +60327,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *89 + - *90 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -60171,11 +60363,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *40 + '500': *41 '422': *15 '404': *6 '403': *29 - '204': *130 + '204': *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60196,7 +60388,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *89 + - *90 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -60207,7 +60399,7 @@ paths: - *17 - *19 responses: - '500': *40 + '500': *41 '404': *6 '403': *29 '200': @@ -60216,11 +60408,11 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *425 + default: *426 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60241,19 +60433,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *89 + - *90 - *17 - *19 - - *426 - - *112 - *427 + - *113 - *428 - *429 - *430 - *431 - *432 + - *433 responses: - '500': *40 + '500': *41 '422': *15 '404': *6 '403': *29 @@ -60380,7 +60572,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60400,7 +60592,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *89 + - *90 requestBody: required: true content: @@ -60435,9 +60627,9 @@ paths: - 1296269 - 1296280 responses: - '500': *40 + '500': *41 '404': *6 - '202': *39 + '202': *40 '403': *29 '422': *15 x-github: @@ -60460,7 +60652,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *89 + - *90 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -60488,9 +60680,9 @@ paths: value: action: revoke responses: - '500': *40 + '500': *41 '404': *6 - '204': *130 + '204': *129 '403': *29 '422': *15 x-github: @@ -60512,7 +60704,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *89 + - *90 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -60522,7 +60714,7 @@ paths: - *17 - *19 responses: - '500': *40 + '500': *41 '404': *6 '403': *29 '200': @@ -60531,11 +60723,11 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *425 + default: *426 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60557,7 +60749,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *89 + - *90 - *17 - *19 responses: @@ -60575,7 +60767,7 @@ paths: type: integer configurations: type: array - items: &433 + items: &434 title: Organization private registry description: Private registry configuration for an organization type: object @@ -60714,7 +60906,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *47 + Link: *48 '400': *14 '404': *6 x-github: @@ -60737,7 +60929,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -61086,7 +61278,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &434 + org-private-registry-with-selected-visibility: &435 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -61127,7 +61319,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -61153,7 +61345,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -61175,16 +61367,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *89 - - *305 + - *90 + - *306 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *433 + schema: *434 examples: - default: *434 + default: *435 '404': *6 x-github: githubCloudOnly: false @@ -61206,8 +61398,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *89 - - *305 + - *90 + - *306 requestBody: required: true content: @@ -61394,8 +61586,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *89 - - *305 + - *90 + - *306 responses: '204': description: Response @@ -61418,15 +61610,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#list-projects-for-organization parameters: - - *89 + - *90 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *110 - *111 + - *112 - *17 responses: '200': @@ -61435,7 +61627,7 @@ paths: application/json: schema: type: array - items: &435 + items: &436 title: Projects v2 Project description: A projects v2 project type: object @@ -61505,7 +61697,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &983 + properties: &986 id: type: number description: The unique identifier of the status update. @@ -61553,7 +61745,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &984 + required: &987 - id - node_id - created_at @@ -61578,7 +61770,7 @@ paths: - deleted_at - deleted_by examples: - default: &436 + default: &437 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -61661,8 +61853,8 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -61681,25 +61873,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &437 + - &438 name: project_number description: The project's number. in: path required: true schema: type: integer - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *436 + default: *437 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -61718,8 +61910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *89 - - *437 + - *90 + - *438 requestBody: required: true description: Details of the draft item to create in the project. @@ -61753,7 +61945,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &444 title: Projects v2 Item description: An item belonging to a project type: object @@ -61766,8 +61958,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *234 - - &629 + - *235 + - &632 title: Pull Request Simple description: Pull Request Simple type: object @@ -61873,8 +62065,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *439 + required: *440 nullable: true active_lock_reason: type: string @@ -61917,7 +62109,7 @@ paths: items: *4 requested_teams: type: array - items: *328 + items: *329 head: type: object properties: @@ -61925,7 +62117,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *81 sha: type: string user: @@ -61948,7 +62140,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *81 sha: type: string user: @@ -61967,7 +62159,7 @@ paths: _links: type: object properties: - comments: &440 + comments: &441 title: Link description: Hypermedia Link type: object @@ -61976,13 +62168,13 @@ paths: type: string required: - href - commits: *440 - statuses: *440 - html: *440 - issue: *440 - review_comments: *440 - review_comment: *440 - self: *440 + commits: *441 + statuses: *441 + html: *441 + issue: *441 + review_comments: *441 + review_comment: *441 + self: *441 required: - comments - commits @@ -61992,8 +62184,8 @@ paths: - review_comments - review_comment - self - author_association: *231 - auto_merge: &767 + author_association: *232 + auto_merge: &769 title: Auto merge description: The status of auto merging a pull request. type: object @@ -62018,6 +62210,45 @@ paths: - commit_title - commit_message nullable: true + stack: &770 + title: Pull Request Stack + description: The stack information associated with a pull + request. + type: object + 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 + nullable: true draft: description: Indicates whether or not the pull request is a draft. @@ -62095,7 +62326,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &442 + content_type: &443 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -62135,7 +62366,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &444 + draft_issue: &445 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -62190,7 +62421,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': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -62209,11 +62440,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *437 - - *89 + - *438 + - *90 - *17 - - *110 - *111 + - *112 responses: '200': description: Response @@ -62221,7 +62452,7 @@ paths: application/json: schema: type: array - items: &441 + items: &442 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -62371,7 +62602,7 @@ paths: - updated_at - project_url examples: - default: &911 + default: &914 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -62482,8 +62713,8 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -62501,8 +62732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *437 - - *89 + - *438 + - *90 requestBody: required: true content: @@ -62548,7 +62779,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &912 + items: &915 type: object properties: name: @@ -62585,7 +62816,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &913 + iteration_configuration: &916 type: object description: The configuration for iteration fields. properties: @@ -62635,7 +62866,7 @@ paths: value: name: Due date data_type: date - single_select_field: &914 + single_select_field: &917 summary: Create a single select field value: name: Priority @@ -62662,7 +62893,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &915 + iteration_field: &918 summary: Create an iteration field value: name: Sprint @@ -62686,9 +62917,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *441 + schema: *442 examples: - text_field: &916 + text_field: &919 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -62697,7 +62928,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: &917 + number_field: &920 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -62706,7 +62937,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: &918 + date_field: &921 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -62715,7 +62946,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: &919 + single_select_field: &922 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -62749,7 +62980,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &920 + iteration_field: &923 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -62774,7 +63005,7 @@ paths: duration: 14 created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' - '304': *37 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -62794,23 +63025,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *437 - - &921 + - *438 + - &924 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *441 + schema: *442 examples: - default: &922 + default: &925 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -62845,8 +63076,8 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -62866,8 +63097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *437 - - *89 + - *438 + - *90 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -62889,8 +63120,8 @@ paths: maxItems: 50 items: type: string - - *110 - *111 + - *112 - *17 responses: '200': @@ -62899,7 +63130,7 @@ paths: application/json: schema: type: array - items: &445 + items: &446 title: Projects v2 Item description: An item belonging to a project type: object @@ -62915,7 +63146,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *442 + content_type: *443 content: type: object additionalProperties: true @@ -62958,7 +63189,7 @@ paths: - updated_at - archived_at examples: - default: &446 + default: &447 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -63635,8 +63866,8 @@ paths: data_type: sub_issues_progress value: headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -63655,8 +63886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - - *89 - - *437 + - *90 + - *438 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -63726,23 +63957,23 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *444 + value: *445 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *444 + value: *445 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *444 + value: *445 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *444 - '304': *37 + value: *445 + '304': *38 '403': *29 '401': *25 x-github: @@ -63761,9 +63992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *437 - - *89 - - &447 + - *438 + - *90 + - &448 name: item_id description: The unique identifier of the project item. in: path @@ -63789,12 +64020,12 @@ paths: description: Response content: application/json: - schema: *445 + schema: *446 examples: - default: *446 + default: *447 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -63812,9 +64043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *437 - - *89 - - *447 + - *438 + - *90 + - *448 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -63884,13 +64115,13 @@ paths: description: Response content: application/json: - schema: *445 + schema: *446 examples: - text_field: *446 - number_field: *446 - date_field: *446 - single_select_field: *446 - iteration_field: *446 + text_field: *447 + number_field: *447 + date_field: *447 + single_select_field: *447 + iteration_field: *447 '401': *25 '403': *29 '404': *6 @@ -63910,9 +64141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *437 - - *89 - - *447 + - *438 + - *90 + - *448 responses: '204': description: Response @@ -63935,8 +64166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *89 - - *437 + - *90 + - *438 requestBody: required: true content: @@ -64007,7 +64238,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &902 + schema: &905 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -64105,7 +64336,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &448 + value: &449 value: id: 1 number: 1 @@ -64151,11 +64382,11 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *448 + value: *449 roadmap_view: summary: Response for creating a roadmap view - value: *448 - '304': *37 + value: *449 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -64182,9 +64413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *437 - - *89 - - &923 + - *438 + - *90 + - &926 name: view_number description: The number that identifies the project view. in: path @@ -64206,8 +64437,8 @@ paths: maxItems: 50 items: type: string - - *110 - *111 + - *112 - *17 responses: '200': @@ -64216,12 +64447,12 @@ paths: application/json: schema: type: array - items: *445 + items: *446 examples: - default: *446 + default: *447 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -64243,7 +64474,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -64251,9 +64482,9 @@ paths: application/json: schema: type: array - items: *164 + items: *165 examples: - default: *165 + default: *166 '403': *29 '404': *6 x-github: @@ -64280,7 +64511,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -64291,7 +64522,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *164 + items: *165 minItems: 1 maxItems: 100 required: @@ -64321,9 +64552,9 @@ paths: application/json: schema: type: array - items: *164 + items: *165 examples: - default: *165 + default: *166 '403': *29 '404': *6 x-github: @@ -64344,16 +64575,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *89 - - *161 + - *90 + - *162 responses: '200': description: Response content: application/json: - schema: *164 + schema: *165 examples: - default: *166 + default: *167 '403': *29 '404': *6 x-github: @@ -64376,13 +64607,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *89 - - *161 + - *90 + - *162 requestBody: required: true content: application/json: - schema: *449 + schema: *450 examples: default: value: @@ -64398,9 +64629,9 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: - default: *166 + default: *167 '403': *29 '404': *6 x-github: @@ -64423,10 +64654,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *89 - - *161 + - *90 + - *162 responses: - '204': *130 + '204': *129 '403': *29 '404': *6 x-github: @@ -64447,7 +64678,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *89 + - *90 - *17 - *19 - name: repository_query @@ -64485,7 +64716,7 @@ paths: example: octocat/Hello-World properties: type: array - items: *163 + items: *164 description: List of custom property names and associated values required: - repository_id @@ -64506,7 +64737,7 @@ paths: - property_name: team value: octocat headers: - Link: *47 + Link: *48 '403': *29 '404': *6 x-github: @@ -64534,7 +64765,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *89 + - *90 requestBody: required: true content: @@ -64554,7 +64785,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *163 + items: *164 required: - repository_names - properties @@ -64595,7 +64826,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-public-organization-members parameters: - - *89 + - *90 - *17 - *19 responses: @@ -64607,9 +64838,9 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64626,8 +64857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response if user is a public member @@ -64651,8 +64882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response @@ -64673,8 +64904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response @@ -64698,7 +64929,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-organization-repositories parameters: - - *89 + - *90 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -64745,11 +64976,11 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *425 + default: *426 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64768,7 +64999,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-an-organization-repository parameters: - - *89 + - *90 requestBody: required: true content: @@ -64950,7 +65181,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &515 title: Full Repository description: Full Repository type: object @@ -65238,8 +65469,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *450 - required: *451 + properties: *451 + required: *452 nullable: true temp_clone_token: type: string @@ -65326,8 +65557,8 @@ paths: title: License Simple description: License Simple type: object - properties: *237 - required: *238 + properties: *238 + required: *239 nullable: true organization: title: Simple User @@ -65336,8 +65567,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *80 - source: *80 + parent: *81 + source: *81 forks: type: integer master_branch: @@ -65354,7 +65585,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &634 + properties: &637 url: type: string format: uri @@ -65370,12 +65601,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &635 + required: &638 - url - key - name - html_url - security_and_analysis: *452 + security_and_analysis: *453 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -65459,7 +65690,7 @@ paths: - network_count - subscribers_count examples: - default: &516 + default: &517 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -65977,7 +66208,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -65985,9 +66216,9 @@ paths: application/json: schema: type: array - items: *453 + items: *454 examples: - default: *454 + default: *455 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -66009,10 +66240,10 @@ paths: category: orgs subcategory: rules parameters: - - *89 + - *90 - *17 - *19 - - &790 + - &793 name: targets description: | A comma-separated list of rule targets to filter by. @@ -66030,7 +66261,7 @@ paths: application/json: schema: type: array - items: *198 + items: *199 examples: default: value: @@ -66061,7 +66292,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *40 + '500': *41 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -66077,7 +66308,7 @@ paths: category: orgs subcategory: rules parameters: - - *89 + - *90 requestBody: description: Request body required: true @@ -66098,21 +66329,20 @@ paths: - push - repository default: branch - enforcement: *175 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *176 - conditions: *455 + items: *177 + conditions: *456 rules: type: array description: An array of rules within the ruleset. - items: &457 + items: &458 title: Repository Rule type: object description: A repository rule. oneOf: - - *177 - *178 - *179 - *180 @@ -66126,13 +66356,14 @@ paths: - *188 - *189 - *190 - - *194 + - *191 - *195 - *196 - *197 - - *191 + - *198 - *192 - *193 + - *194 required: - name - enforcement @@ -66170,9 +66401,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: &456 + default: &457 value: id: 21 name: super cool ruleset @@ -66213,7 +66444,7 @@ paths: updated_at: '2023-09-23T16:29:47Z' '404': *6 '422': *15 - '500': *40 + '500': *41 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -66227,8 +66458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *89 - - &792 + - *90 + - &795 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 @@ -66238,16 +66469,16 @@ paths: schema: type: string x-multi-segment: true - - *325 - - *107 - - &793 + - *326 + - *108 + - &796 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 - - &794 + - &797 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -66260,7 +66491,7 @@ paths: - bypass - all default: all - - &795 + - &798 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. @@ -66283,7 +66514,7 @@ paths: description: Response content: application/json: - schema: &796 + schema: &799 title: Rule Suites description: Response type: array @@ -66338,7 +66569,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &797 + default: &800 value: - id: 21 actor_id: 12 @@ -66362,7 +66593,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66381,8 +66612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *89 - - &798 + - *90 + - &801 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -66398,7 +66629,7 @@ paths: description: Response content: application/json: - schema: &799 + schema: &802 title: Rule Suite description: Response type: object @@ -66497,7 +66728,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &800 + default: &803 value: id: 21 actor_id: 12 @@ -66532,7 +66763,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66558,7 +66789,7 @@ paths: category: orgs subcategory: rules parameters: - - *89 + - *90 - name: ruleset_id description: The ID of the ruleset. in: path @@ -66570,11 +66801,11 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: *456 + default: *457 '404': *6 - '500': *40 + '500': *41 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -66590,7 +66821,7 @@ paths: category: orgs subcategory: rules parameters: - - *89 + - *90 - name: ruleset_id description: The ID of the ruleset. in: path @@ -66616,16 +66847,16 @@ paths: - tag - push - repository - enforcement: *175 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *176 - conditions: *455 + items: *177 + conditions: *456 rules: description: An array of rules within the ruleset. type: array - items: *457 + items: *458 examples: default: value: @@ -66660,12 +66891,12 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: *456 + default: *457 '404': *6 '422': *15 - '500': *40 + '500': *41 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -66681,7 +66912,7 @@ paths: category: orgs subcategory: rules parameters: - - *89 + - *90 - name: ruleset_id description: The ID of the ruleset. in: path @@ -66692,7 +66923,7 @@ paths: '204': description: Response '404': *6 - '500': *40 + '500': *41 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -66704,7 +66935,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rules#get-organization-ruleset-history parameters: - - *89 + - *90 - *17 - *19 - name: ruleset_id @@ -66720,11 +66951,11 @@ paths: application/json: schema: type: array - items: *202 + items: *203 examples: - default: *458 + default: *459 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66741,7 +66972,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rules#get-organization-ruleset-version parameters: - - *89 + - *90 - name: ruleset_id description: The ID of the ruleset. in: path @@ -66759,7 +66990,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *460 examples: default: value: @@ -66799,7 +67030,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66821,8 +67052,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *89 - - *460 + - *90 - *461 - *462 - *463 @@ -66830,10 +67060,11 @@ paths: - *465 - *466 - *467 - - *112 + - *468 + - *113 - *19 - *17 - - &802 + - &805 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -66843,7 +67074,7 @@ paths: required: false schema: type: string - - &803 + - &806 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -66853,13 +67084,13 @@ paths: required: false schema: type: string - - *468 - *469 - *470 - *471 - *472 - *473 - *474 + - *475 responses: '200': description: Response @@ -66867,13 +67098,13 @@ paths: application/json: schema: type: array - items: *475 + items: *476 examples: - default: *476 + default: *477 headers: - Link: *47 + Link: *48 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66898,11 +67129,11 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *89 - - *477 + - *90 - *478 - *479 - - *112 + - *480 + - *113 - *19 - *17 responses: @@ -66912,11 +67143,11 @@ paths: application/json: schema: type: array - items: *204 + items: *205 examples: - default: *480 + default: *481 headers: - Link: *47 + Link: *48 '403': *29 '404': *6 post: @@ -66937,7 +67168,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *89 + - *90 requestBody: required: true content: @@ -66950,9 +67181,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *481 + items: *482 examples: - default: *482 + default: *483 responses: '201': description: All patterns created successfully. @@ -66964,9 +67195,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *204 + items: *205 examples: - default: *483 + default: *484 '400': *14 '403': *29 '404': *6 @@ -66990,7 +67221,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *484 + items: *485 delete: summary: Bulk delete organization custom patterns description: |- @@ -67009,7 +67240,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *89 + - *90 requestBody: required: true content: @@ -67023,7 +67254,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *485 + items: *486 post_delete_action: type: string description: |- @@ -67036,14 +67267,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *486 + default: *487 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *29 '404': *6 - '412': *206 + '412': *207 "/orgs/{org}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update an organization custom pattern @@ -67063,7 +67294,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *89 + - *90 - name: pattern_id in: path required: true @@ -67074,21 +67305,21 @@ paths: required: true content: application/json: - schema: *487 + schema: *488 examples: - default: *488 + default: *489 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *204 + schema: *205 examples: - default: *489 + default: *490 '400': *14 '403': *29 '404': *6 - '412': *206 + '412': *207 '422': *15 "/orgs/{org}/secret-scanning/pattern-configurations": get: @@ -67109,15 +67340,15 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: *491 + default: *492 '403': *29 '404': *6 patch: @@ -67138,7 +67369,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *89 + - *90 requestBody: required: true content: @@ -67146,7 +67377,7 @@ paths: schema: type: object properties: - pattern_config_version: *205 + pattern_config_version: *206 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -67172,7 +67403,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *205 + custom_pattern_version: *206 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -67208,7 +67439,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *121 + '409': *122 '422': *15 "/orgs/{org}/security-advisories": get: @@ -67226,8 +67457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *89 - - *112 + - *90 + - *113 - name: sort description: The property to sort the results by. in: query @@ -67239,8 +67470,8 @@ paths: - updated - published default: created - - *110 - *111 + - *112 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -67270,7 +67501,7 @@ paths: application/json: schema: type: array - items: &824 + items: &827 description: A repository security advisory. type: object properties: @@ -67457,7 +67688,7 @@ paths: required: - vector_string - score - cvss_severities: *136 + cvss_severities: *137 cwes: type: array nullable: true @@ -67490,7 +67721,7 @@ paths: login: type: string description: The username of the user credited. - type: *492 + type: *493 credits_detailed: type: array nullable: true @@ -67500,7 +67731,7 @@ paths: type: object properties: user: *4 - type: *492 + type: *493 state: type: string description: The state of the user's acceptance of the @@ -67524,14 +67755,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *328 + items: *329 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *122 + - *123 required: - ghsa_id - cve_id @@ -67561,7 +67792,7 @@ paths: - private_fork additionalProperties: false examples: - default: &825 + default: &828 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -67940,7 +68171,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#list-security-manager-teams parameters: - - *89 + - *90 responses: '200': description: Response @@ -67948,7 +68179,7 @@ paths: application/json: schema: type: array - items: *493 + items: *494 examples: default: value: @@ -67988,8 +68219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *89 - - *226 + - *90 + - *227 responses: '204': description: Response @@ -68014,8 +68245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *89 - - *226 + - *90 + - *227 responses: '204': description: Response @@ -68046,8 +68277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *89 - - *494 + - *90 + - *495 - *17 - *19 responses: @@ -68055,9 +68286,9 @@ paths: description: Success content: application/json: - schema: *495 + schema: *496 examples: - default: *496 + default: *497 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -68077,7 +68308,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Immutable releases settings response @@ -68126,7 +68357,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *89 + - *90 responses: '204': description: Response @@ -68183,7 +68414,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *89 + - *90 - *19 - *17 responses: @@ -68201,9 +68432,9 @@ paths: type: integer repositories: type: array - items: *295 + items: *296 examples: - default: *309 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68222,7 +68453,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *89 + - *90 requestBody: required: true content: @@ -68271,8 +68502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *89 - - *289 + - *90 + - *290 responses: '204': description: Response @@ -68294,8 +68525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *89 - - *289 + - *90 + - *290 responses: '204': description: Response @@ -68318,7 +68549,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *89 + - *90 - *17 - *19 responses: @@ -68336,11 +68567,11 @@ paths: type: integer network_configurations: type: array - items: *156 + items: *157 examples: - default: *497 + default: *498 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68359,7 +68590,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -68415,9 +68646,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: *157 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68437,18 +68668,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *89 - - *158 + - *90 + - *159 responses: '200': description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: *157 + default: *158 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68467,8 +68698,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *89 - - *158 + - *90 + - *159 requestBody: required: true content: @@ -68521,9 +68752,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: *157 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68542,8 +68773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *89 - - *158 + - *90 + - *159 responses: '204': description: Response @@ -68566,18 +68797,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *89 - - *498 + - *90 + - *499 responses: '200': description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *500 + default: *501 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68594,7 +68825,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *89 + - *90 - *17 - name: page description: Page token @@ -68613,7 +68844,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &512 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -68659,7 +68890,7 @@ paths: type: string nullable: true examples: - default: &512 + default: &513 value: groups: - group_id: '123' @@ -68692,7 +68923,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-teams parameters: - - *89 + - *90 - *17 - *19 - name: team_type @@ -68714,11 +68945,11 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - default: *418 + default: *419 headers: - Link: *47 + Link: *48 '403': *29 x-github: githubCloudOnly: false @@ -68738,7 +68969,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#create-a-team parameters: - - *89 + - *90 requestBody: required: true content: @@ -68810,7 +69041,7 @@ paths: description: Response content: application/json: - schema: &501 + schema: &502 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -68873,8 +69104,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *416 - required: *417 + properties: *417 + required: *418 nullable: true members_count: type: integer @@ -69137,7 +69368,7 @@ paths: - repos_count - organization examples: - default: &502 + default: &503 value: id: 1 node_id: MDQ6VGVhbTE= @@ -69207,16 +69438,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - - *89 - - *226 + - *90 + - *227 responses: '200': description: Response content: application/json: - schema: *501 + schema: *502 examples: - default: *502 + default: *503 '404': *6 x-github: githubCloudOnly: false @@ -69237,8 +69468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - - *89 - - *226 + - *90 + - *227 requestBody: required: false content: @@ -69300,16 +69531,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *501 + schema: *502 examples: - default: *502 + default: *503 '201': description: Response content: application/json: - schema: *501 + schema: *502 examples: - default: *502 + default: *503 '404': *6 '422': *15 '403': *29 @@ -69334,12 +69565,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - - *89 - - *226 + - *90 + - *227 responses: '204': description: Response - '422': &505 + '422': &506 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -69361,17 +69592,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *89 - - *226 + - *90 + - *227 responses: '200': description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: *504 - '422': *505 + default: *505 + '422': *506 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -69390,8 +69621,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *89 - - *226 + - *90 + - *227 requestBody: required: true content: @@ -69414,10 +69645,10 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 - '422': *505 + default: *508 + '422': *506 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -69436,12 +69667,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *89 - - *226 + - *90 + - *227 responses: '204': description: Response - '422': *505 + '422': *506 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -69462,8 +69693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - - *89 - - *226 + - *90 + - *227 - *17 - *19 responses: @@ -69473,12 +69704,12 @@ paths: application/json: schema: type: array - items: *397 + items: *398 examples: - default: *398 + default: *399 headers: - Link: *47 - '422': *505 + Link: *48 + '422': *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69500,8 +69731,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - - *89 - - *226 + - *90 + - *227 - name: role description: Filters members returned by their role in the team. in: query @@ -69522,7 +69753,7 @@ paths: application/json: schema: type: array - items: &866 + items: &869 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 @@ -69641,7 +69872,7 @@ paths: - type - url examples: - default: &867 + default: &870 value: - login: octocat id: 1 @@ -69664,7 +69895,7 @@ paths: role: member inherited: false headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69692,15 +69923,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - - *89 - - *226 - - *151 + - *90 + - *227 + - *152 responses: '200': description: Response content: application/json: - schema: &508 + schema: &509 title: Team Membership description: Team Membership type: object @@ -69727,7 +69958,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &868 + response-if-user-is-a-team-maintainer: &871 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -69763,9 +69994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *89 - - *226 - - *151 + - *90 + - *227 + - *152 requestBody: required: false content: @@ -69790,9 +70021,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - response-if-users-membership-with-team-is-now-pending: &869 + response-if-users-membership-with-team-is-now-pending: &872 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -69827,9 +70058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - - *89 - - *226 - - *151 + - *90 + - *227 + - *152 responses: '204': description: Response @@ -69855,8 +70086,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - - *89 - - *226 + - *90 + - *227 - *17 - *19 responses: @@ -69866,11 +70097,11 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *425 + default: *426 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69897,16 +70128,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *89 - - *226 - - *509 + - *90 + - *227 - *510 + - *511 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &870 + schema: &873 title: Team Repository description: A team's access to a repository. type: object @@ -69929,8 +70160,8 @@ paths: title: License Simple description: License Simple type: object - properties: *237 - required: *238 + properties: *238 + required: *239 nullable: true forks: type: integer @@ -70475,10 +70706,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *89 - - *226 - - *509 + - *90 + - *227 - *510 + - *511 requestBody: required: false content: @@ -70523,10 +70754,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *89 - - *226 - - *509 + - *90 + - *227 - *510 + - *511 responses: '204': description: Response @@ -70552,17 +70783,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *89 - - *226 + - *90 + - *227 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 - '422': *505 + default: *513 + '422': *506 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -70584,8 +70815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *89 - - *226 + - *90 + - *227 requestBody: required: true content: @@ -70628,7 +70859,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: default: value: @@ -70640,7 +70871,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *505 + '422': *506 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -70661,8 +70892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - - *89 - - *226 + - *90 + - *227 - *17 - *19 responses: @@ -70672,9 +70903,9 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - response-if-child-teams-exist: &871 + response-if-child-teams-exist: &874 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -70702,7 +70933,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70727,7 +70958,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *89 + - *90 - name: security_product in: path description: The security feature to enable or disable. @@ -70827,7 +71058,7 @@ paths: resources: type: object properties: - core: &513 + core: &514 title: Rate Limit type: object properties: @@ -70844,21 +71075,21 @@ paths: - remaining - reset - used - graphql: *513 - search: *513 - code_search: *513 - source_import: *513 - integration_manifest: *513 - actions_runner_registration: *513 - scim: *513 - dependency_snapshots: *513 - dependency_sbom: *513 - code_scanning_autofix: *513 - copilot_usage_records: *513 + graphql: *514 + search: *514 + code_search: *514 + source_import: *514 + integration_manifest: *514 + actions_runner_registration: *514 + scim: *514 + dependency_snapshots: *514 + dependency_sbom: *514 + code_scanning_autofix: *514 + copilot_usage_records: *514 required: - core - search - rate: *513 + rate: *514 required: - rate - resources @@ -70935,7 +71166,7 @@ paths: schema: type: integer format: timestamp - '304': *37 + '304': *38 '404': *6 x-github: githubCloudOnly: false @@ -70958,14 +71189,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *514 + schema: *515 examples: default-response: summary: Default response @@ -71474,7 +71705,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *515 + '301': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71492,8 +71723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: false content: @@ -71813,10 +72044,10 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *516 - '307': &517 + default: *517 + '307': &518 description: Temporary Redirect content: application/json: @@ -71845,8 +72076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -71868,9 +72099,9 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository - '307': *517 + '307': *518 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71892,11 +72123,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *509 - *510 + - *511 - *17 - *19 - - &533 + - &534 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -71919,7 +72150,7 @@ paths: type: integer artifacts: type: array - items: &518 + items: &519 title: Artifact description: An artifact type: object @@ -71997,7 +72228,7 @@ paths: - expires_at - updated_at examples: - default: &534 + default: &535 value: total_count: 2 artifacts: @@ -72036,7 +72267,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72058,9 +72289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *509 - *510 - - &519 + - *511 + - &520 name: artifact_id description: The unique identifier of the artifact. in: path @@ -72072,7 +72303,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *519 examples: default: value: @@ -72110,9 +72341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *509 - *510 - - *519 + - *511 + - *520 responses: '204': description: Response @@ -72136,9 +72367,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *509 - *510 - - *519 + - *511 + - *520 - name: archive_format in: path required: true @@ -72148,15 +72379,11 @@ paths: '302': description: Response headers: - Location: &653 + Location: &656 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': &701 - description: Gone - content: - application/json: - schema: *3 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72177,14 +72404,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: &520 + schema: &521 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -72195,7 +72422,7 @@ paths: type: integer example: 14 examples: - default: *44 + default: *45 '403': *29 '404': *6 x-github: @@ -72217,15 +72444,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: application/json: - schema: *520 + schema: *521 examples: - selected_actions: *44 + selected_actions: *45 responses: '204': description: Response @@ -72252,14 +72479,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: &521 + schema: &522 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -72270,7 +72497,7 @@ paths: type: integer example: 10 examples: - default: *46 + default: *47 '403': *29 '404': *6 x-github: @@ -72292,15 +72519,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: application/json: - schema: *521 + schema: *522 examples: - selected_actions: *46 + selected_actions: *47 responses: '204': description: Response @@ -72329,14 +72556,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *522 + schema: *523 examples: default: value: @@ -72362,11 +72589,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *509 - *510 + - *511 - *17 - *19 - - &523 + - &524 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 @@ -72394,13 +72621,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *112 + - *113 responses: '200': description: Response content: application/json: - schema: &524 + schema: &525 title: Repository actions caches description: Repository actions caches type: object @@ -72442,7 +72669,7 @@ paths: - total_count - actions_caches examples: - default: &525 + default: &526 value: total_count: 1 actions_caches: @@ -72454,7 +72681,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72474,23 +72701,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *509 - *510 + - *511 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *523 + - *524 responses: '200': description: Response content: application/json: - schema: *524 + schema: *525 examples: - default: *525 + default: *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72510,8 +72737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *509 - *510 + - *511 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -72540,10 +72767,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *509 - *510 + - *511 - *17 - - *111 + - *112 responses: '200': description: Response @@ -72591,7 +72818,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: *47 + Link: *48 '422': *15 x-github: githubCloudOnly: false @@ -72623,8 +72850,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *509 - *510 + - *511 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -72776,9 +73003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *509 - *510 - - &526 + - *511 + - &527 name: job_id description: The unique identifier of the job. in: path @@ -72790,7 +73017,7 @@ paths: description: Response content: application/json: - schema: &537 + schema: &538 title: Job description: Information of a job execution in a workflow run type: object @@ -73097,9 +73324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *509 - *510 - - *526 + - *511 + - *527 responses: '302': description: Response @@ -73127,9 +73354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *509 - *510 - - *526 + - *511 + - *527 requestBody: required: false content: @@ -73155,7 +73382,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -73179,8 +73406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Status response @@ -73239,8 +73466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -73279,7 +73506,7 @@ paths: description: Empty response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -73308,8 +73535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -73327,7 +73554,7 @@ paths: type: integer secrets: type: array - items: &539 + items: &540 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -73347,7 +73574,7 @@ paths: - created_at - updated_at examples: - default: &540 + default: &541 value: total_count: 2 secrets: @@ -73358,7 +73585,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73380,9 +73607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *509 - *510 - - *314 + - *511 + - *315 - *19 responses: '200': @@ -73399,7 +73626,7 @@ paths: type: integer variables: type: array - items: &541 + items: &542 title: Actions Variable type: object properties: @@ -73429,7 +73656,7 @@ paths: - created_at - updated_at examples: - default: &542 + default: &543 value: total_count: 2 variables: @@ -73442,7 +73669,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73462,8 +73689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -73472,12 +73699,12 @@ paths: schema: type: object properties: - enabled: &527 + enabled: &528 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *62 - selected_actions_url: *282 - sha_pinning_required: *63 + allowed_actions: *63 + selected_actions_url: *283 + sha_pinning_required: *64 required: - enabled examples: @@ -73507,8 +73734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -73519,9 +73746,9 @@ paths: schema: type: object properties: - enabled: *527 - allowed_actions: *62 - sha_pinning_required: *63 + enabled: *528 + allowed_actions: *63 + sha_pinning_required: *64 required: - enabled examples: @@ -73552,14 +73779,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: &528 + schema: &529 type: object properties: access_level: @@ -73577,7 +73804,7 @@ paths: required: - access_level examples: - default: &529 + default: &530 value: access_level: organization x-github: @@ -73602,15 +73829,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: application/json: - schema: *528 + schema: *529 examples: - default: *529 + default: *530 responses: '204': description: Response @@ -73634,14 +73861,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *284 + schema: *285 examples: default: value: @@ -73665,8 +73892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *509 - *510 + - *511 responses: '204': description: Empty response for successful settings update @@ -73676,7 +73903,7 @@ paths: required: true content: application/json: - schema: *285 + schema: *286 examples: default: summary: Set retention days @@ -73700,16 +73927,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *64 + schema: *65 examples: - default: *286 + default: *287 '404': *6 x-github: enabledForGitHubApps: true @@ -73728,8 +73955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -73739,7 +73966,7 @@ paths: required: true content: application/json: - schema: *64 + schema: *65 examples: default: summary: Set approval policy to first time contributors @@ -73763,16 +73990,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *65 + default: *66 '403': *29 '404': *6 x-github: @@ -73792,15 +74019,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: application/json: - schema: *288 + schema: *289 examples: - default: *65 + default: *66 responses: '204': description: Empty response for successful settings update @@ -73824,16 +74051,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *67 + schema: *68 examples: - default: *68 + default: *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73856,8 +74083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -73865,9 +74092,9 @@ paths: required: false content: application/json: - schema: *67 + schema: *68 examples: - selected_actions: *68 + selected_actions: *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73889,16 +74116,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: *71 + default: *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73919,8 +74146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *509 - *510 + - *511 responses: '204': description: Success response @@ -73931,9 +74158,9 @@ paths: required: true content: application/json: - schema: *292 + schema: *293 examples: - default: *71 + default: *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73960,8 +74187,8 @@ paths: in: query schema: type: string - - *509 - *510 + - *511 - *17 - *19 responses: @@ -73979,11 +74206,11 @@ paths: type: integer runners: type: array - items: *78 + items: *79 examples: - default: *79 + default: *80 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74005,8 +74232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -74014,9 +74241,9 @@ paths: application/json: schema: type: array - items: *296 + items: *297 examples: - default: *297 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74038,8 +74265,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -74082,10 +74309,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *298 + '201': *299 '404': *6 '422': *7 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74113,16 +74340,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *509 - *510 + - *511 responses: '201': description: Response content: application/json: - schema: *81 + schema: *82 examples: - default: *299 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74150,16 +74377,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *509 - *510 + - *511 responses: '201': description: Response content: application/json: - schema: *81 + schema: *82 examples: - default: *300 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74181,17 +74408,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *509 - *510 - - *77 + - *511 + - *78 responses: '200': description: Response content: application/json: - schema: *78 + schema: *79 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74212,9 +74439,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *509 - *510 - - *77 + - *511 + - *78 responses: '204': description: Response @@ -74240,11 +74467,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *509 - *510 - - *77 + - *511 + - *78 responses: - '200': *83 + '200': *84 '404': *6 x-github: githubCloudOnly: false @@ -74266,9 +74493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *509 - *510 - - *77 + - *511 + - *78 requestBody: required: true content: @@ -74292,7 +74519,7 @@ paths: - gpu - accelerated responses: - '200': *83 + '200': *84 '404': *6 '422': *7 x-github: @@ -74316,9 +74543,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *509 - *510 - - *77 + - *511 + - *78 requestBody: required: true content: @@ -74343,7 +74570,7 @@ paths: - gpu - accelerated responses: - '200': *83 + '200': *84 '404': *6 '422': *7 x-github: @@ -74367,11 +74594,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *509 - *510 - - *77 + - *511 + - *78 responses: - '200': *302 + '200': *303 '404': *6 x-github: githubCloudOnly: false @@ -74398,12 +74625,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *509 - *510 - - *77 - - *303 + - *511 + - *78 + - *304 responses: - '200': *83 + '200': *84 '404': *6 '422': *7 x-github: @@ -74429,9 +74656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *509 - *510 - - &545 + - *511 + - &546 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. @@ -74439,7 +74666,7 @@ paths: required: false schema: type: string - - &546 + - &547 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -74447,7 +74674,7 @@ paths: required: false schema: type: string - - &547 + - &548 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -74456,7 +74683,7 @@ paths: required: false schema: type: string - - &548 + - &549 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 @@ -74483,7 +74710,7 @@ paths: - pending - *17 - *19 - - &549 + - &550 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -74492,7 +74719,7 @@ paths: schema: type: string format: date-time - - &530 + - &531 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -74501,13 +74728,13 @@ paths: schema: type: boolean default: false - - &550 + - &551 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &551 + - &552 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -74530,7 +74757,7 @@ paths: type: integer workflow_runs: type: array - items: &531 + items: &532 title: Workflow Run description: An invocation of a workflow type: object @@ -74625,7 +74852,7 @@ paths: that triggered the run. type: array nullable: true - items: *239 + items: *240 created_at: type: string format: date-time @@ -74678,7 +74905,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &575 + properties: &576 id: type: string description: SHA for the commit @@ -74729,7 +74956,7 @@ paths: - name - email nullable: true - required: &576 + required: &577 - id - tree_id - message @@ -74737,8 +74964,8 @@ paths: - author - committer nullable: true - repository: *295 - head_repository: *295 + repository: *296 + head_repository: *296 head_repository_id: type: integer example: 5 @@ -74776,7 +75003,7 @@ paths: - workflow_url - pull_requests examples: - default: &552 + default: &553 value: total_count: 1 workflow_runs: @@ -74990,7 +75217,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: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75012,24 +75239,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *509 - *510 - - &532 + - *511 + - &533 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *530 + - *531 responses: '200': description: Response content: application/json: - schema: *531 + schema: *532 examples: - default: &535 + default: &536 value: id: 30433642 name: Build @@ -75270,9 +75497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 responses: '204': description: Response @@ -75295,9 +75522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 responses: '200': description: Response @@ -75416,15 +75643,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *509 - *510 - - *532 + - *511 + - *533 responses: '201': description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -75451,13 +75678,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *509 - *510 - - *532 + - *511 + - *533 - *17 - *19 - - *533 - - *112 + - *534 + - *113 responses: '200': description: Response @@ -75473,11 +75700,11 @@ paths: type: integer artifacts: type: array - items: *518 + items: *519 examples: - default: *534 + default: *535 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75499,25 +75726,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *509 - *510 - - *532 - - &536 + - *511 + - *533 + - &537 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *530 + - *531 responses: '200': description: Response content: application/json: - schema: *531 + schema: *532 examples: - default: *535 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75540,10 +75767,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *509 - *510 - - *532 - - *536 + - *511 + - *533 + - *537 - *17 - *19 responses: @@ -75561,9 +75788,9 @@ paths: type: integer jobs: type: array - items: *537 + items: *538 examples: - default: &538 + default: &539 value: total_count: 1 jobs: @@ -75652,7 +75879,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -75676,10 +75903,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *509 - *510 - - *532 - - *536 + - *511 + - *533 + - *537 responses: '302': description: Response @@ -75707,19 +75934,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 responses: '202': description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75755,12 +75982,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 - *17 - - *110 - *111 + - *112 responses: '200': description: Response @@ -75903,7 +76130,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: *47 + Link: *48 '404': *6 '422': *15 x-github: @@ -75928,9 +76155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 requestBody: required: true content: @@ -75997,19 +76224,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 responses: '202': description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76032,9 +76259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 - 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 @@ -76064,11 +76291,11 @@ paths: type: integer jobs: type: array - items: *537 + items: *538 examples: - default: *538 + default: *539 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76091,9 +76318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *509 - *510 - - *532 + - *511 + - *533 responses: '302': description: Response @@ -76120,14 +76347,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *509 - *510 - - *532 + - *511 + - *533 responses: '204': description: Response '403': *29 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76149,9 +76376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 responses: '200': description: Response @@ -76211,7 +76438,7 @@ paths: items: type: object properties: - type: &668 + type: &671 type: string description: The type of reviewer. enum: @@ -76221,7 +76448,7 @@ paths: reviewer: anyOf: - *4 - - *328 + - *329 required: - environment - wait_timer @@ -76296,9 +76523,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 requestBody: required: true content: @@ -76345,12 +76572,12 @@ paths: application/json: schema: type: array - items: &655 + items: &658 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &941 + properties: &944 url: type: string format: uri @@ -76433,9 +76660,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 - required: &942 + properties: *230 + required: *231 + required: &945 - id - node_id - sha @@ -76451,7 +76678,7 @@ paths: - created_at - updated_at examples: - default: &656 + default: &659 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -76507,9 +76734,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *509 - *510 - - *532 + - *511 + - *533 requestBody: required: false content: @@ -76530,7 +76757,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -76553,9 +76780,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 requestBody: required: false content: @@ -76576,7 +76803,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -76609,9 +76836,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *509 - *510 - - *532 + - *511 + - *533 responses: '200': description: Response @@ -76748,8 +76975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -76767,11 +76994,11 @@ paths: type: integer secrets: type: array - items: *539 + items: *540 examples: - default: *540 + default: *541 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76794,16 +77021,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76825,17 +77052,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 responses: '200': description: Response content: application/json: - schema: *539 + schema: *540 examples: - default: &553 + default: &554 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -76861,9 +77088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 requestBody: required: true content: @@ -76894,7 +77121,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -76920,9 +77147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 responses: '204': description: Response @@ -76947,9 +77174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *509 - *510 - - *314 + - *511 + - *315 - *19 responses: '200': @@ -76966,11 +77193,11 @@ paths: type: integer variables: type: array - items: *541 + items: *542 examples: - default: *542 + default: *543 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76991,8 +77218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -77019,7 +77246,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -77044,17 +77271,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *509 - *510 - - *308 + - *511 + - *309 responses: '200': description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: &554 + default: &555 value: name: USERNAME value: octocat @@ -77080,9 +77307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *509 - *510 - - *308 + - *511 + - *309 requestBody: required: true content: @@ -77124,9 +77351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *509 - *510 - - *308 + - *511 + - *309 responses: '204': description: Response @@ -77151,8 +77378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -77170,7 +77397,7 @@ paths: type: integer workflows: type: array - items: &543 + items: &544 title: Workflow description: A GitHub Actions workflow type: object @@ -77254,7 +77481,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: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77277,9 +77504,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *509 - *510 - - &544 + - *511 + - &545 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -77294,7 +77521,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *544 examples: default: value: @@ -77327,9 +77554,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *509 - *510 - - *544 + - *511 + - *545 responses: '204': description: Response @@ -77354,9 +77581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *509 - *510 - - *544 + - *511 + - *545 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -77443,9 +77670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *509 - *510 - - *544 + - *511 + - *545 responses: '204': description: Response @@ -77472,19 +77699,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *509 - *510 - - *544 + - *511 - *545 - *546 - *547 - *548 + - *549 - *17 - *19 - - *549 - - *530 - *550 + - *531 - *551 + - *552 responses: '200': description: Response @@ -77500,11 +77727,11 @@ paths: type: integer workflow_runs: type: array - items: *531 + items: *532 examples: - default: *552 + default: *553 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77535,9 +77762,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *509 - *510 - - *544 + - *511 + - *545 responses: '200': description: Response @@ -77598,12 +77825,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *509 - *510 - - *112 + - *511 + - *113 - *17 - - *110 - *111 + - *112 - name: ref description: |- The Git reference for the activities you want to list. @@ -77744,7 +77971,7 @@ paths: type: User site_admin: false headers: - Link: *47 + Link: *48 '422': *7 x-github: githubCloudOnly: false @@ -77768,8 +77995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -77787,11 +78014,11 @@ paths: type: integer secrets: type: array - items: *539 + items: *540 examples: - default: *540 + default: *541 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77813,9 +78040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables parameters: - - *509 - *510 - - *314 + - *511 + - *315 - *19 responses: '200': @@ -77832,11 +78059,11 @@ paths: type: integer variables: type: array - items: *541 + items: *542 examples: - default: *542 + default: *543 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77859,8 +78086,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -77878,11 +78105,11 @@ paths: type: integer secrets: type: array - items: *539 + items: *540 examples: - default: *540 + default: *541 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77905,16 +78132,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77936,17 +78163,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 responses: '200': description: Response content: application/json: - schema: *539 + schema: *540 examples: - default: *553 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77968,9 +78195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 requestBody: required: true content: @@ -78001,7 +78228,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -78027,9 +78254,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 responses: '204': description: Response @@ -78054,9 +78281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables parameters: - - *509 - *510 - - *314 + - *511 + - *315 - *19 responses: '200': @@ -78073,11 +78300,11 @@ paths: type: integer variables: type: array - items: *541 + items: *542 examples: - default: *542 + default: *543 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78098,8 +78325,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -78126,7 +78353,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -78151,17 +78378,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable parameters: - - *509 - *510 - - *308 + - *511 + - *309 responses: '200': description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: *554 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78182,9 +78409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable parameters: - - *509 - *510 - - *308 + - *511 + - *309 requestBody: required: true content: @@ -78226,9 +78453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable parameters: - - *509 - *510 - - *308 + - *511 + - *309 responses: '204': description: Response @@ -78249,8 +78476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -78262,9 +78489,9 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -78287,8 +78514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *509 - *510 + - *511 - name: assignee in: path required: true @@ -78324,8 +78551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -78435,11 +78662,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *509 - *510 + - *511 - *17 - - *110 - *111 + - *112 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -78493,7 +78720,7 @@ paths: initiator: type: string examples: - default: *555 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78513,8 +78740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -78522,7 +78749,7 @@ paths: application/json: schema: type: array - items: &556 + items: &557 title: Autolink reference description: An autolink reference. type: object @@ -78576,8 +78803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -78616,9 +78843,9 @@ paths: description: response content: application/json: - schema: *556 + schema: *557 examples: - default: &557 + default: &558 value: id: 1 key_prefix: TICKET- @@ -78649,9 +78876,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *509 - *510 - - &558 + - *511 + - &559 name: autolink_id description: The unique identifier of the autolink. in: path @@ -78663,9 +78890,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *557 + default: *558 '404': *6 x-github: githubCloudOnly: false @@ -78685,9 +78912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *509 - *510 - - *558 + - *511 + - *559 responses: '204': description: Response @@ -78711,8 +78938,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response if Dependabot is enabled @@ -78760,8 +78987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -78782,8 +79009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -78803,8 +79030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *509 - *510 + - *511 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -78842,7 +79069,7 @@ paths: - url protected: type: boolean - protection: &560 + protection: &561 title: Branch Protection description: Branch Protection type: object @@ -78884,7 +79111,7 @@ paths: required: - contexts - checks - enforce_admins: &563 + enforce_admins: &564 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -78899,7 +79126,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &565 + required_pull_request_reviews: &566 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -78920,7 +79147,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *328 + items: *329 apps: description: The list of apps with review dismissal access. @@ -78949,7 +79176,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *328 + items: *329 apps: description: The list of apps allowed to bypass pull request requirements. @@ -78975,7 +79202,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &562 + restrictions: &563 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -79038,7 +79265,7 @@ paths: type: string teams: type: array - items: *328 + items: *329 apps: type: array items: @@ -79234,7 +79461,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -79252,9 +79479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *509 - *510 - - &561 + - *511 + - &562 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql). @@ -79268,14 +79495,14 @@ paths: description: Response content: application/json: - schema: &571 + schema: &572 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &625 + commit: &628 title: Commit description: Commit type: object @@ -79309,7 +79536,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &559 + properties: &560 name: type: string example: '"Chris Wanstrath"' @@ -79325,7 +79552,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *559 + properties: *560 nullable: true message: type: string @@ -79346,7 +79573,7 @@ paths: required: - sha - url - verification: &686 + verification: &689 title: Verification type: object properties: @@ -79380,12 +79607,12 @@ paths: nullable: true oneOf: - *4 - - *306 + - *307 committer: nullable: true oneOf: - *4 - - *306 + - *307 parents: type: array items: @@ -79416,7 +79643,7 @@ paths: type: integer files: type: array - items: &638 + items: &641 title: Diff Entry description: Diff Entry type: object @@ -79500,7 +79727,7 @@ paths: - self protected: type: boolean - protection: *560 + protection: *561 protection_url: type: string format: uri @@ -79607,7 +79834,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *515 + '301': *516 '404': *6 x-github: githubCloudOnly: false @@ -79629,15 +79856,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response content: application/json: - schema: *560 + schema: *561 examples: default: value: @@ -79831,9 +80058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: true content: @@ -80088,7 +80315,7 @@ paths: url: type: string format: uri - required_status_checks: &568 + required_status_checks: &569 title: Status Check Policy description: Status Check Policy type: object @@ -80164,7 +80391,7 @@ paths: items: *4 teams: type: array - items: *328 + items: *329 apps: type: array items: *5 @@ -80182,7 +80409,7 @@ paths: items: *4 teams: type: array - items: *328 + items: *329 apps: type: array items: *5 @@ -80240,7 +80467,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *562 + restrictions: *563 required_conversation_resolution: type: object properties: @@ -80352,9 +80579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '204': description: Response @@ -80379,17 +80606,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: &564 + default: &565 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -80411,17 +80638,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *564 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80440,9 +80667,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '204': description: Response @@ -80467,17 +80694,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response content: application/json: - schema: *565 + schema: *566 examples: - default: &566 + default: &567 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -80573,9 +80800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: false content: @@ -80673,9 +80900,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *566 examples: - default: *566 + default: *567 '422': *15 x-github: githubCloudOnly: false @@ -80696,9 +80923,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '204': description: Response @@ -80725,17 +80952,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: &567 + default: &568 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -80758,17 +80985,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *567 + default: *568 '404': *6 x-github: githubCloudOnly: false @@ -80788,9 +81015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '204': description: Response @@ -80815,17 +81042,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response content: application/json: - schema: *568 + schema: *569 examples: - default: &569 + default: &570 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -80851,9 +81078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: false content: @@ -80905,9 +81132,9 @@ paths: description: Response content: application/json: - schema: *568 + schema: *569 examples: - default: *569 + default: *570 '404': *6 '422': *15 x-github: @@ -80929,9 +81156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '204': description: Response @@ -80955,9 +81182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response @@ -80991,9 +81218,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: false content: @@ -81060,9 +81287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: false content: @@ -81126,9 +81353,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: content: application/json: @@ -81194,15 +81421,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response content: application/json: - schema: *562 + schema: *563 examples: default: value: @@ -81293,9 +81520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '204': description: Response @@ -81318,9 +81545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response @@ -81330,7 +81557,7 @@ paths: type: array items: *5 examples: - default: &570 + default: &571 value: - id: 1 slug: octoapp @@ -81387,9 +81614,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: true content: @@ -81423,7 +81650,7 @@ paths: type: array items: *5 examples: - default: *570 + default: *571 '422': *15 x-github: githubCloudOnly: false @@ -81444,9 +81671,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: true content: @@ -81480,7 +81707,7 @@ paths: type: array items: *5 examples: - default: *570 + default: *571 '422': *15 x-github: githubCloudOnly: false @@ -81501,9 +81728,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: true content: @@ -81537,7 +81764,7 @@ paths: type: array items: *5 examples: - default: *570 + default: *571 '422': *15 x-github: githubCloudOnly: false @@ -81559,9 +81786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response @@ -81569,9 +81796,9 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - default: *418 + default: *419 '404': *6 x-github: githubCloudOnly: false @@ -81591,9 +81818,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: false content: @@ -81629,9 +81856,9 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - default: *418 + default: *419 '422': *15 x-github: githubCloudOnly: false @@ -81652,9 +81879,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: false content: @@ -81690,9 +81917,9 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - default: *418 + default: *419 '422': *15 x-github: githubCloudOnly: false @@ -81713,9 +81940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: content: application/json: @@ -81750,9 +81977,9 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - default: *418 + default: *419 '422': *15 x-github: githubCloudOnly: false @@ -81774,9 +82001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response @@ -81786,7 +82013,7 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 '404': *6 x-github: githubCloudOnly: false @@ -81810,9 +82037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: true content: @@ -81845,7 +82072,7 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 '422': *15 x-github: githubCloudOnly: false @@ -81870,9 +82097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: true content: @@ -81905,7 +82132,7 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 '422': *15 x-github: githubCloudOnly: false @@ -81930,9 +82157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: true content: @@ -81965,7 +82192,7 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 '422': *15 x-github: githubCloudOnly: false @@ -81992,9 +82219,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: true content: @@ -82016,7 +82243,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: default: value: @@ -82130,12 +82357,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *509 - *510 - - *105 + - *511 - *106 - *107 - *108 + - *109 - *17 - *19 responses: @@ -82145,11 +82372,11 @@ paths: application/json: schema: type: array - items: *323 + items: *324 examples: - default: *324 + default: *325 '404': *6 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": get: summary: Get a repository push bypass request @@ -82167,8 +82394,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *509 - *510 + - *511 - name: bypass_request_number in: path required: true @@ -82182,7 +82409,7 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: default: value: @@ -82220,7 +82447,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for a repository @@ -82241,12 +82468,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *509 - *510 - - *105 + - *511 - *106 - *107 - *108 + - *109 - *17 - *19 responses: @@ -82256,12 +82483,12 @@ paths: application/json: schema: type: array - items: *326 + items: *327 examples: - default: *327 + default: *328 '404': *6 '403': *29 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/bypass-requests/secret-scanning/{bypass_request_number}": get: summary: Get a bypass request for secret scanning @@ -82282,8 +82509,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *509 - *510 + - *511 - name: bypass_request_number in: path required: true @@ -82295,7 +82522,7 @@ paths: description: A single bypass request. content: application/json: - schema: *326 + schema: *327 examples: default: value: @@ -82333,7 +82560,7 @@ paths: html_url: https://github.com/octo-org/smile/exemptions/1 '404': *6 '403': *29 - '500': *40 + '500': *41 patch: summary: Review a bypass request for secret scanning description: |- @@ -82353,8 +82580,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *509 - *510 + - *511 - name: bypass_request_number in: path required: true @@ -82404,7 +82631,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/bypass-responses/secret-scanning/{bypass_response_id}": delete: summary: Dismiss a response on a bypass request for secret scanning @@ -82425,8 +82652,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *509 - *510 + - *511 - name: bypass_response_id in: path required: true @@ -82439,7 +82666,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/check-runs": post: summary: Create a check run @@ -82459,8 +82686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -82739,7 +82966,7 @@ paths: description: Response content: application/json: - schema: &572 + schema: &573 title: CheckRun description: A check performed on the code of a given code change type: object @@ -82850,16 +83077,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *239 - deployment: &934 + items: *240 + deployment: &937 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -82926,8 +83153,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 required: - id - node_id @@ -83139,9 +83366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *509 - *510 - - &573 + - *511 + - &574 name: check_run_id description: The unique identifier of the check run. in: path @@ -83153,9 +83380,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *573 examples: - default: &574 + default: &575 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -83255,9 +83482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *509 - *510 - - *573 + - *511 + - *574 requestBody: required: true content: @@ -83497,9 +83724,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *573 examples: - default: *574 + default: *575 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83519,9 +83746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *509 - *510 - - *573 + - *511 + - *574 - *17 - *19 responses: @@ -83596,7 +83823,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: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83616,15 +83843,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *509 - *510 - - *573 + - *511 + - *574 responses: '201': description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -83662,8 +83889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -83685,7 +83912,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &577 + schema: &578 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -83749,7 +83976,7 @@ paths: nullable: true pull_requests: type: array - items: *239 + items: *240 nullable: true app: title: GitHub app @@ -83760,9 +83987,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 - repository: *295 + properties: *230 + required: *231 + repository: *296 created_at: type: string format: date-time @@ -83771,12 +83998,12 @@ paths: type: string format: date-time nullable: true - head_commit: &967 + head_commit: &970 title: Simple Commit description: A commit. type: object - properties: *575 - required: *576 + properties: *576 + required: *577 latest_check_runs_count: type: integer check_runs_url: @@ -83804,7 +84031,7 @@ paths: - check_runs_url - pull_requests examples: - default: &578 + default: &579 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -84095,9 +84322,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *577 + schema: *578 examples: - default: *578 + default: *579 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84116,8 +84343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -84178,7 +84405,7 @@ paths: required: - app_id - setting - repository: *295 + repository: *296 examples: default: value: @@ -84426,9 +84653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *509 - *510 - - &579 + - *511 + - &580 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -84440,9 +84667,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: - default: *578 + default: *579 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84465,17 +84692,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *509 - *510 - - *579 - - &631 + - *511 + - *580 + - &634 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &632 + - &635 name: status description: Returns check runs with the specified `status`. in: query @@ -84514,9 +84741,9 @@ paths: type: integer check_runs: type: array - items: *572 + items: *573 examples: - default: &633 + default: &636 value: total_count: 1 check_runs: @@ -84598,7 +84825,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84618,15 +84845,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *509 - *510 - - *579 + - *511 + - *580 responses: '201': description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -84635,6 +84862,461 @@ paths: enabledForGitHubApps: true category: checks subcategory: suites + "/repos/{owner}/{repo}/code-quality/findings": + get: + summary: List code quality findings for a repository + description: |- + Lists code quality findings for a repository. + + OAuth 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/list-findings-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository + parameters: + - *510 + - *511 + - *17 + - *113 + - *111 + - *112 + - 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: &581 + 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': &582 + description: Response if the user is not authorized to access Code quality + for this repository. + content: + application/json: + schema: *3 + '404': *6 + '503': *204 + 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. + + OAuth 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: + - *510 + - *511 + - 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: *581 + 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 + Sometimes 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': *582 + '404': *6 + '503': *204 + 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. + + OAuth 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: + - *510 + - *511 + 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. + nullable: true + type: string + enum: + - standard + - labeled + runner_label: + description: Runner label to be used if the runner type is labeled. + nullable: true + type: string + example: code-scanning + updated_at: + description: Timestamp of latest configuration update. + nullable: true + type: string + format: date-time + example: '2023-12-06T14:20:20.000Z' + schedule: + description: The frequency of the periodic analysis. + nullable: true + type: string + enum: + - weekly + examples: + default: + value: + state: configured + languages: + - javascript-typescript + - python + runner_type: standard + runner_label: + updated_at: '2023-01-01T00:00:00Z' + schedule: weekly + '403': *582 + '404': *6 + '503': *204 + 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. + + OAuth 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: + - *510 + - *511 + 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: + nullable: true + description: Runner label to be used if the runner type is labeled. + type: string + example: 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: *307 + examples: + default: + value: + '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. + You 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: *3 + '404': *6 + '409': + description: Response if there is already a code quality setup configuration + update in progress + content: + application/json: + schema: *3 + '422': + description: Response if the configuration change cannot be made + content: + application/json: + schema: *3 + '503': *204 + 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 @@ -84653,30 +85335,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *509 - *510 - - *332 + - *511 - *333 + - *334 - *19 - *17 - - &595 + - &598 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: *580 - - &596 + schema: *583 + - &599 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *112 - - *110 + - *113 - *111 + - *112 - name: sort description: The property by which to sort the results. in: query @@ -84692,13 +85374,13 @@ paths: be returned. in: query required: false - schema: *334 + schema: *335 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *581 + schema: *584 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -84717,14 +85399,14 @@ paths: items: type: object properties: - number: *134 - created_at: *141 - updated_at: *142 - url: *139 - html_url: *140 - instances_url: *582 - state: *115 - fixed_at: *144 + number: *135 + created_at: *142 + updated_at: *143 + url: *140 + html_url: *141 + instances_url: *585 + state: *116 + fixed_at: *145 dismissed_by: title: Simple User description: A GitHub user. @@ -84732,12 +85414,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *143 - dismissed_reason: *583 - dismissed_comment: *584 - rule: *585 - tool: *586 - most_recent_instance: *587 + dismissed_at: *144 + dismissed_reason: *586 + dismissed_comment: *587 + rule: *588 + tool: *589 + most_recent_instance: *590 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -84862,15 +85544,15 @@ paths: end_column: 18 classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances - '304': *37 - '403': &588 + '304': *38 + '403': &591 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84890,9 +85572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *509 - *510 - - &589 + - *511 + - &592 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -84900,23 +85582,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *134 + schema: *135 responses: '200': description: Response content: application/json: - schema: &590 + schema: &593 type: object properties: - number: *134 - created_at: *141 - updated_at: *142 - url: *139 - html_url: *140 - instances_url: *582 - state: *115 - fixed_at: *144 + number: *135 + created_at: *142 + updated_at: *143 + url: *140 + html_url: *141 + instances_url: *585 + state: *116 + fixed_at: *145 dismissed_by: title: Simple User description: A GitHub user. @@ -84924,9 +85606,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *143 - dismissed_reason: *583 - dismissed_comment: *584 + dismissed_at: *144 + dismissed_reason: *586 + dismissed_comment: *587 rule: type: object properties: @@ -84980,8 +85662,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *586 - most_recent_instance: *587 + tool: *589 + most_recent_instance: *590 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -85079,10 +85761,10 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '304': *37 - '403': *588 + '304': *38 + '403': *591 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85100,9 +85782,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *509 - *510 - - *589 + - *511 + - *592 requestBody: required: true content: @@ -85117,8 +85799,8 @@ paths: enum: - open - dismissed - dismissed_reason: *583 - dismissed_comment: *584 + dismissed_reason: *586 + dismissed_comment: *587 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -85146,7 +85828,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: default: value: @@ -85222,14 +85904,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &594 + '403': &597 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': *203 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -85249,15 +85931,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *509 - *510 - - *589 + - *511 + - *592 responses: '200': description: Response content: application/json: - schema: &591 + schema: &594 type: object properties: status: @@ -85283,13 +85965,13 @@ paths: - description - started_at examples: - default: &592 + default: &595 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &593 + '400': &596 description: Bad Request content: application/json: @@ -85300,9 +85982,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': *588 + '403': *591 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85325,29 +86007,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *509 - *510 - - *589 + - *511 + - *592 responses: '200': description: OK content: application/json: - schema: *591 + schema: *594 examples: - default: *592 + default: *595 '202': description: Accepted content: application/json: - schema: *591 + schema: *594 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *593 + '400': *596 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -85357,7 +86039,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85379,9 +86061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *509 - *510 - - *589 + - *511 + - *592 requestBody: required: false content: @@ -85426,12 +86108,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *593 - '403': *594 + '400': *596 + '403': *597 '404': *6 '422': description: Unprocessable Entity - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85451,13 +86133,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *509 - *510 - - *589 + - *511 + - *592 - *19 - *17 - - *595 - - *596 + - *598 + - *599 responses: '200': description: Response @@ -85468,10 +86150,10 @@ paths: items: type: object properties: - ref: *580 - analysis_key: *597 - environment: *598 - category: *599 + ref: *583 + analysis_key: *600 + environment: *601 + category: *602 state: type: string description: State of a code scanning alert instance. @@ -85486,7 +86168,7 @@ paths: properties: text: type: string - location: *600 + location: *603 html_url: type: string classifications: @@ -85494,7 +86176,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: *601 + items: *604 examples: default: value: @@ -85531,9 +86213,9 @@ paths: end_column: 50 classifications: - source - '403': *588 + '403': *591 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85565,29 +86247,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *509 - *510 - - *332 + - *511 - *333 + - *334 - *19 - *17 - - *596 + - *599 - 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: *580 + schema: *583 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &602 + schema: &605 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *112 + - *113 - name: sort description: The property by which to sort the results. in: query @@ -85604,23 +86286,23 @@ paths: application/json: schema: type: array - items: &603 + items: &606 type: object properties: - ref: *580 - commit_sha: &611 + ref: *583 + commit_sha: &614 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: *597 + analysis_key: *600 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *599 + category: *602 error: type: string example: error reading field xyz @@ -85644,8 +86326,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *602 - tool: *586 + sarif_id: *605 + tool: *589 deletable: type: boolean warning: @@ -85706,9 +86388,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *588 + '403': *591 '404': *6 - '503': *203 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -85742,8 +86424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *509 - *510 + - *511 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -85756,7 +86438,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *606 examples: response: summary: application/json response @@ -85810,14 +86492,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *588 + '403': *591 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *203 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -85897,8 +86579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *509 - *510 + - *511 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -85951,9 +86633,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': *594 + '403': *597 '404': *6 - '503': *203 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -85973,8 +86655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -85982,7 +86664,7 @@ paths: application/json: schema: type: array - items: &604 + items: &607 title: CodeQL Database description: A CodeQL database. type: object @@ -86093,9 +86775,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': *588 + '403': *591 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86122,8 +86804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *509 - *510 + - *511 - name: language in: path description: The language of the CodeQL database. @@ -86135,7 +86817,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *607 examples: default: value: @@ -86167,11 +86849,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': &642 + '302': &645 description: Found - '403': *588 + '403': *591 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86191,8 +86873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *509 - *510 + - *511 - name: language in: path description: The language of the CodeQL database. @@ -86202,9 +86884,9 @@ paths: responses: '204': description: Response - '403': *594 + '403': *597 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86230,8 +86912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -86240,7 +86922,7 @@ paths: type: object additionalProperties: false properties: - language: &605 + language: &608 type: string description: The language targeted by the CodeQL query enum: @@ -86320,7 +87002,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &609 + schema: &612 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -86328,9 +87010,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *122 + controller_repo: *123 actor: *4 - query_language: *605 + query_language: *608 query_pack_url: type: string description: The download url for the query pack. @@ -86377,7 +87059,7 @@ paths: items: type: object properties: - repository: &606 + repository: &609 title: Repository Identifier description: Repository Identifier type: object @@ -86413,7 +87095,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &610 + analysis_status: &613 type: string description: The new status of the CodeQL variant analysis repository task. @@ -86445,7 +87127,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &607 + access_mismatch_repos: &610 type: object properties: repository_count: @@ -86459,7 +87141,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: *606 + items: *609 required: - repository_count - repositories @@ -86481,8 +87163,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *607 - over_limit_repos: *607 + no_codeql_db_repos: *610 + over_limit_repos: *610 required: - access_mismatch_repos - not_found_repos @@ -86498,7 +87180,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &608 + value: &611 summary: Default response value: id: 1 @@ -86644,17 +87326,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *608 + value: *611 repository_lists: summary: Response for a successful variant analysis submission - value: *608 + value: *611 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86675,8 +87357,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *509 - *510 + - *511 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -86688,11 +87370,11 @@ paths: description: Response content: application/json: - schema: *609 + schema: *612 examples: - default: *608 + default: *611 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86713,7 +87395,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *509 + - *510 - name: repo in: path description: The name of the controller repository. @@ -86747,8 +87429,8 @@ paths: schema: type: object properties: - repository: *122 - analysis_status: *610 + repository: *123 + analysis_status: *613 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -86852,7 +87534,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86873,8 +87555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -86959,9 +87641,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *588 + '403': *591 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86980,8 +87662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -87048,7 +87730,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -87073,7 +87755,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *594 + '403': *597 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -87087,7 +87769,7 @@ paths: content: application/json: schema: *3 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87144,8 +87826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -87153,7 +87835,7 @@ paths: schema: type: object properties: - commit_sha: *611 + commit_sha: *614 ref: type: string description: |- @@ -87211,7 +87893,7 @@ paths: schema: type: object properties: - id: *602 + id: *605 url: type: string description: The REST API URL for checking the status of the upload. @@ -87225,11 +87907,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': *594 + '403': *597 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *203 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87248,8 +87930,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *509 - *510 + - *511 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -87295,10 +87977,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': *588 + '403': *591 '404': description: Not Found if the sarif id does not match any upload - '503': *203 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87320,8 +88002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -87345,7 +88027,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *116 + configuration: *117 examples: default: value: @@ -87377,8 +88059,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': *130 - '304': *37 + '204': *129 + '304': *38 '403': *29 '404': *6 x-github: @@ -87402,8 +88084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *509 - *510 + - *511 - 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 @@ -87523,8 +88205,8 @@ paths: parameters: - *17 - *19 - - *509 - *510 + - *511 responses: '200': description: Response @@ -87540,7 +88222,7 @@ paths: type: integer codespaces: type: array - items: *408 + items: *409 examples: default: value: @@ -87816,7 +88498,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': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -87838,8 +88520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -87902,22 +88584,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *408 + schema: *409 examples: - default: *612 + default: *615 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *408 + schema: *409 examples: - default: *612 + default: *615 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87941,8 +88623,8 @@ paths: parameters: - *17 - *19 - - *509 - *510 + - *511 responses: '200': description: Response @@ -87982,7 +88664,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *40 + '500': *41 '400': *14 '401': *25 '403': *29 @@ -88006,8 +88688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *509 - *510 + - *511 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -88042,14 +88724,14 @@ paths: type: integer machines: type: array - items: &877 + items: &880 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *613 - required: *614 + properties: *616 + required: *617 examples: - default: &878 + default: &881 value: total_count: 2 machines: @@ -88065,8 +88747,8 @@ paths: storage_in_bytes: 68719476736 memory_in_bytes: 34359738368 cpus: 8 - '304': *37 - '500': *40 + '304': *38 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -88089,8 +88771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *509 - *510 + - *511 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -88174,8 +88856,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *509 - *510 + - *511 - 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 @@ -88220,7 +88902,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88241,8 +88923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -88260,7 +88942,7 @@ paths: type: integer secrets: type: array - items: &618 + items: &621 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -88280,9 +88962,9 @@ paths: - created_at - updated_at examples: - default: *615 + default: *618 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88303,16 +88985,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *616 + schema: *619 examples: - default: *617 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -88332,17 +89014,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 responses: '200': description: Response content: application/json: - schema: *618 + schema: *621 examples: - default: *619 + default: *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88362,9 +89044,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 requestBody: required: true content: @@ -88392,7 +89074,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -88416,9 +89098,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 responses: '204': description: Response @@ -88446,8 +89128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *509 - *510 + - *511 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -88489,7 +89171,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &620 + properties: &623 login: type: string example: octocat @@ -88582,7 +89264,7 @@ paths: user_view_type: type: string example: public - required: &621 + required: &624 - avatar_url - events_url - followers_url @@ -88631,7 +89313,7 @@ paths: admin: false role_name: write headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -88656,9 +89338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *509 - *510 - - *151 + - *511 + - *152 responses: '204': description: Response if user is a collaborator @@ -88704,9 +89386,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *509 - *510 - - *151 + - *511 + - *152 requestBody: required: false content: @@ -88732,7 +89414,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &699 + schema: &702 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -88743,7 +89425,7 @@ paths: example: 42 type: integer format: int64 - repository: *295 + repository: *296 invitee: title: Simple User description: A GitHub user. @@ -88921,7 +89603,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *270 + schema: *271 '403': *29 x-github: triggersNotification: true @@ -88961,9 +89643,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *509 - *510 - - *151 + - *511 + - *152 responses: '204': description: No Content when collaborator was removed from the repository. @@ -88994,9 +89676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *509 - *510 - - *151 + - *511 + - *152 responses: '200': description: if user has admin permissions @@ -89016,8 +89698,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *620 - required: *621 + properties: *623 + required: *624 nullable: true required: - permission @@ -89072,8 +89754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -89083,7 +89765,7 @@ paths: application/json: schema: type: array - items: &622 + items: &625 title: Commit Comment description: Commit Comment type: object @@ -89124,8 +89806,8 @@ paths: updated_at: type: string format: date-time - author_association: *231 - reactions: *232 + author_association: *232 + reactions: *233 required: - url - html_url @@ -89141,7 +89823,7 @@ paths: - created_at - updated_at examples: - default: &627 + default: &630 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -89175,7 +89857,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89200,17 +89882,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 responses: '200': description: Response content: application/json: - schema: *622 + schema: *625 examples: - default: &628 + default: &631 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -89267,9 +89949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 requestBody: required: true content: @@ -89291,7 +89973,7 @@ paths: description: Response content: application/json: - schema: *622 + schema: *625 examples: default: value: @@ -89342,9 +90024,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 responses: '204': description: Response @@ -89365,9 +90047,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -89393,7 +90075,7 @@ paths: application/json: schema: type: array - items: &623 + items: &626 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -89436,7 +90118,7 @@ paths: - content - created_at examples: - default: &704 + default: &706 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -89462,7 +90144,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -89481,9 +90163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 requestBody: required: true content: @@ -89515,9 +90197,9 @@ paths: description: Reaction exists content: application/json: - schema: *623 + schema: *626 examples: - default: &624 + default: &627 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -89546,9 +90228,9 @@ paths: description: Reaction created content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 '422': *15 x-github: githubCloudOnly: false @@ -89570,10 +90252,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *509 - *510 - - *250 - - &705 + - *511 + - *251 + - &707 name: reaction_id description: The unique identifier of the reaction. in: path @@ -89628,8 +90310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *509 - *510 + - *511 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -89685,9 +90367,9 @@ paths: application/json: schema: type: array - items: *625 + items: *628 examples: - default: &774 + default: &777 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -89757,11 +90439,11 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *47 - '500': *40 + Link: *48 + '500': *41 '400': *14 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89781,9 +90463,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *509 - *510 - - &626 + - *511 + - &629 name: commit_sha description: The SHA of the commit. in: path @@ -89830,7 +90512,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89855,9 +90537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *509 - *510 - - *626 + - *511 + - *629 - *17 - *19 responses: @@ -89867,11 +90549,11 @@ paths: application/json: schema: type: array - items: *622 + items: *625 examples: - default: *627 + default: *630 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89897,9 +90579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *509 - *510 - - *626 + - *511 + - *629 requestBody: required: true content: @@ -89934,9 +90616,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *625 examples: - default: *628 + default: *631 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -89964,9 +90646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *509 - *510 - - *626 + - *511 + - *629 - *17 - *19 responses: @@ -89976,9 +90658,9 @@ paths: application/json: schema: type: array - items: *629 + items: *632 examples: - default: &766 + default: &768 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -90457,8 +91139,8 @@ paths: auto_merge: draft: false headers: - Link: *47 - '409': *121 + Link: *48 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90515,11 +91197,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *509 - *510 + - *511 - *19 - *17 - - &630 + - &633 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)" @@ -90534,9 +91216,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *628 examples: - default: &751 + default: &753 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -90624,7 +91306,7 @@ paths: schema: type: string examples: - default: &639 + default: &642 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -90637,7 +91319,7 @@ paths: schema: type: string examples: - default: &640 + default: &643 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -90663,9 +91345,9 @@ paths: value: ac3282a2725be3b1d4979169a7a311c89066af1c '422': *15 '404': *6 - '500': *40 - '503': *203 - '409': *121 + '500': *41 + '503': *204 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90690,11 +91372,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *509 - *510 - - *630 - - *631 - - *632 + - *511 + - *633 + - *634 + - *635 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -90728,11 +91410,11 @@ paths: type: integer check_runs: type: array - items: *572 + items: *573 examples: - default: *633 + default: *636 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90755,9 +91437,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *509 - *510 - - *630 + - *511 + - *633 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -90765,7 +91447,7 @@ paths: schema: type: integer example: 1 - - *631 + - *634 - *17 - *19 responses: @@ -90783,7 +91465,7 @@ paths: type: integer check_suites: type: array - items: *577 + items: *578 examples: default: value: @@ -90958,7 +91640,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: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90983,9 +91665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *509 - *510 - - *630 + - *511 + - *633 - *17 - *19 responses: @@ -91052,7 +91734,7 @@ paths: type: string total_count: type: integer - repository: *295 + repository: *296 commit_url: type: string format: uri @@ -91183,9 +91865,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *509 - *510 - - *630 + - *511 + - *633 - *17 - *19 responses: @@ -91195,7 +91877,7 @@ paths: application/json: schema: type: array - items: &829 + items: &832 title: Status description: The status of a commit. type: object @@ -91275,8 +91957,8 @@ paths: type: User site_admin: false headers: - Link: *47 - '301': *515 + Link: *48 + '301': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91304,8 +91986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -91334,20 +92016,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *634 - required: *635 + properties: *637 + required: *638 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &636 + properties: &639 url: type: string format: uri html_url: type: string format: uri - required: &637 + required: &640 - url - html_url nullable: true @@ -91355,32 +92037,32 @@ paths: title: License Simple description: License Simple type: object - properties: *237 - required: *238 + properties: *238 + required: *239 nullable: true contributing: title: Community Health File type: object - properties: *636 - required: *637 + properties: *639 + required: *640 nullable: true readme: title: Community Health File type: object - properties: *636 - required: *637 + properties: *639 + required: *640 nullable: true issue_template: title: Community Health File type: object - properties: *636 - required: *637 + properties: *639 + required: *640 nullable: true pull_request_template: title: Community Health File type: object - properties: *636 - required: *637 + properties: *639 + required: *640 nullable: true required: - code_of_conduct @@ -91507,8 +92189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *509 - *510 + - *511 - *19 - *17 - name: basehead @@ -91551,8 +92233,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *625 - merge_base_commit: *625 + base_commit: *628 + merge_base_commit: *628 status: type: string enum: @@ -91572,10 +92254,10 @@ paths: example: 6 commits: type: array - items: *625 + items: *628 files: type: array - items: *638 + items: *641 required: - url - html_url @@ -91821,15 +92503,15 @@ paths: schema: type: string examples: - default: *639 + default: *642 application/vnd.github.patch: schema: type: string examples: - default: *640 + default: *643 '404': *6 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91871,8 +92553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *509 - *510 + - *511 - name: path description: path parameter in: path @@ -92032,7 +92714,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &641 + response-if-content-is-a-file-github-object: &644 summary: Response if content is a file value: type: file @@ -92164,7 +92846,7 @@ paths: - size - type - url - - &779 + - &782 title: Content File description: Content File type: object @@ -92365,7 +93047,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *641 + response-if-content-is-a-file: *644 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -92434,8 +93116,8 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *642 - '304': *37 + '302': *645 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92457,8 +93139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *509 - *510 + - *511 - name: path description: path parameter in: path @@ -92551,7 +93233,7 @@ paths: description: Response content: application/json: - schema: &643 + schema: &646 title: File Commit description: File Commit type: object @@ -92703,7 +93385,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *646 examples: example-for-creating-a-file: value: @@ -92757,7 +93439,7 @@ paths: schema: oneOf: - *3 - - &681 + - &684 description: Repository rule violation was detected type: object properties: @@ -92778,7 +93460,7 @@ paths: items: type: object properties: - placeholder_id: &821 + placeholder_id: &824 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -92810,8 +93492,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *509 - *510 + - *511 - name: path description: path parameter in: path @@ -92872,7 +93554,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *646 examples: default: value: @@ -92906,8 +93588,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *121 - '503': *203 + '409': *122 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92927,8 +93609,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *509 - *510 + - *511 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -93028,7 +93710,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *47 + Link: *48 '204': description: Response if repository is empty '403': *29 @@ -93057,8 +93739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -93168,7 +93850,7 @@ paths: custom_allowlist: - sentry.io - https://api.example.com - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -93190,27 +93872,27 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *509 - *510 - - *353 + - *511 - *354 - *355 - *356 - *357 + - *358 - 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 - - *358 - - *644 - *359 + - *647 - *360 - *361 - - *112 - - *110 + - *362 + - *113 - *111 + - *112 - *17 responses: '200': @@ -93219,11 +93901,11 @@ paths: application/json: schema: type: array - items: &648 + items: &651 type: object description: A Dependabot alert. properties: - number: *134 + number: *135 state: type: string description: The state of the Dependabot alert. @@ -93238,7 +93920,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *135 + package: *136 manifest_path: type: string description: The full path to the dependency manifest file, @@ -93266,13 +93948,13 @@ paths: - direct - transitive - inconclusive - security_advisory: *645 - security_vulnerability: *138 - url: *139 - html_url: *140 - created_at: *141 - updated_at: *142 - dismissed_at: *143 + security_advisory: *648 + security_vulnerability: *139 + url: *140 + html_url: *141 + created_at: *142 + updated_at: *143 + dismissed_at: *144 dismissed_by: title: Simple User description: A GitHub user. @@ -93296,9 +93978,9 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *144 - auto_dismissed_at: *646 - dismissal_request: *647 + fixed_at: *145 + auto_dismissed_at: *649 + dismissal_request: *650 assignees: type: array description: The users assigned to this alert. @@ -93529,7 +94211,7 @@ paths: dismissed_comment: fixed_at: assignees: [] - '304': *37 + '304': *38 '400': *14 '403': *29 '404': *6 @@ -93553,9 +94235,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *509 - *510 - - &649 + - *511 + - &652 name: alert_number in: path description: |- @@ -93564,13 +94246,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *134 + schema: *135 responses: '200': description: Response content: application/json: - schema: *648 + schema: *651 examples: default: value: @@ -93680,7 +94362,7 @@ paths: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false - '304': *37 + '304': *38 '403': *29 '404': *6 x-github: @@ -93702,9 +94384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *509 - *510 - - *649 + - *511 + - *652 requestBody: required: true content: @@ -93777,7 +94459,7 @@ paths: description: Response content: application/json: - schema: *648 + schema: *651 examples: default: value: @@ -93884,7 +94566,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *121 + '409': *122 '422': *7 x-github: githubCloudOnly: false @@ -93907,8 +94589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -93926,7 +94608,7 @@ paths: type: integer secrets: type: array - items: &652 + items: &655 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -93957,7 +94639,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93979,16 +94661,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *650 + schema: *653 examples: - default: *651 + default: *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94008,15 +94690,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 responses: '200': description: Response content: application/json: - schema: *652 + schema: *655 examples: default: value: @@ -94042,9 +94724,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 requestBody: required: true content: @@ -94072,7 +94754,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -94096,9 +94778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 responses: '204': description: Response @@ -94120,8 +94802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *509 - *510 + - *511 - 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 @@ -94257,7 +94939,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *47 + Link: *48 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -94266,8 +94948,8 @@ paths: application/json: schema: *3 '400': *14 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: false category: dependency-graph @@ -94284,8 +94966,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -94501,7 +95183,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *47 + Link: *48 '404': *6 '403': *29 x-github: @@ -94523,8 +95205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *509 - *510 + - *511 - name: sbom_uuid in: path required: true @@ -94535,7 +95217,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *653 + Location: *656 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -94556,8 +95238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *509 - *510 + - *511 responses: '201': description: Response @@ -94595,8 +95277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -94671,7 +95353,7 @@ paths: - version - url additionalProperties: false - metadata: &654 + metadata: &657 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -94704,7 +95386,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *654 + metadata: *657 resolved: type: object description: A collection of resolved package dependencies. @@ -94717,7 +95399,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *654 + metadata: *657 relationship: type: string description: A notation of whether a dependency is requested @@ -94846,8 +95528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *509 - *510 + - *511 - name: sha description: The SHA recorded at creation time. in: query @@ -94887,11 +95569,11 @@ paths: application/json: schema: type: array - items: *655 + items: *658 examples: - default: *656 + default: *659 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94955,8 +95637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -95037,7 +95719,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *658 examples: simple-example: summary: Simple example @@ -95110,9 +95792,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *509 - *510 - - &657 + - *511 + - &660 name: deployment_id description: deployment_id parameter in: path @@ -95124,7 +95806,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *658 examples: default: value: @@ -95189,9 +95871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *509 - *510 - - *657 + - *511 + - *660 responses: '204': description: Response @@ -95213,9 +95895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *509 - *510 - - *657 + - *511 + - *660 - *17 - *19 responses: @@ -95225,7 +95907,7 @@ paths: application/json: schema: type: array - items: &658 + items: &661 title: Deployment Status description: The status of a deployment. type: object @@ -95316,8 +95998,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 required: - id - node_id @@ -95366,7 +96048,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -95386,9 +96068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *509 - *510 - - *657 + - *511 + - *660 requestBody: required: true content: @@ -95463,9 +96145,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *661 examples: - default: &659 + default: &662 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -95521,9 +96203,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *509 - *510 - - *657 + - *511 + - *660 - name: status_id in: path required: true @@ -95534,9 +96216,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *661 examples: - default: *659 + default: *662 '404': *6 x-github: githubCloudOnly: false @@ -95563,12 +96245,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *509 - *510 - - *660 - - *661 - - *662 + - *511 - *663 + - *664 + - *665 + - *666 - *17 - *19 responses: @@ -95578,12 +96260,12 @@ paths: application/json: schema: type: array - items: *664 + items: *667 examples: - default: *665 + default: *668 '404': *6 '403': *29 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/dismissal-requests/code-scanning/{alert_number}": get: summary: Get a dismissal request for a code scanning alert for a repository @@ -95604,8 +96286,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *509 - *510 + - *511 - name: alert_number in: path required: true @@ -95617,7 +96299,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *664 + schema: *667 examples: default: value: @@ -95653,7 +96335,7 @@ paths: html_url: https://github.com/octo-org/smile/code-scanning/alerts/1 '404': *6 '403': *29 - '500': *40 + '500': *41 patch: summary: Review a dismissal request for a code scanning alert for a repository description: |- @@ -95673,8 +96355,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *509 - *510 + - *511 - name: alert_number in: path required: true @@ -95712,7 +96394,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/dismissal-requests/dependabot": get: summary: List dismissal requests for Dependabot alerts for a repository @@ -95733,12 +96415,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - *510 - - *660 - - *661 - - *662 + - *511 - *663 + - *664 + - *665 + - *666 - *17 - *19 responses: @@ -95748,12 +96430,12 @@ paths: application/json: schema: type: array - items: *666 + items: *669 examples: - default: *667 + default: *670 '404': *6 '403': *29 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/dismissal-requests/dependabot/{alert_number}": get: summary: Get a dismissal request for a Dependabot alert for a repository @@ -95774,8 +96456,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - *510 + - *511 - name: alert_number in: path required: true @@ -95787,7 +96469,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *666 + schema: *669 examples: default: value: @@ -95818,7 +96500,7 @@ paths: html_url: https://github.com/octo-org/smile/security/dependabot/1 '404': *6 '403': *29 - '500': *40 + '500': *41 post: summary: Create a dismissal request for a Dependabot alert for a repository description: |- @@ -95838,8 +96520,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - *510 + - *511 - name: alert_number in: path required: true @@ -95877,7 +96559,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *666 + schema: *669 examples: default: value: @@ -95908,7 +96590,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *40 + '500': *41 patch: summary: Review a dismissal request for a Dependabot alert for a repository description: |- @@ -95928,8 +96610,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - *510 + - *511 - name: alert_number in: path required: true @@ -95979,7 +96661,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *40 + '500': *41 delete: summary: Cancel a dismissal request for a Dependabot alert for a repository description: |- @@ -96000,8 +96682,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - *510 + - *511 - name: alert_number in: path required: true @@ -96013,7 +96695,7 @@ paths: description: Dismissal request cancelled successfully. '404': *6 '403': *29 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for a repository @@ -96034,12 +96716,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *509 - *510 - - *105 + - *511 - *106 - *107 - - *367 + - *108 + - *368 - *17 - *19 responses: @@ -96049,12 +96731,12 @@ paths: application/json: schema: type: array - items: *369 + items: *370 examples: - default: *370 + default: *371 '404': *6 '403': *29 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}": get: summary: Get an alert dismissal request for secret scanning @@ -96076,8 +96758,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *509 - *510 + - *511 - name: alert_number in: path required: true @@ -96089,7 +96771,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *369 + schema: *370 examples: default: value: @@ -96126,7 +96808,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/17 '404': *6 '403': *29 - '500': *40 + '500': *41 patch: summary: Review an alert dismissal request for secret scanning description: |- @@ -96147,8 +96829,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *509 - *510 + - *511 - name: alert_number in: path required: true @@ -96198,7 +96880,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/dispatches": post: summary: Create a repository dispatch event @@ -96217,8 +96899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -96275,8 +96957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -96293,7 +96975,7 @@ paths: type: integer environments: type: array - items: &669 + items: &672 title: Environment description: Details of a deployment environment type: object @@ -96345,7 +97027,7 @@ paths: type: type: string example: wait_timer - wait_timer: &671 + wait_timer: &674 type: integer example: 30 description: The amount of time to delay a job after @@ -96382,11 +97064,11 @@ paths: items: type: object properties: - type: *668 + type: *671 reviewer: anyOf: - *4 - - *328 + - *329 required: - id - node_id @@ -96406,7 +97088,7 @@ paths: - id - node_id - type - deployment_branch_policy: &672 + deployment_branch_policy: &675 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -96522,9 +97204,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *509 - *510 - - &670 + - *511 + - &673 name: environment_name in: path required: true @@ -96537,9 +97219,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *672 examples: - default: &673 + default: &676 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -96623,9 +97305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *509 - *510 - - *670 + - *511 + - *673 requestBody: required: false content: @@ -96634,7 +97316,7 @@ paths: type: object nullable: true properties: - wait_timer: *671 + wait_timer: *674 prevent_self_review: type: boolean example: false @@ -96651,13 +97333,13 @@ paths: items: type: object properties: - type: *668 + type: *671 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *672 + deployment_branch_policy: *675 additionalProperties: false examples: default: @@ -96677,9 +97359,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *672 examples: - default: *673 + default: *676 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -96703,9 +97385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *509 - *510 - - *670 + - *511 + - *673 responses: '204': description: Default response @@ -96730,9 +97412,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *509 - *510 - - *670 + - *511 + - *673 - *17 - *19 responses: @@ -96750,7 +97432,7 @@ paths: example: 2 branch_policies: type: array - items: &674 + items: &677 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -96807,9 +97489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *509 - *510 - - *670 + - *511 + - *673 requestBody: required: true content: @@ -96855,9 +97537,9 @@ paths: description: Response content: application/json: - schema: *674 + schema: *677 examples: - example-wildcard: &675 + example-wildcard: &678 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -96899,10 +97581,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *509 - *510 - - *670 - - &676 + - *511 + - *673 + - &679 name: branch_policy_id in: path required: true @@ -96914,9 +97596,9 @@ paths: description: Response content: application/json: - schema: *674 + schema: *677 examples: - default: *675 + default: *678 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96935,10 +97617,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *509 - *510 - - *670 - - *676 + - *511 + - *673 + - *679 requestBody: required: true content: @@ -96966,9 +97648,9 @@ paths: description: Response content: application/json: - schema: *674 + schema: *677 examples: - default: *675 + default: *678 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96987,10 +97669,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *509 - *510 - - *670 - - *676 + - *511 + - *673 + - *679 responses: '204': description: Response @@ -97015,9 +97697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *670 + - *673 + - *511 - *510 - - *509 responses: '200': description: List of deployment protection rules @@ -97033,7 +97715,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &677 + items: &680 title: Deployment protection rule description: Deployment protection rule type: object @@ -97052,7 +97734,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &678 + app: &681 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -97151,9 +97833,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *670 + - *673 + - *511 - *510 - - *509 requestBody: content: application/json: @@ -97174,9 +97856,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *677 + schema: *680 examples: - default: &679 + default: &682 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -97211,9 +97893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *670 + - *673 + - *511 - *510 - - *509 - *19 - *17 responses: @@ -97232,7 +97914,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *678 + items: *681 examples: default: value: @@ -97267,10 +97949,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *509 - *510 - - *670 - - &680 + - *511 + - *673 + - &683 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -97282,9 +97964,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *680 examples: - default: *679 + default: *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97305,10 +97987,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *670 + - *673 + - *511 - *510 - - *509 - - *680 + - *683 responses: '204': description: Response @@ -97334,9 +98016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *509 - *510 - - *670 + - *511 + - *673 - *17 - *19 responses: @@ -97354,11 +98036,11 @@ paths: type: integer secrets: type: array - items: *539 + items: *540 examples: - default: *540 + default: *541 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97381,17 +98063,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *509 - *510 - - *670 + - *511 + - *673 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97413,18 +98095,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *509 - *510 - - *670 - - *305 + - *511 + - *673 + - *306 responses: '200': description: Response content: application/json: - schema: *539 + schema: *540 examples: - default: *553 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97446,10 +98128,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *509 - *510 - - *670 - - *305 + - *511 + - *673 + - *306 requestBody: required: true content: @@ -97480,7 +98162,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -97506,10 +98188,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *509 - *510 - - *670 - - *305 + - *511 + - *673 + - *306 responses: '204': description: Default response @@ -97534,10 +98216,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *509 - *510 - - *670 - - *314 + - *511 + - *673 + - *315 - *19 responses: '200': @@ -97554,11 +98236,11 @@ paths: type: integer variables: type: array - items: *541 + items: *542 examples: - default: *542 + default: *543 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97579,9 +98261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *509 - *510 - - *670 + - *511 + - *673 requestBody: required: true content: @@ -97608,7 +98290,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -97633,18 +98315,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *509 - *510 - - *670 - - *308 + - *511 + - *673 + - *309 responses: '200': description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: *554 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97665,10 +98347,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *509 - *510 - - *308 - - *670 + - *511 + - *309 + - *673 requestBody: required: true content: @@ -97710,10 +98392,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *509 - *510 - - *308 - - *670 + - *511 + - *309 + - *673 responses: '204': description: Response @@ -97735,8 +98417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -97746,7 +98428,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: 200-response: value: @@ -97804,8 +98486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *509 - *510 + - *511 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -97827,7 +98509,7 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: default: value: @@ -97940,7 +98622,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *47 + Link: *48 '400': *14 x-github: githubCloudOnly: false @@ -97964,8 +98646,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *509 - *510 + - *511 requestBody: required: false content: @@ -97997,9 +98679,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *516 + default: *517 '400': *14 '422': *15 '403': *29 @@ -98020,8 +98702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -98072,7 +98754,7 @@ paths: schema: type: string '404': *6 - '409': *121 + '409': *122 '403': *29 '422': description: Validation failed @@ -98080,8 +98762,8 @@ paths: application/json: schema: oneOf: - - *270 - - *681 + - *271 + - *684 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98106,8 +98788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *509 - *510 + - *511 - name: file_sha in: path required: true @@ -98158,7 +98840,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98206,8 +98888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -98316,7 +98998,7 @@ paths: description: Response content: application/json: - schema: &682 + schema: &685 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -98480,7 +99162,7 @@ paths: type: string '422': *15 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98530,15 +99212,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *509 - *510 - - *626 + - *511 + - *629 responses: '200': description: Response content: application/json: - schema: *682 + schema: *685 examples: default: value: @@ -98569,7 +99251,7 @@ paths: payload: verified_at: '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98594,9 +99276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *509 - *510 - - &683 + - *511 + - &686 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. @@ -98613,7 +99295,7 @@ paths: application/json: schema: type: array - items: &684 + items: &687 title: Git Reference description: Git references within a repository type: object @@ -98666,8 +99348,8 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *47 - '409': *121 + Link: *48 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98688,17 +99370,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *509 - *510 - - *683 + - *511 + - *686 responses: '200': description: Response content: application/json: - schema: *684 + schema: *687 examples: - default: &685 + default: &688 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -98708,7 +99390,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98727,8 +99409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -98757,16 +99439,16 @@ paths: description: Response content: application/json: - schema: *684 + schema: *687 examples: - default: *685 + default: *688 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98785,9 +99467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *509 - *510 - - *683 + - *511 + - *686 requestBody: required: true content: @@ -98816,11 +99498,11 @@ paths: description: Response content: application/json: - schema: *684 + schema: *687 examples: - default: *685 + default: *688 '422': *15 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98836,16 +99518,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *509 - *510 - - *683 + - *511 + - *686 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98893,8 +99575,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -98961,7 +99643,7 @@ paths: description: Response content: application/json: - schema: &687 + schema: &690 title: Git Tag description: Metadata for a Git tag type: object @@ -99012,7 +99694,7 @@ paths: - sha - type - url - verification: *686 + verification: *689 required: - sha - url @@ -99022,7 +99704,7 @@ paths: - tag - message examples: - default: &688 + default: &691 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -99049,7 +99731,7 @@ paths: schema: type: string '422': *15 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99095,8 +99777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *509 - *510 + - *511 - name: tag_sha in: path required: true @@ -99107,11 +99789,11 @@ paths: description: Response content: application/json: - schema: *687 + schema: *690 examples: - default: *688 + default: *691 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99133,8 +99815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -99207,7 +99889,7 @@ paths: description: Response content: application/json: - schema: &689 + schema: &692 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -99280,7 +99962,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99303,8 +99985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *509 - *510 + - *511 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -99327,7 +100009,7 @@ paths: description: Response content: application/json: - schema: *689 + schema: *692 examples: default-response: summary: Default response @@ -99368,7 +100050,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99385,8 +100067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -99429,8 +100111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -99440,7 +100122,7 @@ paths: application/json: schema: type: array - items: &690 + items: &693 title: Webhook description: Webhooks for repositories. type: object @@ -99494,7 +100176,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &975 + last_response: &978 title: Hook Response type: object properties: @@ -99549,7 +100231,7 @@ paths: status: unused message: headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -99568,8 +100250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *509 - *510 + - *511 requestBody: required: false content: @@ -99621,9 +100303,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *693 examples: - default: &691 + default: &694 value: type: Repository id: 12345678 @@ -99671,17 +100353,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *509 - *510 - - *375 + - *511 + - *376 responses: '200': description: Response content: application/json: - schema: *690 + schema: *693 examples: - default: *691 + default: *694 '404': *6 x-github: githubCloudOnly: false @@ -99701,9 +100383,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *509 - *510 - - *375 + - *511 + - *376 requestBody: required: true content: @@ -99748,9 +100430,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *693 examples: - default: *691 + default: *694 '422': *15 '404': *6 x-github: @@ -99771,9 +100453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *509 - *510 - - *375 + - *511 + - *376 responses: '204': description: Response @@ -99797,9 +100479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *509 - *510 - - *375 + - *511 + - *376 responses: '200': description: Response @@ -99826,9 +100508,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *509 - *510 - - *375 + - *511 + - *376 requestBody: required: false content: @@ -99872,12 +100554,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *509 - *510 - - *375 - - *17 + - *511 - *376 + - *17 - *377 + - *378 responses: '200': description: Response @@ -99885,9 +100567,9 @@ paths: application/json: schema: type: array - items: *378 + items: *379 examples: - default: *379 + default: *380 '400': *14 '422': *15 x-github: @@ -99906,18 +100588,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *509 - *510 - - *375 + - *511 + - *376 - *16 responses: '200': description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: *381 + default: *382 '400': *14 '422': *15 x-github: @@ -99936,12 +100618,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *509 - *510 - - *375 + - *511 + - *376 - *16 responses: - '202': *39 + '202': *40 '400': *14 '422': *15 x-github: @@ -99961,9 +100643,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *509 - *510 - - *375 + - *511 + - *376 responses: '204': description: Response @@ -99988,9 +100670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *509 - *510 - - *375 + - *511 + - *376 responses: '204': description: Response @@ -100013,8 +100695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response if immutable releases are enabled @@ -100060,11 +100742,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *509 - *510 + - *511 responses: - '204': *130 - '409': *121 + '204': *129 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100081,11 +100763,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *509 - *510 + - *511 responses: - '204': *130 - '409': *121 + '204': *129 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100139,14 +100821,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: &692 + schema: &695 title: Import description: A repository import from an external source. type: object @@ -100245,7 +100927,7 @@ paths: - html_url - authors_url examples: - default: &695 + default: &698 value: vcs: subversion use_lfs: true @@ -100261,7 +100943,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': &693 + '503': &696 description: Unavailable due to service under maintenance. content: application/json: @@ -100290,8 +100972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -100339,7 +101021,7 @@ paths: description: Response content: application/json: - schema: *692 + schema: *695 examples: default: value: @@ -100364,7 +101046,7 @@ paths: type: string '422': *15 '404': *6 - '503': *693 + '503': *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100392,8 +101074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *509 - *510 + - *511 requestBody: required: false content: @@ -100442,7 +101124,7 @@ paths: description: Response content: application/json: - schema: *692 + schema: *695 examples: example-1: summary: Example 1 @@ -100490,7 +101172,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': *693 + '503': *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100513,12 +101195,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *509 - *510 + - *511 responses: '204': description: Response - '503': *693 + '503': *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100544,9 +101226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *509 - *510 - - &900 + - *511 + - &903 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -100560,7 +101242,7 @@ paths: application/json: schema: type: array - items: &694 + items: &697 title: Porter Author description: Porter Author type: object @@ -100614,7 +101296,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': *693 + '503': *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100639,8 +101321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *509 - *510 + - *511 - name: author_id in: path required: true @@ -100670,7 +101352,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *697 examples: default: value: @@ -100683,7 +101365,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *693 + '503': *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100707,8 +101389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -100749,7 +101431,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *693 + '503': *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100777,8 +101459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -100805,11 +101487,11 @@ paths: description: Response content: application/json: - schema: *692 + schema: *695 examples: - default: *695 + default: *698 '422': *15 - '503': *693 + '503': *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100832,8 +101514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -100841,8 +101523,8 @@ paths: application/json: schema: *22 examples: - default: *393 - '301': *515 + default: *394 + '301': *516 '404': *6 x-github: githubCloudOnly: false @@ -100862,8 +101544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -100871,12 +101553,12 @@ paths: application/json: schema: anyOf: - - *395 + - *396 - type: object properties: {} additionalProperties: false examples: - default: &697 + default: &700 value: limit: collaborators_only origin: repository @@ -100901,13 +101583,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: application/json: - schema: *696 + schema: *699 examples: default: summary: Example request body @@ -100919,9 +101601,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: *697 + default: *700 '409': description: Response x-github: @@ -100943,8 +101625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -100971,8 +101653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -101026,13 +101708,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: application/json: - schema: &698 + schema: &701 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. @@ -101082,13 +101764,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: application/json: - schema: *698 + schema: *701 examples: default: summary: Example request body @@ -101121,8 +101803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -101175,8 +101857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -101252,8 +101934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -101263,9 +101945,9 @@ paths: application/json: schema: type: array - items: *699 + items: *702 examples: - default: &893 + default: &896 value: - id: 1 repository: @@ -101379,7 +102061,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101396,9 +102078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *509 - *510 - - *399 + - *511 + - *400 requestBody: required: false content: @@ -101427,7 +102109,7 @@ paths: description: Response content: application/json: - schema: *699 + schema: *702 examples: default: value: @@ -101558,9 +102240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *509 - *510 - - *399 + - *511 + - *400 responses: '204': description: Response @@ -101583,8 +102265,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -101592,9 +102274,9 @@ paths: application/json: schema: type: array - items: *403 + items: *404 examples: - default: *700 + default: *703 '404': *6 x-github: githubCloudOnly: false @@ -101623,8 +102305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *509 - *510 + - *511 - 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 @@ -101686,7 +102368,7 @@ paths: required: false schema: type: string - - *406 + - *407 - name: sort description: What to sort results by. in: query @@ -101698,8 +102380,8 @@ paths: - updated - comments default: created - - *112 - - *241 + - *113 + - *242 - *17 - *19 responses: @@ -101709,9 +102391,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: &715 + default: &717 value: - id: 1 node_id: MDU6SXNzdWUx @@ -101859,8 +102541,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *47 - '301': *515 + Link: *48 + '301': *516 '422': *15 '404': *6 x-github: @@ -101889,8 +102571,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -101997,9 +102679,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: &712 + default: &714 value: id: 1 node_id: MDU6SXNzdWUx @@ -102154,9 +102836,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *203 + '503': *204 '404': *6 - '410': *701 + '410': *33 x-github: triggersNotification: true githubCloudOnly: false @@ -102184,9 +102866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *509 - *510 - - *258 + - *511 + - *259 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -102196,7 +102878,7 @@ paths: enum: - asc - desc - - *241 + - *242 - *17 - *19 responses: @@ -102206,9 +102888,9 @@ paths: application/json: schema: type: array - items: *702 + items: *704 examples: - default: &714 + default: &716 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -102240,7 +102922,7 @@ paths: author_association: COLLABORATOR minimized: headers: - Link: *47 + Link: *48 '422': *15 '404': *6 x-github: @@ -102267,17 +102949,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 responses: '200': description: Response content: application/json: - schema: *702 + schema: *704 examples: - default: &703 + default: &705 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -102333,9 +103015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 requestBody: required: true content: @@ -102357,9 +103039,9 @@ paths: description: Response content: application/json: - schema: *702 + schema: *704 examples: - default: *703 + default: *705 '422': *15 x-github: githubCloudOnly: false @@ -102377,9 +103059,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 responses: '204': description: Response @@ -102407,15 +103089,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 responses: '200': description: Response content: application/json: - schema: *702 + schema: *704 examples: default: value: @@ -102471,7 +103153,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *701 + '410': *33 '422': *15 x-github: githubCloudOnly: false @@ -102488,17 +103170,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 responses: '204': description: Response '401': *25 '403': *29 '404': *6 - '410': *701 - '503': *203 + '410': *33 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102515,9 +103197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -102543,11 +103225,11 @@ paths: application/json: schema: type: array - items: *623 + items: *626 examples: - default: *704 + default: *706 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -102566,9 +103248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 requestBody: required: true content: @@ -102600,16 +103282,16 @@ paths: description: Reaction exists content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 '201': description: Reaction created content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 '422': *15 x-github: githubCloudOnly: false @@ -102631,10 +103313,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *509 - *510 - - *250 - - *705 + - *511 + - *251 + - *707 responses: '204': description: Response @@ -102654,8 +103336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -102665,7 +103347,7 @@ paths: application/json: schema: type: array - items: &711 + items: &713 title: Issue Event description: Issue Event type: object @@ -102708,8 +103390,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *706 - required: *707 + properties: *708 + required: *709 nullable: true label: title: Issue Event Label @@ -102753,7 +103435,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *328 + requested_team: *329 dismissed_review: title: Issue Event Dismissed Review type: object @@ -102818,7 +103500,7 @@ paths: required: - from - to - issue_type: &708 + issue_type: &710 title: Issue Type description: The type of issue. type: object @@ -102846,14 +103528,14 @@ paths: required: - id - name - prev_issue_type: *708 + prev_issue_type: *710 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: &709 + properties: &711 number: type: integer description: The number of the referenced issue. @@ -102867,7 +103549,7 @@ paths: type: string description: The reason for the referenced issue's state. nullable: true - repository: *122 + repository: *123 issue_type: title: Issue Type description: The type of the referenced issue. @@ -102891,7 +103573,7 @@ paths: - id - node_id - name - required: &710 + required: &712 - number - title - state @@ -102903,25 +103585,25 @@ paths: event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 blocking: title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: *709 - required: *710 - author_association: *231 + properties: *711 + required: *712 + author_association: *232 lock_reason: type: string nullable: true @@ -102934,8 +103616,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 required: - id - node_id @@ -103102,7 +103784,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *47 + Link: *48 '422': *15 x-github: githubCloudOnly: false @@ -103120,8 +103802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *509 - *510 + - *511 - name: event_id in: path required: true @@ -103132,7 +103814,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *713 examples: default: value: @@ -103325,7 +104007,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *701 + '410': *33 '403': *29 x-github: githubCloudOnly: false @@ -103359,9 +104041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *509 - *510 - - &713 + - *511 + - &715 name: issue_number description: The number that identifies the issue. in: path @@ -103373,11 +104055,11 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: default: summary: Issue - value: *712 + value: *714 pinned_comment: summary: Issue with pinned comment value: @@ -103576,10 +104258,10 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *515 + '301': *516 '404': *6 - '410': *701 - '304': *37 + '410': *33 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103603,9 +104285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: false content: @@ -103746,17 +104428,17 @@ paths: application/json: schema: allOf: - - *234 + - *235 - type: object properties: {} examples: - default: *712 + default: *714 '422': *15 - '503': *203 + '503': *204 '403': *29 - '301': *515 + '301': *516 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103774,9 +104456,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: false content: @@ -103802,9 +104484,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *712 + default: *714 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103820,9 +104502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: content: application/json: @@ -103847,9 +104529,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *712 + default: *714 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103871,9 +104553,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 - name: assignee in: path required: true @@ -103913,10 +104595,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *509 - *510 - - *713 - - *241 + - *511 + - *715 + - *242 - *17 - *19 responses: @@ -103926,13 +104608,13 @@ paths: application/json: schema: type: array - items: *702 + items: *704 examples: - default: *714 + default: *716 headers: - Link: *47 + Link: *48 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103961,9 +104643,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: true content: @@ -103985,16 +104667,16 @@ paths: description: Response content: application/json: - schema: *702 + schema: *704 examples: - default: *703 + default: *705 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *701 + '410': *33 '422': *15 '404': *6 x-github: @@ -104022,9 +104704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *509 - *510 - - *713 + - *511 + - *715 - *17 - *19 responses: @@ -104034,14 +104716,14 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *715 + default: *717 headers: - Link: *47 - '301': *515 + Link: *48 + '301': *516 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104069,9 +104751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: true content: @@ -104093,17 +104775,17 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *712 + default: *714 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *515 + '301': *516 '403': *29 - '410': *701 + '410': *33 '422': *15 '404': *6 x-github: @@ -104134,9 +104816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *509 - *510 - - *713 + - *511 + - *715 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -104148,15 +104830,15 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *712 - '301': *515 + default: *714 + '301': *516 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *701 + '410': *33 x-github: triggersNotification: true githubCloudOnly: false @@ -104182,9 +104864,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *509 - *510 - - *713 + - *511 + - *715 - *17 - *19 responses: @@ -104194,14 +104876,14 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *715 + default: *717 headers: - Link: *47 - '301': *515 + Link: *48 + '301': *516 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104218,9 +104900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *509 - *510 - - *713 + - *511 + - *715 - *17 - *19 responses: @@ -104234,7 +104916,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &719 + - &721 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -104265,8 +104947,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 label: type: object properties: @@ -104288,7 +104970,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &720 + - &722 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -104319,8 +105001,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 label: type: object properties: @@ -104408,8 +105090,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 assignee: *4 assigner: *4 required: @@ -104424,7 +105106,7 @@ paths: - performed_via_github_app - assignee - assigner - - &721 + - &723 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -104455,8 +105137,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 milestone: type: object properties: @@ -104475,7 +105157,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &722 + - &724 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -104506,8 +105188,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 milestone: type: object properties: @@ -104526,7 +105208,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &723 + - &725 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -104557,8 +105239,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 rename: type: object properties: @@ -104580,7 +105262,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &724 + - &726 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -104611,10 +105293,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 review_requester: *4 - requested_team: *328 + requested_team: *329 requested_reviewer: *4 required: - review_requester @@ -104627,7 +105309,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &725 + - &727 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -104658,10 +105340,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 review_requester: *4 - requested_team: *328 + requested_team: *329 requested_reviewer: *4 required: - review_requester @@ -104674,7 +105356,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &726 + - &728 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -104705,8 +105387,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 dismissed_review: type: object properties: @@ -104734,7 +105416,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &727 + - &729 title: Locked Issue Event description: Locked Issue Event type: object @@ -104765,8 +105447,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 lock_reason: type: string example: '"off-topic"' @@ -104782,7 +105464,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &728 + - &730 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -104813,8 +105495,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 project_card: type: object properties: @@ -104848,7 +105530,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &729 + - &731 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -104879,8 +105561,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 project_card: type: object properties: @@ -104914,7 +105596,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &730 + - &732 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -104945,8 +105627,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 project_card: type: object properties: @@ -104980,7 +105662,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &731 + - &733 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -105036,7 +105718,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &736 + - &738 title: Issue Type Added Issue Event description: Issue Type Added Issue Event type: object @@ -105067,9 +105749,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 - issue_type: *708 + properties: *230 + required: *231 + issue_type: *710 required: - issue_type - id @@ -105081,7 +105763,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &737 + - &739 title: Issue Type Removed Issue Event description: Issue Type Removed Issue Event type: object @@ -105112,9 +105794,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 - prev_issue_type: *708 + properties: *230 + required: *231 + prev_issue_type: *710 required: - prev_issue_type - id @@ -105126,7 +105808,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &738 + - &740 title: Issue Type Changed Issue Event description: Issue Type Changed Issue Event type: object @@ -105157,10 +105839,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 - issue_type: *708 - prev_issue_type: *708 + properties: *230 + required: *231 + issue_type: *710 + prev_issue_type: *710 required: - issue_type - prev_issue_type @@ -105173,7 +105855,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &739 + - &741 title: Sub-issue Added Issue Event description: Sub-issue Added Issue Event type: object @@ -105204,8 +105886,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -105213,8 +105895,8 @@ paths: events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 required: - sub_issue - id @@ -105226,7 +105908,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &740 + - &742 title: Sub-issue Removed Issue Event description: Sub-issue Removed Issue Event type: object @@ -105257,8 +105939,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -105266,8 +105948,8 @@ paths: events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 required: - sub_issue - id @@ -105279,7 +105961,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &741 + - &743 title: Parent-issue Added Issue Event description: Parent-issue Added Issue Event type: object @@ -105310,8 +105992,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -105319,8 +106001,8 @@ paths: events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 required: - parent_issue - id @@ -105332,7 +106014,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &742 + - &744 title: Parent-issue Removed Issue Event description: Parent-issue Removed Issue Event type: object @@ -105363,8 +106045,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -105372,8 +106054,8 @@ paths: events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 required: - parent_issue - id @@ -105385,7 +106067,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &743 + - &745 title: Blocked-by Added Issue Event description: Blocked-by Added Issue Event type: object @@ -105416,8 +106098,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -105425,8 +106107,8 @@ paths: events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 required: - blocked_by - id @@ -105438,7 +106120,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &744 + - &746 title: Blocked-by Removed Issue Event description: Blocked-by Removed Issue Event type: object @@ -105469,8 +106151,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -105478,8 +106160,8 @@ paths: events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 required: - blocked_by - id @@ -105491,7 +106173,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &745 + - &747 title: Blocking Added Issue Event description: Blocking Added Issue Event type: object @@ -105522,8 +106204,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -105531,8 +106213,8 @@ paths: events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 required: - blocking - id @@ -105544,7 +106226,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &746 + - &748 title: Blocking Removed Issue Event description: Blocking Removed Issue Event type: object @@ -105575,8 +106257,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -105584,8 +106266,8 @@ paths: events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 required: - blocking - id @@ -105631,8 +106313,8 @@ paths: name: label color: red headers: - Link: *47 - '410': *701 + Link: *48 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105649,9 +106331,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 - *17 - *19 responses: @@ -105661,9 +106343,9 @@ paths: application/json: schema: type: array - items: *716 + items: *718 examples: - default: &717 + default: &719 value: - issue_field_id: 1 issue_field_name: DRI @@ -105702,10 +106384,10 @@ paths: name: Backend color: green headers: - Link: *47 - '301': *515 + Link: *48 + '301': *516 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105734,9 +106416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: true content: @@ -105806,14 +106488,14 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *716 + items: *718 examples: - default: *717 + default: *719 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *203 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -105844,9 +106526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: true content: @@ -105911,14 +106593,14 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *716 + items: *718 examples: - default: *717 + default: *719 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *203 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -105944,17 +106626,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *509 - *510 - - *713 - - *402 + - *511 + - *715 + - *403 responses: '204': description: Issue field value deleted successfully '403': *29 '404': *6 '422': *15 - '503': *203 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -105972,9 +106654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 - *17 - *19 responses: @@ -105984,9 +106666,9 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: &718 + default: &720 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -106003,10 +106685,10 @@ paths: color: a2eeef default: false headers: - Link: *47 - '301': *515 + Link: *48 + '301': *516 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106022,9 +106704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: false content: @@ -106067,12 +106749,12 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *718 - '301': *515 + default: *720 + '301': *516 '404': *6 - '410': *701 + '410': *33 '422': *15 x-github: githubCloudOnly: false @@ -106089,9 +106771,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: false content: @@ -106151,12 +106833,12 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *718 - '301': *515 + default: *720 + '301': *516 '404': *6 - '410': *701 + '410': *33 '422': *15 x-github: githubCloudOnly: false @@ -106173,15 +106855,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 responses: '204': description: Response - '301': *515 + '301': *516 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106200,9 +106882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 - name: name in: path required: true @@ -106215,7 +106897,7 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: default: value: @@ -106226,9 +106908,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *515 + '301': *516 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106248,9 +106930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: false content: @@ -106278,7 +106960,7 @@ paths: '204': description: Response '403': *29 - '410': *701 + '410': *33 '404': *6 '422': *15 x-github: @@ -106296,9 +106978,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 responses: '204': description: Response @@ -106328,20 +107010,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 responses: '200': description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *712 - '301': *515 + default: *714 + '301': *516 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106358,9 +107040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -106386,13 +107068,13 @@ paths: application/json: schema: type: array - items: *623 + items: *626 examples: - default: *704 + default: *706 headers: - Link: *47 + Link: *48 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106410,9 +107092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: true content: @@ -106444,16 +107126,16 @@ paths: description: Response content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 '201': description: Response content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 '422': *15 x-github: githubCloudOnly: false @@ -106475,10 +107157,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *509 - *510 - - *713 - - *705 + - *511 + - *715 + - *707 responses: '204': description: Response @@ -106507,9 +107189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: true content: @@ -106531,9 +107213,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *712 + default: *714 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -106566,9 +107248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *509 - *510 - - *713 + - *511 + - *715 - *17 - *19 responses: @@ -106578,13 +107260,13 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *715 + default: *717 headers: - Link: *47 + Link: *48 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106612,9 +107294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: true content: @@ -106641,16 +107323,16 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *712 + default: *714 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *701 + '410': *33 '422': *15 '404': *6 x-github: @@ -106670,9 +107352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: true content: @@ -106703,13 +107385,13 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *712 + default: *714 '403': *29 '404': *6 '422': *7 - '503': *203 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -106727,9 +107409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 - *17 - *19 responses: @@ -106744,8 +107426,6 @@ paths: description: Timeline Event type: object anyOf: - - *719 - - *720 - *721 - *722 - *723 @@ -106757,6 +107437,8 @@ paths: - *729 - *730 - *731 + - *732 + - *733 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -106799,7 +107481,7 @@ paths: issue_url: type: string format: uri - author_association: *231 + author_association: *232 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -106809,23 +107491,23 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 - reactions: *232 + properties: *230 + required: *231 + reactions: *233 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *732 - required: *733 + properties: *734 + required: *735 nullable: true minimized: title: Minimized Issue Comment description: Details about why an issue comment was minimized. type: object - properties: *734 - required: *735 + properties: *736 + required: *737 nullable: true required: - event @@ -106857,7 +107539,7 @@ paths: properties: type: type: string - issue: *234 + issue: *235 required: - event - created_at @@ -107057,7 +107739,7 @@ paths: type: string body_text: type: string - author_association: *231 + author_association: *232 required: - event - id @@ -107080,7 +107762,7 @@ paths: type: string comments: type: array - items: &768 + items: &771 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -107175,7 +107857,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *231 + author_association: *232 _links: type: object properties: @@ -107259,7 +107941,7 @@ paths: enum: - line - file - reactions: *232 + reactions: *233 body_html: type: string example: '"

comment body

"' @@ -107295,7 +107977,7 @@ paths: type: string comments: type: array - items: *622 + items: *625 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -107326,8 +108008,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 assignee: *4 required: - id @@ -107370,8 +108052,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 assignee: *4 required: - id @@ -107414,8 +108096,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 state_reason: type: string nullable: true @@ -107429,8 +108111,6 @@ paths: - commit_url - created_at - performed_via_github_app - - *736 - - *737 - *738 - *739 - *740 @@ -107440,6 +108120,8 @@ paths: - *744 - *745 - *746 + - *747 + - *748 examples: default: value: @@ -107593,10 +108275,10 @@ paths: type: User site_admin: true headers: - Link: *47 + Link: *48 '404': *6 '400': *14 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107613,8 +108295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -107624,7 +108306,7 @@ paths: application/json: schema: type: array - items: &747 + items: &749 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -107674,7 +108356,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107690,8 +108372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -107727,9 +108409,9 @@ paths: description: Response content: application/json: - schema: *747 + schema: *749 examples: - default: &748 + default: &750 value: id: 1 key: ssh-rsa AAA... @@ -107763,9 +108445,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *509 - *510 - - &749 + - *511 + - &751 name: key_id description: The unique identifier of the key. in: path @@ -107777,9 +108459,9 @@ paths: description: Response content: application/json: - schema: *747 + schema: *749 examples: - default: *748 + default: *750 '404': *6 x-github: githubCloudOnly: false @@ -107797,9 +108479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *509 - *510 - - *749 + - *511 + - *751 responses: '204': description: Response @@ -107819,8 +108501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -107830,11 +108512,11 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *718 + default: *720 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -107853,8 +108535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -107890,9 +108572,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: &750 + default: &752 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -107924,8 +108606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *509 - *510 + - *511 - name: name in: path required: true @@ -107936,9 +108618,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *750 + default: *752 '404': *6 x-github: githubCloudOnly: false @@ -107955,8 +108637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *509 - *510 + - *511 - name: name in: path required: true @@ -107995,7 +108677,7 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: default: value: @@ -108021,8 +108703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *509 - *510 + - *511 - name: name in: path required: true @@ -108048,8 +108730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -108085,10 +108767,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *509 - *510 + - *511 responses: - '202': *39 + '202': *40 '403': description: |- We will return a 403 with one of the following messages: @@ -108114,8 +108796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -108141,9 +108823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *509 - *510 - - *595 + - *511 + - *598 responses: '200': description: Response @@ -108205,8 +108887,8 @@ paths: title: License Simple description: License Simple type: object - properties: *237 - required: *238 + properties: *238 + required: *239 nullable: true required: - _links @@ -108288,8 +108970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -108354,8 +109036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -108389,9 +109071,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *625 + schema: *628 examples: - default: *751 + default: *753 '204': description: Response when already merged '404': @@ -108416,8 +109098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *509 - *510 + - *511 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -108458,12 +109140,12 @@ paths: application/json: schema: type: array - items: &752 + items: &754 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *439 + required: *440 examples: default: value: @@ -108502,7 +109184,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -108519,8 +109201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -108560,9 +109242,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *754 examples: - default: &753 + default: &755 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -108621,9 +109303,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *509 - *510 - - &754 + - *511 + - &756 name: milestone_number description: The number that identifies the milestone. in: path @@ -108635,9 +109317,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *754 examples: - default: *753 + default: *755 '404': *6 x-github: githubCloudOnly: false @@ -108654,9 +109336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *509 - *510 - - *754 + - *511 + - *756 requestBody: required: false content: @@ -108694,9 +109376,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *754 examples: - default: *753 + default: *755 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108712,9 +109394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *509 - *510 - - *754 + - *511 + - *756 responses: '204': description: Response @@ -108735,9 +109417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *509 - *510 - - *754 + - *511 + - *756 - *17 - *19 responses: @@ -108747,11 +109429,11 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *718 + default: *720 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108768,12 +109450,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *509 - *510 - - *755 - - *756 - - *241 + - *511 - *757 + - *758 + - *242 + - *759 - *17 - *19 responses: @@ -108783,11 +109465,11 @@ paths: application/json: schema: type: array - items: *261 + items: *262 examples: - default: *758 + default: *760 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108809,8 +109491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *509 - *510 + - *511 requestBody: required: false content: @@ -108868,14 +109550,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: &759 + schema: &761 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -109000,7 +109682,7 @@ paths: - custom_404 - public examples: - default: &760 + default: &762 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -109041,8 +109723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -109096,11 +109778,11 @@ paths: description: Response content: application/json: - schema: *759 + schema: *761 examples: - default: *760 + default: *762 '422': *15 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109121,8 +109803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -109208,7 +109890,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109229,14 +109911,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *509 - *510 + - *511 responses: '204': description: Response '422': *15 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109256,8 +109938,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -109267,7 +109949,7 @@ paths: application/json: schema: type: array - items: &761 + items: &763 title: Page Build description: Page Build type: object @@ -109342,7 +110024,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109361,8 +110043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *509 - *510 + - *511 responses: '201': description: Response @@ -109407,16 +110089,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *761 + schema: *763 examples: - default: &762 + default: &764 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -109464,8 +110146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *509 - *510 + - *511 - name: build_id in: path required: true @@ -109476,9 +110158,9 @@ paths: description: Response content: application/json: - schema: *761 + schema: *763 examples: - default: *762 + default: *764 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109498,8 +110180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -109604,9 +110286,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *509 - *510 - - &763 + - *511 + - &765 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -109664,11 +110346,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *509 - *510 - - *763 + - *511 + - *765 responses: - '204': *130 + '204': *129 '404': *6 x-github: githubCloudOnly: false @@ -109693,8 +110375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -109925,7 +110607,7 @@ paths: description: Empty response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -109952,8 +110634,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Private vulnerability reporting status @@ -109990,10 +110672,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *509 - *510 + - *511 responses: - '204': *130 + '204': *129 '422': *14 x-github: githubCloudOnly: false @@ -110012,10 +110694,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *509 - *510 + - *511 responses: - '204': *130 + '204': *129 '422': *14 x-github: githubCloudOnly: false @@ -110035,8 +110717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -110044,9 +110726,9 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *764 + default: *766 '403': *29 '404': *6 x-github: @@ -110068,8 +110750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -110081,11 +110763,11 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *163 + items: *164 required: - properties examples: - default: *765 + default: *767 responses: '204': description: No Content when custom property values are successfully created @@ -110123,8 +110805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *509 - *510 + - *511 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -110184,12 +110866,12 @@ paths: application/json: schema: type: array - items: *629 + items: *632 examples: - default: *766 + default: *768 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '422': *15 x-github: githubCloudOnly: false @@ -110218,8 +110900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -110284,7 +110966,7 @@ paths: description: Response content: application/json: - schema: &770 + schema: &773 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -110395,8 +111077,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *439 + required: *440 nullable: true active_lock_reason: type: string @@ -110439,7 +111121,7 @@ paths: items: *4 requested_teams: type: array - items: *493 + items: *494 head: type: object properties: @@ -110447,7 +111129,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *81 sha: type: string user: *4 @@ -110464,7 +111146,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *81 sha: type: string user: *4 @@ -110477,14 +111159,14 @@ paths: _links: type: object properties: - comments: *440 - commits: *440 - statuses: *440 - html: *440 - issue: *440 - review_comments: *440 - review_comment: *440 - self: *440 + comments: *441 + commits: *441 + statuses: *441 + html: *441 + issue: *441 + review_comments: *441 + review_comment: *441 + self: *441 required: - comments - commits @@ -110494,8 +111176,9 @@ paths: - review_comments - review_comment - self - author_association: *231 - auto_merge: *767 + author_association: *232 + auto_merge: *769 + stack: *770 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -110587,7 +111270,7 @@ paths: - merged_by - review_comments examples: - default: &771 + default: &774 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -111114,8 +111797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *509 - *510 + - *511 - name: sort in: query required: false @@ -111134,7 +111817,7 @@ paths: enum: - asc - desc - - *241 + - *242 - *17 - *19 responses: @@ -111144,9 +111827,9 @@ paths: application/json: schema: type: array - items: *768 + items: *771 examples: - default: &773 + default: &776 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -111198,7 +111881,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111223,17 +111906,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *509 - *510 - - *250 + - *511 + - *251 responses: '200': description: Response content: application/json: - schema: *768 + schema: *771 examples: - default: &769 + default: &772 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -111308,9 +111991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *509 - *510 - - *250 + - *511 + - *251 requestBody: required: true content: @@ -111332,9 +112015,9 @@ paths: description: Response content: application/json: - schema: *768 + schema: *771 examples: - default: *769 + default: *772 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111350,9 +112033,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *509 - *510 - - *250 + - *511 + - *251 responses: '204': description: Response @@ -111373,9 +112056,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -111401,11 +112084,11 @@ paths: application/json: schema: type: array - items: *623 + items: *626 examples: - default: *704 + default: *706 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -111424,9 +112107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 requestBody: required: true content: @@ -111458,16 +112141,16 @@ paths: description: Reaction exists content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 '201': description: Reaction created content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 '422': *15 x-github: githubCloudOnly: false @@ -111489,10 +112172,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *509 - *510 - - *250 - - *705 + - *511 + - *251 + - *707 responses: '204': description: Response @@ -111535,9 +112218,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *509 - *510 - - &772 + - *511 + - &775 name: pull_number description: The number that identifies the pull request. in: path @@ -111550,18 +112233,18 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *770 + schema: *773 examples: - default: *771 - '304': *37 + default: *774 + '304': *38 '404': *6 '406': description: Unacceptable content: application/json: schema: *3 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111587,9 +112270,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 requestBody: required: false content: @@ -111631,9 +112314,9 @@ paths: description: Response content: application/json: - schema: *770 + schema: *773 examples: - default: *771 + default: *774 '422': *15 '403': *29 x-github: @@ -111655,9 +112338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 requestBody: required: true content: @@ -111717,21 +112400,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *408 + schema: *409 examples: - default: *612 + default: *615 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *408 + schema: *409 examples: - default: *612 + default: *615 '401': *25 '403': *29 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111757,10 +112440,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *509 - *510 - - *772 - - *258 + - *511 + - *775 + - *259 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -111770,7 +112453,7 @@ paths: enum: - asc - desc - - *241 + - *242 - *17 - *19 responses: @@ -111780,11 +112463,11 @@ paths: application/json: schema: type: array - items: *768 + items: *771 examples: - default: *773 + default: *776 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111815,9 +112498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 requestBody: required: true content: @@ -111922,7 +112605,7 @@ paths: description: Response content: application/json: - schema: *768 + schema: *771 examples: example-for-a-multi-line-comment: value: @@ -112010,10 +112693,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *509 - *510 - - *772 - - *250 + - *511 + - *775 + - *251 requestBody: required: true content: @@ -112035,7 +112718,7 @@ paths: description: Response content: application/json: - schema: *768 + schema: *771 examples: default: value: @@ -112121,9 +112804,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 - *17 - *19 responses: @@ -112133,11 +112816,11 @@ paths: application/json: schema: type: array - items: *625 + items: *628 examples: - default: *774 + default: *777 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112165,9 +112848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *509 - *510 - - *772 + - *511 + - *775 - *17 - *19 responses: @@ -112177,7 +112860,7 @@ paths: application/json: schema: type: array - items: *638 + items: *641 examples: default: value: @@ -112193,10 +112876,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *47 + Link: *48 '422': *15 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112215,9 +112898,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *509 - *510 - - *772 + - *511 + - *775 responses: '204': description: Response if pull request has been merged @@ -112240,9 +112923,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 requestBody: required: false content: @@ -112353,9 +113036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 responses: '200': description: Response @@ -112371,7 +113054,7 @@ paths: items: *4 teams: type: array - items: *328 + items: *329 required: - users - teams @@ -112412,7 +113095,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112430,9 +113113,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 requestBody: required: false content: @@ -112469,7 +113152,7 @@ paths: description: Response content: application/json: - schema: *629 + schema: *632 examples: default: value: @@ -113005,9 +113688,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 requestBody: required: true content: @@ -113041,7 +113724,7 @@ paths: description: Response content: application/json: - schema: *629 + schema: *632 examples: default: value: @@ -113546,9 +114229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 - *17 - *19 responses: @@ -113558,7 +114241,7 @@ paths: application/json: schema: type: array - items: &775 + items: &778 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -113627,7 +114310,7 @@ paths: type: string body_text: type: string - author_association: *231 + author_association: *232 required: - id - node_id @@ -113676,7 +114359,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113709,9 +114392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 requestBody: required: false content: @@ -113797,9 +114480,9 @@ paths: description: Response content: application/json: - schema: *775 + schema: *778 examples: - default: &777 + default: &780 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -113862,10 +114545,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *509 - *510 - - *772 - - &776 + - *511 + - *775 + - &779 name: review_id description: The unique identifier of the review. in: path @@ -113877,9 +114560,9 @@ paths: description: Response content: application/json: - schema: *775 + schema: *778 examples: - default: &778 + default: &781 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -113938,10 +114621,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *509 - *510 - - *772 - - *776 + - *511 + - *775 + - *779 requestBody: required: true content: @@ -113964,7 +114647,7 @@ paths: description: Response content: application/json: - schema: *775 + schema: *778 examples: default: value: @@ -114026,18 +114709,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *509 - *510 - - *772 - - *776 + - *511 + - *775 + - *779 responses: '200': description: Response content: application/json: - schema: *775 + schema: *778 examples: - default: *777 + default: *780 '422': *7 '404': *6 x-github: @@ -114064,10 +114747,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *509 - *510 - - *772 - - *776 + - *511 + - *775 + - *779 - *17 - *19 responses: @@ -114146,13 +114829,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *231 + author_association: *232 _links: type: object properties: - self: *440 - html: *440 - pull_request: *440 + self: *441 + html: *441 + pull_request: *441 required: - self - html @@ -114161,7 +114844,7 @@ paths: type: string body_html: type: string - reactions: *232 + reactions: *233 side: description: The side of the first line of the range for a multi-line comment. @@ -114273,7 +114956,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -114302,10 +114985,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *509 - *510 - - *772 - - *776 + - *511 + - *775 + - *779 requestBody: required: true content: @@ -114333,7 +115016,7 @@ paths: description: Response content: application/json: - schema: *775 + schema: *778 examples: default: value: @@ -114396,10 +115079,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *509 - *510 - - *772 - - *776 + - *511 + - *775 + - *779 requestBody: required: true content: @@ -114434,9 +115117,9 @@ paths: description: Response content: application/json: - schema: *775 + schema: *778 examples: - default: *778 + default: *781 '404': *6 '422': *7 '403': *29 @@ -114458,9 +115141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *509 - *510 - - *772 + - *511 + - *775 requestBody: required: false content: @@ -114523,8 +115206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *509 - *510 + - *511 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -114537,9 +115220,9 @@ paths: description: Response content: application/json: - schema: *779 + schema: *782 examples: - default: &780 + default: &783 value: type: file encoding: base64 @@ -114556,7 +115239,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': *37 + '304': *38 '404': *6 '422': *15 x-github: @@ -114581,8 +115264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *509 - *510 + - *511 - name: dir description: The alternate path to look for a README file in: path @@ -114602,9 +115285,9 @@ paths: description: Response content: application/json: - schema: *779 + schema: *782 examples: - default: *780 + default: *783 '404': *6 '422': *15 x-github: @@ -114626,8 +115309,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -114637,7 +115320,7 @@ paths: application/json: schema: type: array - items: *781 + items: *784 examples: default: value: @@ -114711,7 +115394,7 @@ paths: type: User site_admin: false headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -114731,8 +115414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -114808,9 +115491,9 @@ paths: description: Response content: application/json: - schema: *781 + schema: *784 examples: - default: &785 + default: &788 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -114915,9 +115598,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *509 - *510 - - &783 + - *511 + - &786 name: asset_id description: The unique identifier of the asset. in: path @@ -114929,9 +115612,9 @@ paths: description: Response content: application/json: - schema: *782 + schema: *785 examples: - default: &784 + default: &787 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 @@ -114966,7 +115649,7 @@ paths: type: User site_admin: false '404': *6 - '302': *642 + '302': *645 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114982,9 +115665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *509 - *510 - - *783 + - *511 + - *786 requestBody: required: false content: @@ -115012,9 +115695,9 @@ paths: description: Response content: application/json: - schema: *782 + schema: *785 examples: - default: *784 + default: *787 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115030,9 +115713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *509 - *510 - - *783 + - *511 + - *786 responses: '204': description: Response @@ -115057,8 +115740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -115143,16 +115826,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *781 + schema: *784 examples: - default: *785 + default: *788 '404': *6 x-github: githubCloudOnly: false @@ -115170,8 +115853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *509 - *510 + - *511 - name: tag description: tag parameter in: path @@ -115184,9 +115867,9 @@ paths: description: Response content: application/json: - schema: *781 + schema: *784 examples: - default: *785 + default: *788 '404': *6 x-github: githubCloudOnly: false @@ -115208,9 +115891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *509 - *510 - - &786 + - *511 + - &789 name: release_id description: The unique identifier of the release. in: path @@ -115224,9 +115907,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *781 + schema: *784 examples: - default: *785 + default: *788 '401': description: Unauthorized x-github: @@ -115244,9 +115927,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *509 - *510 - - *786 + - *511 + - *789 requestBody: required: false content: @@ -115310,9 +115993,9 @@ paths: description: Response content: application/json: - schema: *781 + schema: *784 examples: - default: *785 + default: *788 '404': description: Not Found if the discussion category name is invalid content: @@ -115333,9 +116016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *509 - *510 - - *786 + - *511 + - *789 responses: '204': description: Response @@ -115356,9 +116039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *509 - *510 - - *786 + - *511 + - *789 - *17 - *19 responses: @@ -115368,7 +116051,7 @@ paths: application/json: schema: type: array - items: *782 + items: *785 examples: default: value: @@ -115405,7 +116088,7 @@ paths: type: User site_admin: false headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115450,9 +116133,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: - - *509 - *510 - - *786 + - *511 + - *789 - name: name in: query required: true @@ -115478,7 +116161,7 @@ paths: description: Response for successful upload content: application/json: - schema: *782 + schema: *785 examples: response-for-successful-upload: value: @@ -115533,9 +116216,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *509 - *510 - - *786 + - *511 + - *789 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -115559,11 +116242,11 @@ paths: application/json: schema: type: array - items: *623 + items: *626 examples: - default: *704 + default: *706 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -115582,9 +116265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *509 - *510 - - *786 + - *511 + - *789 requestBody: required: true content: @@ -115614,16 +116297,16 @@ paths: description: Reaction exists content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 '201': description: Reaction created content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 '422': *15 x-github: githubCloudOnly: false @@ -115645,10 +116328,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *509 - *510 - - *786 - - *705 + - *511 + - *789 + - *707 responses: '204': description: Response @@ -115672,9 +116355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *509 - *510 - - *561 + - *511 + - *562 - *17 - *19 responses: @@ -115690,8 +116373,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *177 - - &787 + - *178 + - &790 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -115710,72 +116393,72 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *178 - - *787 - allOf: - *179 - - *787 + - *790 - allOf: - *180 - - *787 - - allOf: - - *788 - - *787 + - *790 - allOf: - *181 - - *787 + - *790 + - allOf: + - *791 + - *790 - allOf: - *182 - - *787 + - *790 - allOf: - *183 - - *787 + - *790 - allOf: - *184 - - *787 + - *790 - allOf: - *185 - - *787 + - *790 - allOf: - *186 - - *787 + - *790 - allOf: - *187 - - *787 + - *790 - allOf: - *188 - - *787 + - *790 - allOf: - *189 - - *787 + - *790 - allOf: - *190 - - *787 + - *790 - allOf: - *191 - - *787 + - *790 - allOf: - *192 - - *787 + - *790 - allOf: - *193 - - *787 - - allOf: - - *789 - - *787 + - *790 - allOf: - *194 - - *787 + - *790 + - allOf: + - *792 + - *790 - allOf: - *195 - - *787 + - *790 - allOf: - *196 - - *787 + - *790 - allOf: - *197 - - *787 + - *790 + - allOf: + - *198 + - *790 examples: default: value: @@ -115814,8 +116497,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - *510 + - *511 - *17 - *19 - name: includes_parents @@ -115826,7 +116509,7 @@ paths: schema: type: boolean default: true - - *790 + - *793 responses: '200': description: Response @@ -115834,7 +116517,7 @@ paths: application/json: schema: type: array - items: *198 + items: *199 examples: default: value: @@ -115865,7 +116548,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *40 + '500': *41 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -115881,8 +116564,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - *510 + - *511 requestBody: description: Request body required: true @@ -115902,16 +116585,16 @@ paths: - tag - push default: branch - enforcement: *175 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *176 - conditions: *169 + items: *177 + conditions: *170 rules: type: array description: An array of rules within the ruleset. - items: *791 + items: *794 required: - name - enforcement @@ -115942,9 +116625,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: &801 + default: &804 value: id: 42 name: super cool ruleset @@ -115978,7 +116661,7 @@ paths: updated_at: '2023-08-23T16:29:47Z' '404': *6 '422': *15 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -115992,13 +116675,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *509 - *510 - - *792 - - *107 - - *793 - - *794 + - *511 - *795 + - *108 + - *796 + - *797 + - *798 - *17 - *19 responses: @@ -116006,11 +116689,11 @@ paths: description: Response content: application/json: - schema: *796 + schema: *799 examples: - default: *797 + default: *800 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116029,19 +116712,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *509 - *510 - - *798 + - *511 + - *801 responses: '200': description: Response content: application/json: - schema: *799 + schema: *802 examples: - default: *800 + default: *803 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116067,8 +116750,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - *510 + - *511 - name: ruleset_id description: The ID of the ruleset. in: path @@ -116088,11 +116771,11 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: *801 + default: *804 '404': *6 - '500': *40 + '500': *41 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -116108,8 +116791,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - *510 + - *511 - name: ruleset_id description: The ID of the ruleset. in: path @@ -116134,16 +116817,16 @@ paths: - branch - tag - push - enforcement: *175 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *176 - conditions: *169 + items: *177 + conditions: *170 rules: description: An array of rules within the ruleset. type: array - items: *791 + items: *794 examples: default: value: @@ -116171,12 +116854,12 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: *801 + default: *804 '404': *6 '422': *15 - '500': *40 + '500': *41 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -116192,8 +116875,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - *510 + - *511 - name: ruleset_id description: The ID of the ruleset. in: path @@ -116204,7 +116887,7 @@ paths: '204': description: Response '404': *6 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -116216,8 +116899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *509 - *510 + - *511 - *17 - *19 - name: ruleset_id @@ -116233,11 +116916,11 @@ paths: application/json: schema: type: array - items: *202 + items: *203 examples: - default: *458 + default: *459 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116254,8 +116937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *509 - *510 + - *511 - name: ruleset_id description: The ID of the ruleset. in: path @@ -116273,7 +116956,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *460 examples: default: value: @@ -116306,7 +116989,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116328,9 +117011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *509 - *510 - - *460 + - *511 - *461 - *462 - *463 @@ -116338,18 +117020,19 @@ paths: - *465 - *466 - *467 - - *112 + - *468 + - *113 - *19 - *17 - - *802 - - *803 - - *468 + - *805 + - *806 - *469 - *470 - *471 - *472 - *473 - *474 + - *475 responses: '200': description: Response @@ -116360,8 +117043,8 @@ paths: items: type: object properties: - number: *134 - created_at: *141 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -116369,15 +117052,15 @@ paths: format: date-time readOnly: true nullable: true - url: *139 - html_url: *140 + url: *140 + html_url: *141 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *804 - resolution: *805 + state: *807 + resolution: *808 resolved_at: type: string format: date-time @@ -116483,7 +117166,7 @@ paths: pull request. ' - oneOf: *806 + oneOf: *809 nullable: true has_more_locations: type: boolean @@ -116625,7 +117308,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116647,20 +117330,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *509 - *510 - - *589 - - *471 + - *511 + - *592 + - *472 responses: '200': description: Response content: application/json: - schema: &807 + schema: &810 type: object properties: - number: *134 - created_at: *141 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -116668,14 +117351,14 @@ paths: format: date-time readOnly: true nullable: true - url: *139 - html_url: *140 + url: *140 + html_url: *141 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *804 - resolution: *805 + state: *807 + resolution: *808 resolved_at: type: string format: date-time @@ -116781,7 +117464,7 @@ paths: pull request. ' - oneOf: *806 + oneOf: *809 nullable: true has_more_locations: type: boolean @@ -116809,7 +117492,7 @@ paths: properties: *20 required: *21 nullable: true - metadata: &996 + metadata: &999 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -116855,11 +117538,11 @@ paths: metadata: - key: owner_email value: owner@example.com - '304': *37 + '304': *38 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116882,9 +117565,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *509 - *510 - - *589 + - *511 + - *592 requestBody: required: true content: @@ -116892,8 +117575,8 @@ paths: schema: type: object properties: - state: *804 - resolution: *805 + state: *807 + resolution: *808 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -116937,7 +117620,7 @@ paths: description: Response content: application/json: - schema: *807 + schema: *810 examples: default: value: @@ -117017,7 +117700,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': *203 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -117039,9 +117722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *509 - *510 - - *589 + - *511 + - *592 - *19 - *17 responses: @@ -117052,7 +117735,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &998 + items: &1001 type: object properties: type: @@ -117078,9 +117761,6 @@ paths: example: commit details: oneOf: - - *808 - - *809 - - *810 - *811 - *812 - *813 @@ -117091,6 +117771,9 @@ paths: - *818 - *819 - *820 + - *821 + - *822 + - *823 examples: default: value: @@ -117150,11 +117833,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *47 + Link: *48 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117179,12 +117862,12 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *509 - *510 - - *477 + - *511 - *478 - *479 - - *112 + - *480 + - *113 - *19 - *17 responses: @@ -117194,11 +117877,11 @@ paths: application/json: schema: type: array - items: *204 + items: *205 examples: - default: *480 + default: *481 headers: - Link: *47 + Link: *48 '403': *29 '404': *6 post: @@ -117219,8 +117902,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -117233,9 +117916,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *481 + items: *482 examples: - default: *482 + default: *483 responses: '201': description: All patterns created successfully. @@ -117247,9 +117930,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *204 + items: *205 examples: - default: *483 + default: *484 '400': *14 '403': *29 '404': *6 @@ -117273,7 +117956,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *484 + items: *485 delete: summary: Bulk delete repository custom patterns description: |- @@ -117292,8 +117975,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -117307,7 +117990,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *485 + items: *486 post_delete_action: type: string description: |- @@ -117320,14 +118003,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *486 + default: *487 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *29 '404': *6 - '412': *206 + '412': *207 "/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update a repository custom pattern @@ -117347,8 +118030,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *509 - *510 + - *511 - name: pattern_id in: path required: true @@ -117359,21 +118042,21 @@ paths: required: true content: application/json: - schema: *487 + schema: *488 examples: - default: *488 + default: *489 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *204 + schema: *205 examples: - default: *489 + default: *490 '400': *14 '403': *29 '404': *6 - '412': *206 + '412': *207 '422': *15 "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": post: @@ -117391,8 +118074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -117400,14 +118083,14 @@ paths: schema: type: object properties: - reason: &822 + reason: &825 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *821 + placeholder_id: *824 required: - reason - placeholder_id @@ -117424,7 +118107,7 @@ paths: schema: type: object properties: - reason: *822 + reason: *825 expire_at: type: string format: date-time @@ -117447,7 +118130,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *203 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -117470,13 +118153,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *509 - *510 + - *511 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *203 + '503': *204 '200': description: Response content: @@ -117486,7 +118169,7 @@ paths: properties: incremental_scans: type: array - items: &823 + items: &826 description: Information on a single scan performed by secret scanning on the repository type: object @@ -117517,15 +118200,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *823 + items: *826 backfill_scans: type: array - items: *823 + items: *826 custom_pattern_backfill_scans: type: array items: allOf: - - *823 + - *826 - type: object properties: pattern_name: @@ -117538,7 +118221,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *823 + items: *826 examples: default: value: @@ -117603,9 +118286,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *509 - *510 - - *112 + - *511 + - *113 - name: sort description: The property to sort the results by. in: query @@ -117617,8 +118300,8 @@ paths: - updated - published default: created - - *110 - *111 + - *112 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -117648,9 +118331,9 @@ paths: application/json: schema: type: array - items: *824 + items: *827 examples: - default: *825 + default: *828 '400': *14 '404': *6 x-github: @@ -117673,8 +118356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -117747,7 +118430,7 @@ paths: login: type: string description: The username of the user credited. - type: *492 + type: *493 required: - login - type @@ -117834,9 +118517,9 @@ paths: description: Response content: application/json: - schema: *824 + schema: *827 examples: - default: &827 + default: &830 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -118069,8 +118752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -118174,7 +118857,7 @@ paths: description: Response content: application/json: - schema: *824 + schema: *827 examples: default: value: @@ -118321,17 +119004,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *509 - *510 - - *826 + - *511 + - *829 responses: '200': description: Response content: application/json: - schema: *824 + schema: *827 examples: - default: *827 + default: *830 '403': *29 '404': *6 x-github: @@ -118355,9 +119038,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *509 - *510 - - *826 + - *511 + - *829 requestBody: required: true content: @@ -118430,7 +119113,7 @@ paths: login: type: string description: The username of the user credited. - type: *492 + type: *493 required: - login - type @@ -118516,17 +119199,17 @@ paths: description: Response content: application/json: - schema: *824 + schema: *827 examples: - default: *827 - add_credit: *827 + default: *830 + add_credit: *830 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *270 + schema: *271 examples: invalid_state_transition: value: @@ -118557,11 +119240,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *509 - *510 - - *826 + - *511 + - *829 responses: - '202': *39 + '202': *40 '400': *14 '403': *29 '404': *6 @@ -118586,17 +119269,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *509 - *510 - - *826 + - *511 + - *829 responses: '202': description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *516 + default: *517 '400': *14 '422': *15 '403': *29 @@ -118622,8 +119305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -118700,7 +119383,7 @@ paths: type: User site_admin: false headers: - Link: *47 + Link: *48 '422': *15 x-github: githubCloudOnly: false @@ -118722,8 +119405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *509 - *510 + - *511 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -118732,7 +119415,7 @@ paths: application/json: schema: type: array - items: &828 + items: &831 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -118744,8 +119427,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *39 - '204': *130 + '202': *40 + '204': *129 '422': description: Repository contains more than 10,000 commits x-github: @@ -118765,8 +119448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -118814,8 +119497,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *39 - '204': *130 + '202': *40 + '204': *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118842,8 +119525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -118916,8 +119599,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *39 - '204': *130 + '202': *40 + '204': *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118939,8 +119622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *509 - *510 + - *511 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -119094,8 +119777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *509 - *510 + - *511 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -119105,7 +119788,7 @@ paths: application/json: schema: type: array - items: *828 + items: *831 examples: default: value: @@ -119118,7 +119801,7 @@ paths: - - 0 - 2 - 21 - '204': *130 + '204': *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119138,8 +119821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *509 - *510 + - *511 - name: sha in: path required: true @@ -119193,7 +119876,7 @@ paths: description: Response content: application/json: - schema: *829 + schema: *832 examples: default: value: @@ -119247,8 +119930,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -119260,9 +119943,9 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119280,14 +119963,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *509 - *510 + - *511 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &830 + schema: &833 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -119355,8 +120038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *509 - *510 + - *511 requestBody: required: false content: @@ -119382,7 +120065,7 @@ paths: description: Response content: application/json: - schema: *830 + schema: *833 examples: default: value: @@ -119409,8 +120092,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -119430,8 +120113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -119487,7 +120170,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119510,8 +120193,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *509 - *510 + - *511 - name: ref in: path required: true @@ -119547,8 +120230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -119558,11 +120241,11 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - default: *418 + default: *419 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -119580,8 +120263,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *509 - *510 + - *511 - *19 - *17 responses: @@ -119589,7 +120272,7 @@ paths: description: Response content: application/json: - schema: &831 + schema: &834 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -119601,7 +120284,7 @@ paths: required: - names examples: - default: &832 + default: &835 value: names: - octocat @@ -119624,8 +120307,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -119656,9 +120339,9 @@ paths: description: Response content: application/json: - schema: *831 + schema: *834 examples: - default: *832 + default: *835 '404': *6 '422': *7 x-github: @@ -119679,9 +120362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *509 - *510 - - &833 + - *511 + - &836 name: per description: The time frame to display results for. in: query @@ -119710,7 +120393,7 @@ paths: example: 128 clones: type: array - items: &834 + items: &837 title: Traffic type: object properties: @@ -119797,8 +120480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -119888,8 +120571,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -119949,9 +120632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *509 - *510 - - *833 + - *511 + - *836 responses: '200': description: Response @@ -119970,7 +120653,7 @@ paths: example: 3782 views: type: array - items: *834 + items: *837 required: - uniques - count @@ -120047,8 +120730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -120084,7 +120767,7 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: default: value: @@ -120322,8 +121005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *509 - *510 + - *511 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -120346,8 +121029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -120369,8 +121052,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -120396,8 +121079,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *509 - *510 + - *511 - name: ref in: path required: true @@ -120489,9 +121172,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *516 + default: *517 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -120532,7 +121215,7 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: default: value: @@ -120608,7 +121291,7 @@ paths: schema: type: string '422': *15 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120642,7 +121325,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &842 + - &845 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -120651,7 +121334,7 @@ paths: schema: type: string example: members - - &847 + - &850 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -120662,7 +121345,7 @@ paths: default: 1 format: int32 example: 1 - - &848 + - &851 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -120672,7 +121355,7 @@ paths: default: 30 format: int32 example: 1 - - *41 + - *42 responses: '200': description: Success, either groups were found or not found @@ -120704,7 +121387,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &837 + items: &840 allOf: - type: object required: @@ -120779,7 +121462,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &849 + meta: &852 type: object description: The metadata associated with the creation/updates to the user. @@ -120839,30 +121522,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &838 + '400': &841 description: Bad request content: application/json: - schema: *835 + schema: *838 application/scim+json: - schema: *835 - '401': *836 - '403': &839 + schema: *838 + '401': *839 + '403': &842 description: Permission denied - '429': &840 + '429': &843 description: Too many requests content: application/json: - schema: *835 + schema: *838 application/scim+json: - schema: *835 - '500': &841 + schema: *838 + '500': &844 description: Internal server error content: application/json: - schema: *835 + schema: *838 application/scim+json: - schema: *835 + schema: *838 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120881,12 +121564,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#provision-a-scim-enterprise-group parameters: - - *41 + - *42 requestBody: required: true content: application/json: - schema: &845 + schema: &848 type: object required: - schemas @@ -120946,9 +121629,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *837 + schema: *840 examples: - group: &843 + group: &846 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -120967,13 +121650,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *838 - '401': *836 - '403': *839 - '409': &846 + '400': *841 + '401': *839 + '403': *842 + '409': &849 description: Duplicate record detected - '429': *840 - '500': *841 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120990,7 +121673,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &844 + - &847 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -120998,22 +121681,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *842 - - *41 + - *845 + - *42 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *837 + schema: *840 examples: - default: *843 - '400': *838 - '401': *836 - '403': *839 + default: *846 + '400': *841 + '401': *839 + '403': *842 '404': *6 - '429': *840 - '500': *841 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121032,13 +121715,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *844 - - *41 + - *847 + - *42 requestBody: required: true content: application/json: - schema: *845 + schema: *848 examples: group: summary: Group @@ -121064,17 +121747,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *837 + schema: *840 examples: - group: *843 - groupWithMembers: *843 - '400': *838 - '401': *836 - '403': *839 + group: *846 + groupWithMembers: *846 + '400': *841 + '401': *839 + '403': *842 '404': *6 - '409': *846 - '429': *840 - '500': *841 + '409': *849 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121098,13 +121781,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *844 - - *41 + - *847 + - *42 requestBody: required: true content: application/json: - schema: &856 + schema: &859 type: object required: - Operations @@ -121164,17 +121847,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *837 + schema: *840 examples: - updateGroup: *843 - addMembers: *843 - '400': *838 - '401': *836 - '403': *839 + updateGroup: *846 + addMembers: *846 + '400': *841 + '401': *839 + '403': *842 '404': *6 - '409': *846 - '429': *840 - '500': *841 + '409': *849 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121190,17 +121873,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *844 - - *41 + - *847 + - *42 responses: '204': description: Group was deleted, no content - '400': *838 - '401': *836 - '403': *839 + '400': *841 + '401': *839 + '403': *842 '404': *6 - '429': *840 - '500': *841 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121234,9 +121917,9 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *847 - - *848 - - *41 + - *850 + - *851 + - *42 responses: '200': description: Success, either users were found or not found @@ -121268,7 +121951,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &851 + items: &854 allOf: - type: object required: @@ -121347,7 +122030,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &850 + roles: &853 type: array description: The roles assigned to the user. items: @@ -121403,7 +122086,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *849 + meta: *852 startIndex: type: integer description: A starting index for the returned page @@ -121440,11 +122123,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *838 - '401': *836 - '403': *839 - '429': *840 - '500': *841 + '400': *841 + '401': *839 + '403': *842 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121463,12 +122146,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#provision-a-scim-enterprise-user parameters: - - *41 + - *42 requestBody: required: true content: application/json: - schema: &854 + schema: &857 type: object required: - schemas @@ -121550,9 +122233,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *850 + roles: *853 examples: - user: &855 + user: &858 summary: User value: schemas: @@ -121599,9 +122282,9 @@ paths: description: User has been created content: application/scim+json: - schema: *851 + schema: *854 examples: - user: &852 + user: &855 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -121627,13 +122310,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *852 - '400': *838 - '401': *836 - '403': *839 - '409': *846 - '429': *840 - '500': *841 + enterpriseOwner: *855 + '400': *841 + '401': *839 + '403': *842 + '409': *849 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121650,28 +122333,28 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &853 + - &856 name: scim_user_id description: The unique identifier of the SCIM user. in: path required: true schema: type: string - - *41 + - *42 responses: '200': description: Success, a user was found content: application/scim+json: - schema: *851 + schema: *854 examples: - default: *852 - '400': *838 - '401': *836 - '403': *839 + default: *855 + '400': *841 + '401': *839 + '403': *842 '404': *6 - '429': *840 - '500': *841 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121722,30 +122405,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *853 - - *41 + - *856 + - *42 requestBody: required: true content: application/json: - schema: *854 + schema: *857 examples: - user: *855 + user: *858 responses: '200': description: User was updated content: application/scim+json: - schema: *851 + schema: *854 examples: - user: *852 - '400': *838 - '401': *836 - '403': *839 + user: *855 + '400': *841 + '401': *839 + '403': *842 '404': *6 - '409': *846 - '429': *840 - '500': *841 + '409': *849 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121786,13 +122469,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *853 - - *41 + - *856 + - *42 requestBody: required: true content: application/json: - schema: *856 + schema: *859 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -121832,18 +122515,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *851 - examples: - userMultiValuedProperties: *852 - userSingleValuedProperties: *852 - disableUser: *852 - '400': *838 - '401': *836 - '403': *839 + schema: *854 + examples: + userMultiValuedProperties: *855 + userSingleValuedProperties: *855 + disableUser: *855 + '400': *841 + '401': *839 + '403': *842 '404': *6 - '409': *846 - '429': *840 - '500': *841 + '409': *849 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121863,17 +122546,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *853 - - *41 + - *856 + - *42 responses: '204': description: User was deleted, no content - '400': *838 - '401': *836 - '403': *839 + '400': *841 + '401': *839 + '403': *842 '404': *6 - '429': *840 - '500': *841 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121906,7 +122589,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#list-scim-provisioned-identities parameters: - - *89 + - *90 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -121960,7 +122643,7 @@ paths: example: 1 Resources: type: array - items: &857 + items: &860 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -122190,23 +122873,23 @@ paths: created: '2017-03-09T16:11:13-05:00' lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 - '304': *37 - '404': &858 + '304': *38 + '404': &861 description: Resource not found content: application/json: - schema: *835 + schema: *838 application/scim+json: - schema: *835 - '403': &859 + schema: *838 + '403': &862 description: Forbidden content: application/json: - schema: *835 + schema: *838 application/scim+json: - schema: *835 - '400': *838 - '429': *840 + schema: *838 + '400': *841 + '429': *843 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -122226,15 +122909,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *89 + - *90 responses: '201': description: Response content: application/scim+json: - schema: *857 + schema: *860 examples: - default: &860 + default: &863 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -122256,18 +122939,18 @@ paths: created: '2017-03-09T16:11:13-05:00' lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 - '304': *37 - '404': *858 - '403': *859 - '500': *841 + '304': *38 + '404': *861 + '403': *862 + '500': *844 '409': description: Conflict content: application/json: - schema: *835 + schema: *838 application/scim+json: - schema: *835 - '400': *838 + schema: *838 + '400': *841 requestBody: required: true content: @@ -122364,19 +123047,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *89 - - *853 + - *90 + - *856 responses: '200': description: Response content: application/scim+json: - schema: *857 + schema: *860 examples: - default: *860 - '404': *858 - '403': *859 - '304': *37 + default: *863 + '404': *861 + '403': *862 + '304': *38 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -122398,19 +123081,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *89 - - *853 + - *90 + - *856 responses: '200': description: Response content: application/scim+json: - schema: *857 + schema: *860 examples: - default: *860 - '304': *37 - '404': *858 - '403': *859 + default: *863 + '304': *38 + '404': *861 + '403': *862 requestBody: required: true content: @@ -122522,20 +123205,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *89 - - *853 + - *90 + - *856 responses: '200': description: Response content: application/scim+json: - schema: *857 + schema: *860 examples: - default: *860 - '304': *37 - '404': *858 - '403': *859 - '400': *838 + default: *863 + '304': *38 + '404': *861 + '403': *862 + '400': *841 '429': description: Response content: @@ -122625,14 +123308,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *89 - - *853 + - *90 + - *856 responses: '204': description: Response - '404': *858 - '403': *859 - '304': *37 + '404': *861 + '403': *862 + '304': *38 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -122749,7 +123432,7 @@ paths: html_url: type: string format: uri - repository: *295 + repository: *296 score: type: number file_size: @@ -122767,7 +123450,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &861 + text_matches: &864 title: Search Result Text Matches type: array items: @@ -122880,8 +123563,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': *37 - '503': *203 + '304': *38 + '503': *204 '422': *15 '403': *29 x-github: @@ -122930,7 +123613,7 @@ paths: enum: - author-date - committer-date - - &862 + - &865 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 @@ -123001,7 +123684,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *559 + properties: *560 nullable: true comment_count: type: integer @@ -123021,7 +123704,7 @@ paths: url: type: string format: uri - verification: *686 + verification: *689 required: - author - committer @@ -123040,7 +123723,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *559 + properties: *560 nullable: true parents: type: array @@ -123053,12 +123736,12 @@ paths: type: string sha: type: string - repository: *295 + repository: *296 score: type: number node_id: type: string - text_matches: *861 + text_matches: *864 required: - sha - node_id @@ -123187,7 +123870,7 @@ paths: deployments_url: https://api.github.com/repos/octocat/Spoon-Knife/deployments score: 1 node_id: MDQ6VXNlcjU4MzIzMQ== - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -123251,7 +123934,7 @@ paths: - interactions - created - updated - - *862 + - *865 - *17 - *19 - name: advanced_search @@ -123365,11 +124048,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: type: string state_reason: @@ -123386,8 +124069,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *439 + required: *440 nullable: true comments: type: integer @@ -123401,7 +124084,7 @@ paths: type: string format: date-time nullable: true - text_matches: *861 + text_matches: *864 pull_request: type: object properties: @@ -123434,10 +124117,10 @@ paths: type: string score: type: number - author_association: *231 + author_association: *232 draft: type: boolean - repository: *80 + repository: *81 body_html: type: string body_text: @@ -123445,7 +124128,7 @@ paths: timeline_url: type: string format: uri - type: *403 + type: *404 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -123455,17 +124138,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - reactions: *232 + reactions: *233 required: - assignee - closed_at @@ -123629,9 +124312,9 @@ paths: - quoted_text items: - "..." - '503': *203 + '503': *204 '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -123683,7 +124366,7 @@ paths: enum: - created - updated - - *862 + - *865 - *17 - *19 responses: @@ -123727,7 +124410,7 @@ paths: nullable: true score: type: number - text_matches: *861 + text_matches: *864 required: - id - node_id @@ -123759,7 +124442,7 @@ paths: default: true description: Something isn't working. score: 1 - '304': *37 + '304': *38 '404': *6 '403': *29 '422': *15 @@ -123813,7 +124496,7 @@ paths: - forks - help-wanted-issues - updated - - *862 + - *865 - *17 - *19 responses: @@ -124041,8 +124724,8 @@ paths: title: License Simple description: License Simple type: object - properties: *237 - required: *238 + properties: *238 + required: *239 nullable: true permissions: type: object @@ -124061,7 +124744,7 @@ paths: - admin - pull - push - text_matches: *861 + text_matches: *864 temp_clone_token: type: string allow_merge_commit: @@ -124263,9 +124946,9 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *203 + '503': *204 '422': *15 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -124362,7 +125045,7 @@ paths: type: string format: uri nullable: true - text_matches: *861 + text_matches: *864 related: type: array nullable: true @@ -124503,7 +125186,7 @@ paths: featured: true curated: true score: 1 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -124555,7 +125238,7 @@ paths: - followers - repositories - joined - - *862 + - *865 - *17 - *19 responses: @@ -124659,7 +125342,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *861 + text_matches: *864 blog: type: string nullable: true @@ -124717,8 +125400,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': *37 - '503': *203 + '304': *38 + '503': *204 '422': *15 x-github: githubCloudOnly: false @@ -124738,7 +125421,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &865 + - &868 name: team_id description: The unique identifier of the team. in: path @@ -124750,9 +125433,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *502 examples: - default: *502 + default: *503 '404': *6 x-github: githubCloudOnly: false @@ -124779,7 +125462,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *865 + - *868 requestBody: required: true content: @@ -124842,16 +125525,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *501 + schema: *502 examples: - default: *502 + default: *503 '201': description: Response content: application/json: - schema: *501 + schema: *502 examples: - default: *502 + default: *503 '404': *6 '422': *15 '403': *29 @@ -124879,7 +125562,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *865 + - *868 responses: '204': description: Response @@ -124908,7 +125591,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *865 + - *868 - *17 - *19 responses: @@ -124918,11 +125601,11 @@ paths: application/json: schema: type: array - items: *397 + items: *398 examples: - default: *398 + default: *399 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -124948,7 +125631,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *865 + - *868 - name: role description: Filters members returned by their role in the team. in: query @@ -124969,11 +125652,11 @@ paths: application/json: schema: type: array - items: *866 + items: *869 examples: - default: *867 + default: *870 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -124999,8 +125682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *865 - - *151 + - *868 + - *152 responses: '204': description: if user is a member @@ -125036,8 +125719,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *865 - - *151 + - *868 + - *152 responses: '204': description: Response @@ -125076,8 +125759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *865 - - *151 + - *868 + - *152 responses: '204': description: Response @@ -125113,16 +125796,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *865 - - *151 + - *868 + - *152 responses: '200': description: Response content: application/json: - schema: *508 + schema: *509 examples: - response-if-user-is-a-team-maintainer: *868 + response-if-user-is-a-team-maintainer: *871 '404': *6 x-github: githubCloudOnly: false @@ -125155,8 +125838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *865 - - *151 + - *868 + - *152 requestBody: required: false content: @@ -125181,9 +125864,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - response-if-users-membership-with-team-is-now-pending: *869 + response-if-users-membership-with-team-is-now-pending: *872 '403': description: Forbidden if team synchronization is set up '422': @@ -125217,8 +125900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *865 - - *151 + - *868 + - *152 responses: '204': description: Response @@ -125245,7 +125928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *865 + - *868 - *17 - *19 responses: @@ -125255,11 +125938,11 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *425 + default: *426 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -125287,15 +125970,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *865 - - *509 + - *868 - *510 + - *511 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *870 + schema: *873 examples: alternative-response-with-extra-repository-information: value: @@ -125446,9 +126129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *865 - - *509 + - *868 - *510 + - *511 requestBody: required: false content: @@ -125498,9 +126181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *865 - - *509 + - *868 - *510 + - *511 responses: '204': description: Response @@ -125529,15 +126212,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *865 + - *868 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 + default: *513 '403': *29 '404': *6 x-github: @@ -125564,7 +126247,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *865 + - *868 requestBody: required: true content: @@ -125621,7 +126304,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: default: value: @@ -125652,7 +126335,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *865 + - *868 - *17 - *19 responses: @@ -125662,11 +126345,11 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - response-if-child-teams-exist: *871 + response-if-child-teams-exist: *874 headers: - Link: *47 + Link: *48 '404': *6 '403': *29 '422': *15 @@ -125697,7 +126380,7 @@ paths: application/json: schema: oneOf: - - &873 + - &876 title: Private User description: Private User type: object @@ -125900,7 +126583,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *872 + - *875 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -125983,7 +126666,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -126053,7 +126736,7 @@ paths: description: Response content: application/json: - schema: *873 + schema: *876 examples: default: value: @@ -126100,7 +126783,7 @@ paths: space: 400 private_repos: 20 collaborators: 0 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -126132,8 +126815,8 @@ paths: type: array items: *4 examples: - default: *222 - '304': *37 + default: *223 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -126155,7 +126838,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *151 + - *152 responses: '204': description: If the user is blocked @@ -126164,7 +126847,7 @@ paths: content: application/json: schema: *3 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -126183,11 +126866,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#block-a-user parameters: - - *151 + - *152 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -126207,11 +126890,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#unblock-a-user parameters: - - *151 + - *152 responses: '204': description: Response - '304': *37 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -126256,11 +126939,11 @@ paths: type: integer codespaces: type: array - items: *408 + items: *409 examples: - default: *409 - '304': *37 - '500': *40 + default: *410 + '304': *38 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -126397,21 +127080,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *408 + schema: *409 examples: - default: *612 + default: *615 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *408 + schema: *409 examples: - default: *612 + default: *615 '401': *25 '403': *29 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -126451,7 +127134,7 @@ paths: type: integer secrets: type: array - items: &874 + items: &877 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -126491,9 +127174,9 @@ paths: - visibility - selected_repositories_url examples: - default: *615 + default: *618 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -126561,13 +127244,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *874 + schema: *877 examples: default: value: @@ -126597,7 +127280,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *305 + - *306 requestBody: required: true content: @@ -126642,7 +127325,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -126670,7 +127353,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *305 + - *306 responses: '204': description: Response @@ -126695,7 +127378,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *305 + - *306 responses: '200': description: Response @@ -126711,13 +127394,13 @@ paths: type: integer repositories: type: array - items: *295 + items: *296 examples: - default: *347 + default: *348 '401': *25 '403': *29 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -126738,7 +127421,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *305 + - *306 requestBody: required: true content: @@ -126770,7 +127453,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -126792,7 +127475,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *305 + - *306 - name: repository_id in: path required: true @@ -126804,7 +127487,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -126825,7 +127508,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *305 + - *306 - name: repository_id in: path required: true @@ -126837,7 +127520,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -126857,17 +127540,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *410 + - *411 responses: '200': description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: *612 - '304': *37 - '500': *40 + default: *615 + '304': *38 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -126891,7 +127574,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *410 + - *411 requestBody: required: false content: @@ -126921,9 +127604,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: *612 + default: *615 '401': *25 '403': *29 '404': *6 @@ -126945,11 +127628,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *410 + - *411 responses: - '202': *39 - '304': *37 - '500': *40 + '202': *40 + '304': *38 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -126974,13 +127657,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *410 + - *411 responses: '202': description: Response content: application/json: - schema: &875 + schema: &878 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -127021,7 +127704,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &876 + default: &879 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -127029,7 +127712,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -127053,7 +127736,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *410 + - *411 - name: export_id in: path required: true @@ -127066,9 +127749,9 @@ paths: description: Response content: application/json: - schema: *875 + schema: *878 examples: - default: *876 + default: *879 '404': *6 x-github: githubCloudOnly: false @@ -127089,7 +127772,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *410 + - *411 responses: '200': description: Response @@ -127105,11 +127788,11 @@ paths: type: integer machines: type: array - items: *877 + items: *880 examples: - default: *878 - '304': *37 - '500': *40 + default: *881 + '304': *38 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -127136,7 +127819,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *410 + - *411 requestBody: required: true content: @@ -127186,13 +127869,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *514 + repository: *515 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *613 - required: *614 + properties: *616 + required: *617 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -127966,17 +128649,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *410 + - *411 responses: '200': description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: *612 - '304': *37 - '500': *40 + default: *615 + '304': *38 + '500': *41 '400': *14 '401': *25 '402': @@ -127986,7 +128669,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -128006,16 +128689,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *410 + - *411 responses: '200': description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: *612 - '500': *40 + default: *615 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -128044,9 +128727,9 @@ paths: application/json: schema: type: array - items: *419 + items: *420 examples: - default: &890 + default: &893 value: - id: 197 name: hello_docker @@ -128147,7 +128830,7 @@ paths: application/json: schema: type: array - items: &879 + items: &882 title: Email description: Email type: object @@ -128178,7 +128861,7 @@ paths: primary: true verified: true visibility: private - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -128212,17 +128895,17 @@ paths: application/json: schema: type: array - items: *879 + items: *882 examples: - default: &892 + default: &895 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -128289,7 +128972,7 @@ paths: application/json: schema: type: array - items: *879 + items: *882 examples: default: value: @@ -128306,7 +128989,7 @@ paths: verified: false visibility: '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -128367,7 +129050,7 @@ paths: responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -128399,10 +129082,10 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -128432,10 +129115,10 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -128454,7 +129137,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *151 + - *152 responses: '204': description: if the person is followed by the authenticated user @@ -128463,7 +129146,7 @@ paths: content: application/json: schema: *3 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -128484,11 +129167,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#follow-a-user parameters: - - *151 + - *152 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -128509,11 +129192,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#unfollow-a-user parameters: - - *151 + - *152 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -128545,7 +129228,7 @@ paths: application/json: schema: type: array - items: &880 + items: &883 title: GPG Key description: A unique encryption key type: object @@ -128676,7 +129359,7 @@ paths: - subkeys - revoked examples: - default: &909 + default: &912 value: - id: 3 name: Octocat's GPG Key @@ -128708,8 +129391,8 @@ paths: revoked: false raw_key: string headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -128761,9 +129444,9 @@ paths: description: Response content: application/json: - schema: *880 + schema: *883 examples: - default: &881 + default: &884 value: id: 3 name: Octocat's GPG Key @@ -128797,7 +129480,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': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -128820,7 +129503,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &882 + - &885 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -128832,11 +129515,11 @@ paths: description: Response content: application/json: - schema: *880 + schema: *883 examples: - default: *881 + default: *884 '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -128857,13 +129540,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *882 + - *885 responses: '204': description: Response '404': *6 '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -129000,8 +129683,8 @@ paths: suspended_at: suspended_by: headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -129048,7 +129731,7 @@ paths: type: array items: allOf: - - *80 + - *81 - type: object properties: custom_properties: @@ -129059,12 +129742,12 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *290 + default: *291 headers: - Link: *47 + Link: *48 '404': *6 '403': *29 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -129085,12 +129768,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *289 + - *290 responses: '204': description: Response '403': *29 - '304': *37 + '304': *38 '404': *6 x-github: githubCloudOnly: false @@ -129111,12 +129794,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *289 + - *290 responses: '204': description: Response '403': *29 - '304': *37 + '304': *38 '404': *6 '422': description: Returned when the application is installed on `all` repositories @@ -129145,12 +129828,12 @@ paths: application/json: schema: anyOf: - - *395 + - *396 - type: object properties: {} additionalProperties: false examples: - default: *396 + default: *397 '204': description: Response when there are no restrictions x-github: @@ -129174,7 +129857,7 @@ paths: required: true content: application/json: - schema: *696 + schema: *699 examples: default: value: @@ -129185,7 +129868,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: default: value: @@ -129266,7 +129949,7 @@ paths: - closed - all default: open - - *406 + - *407 - name: sort description: What to sort results by. in: query @@ -129278,8 +129961,8 @@ paths: - updated - comments default: created - - *112 - - *241 + - *113 + - *242 - *17 - *19 responses: @@ -129289,13 +129972,13 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *407 + default: *408 headers: - Link: *47 + Link: *48 '404': *6 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -129324,7 +130007,7 @@ paths: application/json: schema: type: array - items: &883 + items: &886 title: Key description: Key type: object @@ -129375,8 +130058,8 @@ paths: verified: false read_only: false headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -129425,9 +130108,9 @@ paths: description: Response content: application/json: - schema: *883 + schema: *886 examples: - default: &884 + default: &887 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -129437,7 +130120,7 @@ paths: verified: false read_only: false '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -129460,17 +130143,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *749 + - *751 responses: '200': description: Response content: application/json: - schema: *883 + schema: *886 examples: - default: *884 + default: *887 '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -129491,11 +130174,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *749 + - *751 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -129524,7 +130207,7 @@ paths: application/json: schema: type: array - items: &885 + items: &888 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -129581,7 +130264,7 @@ paths: - id - type - login - plan: *252 + plan: *253 required: - billing_cycle - next_billing_date @@ -129592,7 +130275,7 @@ paths: - account - plan examples: - default: &886 + default: &889 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -129625,8 +130308,8 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '401': *25 '404': *6 x-github: @@ -129654,12 +130337,12 @@ paths: application/json: schema: type: array - items: *885 + items: *888 examples: - default: *886 + default: *889 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '401': *25 x-github: githubCloudOnly: false @@ -129696,7 +130379,7 @@ paths: application/json: schema: type: array - items: *411 + items: *412 examples: default: value: @@ -129779,8 +130462,8 @@ paths: type: User site_admin: false headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -129804,13 +130487,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *411 + schema: *412 examples: default: value: @@ -129872,7 +130555,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *89 + - *90 requestBody: required: true content: @@ -129897,9 +130580,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *411 + schema: *412 examples: - default: &887 + default: &890 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -129946,9 +130629,9 @@ paths: processed asynchronously. content: application/json: - schema: *411 + schema: *412 examples: - default: *887 + default: *890 '403': *29 '404': *6 '422': *15 @@ -129977,7 +130660,7 @@ paths: application/json: schema: type: array - items: *413 + items: *414 examples: default: value: @@ -130130,8 +130813,8 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -130230,7 +130913,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *414 examples: default: value: @@ -130383,7 +131066,7 @@ paths: created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -130410,7 +131093,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *414 + - *415 - name: exclude in: query required: false @@ -130423,7 +131106,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *414 examples: default: value: @@ -130577,7 +131260,7 @@ paths: created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -130617,11 +131300,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *414 + - *415 responses: '302': description: Response - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -130643,12 +131326,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *414 + - *415 responses: '204': description: Response '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -130672,12 +131355,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *414 - - *888 + - *415 + - *891 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -130697,7 +131380,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *414 + - *415 - *17 - *19 responses: @@ -130707,11 +131390,11 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *425 + default: *426 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -130744,12 +131427,12 @@ paths: application/json: schema: type: array - items: *75 + items: *76 examples: - default: *265 + default: *266 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -130788,7 +131471,7 @@ paths: - docker - nuget - container - - *889 + - *892 - *19 - *17 responses: @@ -130798,10 +131481,10 @@ paths: application/json: schema: type: array - items: *419 + items: *420 examples: - default: *890 - '400': *891 + default: *893 + '400': *894 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -130821,16 +131504,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *421 - *422 + - *423 responses: '200': description: Response content: application/json: - schema: *419 + schema: *420 examples: - default: &910 + default: &913 value: id: 40201 name: octo-name @@ -130943,8 +131626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *421 - *422 + - *423 responses: '204': description: Response @@ -130974,8 +131657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *421 - *422 + - *423 - name: token description: package token schema: @@ -131007,8 +131690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *421 - *422 + - *423 - *19 - *17 - name: state @@ -131028,7 +131711,7 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: default: value: @@ -131077,15 +131760,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *421 - *422 - - *424 + - *423 + - *425 responses: '200': description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -131121,9 +131804,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *421 - *422 - - *424 + - *423 + - *425 responses: '204': description: Response @@ -131153,9 +131836,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *421 - *422 - - *424 + - *423 + - *425 responses: '204': description: Response @@ -131192,12 +131875,12 @@ paths: application/json: schema: type: array - items: *879 + items: *882 examples: - default: *892 + default: *895 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -131305,9 +131988,9 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: - default: &899 + default: &902 summary: Default response value: - id: 1296269 @@ -131428,9 +132111,9 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *47 + Link: *48 '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -131611,16 +132294,16 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *516 + default: *517 headers: Location: example: https://api.github.com/repos/octocat/Hello-World schema: type: string '401': *25 - '304': *37 + '304': *38 '404': *6 '403': *29 '422': *15 @@ -131651,12 +132334,12 @@ paths: application/json: schema: type: array - items: *699 + items: *702 examples: - default: *893 + default: *896 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -131676,14 +132359,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *399 + - *400 responses: '204': description: Response '403': *29 - '409': *121 + '409': *122 '404': *6 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -131699,12 +132382,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *399 + - *400 responses: '204': description: Response - '409': *121 - '304': *37 + '409': *122 + '304': *38 '404': *6 '403': *29 x-github: @@ -131732,7 +132415,7 @@ paths: application/json: schema: type: array - items: &894 + items: &897 title: Social account description: Social media account type: object @@ -131747,13 +132430,13 @@ paths: - provider - url examples: - default: &895 + default: &898 value: - provider: twitter url: https://twitter.com/github headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -131809,11 +132492,11 @@ paths: application/json: schema: type: array - items: *894 + items: *897 examples: - default: *895 + default: *898 '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -131866,7 +132549,7 @@ paths: '204': description: Response '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -131898,7 +132581,7 @@ paths: application/json: schema: type: array - items: &896 + items: &899 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -131918,7 +132601,7 @@ paths: - title - created_at examples: - default: &924 + default: &927 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -131929,8 +132612,8 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -131982,16 +132665,16 @@ paths: description: Response content: application/json: - schema: *896 + schema: *899 examples: - default: &897 + default: &900 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 title: ssh-rsa AAAAB3NzaC1yc2EAAA created_at: '2020-06-11T21:31:57Z' '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -132014,7 +132697,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &898 + - &901 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -132026,11 +132709,11 @@ paths: description: Response content: application/json: - schema: *896 + schema: *899 examples: - default: *897 + default: *900 '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -132051,11 +132734,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *898 + - *901 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -132080,7 +132763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &925 + - &928 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 @@ -132093,7 +132776,7 @@ paths: - created - updated default: created - - *112 + - *113 - *17 - *19 responses: @@ -132103,13 +132786,13 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: - default-response: *899 + default-response: *902 application/vnd.github.v3.star+json: schema: type: array - items: &926 + items: &929 title: Starred Repository description: Starred Repository type: object @@ -132117,7 +132800,7 @@ paths: starred_at: type: string format: date-time - repo: *80 + repo: *81 required: - starred_at - repo @@ -132245,8 +132928,8 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -132265,8 +132948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *509 - *510 + - *511 responses: '204': description: Response if this repository is starred by you @@ -132276,7 +132959,7 @@ paths: application/json: schema: *3 '401': *25 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -132294,15 +132977,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *509 - *510 + - *511 responses: '204': description: Response '403': *29 '404': *6 '401': *25 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -132319,14 +133002,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *509 - *510 + - *511 responses: '204': description: Response '404': *6 '401': *25 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -132353,12 +133036,12 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *425 + default: *426 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -132392,7 +133075,7 @@ paths: application/json: schema: type: array - items: *501 + items: *502 examples: default: value: @@ -132443,8 +133126,8 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '404': *6 '403': *29 x-github: @@ -132470,7 +133153,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *254 + - *255 responses: '200': description: Response @@ -132478,10 +133161,10 @@ paths: application/json: schema: oneOf: - - *873 - - *872 + - *876 + - *875 examples: - default-response: &903 + default-response: &906 summary: Default response value: login: octocat @@ -132516,7 +133199,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &904 + response-with-git-hub-plan-information: &907 summary: Response with GitHub plan information value: login: octocat @@ -132573,14 +133256,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &901 + - &904 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *437 + - *438 requestBody: required: true description: Details of the draft item to create in the project. @@ -132614,10 +133297,10 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - draft_issue: *444 - '304': *37 + draft_issue: *445 + '304': *38 '403': *29 '401': *25 x-github: @@ -132639,7 +133322,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *900 + - *903 - *17 responses: '200': @@ -132650,13 +133333,13 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: Link: example: ; rel="next" schema: type: string - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -132674,8 +133357,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *901 - - *437 + - *904 + - *438 requestBody: required: true content: @@ -132746,18 +133429,18 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *902 + schema: *905 examples: table_view: summary: Response for creating a table view - value: *448 + value: *449 board_view: summary: Response for creating a board view with filter - value: *448 + value: *449 roadmap_view: summary: Response for creating a roadmap view - value: *448 - '304': *37 + value: *449 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -132790,7 +133473,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user parameters: - - *151 + - *152 responses: '200': description: Response @@ -132798,11 +133481,11 @@ paths: application/json: schema: oneOf: - - *873 - - *872 + - *876 + - *875 examples: - default-response: *903 - response-with-git-hub-plan-information: *904 + default-response: *906 + response-with-git-hub-plan-information: *907 '404': *6 x-github: githubCloudOnly: false @@ -132826,9 +133509,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *110 - *111 - - *151 + - *112 + - *152 requestBody: required: true content: @@ -132852,8 +133535,8 @@ paths: required: - subject_digests examples: - default: *905 - withPredicateType: *906 + default: *908 + withPredicateType: *909 responses: '200': description: Response @@ -132906,7 +133589,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *907 + default: *910 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -132924,7 +133607,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-in-bulk parameters: - - *151 + - *152 requestBody: required: true content: @@ -132989,7 +133672,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *151 + - *152 - name: subject_digest description: Subject Digest in: path @@ -133020,7 +133703,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-by-id parameters: - - *151 + - *152 - name: attestation_id description: Attestation ID in: path @@ -133056,9 +133739,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#list-attestations parameters: - *17 - - *110 - *111 - - *151 + - *112 + - *152 - name: subject_digest description: Subject Digest in: path @@ -133111,12 +133794,12 @@ paths: initiator: type: string examples: - default: *555 + default: *556 '201': description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -133144,7 +133827,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#list-copilot-spaces-for-a-user parameters: - - *151 + - *152 - name: per_page description: The number of results per page (max 100). in: query @@ -133178,7 +133861,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *343 + items: *344 examples: default: summary: Example response for listing user copilot spaces @@ -133277,7 +133960,7 @@ paths: html_url: https://github.com/copilot/spaces/octocat/2 api_url: https://api.github.com/user/1/copilot-spaces/2 headers: - Link: *47 + Link: *48 '403': *29 '404': *6 x-github: @@ -133299,7 +133982,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#create-a-copilot-space-for-a-user parameters: - - *151 + - *152 requestBody: required: true content: @@ -133390,9 +134073,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: &908 + default: &911 summary: Example response for a user copilot space value: id: 42 @@ -133479,7 +134162,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#get-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133491,9 +134174,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: *908 + default: *911 '403': *29 '404': *6 x-github: @@ -133515,7 +134198,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#set-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133614,9 +134297,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: *908 + default: *911 '403': *29 '404': *6 '422': *15 @@ -133639,7 +134322,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#delete-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133673,7 +134356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/collaborators#list-collaborators-for-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133693,7 +134376,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *345 + items: *346 examples: default: value: @@ -133789,7 +134472,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/collaborators#add-a-collaborator-to-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133836,7 +134519,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *346 examples: default: value: @@ -133896,7 +134579,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/collaborators#set-a-collaborator-role-for-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133947,7 +134630,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *346 examples: default: value: @@ -134009,7 +134692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/collaborators#remove-a-collaborator-from-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134057,7 +134740,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#list-resources-for-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134077,7 +134760,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *346 + items: *347 examples: default: value: @@ -134115,7 +134798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#create-a-resource-for-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134169,7 +134852,7 @@ paths: description: Resource created content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -134185,7 +134868,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -134220,7 +134903,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#get-a-resource-for-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134238,7 +134921,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -134270,7 +134953,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#set-a-resource-for-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134305,7 +134988,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -134338,7 +135021,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#delete-a-resource-from-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134374,7 +135057,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *151 + - *152 responses: '200': description: Response @@ -134382,9 +135065,9 @@ paths: application/json: schema: type: array - items: *419 + items: *420 examples: - default: *890 + default: *893 '403': *29 '401': *25 x-github: @@ -134407,7 +135090,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -134417,7 +135100,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: default: value: @@ -134479,8 +135162,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *151 - - *89 + - *152 + - *90 - *17 - *19 responses: @@ -134490,7 +135173,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: default: value: @@ -134567,7 +135250,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -134577,7 +135260,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: default: value: @@ -134635,7 +135318,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-followers-of-a-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -134647,9 +135330,9 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -134666,7 +135349,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-the-people-a-user-follows parameters: - - *151 + - *152 - *17 - *19 responses: @@ -134678,9 +135361,9 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -134697,7 +135380,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *151 + - *152 - name: target_user in: path required: true @@ -134724,8 +135407,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - - *151 - - *241 + - *152 + - *242 - *17 - *19 responses: @@ -134735,11 +135418,11 @@ paths: application/json: schema: type: array - items: *242 + items: *243 examples: - default: *243 + default: *244 headers: - Link: *47 + Link: *48 '422': *15 x-github: githubCloudOnly: false @@ -134758,7 +135441,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -134768,11 +135451,11 @@ paths: application/json: schema: type: array - items: *880 + items: *883 examples: - default: *909 + default: *912 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -134794,7 +135477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-contextual-information-for-a-user parameters: - - *151 + - *152 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -134866,7 +135549,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *151 + - *152 responses: '200': description: Response @@ -134874,7 +135557,7 @@ paths: application/json: schema: *22 examples: - default: *393 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -134892,7 +135575,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#list-public-keys-for-a-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -134927,7 +135610,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -134947,7 +135630,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -134957,11 +135640,11 @@ paths: application/json: schema: type: array - items: *75 + items: *76 examples: - default: *265 + default: *266 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -134998,8 +135681,8 @@ paths: - docker - nuget - container - - *889 - - *151 + - *892 + - *152 - *19 - *17 responses: @@ -135009,12 +135692,12 @@ paths: application/json: schema: type: array - items: *419 + items: *420 examples: - default: *890 + default: *893 '403': *29 '401': *25 - '400': *891 + '400': *894 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -135034,17 +135717,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *421 - *422 - - *151 + - *423 + - *152 responses: '200': description: Response content: application/json: - schema: *419 + schema: *420 examples: - default: *910 + default: *913 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -135065,9 +135748,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *421 - *422 - - *151 + - *423 + - *152 responses: '204': description: Response @@ -135099,9 +135782,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *421 - *422 - - *151 + - *423 + - *152 - name: token description: package token schema: @@ -135133,9 +135816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *421 - *422 - - *151 + - *423 + - *152 responses: '200': description: Response @@ -135143,7 +135826,7 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: default: value: @@ -135201,16 +135884,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *421 - *422 - - *424 - - *151 + - *423 + - *425 + - *152 responses: '200': description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -135245,10 +135928,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *421 - *422 - - *151 - - *424 + - *423 + - *152 + - *425 responses: '204': description: Response @@ -135280,10 +135963,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *421 - *422 - - *151 - - *424 + - *423 + - *152 + - *425 responses: '204': description: Response @@ -135307,15 +135990,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#list-projects-for-user parameters: - - *151 + - *152 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *110 - *111 + - *112 - *17 responses: '200': @@ -135324,12 +136007,12 @@ paths: application/json: schema: type: array - items: *435 + items: *436 examples: - default: *436 + default: *437 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -135348,19 +136031,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *437 - - *151 + - *438 + - *152 responses: '200': description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *436 + default: *437 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -135379,11 +136062,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *437 - - *151 + - *438 + - *152 - *17 - - *110 - *111 + - *112 responses: '200': description: Response @@ -135391,12 +136074,12 @@ paths: application/json: schema: type: array - items: *441 + items: *442 examples: - default: *911 + default: *914 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -135414,8 +136097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - - *151 - - *437 + - *152 + - *438 requestBody: required: true content: @@ -135453,7 +136136,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *912 + items: *915 required: - name - data_type @@ -135469,7 +136152,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *913 + iteration_configuration: *916 required: - name - data_type @@ -135491,21 +136174,21 @@ paths: value: name: Due date data_type: date - single_select_field: *914 - iteration_field: *915 + single_select_field: *917 + iteration_field: *918 responses: '201': description: Response content: application/json: - schema: *441 + schema: *442 examples: - text_field: *916 - number_field: *917 - date_field: *918 - single_select_field: *919 - iteration_field: *920 - '304': *37 + text_field: *919 + number_field: *920 + date_field: *921 + single_select_field: *922 + iteration_field: *923 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -135525,20 +136208,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *437 - - *921 - - *151 + - *438 + - *924 + - *152 responses: '200': description: Response content: application/json: - schema: *441 + schema: *442 examples: - default: *922 + default: *925 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -135558,10 +136241,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *437 - - *151 - - *110 + - *438 + - *152 - *111 + - *112 - *17 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -135591,12 +136274,12 @@ paths: application/json: schema: type: array - items: *445 + items: *446 examples: - default: *446 + default: *447 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -135614,8 +136297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - - *151 - - *437 + - *152 + - *438 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -135685,23 +136368,23 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *444 + value: *445 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *444 + value: *445 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *444 + value: *445 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *444 - '304': *37 + value: *445 + '304': *38 '403': *29 '401': *25 x-github: @@ -135720,9 +136403,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *437 - - *151 - - *447 + - *438 + - *152 + - *448 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -135742,12 +136425,12 @@ paths: description: Response content: application/json: - schema: *445 + schema: *446 examples: - default: *446 + default: *447 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -135765,9 +136448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *437 - - *151 - - *447 + - *438 + - *152 + - *448 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -135837,13 +136520,13 @@ paths: description: Response content: application/json: - schema: *445 + schema: *446 examples: - text_field: *446 - number_field: *446 - date_field: *446 - single_select_field: *446 - iteration_field: *446 + text_field: *447 + number_field: *447 + date_field: *447 + single_select_field: *447 + iteration_field: *447 '401': *25 '403': *29 '404': *6 @@ -135863,9 +136546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *437 - - *151 - - *447 + - *438 + - *152 + - *448 responses: '204': description: Response @@ -135887,9 +136570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view parameters: - - *437 - - *151 - - *923 + - *438 + - *152 + - *926 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -135905,8 +136588,8 @@ paths: maxItems: 50 items: type: string - - *110 - *111 + - *112 - *17 responses: '200': @@ -135915,12 +136598,12 @@ paths: application/json: schema: type: array - items: *445 + items: *446 examples: - default: *446 + default: *447 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -135945,7 +136628,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -135955,7 +136638,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: default: value: @@ -136020,7 +136703,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-received-by-a-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -136030,7 +136713,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: default: value: @@ -136093,7 +136776,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repositories-for-a-user parameters: - - *151 + - *152 - name: type description: Limit results to repositories of the specified type. in: query @@ -136136,11 +136819,11 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *425 + default: *426 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -136158,7 +136841,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -136168,11 +136851,11 @@ paths: application/json: schema: type: array - items: *894 + items: *897 examples: - default: *895 + default: *898 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -136190,7 +136873,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -136200,11 +136883,11 @@ paths: application/json: schema: type: array - items: *896 + items: *899 examples: - default: *924 + default: *927 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -136226,9 +136909,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *151 - - *925 - - *112 + - *152 + - *928 + - *113 - *17 - *19 responses: @@ -136239,13 +136922,13 @@ paths: schema: anyOf: - type: array - items: *926 + items: *929 - type: array - items: *80 + items: *81 examples: - default-response: *899 + default-response: *902 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -136262,7 +136945,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -136272,11 +136955,11 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *425 + default: *426 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -136402,7 +137085,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &927 + enterprise: &930 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -136460,7 +137143,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &928 + installation: &931 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -136479,7 +137162,7 @@ x-webhooks: required: - id - node_id - organization: &929 + organization: &932 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -136539,13 +137222,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &930 + repository: &933 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &969 + properties: &972 id: description: Unique identifier of the repository example: 42 @@ -136565,8 +137248,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *237 - required: *238 + properties: *238 + required: *239 nullable: true organization: title: Simple User @@ -137240,7 +137923,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &970 + required: &973 - archive_url - assignees_url - blobs_url @@ -137391,10 +138074,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -137470,11 +138153,11 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - rule: &931 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + rule: &934 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -137697,11 +138380,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - rule: *931 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + rule: *934 sender: *4 required: - action @@ -137884,11 +138567,11 @@ x-webhooks: - everyone required: - from - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - rule: *931 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + rule: *934 sender: *4 required: - action @@ -137961,7 +138644,7 @@ x-webhooks: required: true content: application/json: - schema: &953 + schema: &956 title: Exemption request cancellation event type: object properties: @@ -137969,11 +138652,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - exemption_request: &932 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + exemption_request: &935 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -138277,7 +138960,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &933 + items: &936 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -138387,7 +139070,7 @@ x-webhooks: required: true content: application/json: - schema: &954 + schema: &957 title: Exemption request completed event type: object properties: @@ -138395,11 +139078,11 @@ x-webhooks: type: string enum: - completed - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - exemption_request: *932 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + exemption_request: *935 sender: *4 required: - action @@ -138471,7 +139154,7 @@ x-webhooks: required: true content: application/json: - schema: &951 + schema: &954 title: Exemption request created event type: object properties: @@ -138479,11 +139162,11 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - exemption_request: *932 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + exemption_request: *935 sender: *4 required: - action @@ -138555,7 +139238,7 @@ x-webhooks: required: true content: application/json: - schema: &955 + schema: &958 title: Exemption response dismissed event type: object properties: @@ -138563,12 +139246,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - exemption_request: *932 - exemption_response: *933 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + exemption_request: *935 + exemption_response: *936 sender: *4 required: - action @@ -138642,7 +139325,7 @@ x-webhooks: required: true content: application/json: - schema: &952 + schema: &955 title: Exemption response submitted event type: object properties: @@ -138650,12 +139333,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - exemption_request: *932 - exemption_response: *933 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + exemption_request: *935 + exemption_response: *936 sender: *4 required: - action @@ -138739,7 +139422,7 @@ x-webhooks: type: string enum: - completed - check_run: &935 + check_run: &938 title: CheckRun description: A check performed on the code of a given code change type: object @@ -138792,8 +139475,8 @@ x-webhooks: type: string pull_requests: type: array - items: *239 - repository: *295 + items: *240 + repository: *296 status: example: completed type: string @@ -138830,7 +139513,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *934 + deployment: *937 details_url: example: https://example.com type: string @@ -138880,7 +139563,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *239 + items: *240 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -138915,10 +139598,10 @@ x-webhooks: - output - app - pull_requests - installation: *928 - enterprise: *927 - organization: *929 - repository: *930 + installation: *931 + enterprise: *930 + organization: *932 + repository: *933 sender: *4 required: - check_run @@ -139309,11 +139992,11 @@ x-webhooks: type: string enum: - created - check_run: *935 - installation: *928 - enterprise: *927 - organization: *929 - repository: *930 + check_run: *938 + installation: *931 + enterprise: *930 + organization: *932 + repository: *933 sender: *4 required: - check_run @@ -139707,11 +140390,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *935 - installation: *928 - enterprise: *927 - organization: *929 - repository: *930 + check_run: *938 + installation: *931 + enterprise: *930 + organization: *932 + repository: *933 requested_action: description: The action requested by the user. type: object @@ -140114,11 +140797,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *935 - installation: *928 - enterprise: *927 - organization: *929 - repository: *930 + check_run: *938 + installation: *931 + enterprise: *930 + organization: *932 + repository: *933 sender: *4 required: - check_run @@ -141088,10 +141771,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -141790,10 +142473,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -142486,10 +143169,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -142655,7 +143338,7 @@ x-webhooks: required: - login - id - dismissed_comment: *584 + dismissed_comment: *587 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -142800,20 +143483,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &936 + commit_oid: &939 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: *927 - installation: *928 - organization: *929 - ref: &937 + enterprise: *930 + installation: *931 + organization: *932 + ref: &940 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: *930 + repository: *933 sender: *4 required: - action @@ -142978,7 +143661,7 @@ x-webhooks: required: - login - id - dismissed_comment: *584 + dismissed_comment: *587 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -143208,12 +143891,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *936 - enterprise: *927 - installation: *928 - organization: *929 - ref: *937 - repository: *930 + commit_oid: *939 + enterprise: *930 + installation: *931 + organization: *932 + ref: *940 + repository: *933 sender: *4 required: - action @@ -143308,7 +143991,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *584 + dismissed_comment: *587 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -143479,12 +144162,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *936 - enterprise: *927 - installation: *928 - organization: *929 - ref: *937 - repository: *930 + commit_oid: *939 + enterprise: *930 + installation: *931 + organization: *932 + ref: *940 + repository: *933 sender: *4 required: - action @@ -143650,7 +144333,7 @@ x-webhooks: required: - login - id - dismissed_comment: *584 + dismissed_comment: *587 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -143816,12 +144499,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *936 - enterprise: *927 - installation: *928 - organization: *929 - ref: *937 - repository: *930 + commit_oid: *939 + enterprise: *930 + installation: *931 + organization: *932 + ref: *940 + repository: *933 sender: *4 required: - action @@ -143920,7 +144603,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *584 + dismissed_comment: *587 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -144095,16 +144778,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *930 + repository: *933 sender: *4 required: - action @@ -144201,7 +144884,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *584 + dismissed_comment: *587 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -144341,12 +145024,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *936 - enterprise: *927 - installation: *928 - organization: *929 - ref: *937 - repository: *930 + commit_oid: *939 + enterprise: *930 + installation: *931 + organization: *932 + ref: *940 + repository: *933 sender: *4 required: - action @@ -144512,7 +145195,7 @@ x-webhooks: required: - login - id - dismissed_comment: *584 + dismissed_comment: *587 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -144657,10 +145340,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -144915,10 +145598,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -144998,18 +145681,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *929 - pusher_type: &938 + organization: *932 + pusher_type: &941 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &939 + ref: &942 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -145019,7 +145702,7 @@ x-webhooks: enum: - tag - branch - repository: *930 + repository: *933 sender: *4 required: - ref @@ -145101,10 +145784,10 @@ x-webhooks: type: string enum: - created - definition: *164 - enterprise: *927 - installation: *928 - organization: *929 + definition: *165 + enterprise: *930 + installation: *931 + organization: *932 sender: *4 required: - action @@ -145189,9 +145872,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 sender: *4 required: - action @@ -145268,10 +145951,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *164 - enterprise: *927 - installation: *928 - organization: *929 + definition: *165 + enterprise: *930 + installation: *931 + organization: *932 sender: *4 required: - action @@ -145348,10 +146031,10 @@ x-webhooks: type: string enum: - updated - definition: *164 - enterprise: *927 - installation: *928 - organization: *929 + definition: *165 + enterprise: *930 + installation: *931 + organization: *932 sender: *4 required: - action @@ -145428,19 +146111,19 @@ x-webhooks: type: string enum: - updated - enterprise: *927 - installation: *928 - repository: *930 - organization: *929 + enterprise: *930 + installation: *931 + repository: *933 + organization: *932 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *163 + items: *164 old_property_values: type: array description: The old custom property values for the repository. - items: *163 + items: *164 required: - action - repository @@ -145516,18 +146199,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *927 - installation: *928 - organization: *929 - pusher_type: *938 - ref: *939 + enterprise: *930 + installation: *931 + organization: *932 + pusher_type: *941 + ref: *942 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *930 + repository: *933 sender: *4 required: - ref @@ -145607,11 +146290,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *648 - installation: *928 - organization: *929 - enterprise: *927 - repository: *930 + alert: *651 + installation: *931 + organization: *932 + enterprise: *930 + repository: *933 sender: *4 required: - action @@ -145691,11 +146374,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *648 - installation: *928 - organization: *929 - enterprise: *927 - repository: *930 + alert: *651 + installation: *931 + organization: *932 + enterprise: *930 + repository: *933 sender: *4 required: - action @@ -145776,11 +146459,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *648 - installation: *928 - organization: *929 - enterprise: *927 - repository: *930 + alert: *651 + installation: *931 + organization: *932 + enterprise: *930 + repository: *933 sender: *4 required: - action @@ -145861,11 +146544,11 @@ x-webhooks: type: string enum: - created - alert: *648 - installation: *928 - organization: *929 - enterprise: *927 - repository: *930 + alert: *651 + installation: *931 + organization: *932 + enterprise: *930 + repository: *933 sender: *4 required: - action @@ -145944,11 +146627,11 @@ x-webhooks: type: string enum: - dismissed - alert: *648 - installation: *928 - organization: *929 - enterprise: *927 - repository: *930 + alert: *651 + installation: *931 + organization: *932 + enterprise: *930 + repository: *933 sender: *4 required: - action @@ -146027,11 +146710,11 @@ x-webhooks: type: string enum: - fixed - alert: *648 - installation: *928 - organization: *929 - enterprise: *927 - repository: *930 + alert: *651 + installation: *931 + organization: *932 + enterprise: *930 + repository: *933 sender: *4 required: - action @@ -146111,11 +146794,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *648 - installation: *928 - organization: *929 - enterprise: *927 - repository: *930 + alert: *651 + installation: *931 + organization: *932 + enterprise: *930 + repository: *933 sender: *4 required: - action @@ -146194,11 +146877,11 @@ x-webhooks: type: string enum: - reopened - alert: *648 - installation: *928 - organization: *929 - enterprise: *927 - repository: *930 + alert: *651 + installation: *931 + organization: *932 + enterprise: *930 + repository: *933 sender: *4 required: - action @@ -146275,9 +146958,9 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - key: &940 + enterprise: *930 + installation: *931 + key: &943 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -146313,8 +146996,8 @@ x-webhooks: - verified - created_at - read_only - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -146391,11 +147074,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - key: *940 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + key: *943 + organization: *932 + repository: *933 sender: *4 required: - action @@ -146951,12 +147634,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - workflow: &946 + workflow: &949 title: Workflow type: object nullable: true @@ -147697,15 +148380,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *941 - required: *942 + properties: *944 + required: *945 nullable: true pull_requests: type: array - items: *770 - repository: *930 - organization: *929 - installation: *928 + items: *773 + repository: *933 + organization: *932 + installation: *931 sender: *4 responses: '200': @@ -147776,7 +148459,7 @@ x-webhooks: type: string enum: - approved - approver: &943 + approver: &946 type: object properties: avatar_url: @@ -147819,11 +148502,11 @@ x-webhooks: type: string comment: type: string - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - reviewers: &944 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + reviewers: &947 type: array items: type: object @@ -147902,7 +148585,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &945 + workflow_job_run: &948 type: object properties: conclusion: @@ -148633,18 +149316,18 @@ x-webhooks: type: string enum: - rejected - approver: *943 + approver: *946 comment: type: string - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - reviewers: *944 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + reviewers: *947 sender: *4 since: type: string - workflow_job_run: *945 + workflow_job_run: *948 workflow_job_runs: type: array items: @@ -149348,13 +150031,13 @@ x-webhooks: type: string enum: - requested - enterprise: *927 + enterprise: *930 environment: type: string - installation: *928 - organization: *929 - repository: *930 - requestor: &956 + installation: *931 + organization: *932 + repository: *933 + requestor: &959 title: User type: object nullable: true @@ -151243,12 +151926,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - workflow: *946 + workflow: *949 workflow_run: title: Deployment Workflow Run type: object @@ -151928,7 +152611,7 @@ x-webhooks: type: string enum: - answered - answer: &949 + answer: &952 type: object properties: author_association: @@ -152085,11 +152768,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -152216,11 +152899,11 @@ x-webhooks: - from required: - category - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -152303,11 +152986,11 @@ x-webhooks: type: string enum: - closed - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -152389,7 +153072,7 @@ x-webhooks: type: string enum: - created - comment: &948 + comment: &951 type: object properties: author_association: @@ -152546,11 +153229,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -152633,12 +153316,12 @@ x-webhooks: type: string enum: - deleted - comment: *948 - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + comment: *951 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -152733,12 +153416,12 @@ x-webhooks: - from required: - body - comment: *948 - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + comment: *951 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -152822,11 +153505,11 @@ x-webhooks: type: string enum: - created - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -152908,11 +153591,11 @@ x-webhooks: type: string enum: - deleted - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -153012,11 +153695,11 @@ x-webhooks: type: string required: - from - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -153098,10 +153781,10 @@ x-webhooks: type: string enum: - labeled - discussion: *947 - enterprise: *927 - installation: *928 - label: &950 + discussion: *950 + enterprise: *930 + installation: *931 + label: &953 title: Label type: object properties: @@ -153133,8 +153816,8 @@ x-webhooks: - color - default - description - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -153217,11 +153900,11 @@ x-webhooks: type: string enum: - locked - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -153303,11 +153986,11 @@ x-webhooks: type: string enum: - pinned - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -153389,11 +154072,11 @@ x-webhooks: type: string enum: - reopened - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -153478,16 +154161,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *947 - new_repository: *930 + new_discussion: *950 + new_repository: *933 required: - new_discussion - new_repository - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -153570,10 +154253,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *947 - old_answer: *949 - organization: *929 - repository: *930 + discussion: *950 + old_answer: *952 + organization: *932 + repository: *933 sender: *4 required: - action @@ -153655,12 +154338,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *947 - enterprise: *927 - installation: *928 - label: *950 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + label: *953 + organization: *932 + repository: *933 sender: *4 required: - action @@ -153743,11 +154426,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -153829,11 +154512,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -153902,7 +154585,7 @@ x-webhooks: required: true content: application/json: - schema: *951 + schema: *954 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153965,7 +154648,7 @@ x-webhooks: required: true content: application/json: - schema: *952 + schema: *955 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154028,7 +154711,7 @@ x-webhooks: required: true content: application/json: - schema: *953 + schema: *956 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154091,7 +154774,7 @@ x-webhooks: required: true content: application/json: - schema: *951 + schema: *954 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154154,7 +154837,7 @@ x-webhooks: required: true content: application/json: - schema: *952 + schema: *955 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154220,7 +154903,7 @@ x-webhooks: required: true content: application/json: - schema: *953 + schema: *956 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154286,7 +154969,7 @@ x-webhooks: required: true content: application/json: - schema: *954 + schema: *957 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154352,7 +155035,7 @@ x-webhooks: required: true content: application/json: - schema: *951 + schema: *954 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154418,7 +155101,7 @@ x-webhooks: required: true content: application/json: - schema: *955 + schema: *958 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154484,7 +155167,7 @@ x-webhooks: required: true content: application/json: - schema: *952 + schema: *955 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154549,7 +155232,7 @@ x-webhooks: required: true content: application/json: - schema: *953 + schema: *956 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154614,7 +155297,7 @@ x-webhooks: required: true content: application/json: - schema: *954 + schema: *957 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154679,7 +155362,7 @@ x-webhooks: required: true content: application/json: - schema: *951 + schema: *954 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154744,7 +155427,7 @@ x-webhooks: required: true content: application/json: - schema: *955 + schema: *958 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154810,7 +155493,7 @@ x-webhooks: required: true content: application/json: - schema: *952 + schema: *955 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154877,7 +155560,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *927 + enterprise: *930 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -155537,9 +156220,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *928 - organization: *929 - repository: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - forkee @@ -155685,9 +156368,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 pages: description: The pages that were updated. type: array @@ -155724,7 +156407,7 @@ x-webhooks: - action - sha - html_url - repository: *930 + repository: *933 sender: *4 required: - pages @@ -155800,10 +156483,10 @@ x-webhooks: type: string enum: - created - enterprise: *927 + enterprise: *930 installation: *22 - organization: *929 - repositories: &957 + organization: *932 + repositories: &960 description: An array of repository objects that the installation can access. type: array @@ -155829,8 +156512,8 @@ x-webhooks: - name - full_name - private - repository: *930 - requester: *956 + repository: *933 + requester: *959 sender: *4 required: - action @@ -155905,11 +156588,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 + enterprise: *930 installation: *22 - organization: *929 - repositories: *957 - repository: *930 + organization: *932 + repositories: *960 + repository: *933 requester: nullable: true sender: *4 @@ -155985,11 +156668,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *927 + enterprise: *930 installation: *22 - organization: *929 - repositories: *957 - repository: *930 + organization: *932 + repositories: *960 + repository: *933 requester: nullable: true sender: *4 @@ -156065,10 +156748,10 @@ x-webhooks: type: string enum: - added - enterprise: *927 + enterprise: *930 installation: *22 - organization: *929 - repositories_added: &958 + organization: *932 + repositories_added: &961 description: An array of repository objects, which were added to the installation. type: array @@ -156114,15 +156797,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *930 - repository_selection: &959 + repository: *933 + repository_selection: &962 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *956 + requester: *959 sender: *4 required: - action @@ -156201,10 +156884,10 @@ x-webhooks: type: string enum: - removed - enterprise: *927 + enterprise: *930 installation: *22 - organization: *929 - repositories_added: *958 + organization: *932 + repositories_added: *961 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -156231,9 +156914,9 @@ x-webhooks: - name - full_name - private - repository: *930 - repository_selection: *959 - requester: *956 + repository: *933 + repository_selection: *962 + requester: *959 sender: *4 required: - action @@ -156312,11 +156995,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *927 + enterprise: *930 installation: *22 - organization: *929 - repositories: *957 - repository: *930 + organization: *932 + repositories: *960 + repository: *933 requester: nullable: true sender: *4 @@ -156495,10 +157178,10 @@ x-webhooks: type: string required: - from - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 target_type: type: string @@ -156577,11 +157260,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *927 + enterprise: *930 installation: *22 - organization: *929 - repositories: *957 - repository: *930 + organization: *932 + repositories: *960 + repository: *933 requester: nullable: true sender: *4 @@ -156705,8 +157388,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 reactions: title: Reactions type: object @@ -156755,15 +157438,15 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *732 - required: *733 + properties: *734 + required: *735 nullable: true minimized: title: Minimized Issue Comment description: Details about why an issue comment was minimized. type: object - properties: *734 - required: *735 + properties: *736 + required: *737 nullable: true user: title: User @@ -156848,8 +157531,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -157638,8 +158321,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157655,7 +158338,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -157988,8 +158671,8 @@ x-webhooks: - state - locked - assignee - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -158069,7 +158752,7 @@ x-webhooks: type: string enum: - deleted - comment: &960 + comment: &963 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -158226,15 +158909,15 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *732 - required: *733 + properties: *734 + required: *735 nullable: true minimized: title: Minimized Issue Comment description: Details about why an issue comment was minimized. type: object - properties: *734 - required: *735 + properties: *736 + required: *737 nullable: true required: - url @@ -158249,8 +158932,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -159035,8 +159718,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159052,7 +159735,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -159387,8 +160070,8 @@ x-webhooks: - state - locked - assignee - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -159468,7 +160151,7 @@ x-webhooks: type: string enum: - edited - changes: &989 + changes: &992 description: The changes to the comment. type: object properties: @@ -159480,9 +160163,9 @@ x-webhooks: type: string required: - from - comment: *960 - enterprise: *927 - installation: *928 + comment: *963 + enterprise: *930 + installation: *931 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -160270,8 +160953,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160287,7 +160970,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -160620,8 +161303,8 @@ x-webhooks: - state - locked - assignee - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -160702,9 +161385,9 @@ x-webhooks: type: string enum: - pinned - comment: *960 - enterprise: *927 - installation: *928 + comment: *963 + enterprise: *930 + installation: *931 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -161494,8 +162177,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161511,7 +162194,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -161846,8 +162529,8 @@ x-webhooks: - state - locked - assignee - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -161927,9 +162610,9 @@ x-webhooks: type: string enum: - unpinned - comment: *960 - enterprise: *927 - installation: *928 + comment: *963 + enterprise: *930 + installation: *931 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -162719,8 +163402,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162736,7 +163419,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -163071,8 +163754,8 @@ x-webhooks: - state - locked - assignee - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -163155,15 +163838,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *234 + blocked_issue: *235 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *234 - blocking_issue_repo: *80 - installation: *928 - organization: *929 - repository: *930 + blocking_issue: *235 + blocking_issue_repo: *81 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -163246,15 +163929,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *234 + blocked_issue: *235 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *234 - blocking_issue_repo: *80 - installation: *928 - organization: *929 - repository: *930 + blocking_issue: *235 + blocking_issue_repo: *81 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -163336,15 +164019,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *234 - blocked_issue_repo: *80 + blocked_issue: *235 + blocked_issue_repo: *81 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *234 - installation: *928 - organization: *929 - repository: *930 + blocking_issue: *235 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -163427,15 +164110,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *234 - blocked_issue_repo: *80 + blocked_issue: *235 + blocked_issue_repo: *81 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *234 - installation: *928 - organization: *929 - repository: *930 + blocking_issue: *235 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -163515,10 +164198,10 @@ x-webhooks: type: string enum: - assigned - assignee: *956 - enterprise: *927 - installation: *928 - issue: &961 + assignee: *959 + enterprise: *930 + installation: *931 + issue: &964 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -164307,14 +164990,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164330,7 +165013,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -164431,8 +165114,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -164512,8 +165195,8 @@ x-webhooks: type: string enum: - closed - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -165307,14 +165990,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165330,7 +166013,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -165566,8 +166249,8 @@ x-webhooks: required: - state - closed_at - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -165646,8 +166329,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -166432,14 +167115,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166455,7 +167138,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -166555,8 +167238,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -166635,8 +167318,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -167443,14 +168126,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167466,7 +168149,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -167545,7 +168228,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &962 + milestone: &965 title: Milestone description: A collection of related issues and pull requests. type: object @@ -167683,8 +168366,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -167783,8 +168466,8 @@ x-webhooks: type: string required: - from - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -168573,14 +169256,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168593,7 +169276,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *403 + type: *404 title: description: Title of the issue type: string @@ -168697,9 +169380,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *950 - organization: *929 - repository: *930 + label: *953 + organization: *932 + repository: *933 sender: *4 required: - action @@ -168779,9 +169462,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *927 - installation: *928 - issue: *961 + enterprise: *930 + installation: *931 + issue: *964 issue_field: type: object description: The issue field whose value was set or updated on the @@ -168935,8 +169618,8 @@ x-webhooks: - id required: - from - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -169016,9 +169699,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *927 - installation: *928 - issue: *961 + enterprise: *930 + installation: *931 + issue: *964 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -169099,8 +169782,8 @@ x-webhooks: nullable: true required: - id - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -169180,8 +169863,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -169969,14 +170652,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169989,7 +170672,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *403 + type: *404 title: description: Title of the issue type: string @@ -170093,9 +170776,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *950 - organization: *929 - repository: *930 + label: *953 + organization: *932 + repository: *933 sender: *4 required: - action @@ -170175,8 +170858,8 @@ x-webhooks: type: string enum: - locked - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -170988,14 +171671,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171008,7 +171691,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *403 + type: *404 title: description: Title of the issue type: string @@ -171089,8 +171772,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -171169,8 +171852,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -171976,14 +172659,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171999,7 +172682,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -172077,9 +172760,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *962 - organization: *929 - repository: *930 + milestone: *965 + organization: *932 + repository: *933 sender: *4 required: - action @@ -172942,11 +173625,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172974,8 +173657,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true user: title: User @@ -173047,7 +173730,7 @@ x-webhooks: required: - login - id - type: *403 + type: *404 required: - id - number @@ -173527,8 +174210,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -174312,11 +174995,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174332,7 +175015,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -174345,8 +175028,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true user: title: User @@ -174440,8 +175123,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -174521,9 +175204,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *927 - installation: *928 - issue: &963 + enterprise: *930 + installation: *931 + issue: &966 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -175306,14 +175989,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175329,7 +176012,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -175429,8 +176112,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -175509,8 +176192,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -176320,14 +177003,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -176421,9 +177104,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *403 - organization: *929 - repository: *930 + type: *404 + organization: *932 + repository: *933 sender: *4 required: - action @@ -177289,14 +177972,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -177312,7 +177995,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -177891,11 +178574,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *927 - installation: *928 - issue: *963 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + issue: *966 + organization: *932 + repository: *933 sender: *4 required: - action @@ -177975,12 +178658,12 @@ x-webhooks: type: string enum: - typed - enterprise: *927 - installation: *928 - issue: *961 - type: *403 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + issue: *964 + type: *404 + organization: *932 + repository: *933 sender: *4 required: - action @@ -178061,7 +178744,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &992 + assignee: &995 title: User type: object nullable: true @@ -178131,11 +178814,11 @@ x-webhooks: required: - login - id - enterprise: *927 - installation: *928 - issue: *961 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + issue: *964 + organization: *932 + repository: *933 sender: *4 required: - action @@ -178214,12 +178897,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *927 - installation: *928 - issue: *961 - label: *950 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + issue: *964 + label: *953 + organization: *932 + repository: *933 sender: *4 required: - action @@ -178299,8 +178982,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -179110,14 +179793,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -179133,7 +179816,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -179211,8 +179894,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -179292,11 +179975,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *927 - installation: *928 - issue: *963 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + issue: *966 + organization: *932 + repository: *933 sender: *4 required: - action @@ -179375,12 +180058,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *927 - installation: *928 - issue: *961 - type: *403 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + issue: *964 + type: *404 + organization: *932 + repository: *933 sender: *4 required: - action @@ -179460,11 +180143,11 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - label: *950 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + label: *953 + organization: *932 + repository: *933 sender: *4 required: - action @@ -179542,11 +180225,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - label: *950 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + label: *953 + organization: *932 + repository: *933 sender: *4 required: - action @@ -179656,11 +180339,11 @@ x-webhooks: type: string required: - from - enterprise: *927 - installation: *928 - label: *950 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + label: *953 + organization: *932 + repository: *933 sender: *4 required: - action @@ -179742,9 +180425,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *927 - installation: *928 - marketplace_purchase: &964 + enterprise: *930 + installation: *931 + marketplace_purchase: &967 title: Marketplace Purchase type: object required: @@ -179827,8 +180510,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *929 - previous_marketplace_purchase: &965 + organization: *932 + previous_marketplace_purchase: &968 title: Marketplace Purchase type: object properties: @@ -179908,7 +180591,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *930 + repository: *933 sender: *4 required: - action @@ -179988,10 +180671,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *927 - installation: *928 - marketplace_purchase: *964 - organization: *929 + enterprise: *930 + installation: *931 + marketplace_purchase: *967 + organization: *932 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -180074,7 +180757,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *930 + repository: *933 sender: *4 required: - action @@ -180156,10 +180839,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *927 - installation: *928 - marketplace_purchase: *964 - organization: *929 + enterprise: *930 + installation: *931 + marketplace_purchase: *967 + organization: *932 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -180241,7 +180924,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *930 + repository: *933 sender: *4 required: - action @@ -180322,8 +181005,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 marketplace_purchase: title: Marketplace Purchase type: object @@ -180405,9 +181088,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *929 - previous_marketplace_purchase: *965 - repository: *930 + organization: *932 + previous_marketplace_purchase: *968 + repository: *933 sender: *4 required: - action @@ -180487,12 +181170,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *927 - installation: *928 - marketplace_purchase: *964 - organization: *929 - previous_marketplace_purchase: *965 - repository: *930 + enterprise: *930 + installation: *931 + marketplace_purchase: *967 + organization: *932 + previous_marketplace_purchase: *968 + repository: *933 sender: *4 required: - action @@ -180594,11 +181277,11 @@ x-webhooks: type: string required: - to - enterprise: *927 - installation: *928 - member: *956 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + member: *959 + organization: *932 + repository: *933 sender: *4 required: - action @@ -180698,11 +181381,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *927 - installation: *928 - member: *956 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + member: *959 + organization: *932 + repository: *933 sender: *4 required: - action @@ -180781,11 +181464,11 @@ x-webhooks: type: string enum: - removed - enterprise: *927 - installation: *928 - member: *956 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + member: *959 + organization: *932 + repository: *933 sender: *4 required: - action @@ -180863,11 +181546,11 @@ x-webhooks: type: string enum: - added - enterprise: *927 - installation: *928 - member: *956 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + member: *959 + organization: *932 + repository: *933 scope: description: The scope of the membership. Currently, can only be `team`. @@ -180943,7 +181626,7 @@ x-webhooks: required: - login - id - team: &966 + team: &969 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -181166,11 +181849,11 @@ x-webhooks: type: string enum: - removed - enterprise: *927 - installation: *928 - member: *956 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + member: *959 + organization: *932 + repository: *933 scope: description: The scope of the membership. Currently, can only be `team`. @@ -181247,7 +181930,7 @@ x-webhooks: required: - login - id - team: *966 + team: *969 required: - action - scope @@ -181329,8 +182012,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *928 - merge_group: &968 + installation: *931 + merge_group: &971 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -181349,15 +182032,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *967 + head_commit: *970 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -181443,10 +182126,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *928 - merge_group: *968 - organization: *929 - repository: *930 + installation: *931 + merge_group: *971 + organization: *932 + repository: *933 sender: *4 required: - action @@ -181519,7 +182202,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 + enterprise: *930 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -181628,16 +182311,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *928 - organization: *929 + installation: *931 + organization: *932 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *969 - required: *970 + properties: *972 + required: *973 nullable: true sender: *4 required: @@ -181718,11 +182401,11 @@ x-webhooks: type: string enum: - closed - enterprise: *927 - installation: *928 - milestone: *962 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + milestone: *965 + organization: *932 + repository: *933 sender: *4 required: - action @@ -181801,9 +182484,9 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - milestone: &971 + enterprise: *930 + installation: *931 + milestone: &974 title: Milestone description: A collection of related issues and pull requests. type: object @@ -181940,8 +182623,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -182020,11 +182703,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - milestone: *962 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + milestone: *965 + organization: *932 + repository: *933 sender: *4 required: - action @@ -182134,11 +182817,11 @@ x-webhooks: type: string required: - from - enterprise: *927 - installation: *928 - milestone: *962 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + milestone: *965 + organization: *932 + repository: *933 sender: *4 required: - action @@ -182218,11 +182901,11 @@ x-webhooks: type: string enum: - opened - enterprise: *927 - installation: *928 - milestone: *971 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + milestone: *974 + organization: *932 + repository: *933 sender: *4 required: - action @@ -182301,11 +182984,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *956 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + blocked_user: *959 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -182384,11 +183067,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *956 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + blocked_user: *959 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -182463,8 +183146,8 @@ x-webhooks: type: string enum: - created - definition: *159 - enterprise: *927 + definition: *160 + enterprise: *930 sender: *4 required: - action @@ -182544,8 +183227,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 sender: *4 required: - action @@ -182617,9 +183300,9 @@ x-webhooks: type: string enum: - updated - definition: *159 - enterprise: *927 - installation: *928 + definition: *160 + enterprise: *930 + installation: *931 sender: *4 required: - action @@ -182691,18 +183374,18 @@ x-webhooks: type: string enum: - updated - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 sender: *4 new_property_values: type: array description: The new custom property values. - items: *163 + items: *164 old_property_values: type: array description: The old custom property values. - items: *163 + items: *164 required: - action - organization @@ -182781,9 +183464,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - membership: &972 + enterprise: *930 + installation: *931 + membership: &975 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -182890,8 +183573,8 @@ x-webhooks: - role - organization_url - user - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -182969,11 +183652,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *927 - installation: *928 - membership: *972 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + membership: *975 + organization: *932 + repository: *933 sender: *4 required: - action @@ -183052,8 +183735,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -183169,10 +183852,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 - user: *956 + user: *959 required: - action - invitation @@ -183250,11 +183933,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *927 - installation: *928 - membership: *972 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + membership: *975 + organization: *932 + repository: *933 sender: *4 required: - action @@ -183341,11 +184024,11 @@ x-webhooks: properties: from: type: string - enterprise: *927 - installation: *928 - membership: *972 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + membership: *975 + organization: *932 + repository: *933 sender: *4 required: - action @@ -183423,9 +184106,9 @@ x-webhooks: type: string enum: - published - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 package: description: Information about the package. type: object @@ -183924,7 +184607,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &973 + items: &976 title: Ruby Gems metadata type: object properties: @@ -184019,7 +184702,7 @@ x-webhooks: - owner - package_version - registry - repository: *930 + repository: *933 sender: *4 required: - action @@ -184096,9 +184779,9 @@ x-webhooks: type: string enum: - updated - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 package: description: Information about the package. type: object @@ -184451,7 +185134,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *973 + items: *976 source_url: type: string format: uri @@ -184521,7 +185204,7 @@ x-webhooks: - owner - package_version - registry - repository: *930 + repository: *933 sender: *4 required: - action @@ -184697,12 +185380,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *927 + enterprise: *930 id: type: integer - installation: *928 - organization: *929 - repository: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - id @@ -184779,7 +185462,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &974 + personal_access_token_request: &977 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -184925,10 +185608,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *927 - organization: *929 + enterprise: *930 + organization: *932 sender: *4 - installation: *928 + installation: *931 required: - action - personal_access_token_request @@ -185005,11 +185688,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *974 - enterprise: *927 - organization: *929 + personal_access_token_request: *977 + enterprise: *930 + organization: *932 sender: *4 - installation: *928 + installation: *931 required: - action - personal_access_token_request @@ -185085,11 +185768,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *974 - enterprise: *927 - organization: *929 + personal_access_token_request: *977 + enterprise: *930 + organization: *932 sender: *4 - installation: *928 + installation: *931 required: - action - personal_access_token_request @@ -185164,11 +185847,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *974 - organization: *929 - enterprise: *927 + personal_access_token_request: *977 + organization: *932 + enterprise: *930 sender: *4 - installation: *928 + installation: *931 required: - action - personal_access_token_request @@ -185273,7 +185956,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *975 + last_response: *978 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -185305,8 +185988,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 zen: description: Random string of GitHub zen. @@ -185551,10 +186234,10 @@ x-webhooks: - from required: - note - enterprise: *927 - installation: *928 - organization: *929 - project_card: &976 + enterprise: *930 + installation: *931 + organization: *932 + project_card: &979 title: Project Card type: object properties: @@ -185673,7 +186356,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *930 + repository: *933 sender: *4 required: - action @@ -185754,11 +186437,11 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - project_card: *976 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + project_card: *979 + repository: *933 sender: *4 required: - action @@ -185838,9 +186521,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 project_card: title: Project Card type: object @@ -185968,8 +186651,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *969 - required: *970 + properties: *972 + required: *973 nullable: true sender: *4 required: @@ -186063,11 +186746,11 @@ x-webhooks: - from required: - note - enterprise: *927 - installation: *928 - organization: *929 - project_card: *976 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + project_card: *979 + repository: *933 sender: *4 required: - action @@ -186161,9 +186844,9 @@ x-webhooks: - from required: - column_id - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 project_card: allOf: - title: Project Card @@ -186353,7 +187036,7 @@ x-webhooks: type: string required: - after_id - repository: *930 + repository: *933 sender: *4 required: - action @@ -186433,10 +187116,10 @@ x-webhooks: type: string enum: - closed - enterprise: *927 - installation: *928 - organization: *929 - project: &978 + enterprise: *930 + installation: *931 + organization: *932 + project: &981 title: Project type: object properties: @@ -186560,7 +187243,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *930 + repository: *933 sender: *4 required: - action @@ -186640,10 +187323,10 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - project_column: &977 + enterprise: *930 + installation: *931 + organization: *932 + project_column: &980 title: Project Column type: object properties: @@ -186682,7 +187365,7 @@ x-webhooks: - name - created_at - updated_at - repository: *930 + repository: *933 sender: *4 required: - action @@ -186761,18 +187444,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - organization: *929 - project_column: *977 + enterprise: *930 + installation: *931 + organization: *932 + project_column: *980 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *969 - required: *970 + properties: *972 + required: *973 nullable: true sender: *4 required: @@ -186862,11 +187545,11 @@ x-webhooks: type: string required: - from - enterprise: *927 - installation: *928 - organization: *929 - project_column: *977 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + project_column: *980 + repository: *933 sender: *4 required: - action @@ -186946,11 +187629,11 @@ x-webhooks: type: string enum: - moved - enterprise: *927 - installation: *928 - organization: *929 - project_column: *977 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + project_column: *980 + repository: *933 sender: *4 required: - action @@ -187030,11 +187713,11 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - project: *978 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + project: *981 + repository: *933 sender: *4 required: - action @@ -187114,18 +187797,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - organization: *929 - project: *978 + enterprise: *930 + installation: *931 + organization: *932 + project: *981 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *969 - required: *970 + properties: *972 + required: *973 nullable: true sender: *4 required: @@ -187227,11 +187910,11 @@ x-webhooks: type: string required: - from - enterprise: *927 - installation: *928 - organization: *929 - project: *978 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + project: *981 + repository: *933 sender: *4 required: - action @@ -187310,11 +187993,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *927 - installation: *928 - organization: *929 - project: *978 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + project: *981 + repository: *933 sender: *4 required: - action @@ -187395,9 +188078,9 @@ x-webhooks: type: string enum: - closed - installation: *928 - organization: *929 - projects_v2: *435 + installation: *931 + organization: *932 + projects_v2: *436 sender: *4 required: - action @@ -187478,9 +188161,9 @@ x-webhooks: type: string enum: - created - installation: *928 - organization: *929 - projects_v2: *435 + installation: *931 + organization: *932 + projects_v2: *436 sender: *4 required: - action @@ -187561,9 +188244,9 @@ x-webhooks: type: string enum: - deleted - installation: *928 - organization: *929 - projects_v2: *435 + installation: *931 + organization: *932 + projects_v2: *436 sender: *4 required: - action @@ -187680,9 +188363,9 @@ x-webhooks: type: string to: type: string - installation: *928 - organization: *929 - projects_v2: *435 + installation: *931 + organization: *932 + projects_v2: *436 sender: *4 required: - action @@ -187765,7 +188448,7 @@ x-webhooks: type: string enum: - archived - changes: &982 + changes: &985 type: object properties: archived_at: @@ -187779,9 +188462,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *928 - organization: *929 - projects_v2_item: &979 + installation: *931 + organization: *932 + projects_v2_item: &982 title: Projects v2 Item description: An item belonging to a project type: object @@ -187799,7 +188482,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *442 + content_type: *443 creator: *4 created_at: type: string @@ -187916,9 +188599,9 @@ x-webhooks: nullable: true to: type: string - installation: *928 - organization: *929 - projects_v2_item: *979 + installation: *931 + organization: *932 + projects_v2_item: *982 sender: *4 required: - action @@ -188000,9 +188683,9 @@ x-webhooks: type: string enum: - created - installation: *928 - organization: *929 - projects_v2_item: *979 + installation: *931 + organization: *932 + projects_v2_item: *982 sender: *4 required: - action @@ -188083,9 +188766,9 @@ x-webhooks: type: string enum: - deleted - installation: *928 - organization: *929 - projects_v2_item: *979 + installation: *931 + organization: *932 + projects_v2_item: *982 sender: *4 required: - action @@ -188191,7 +188874,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &980 + - &983 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -188213,7 +188896,7 @@ x-webhooks: required: - id - name - - &981 + - &984 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -188247,8 +188930,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *980 - - *981 + - *983 + - *984 required: - field_value - type: object @@ -188264,9 +188947,9 @@ x-webhooks: nullable: true required: - body - installation: *928 - organization: *929 - projects_v2_item: *979 + installation: *931 + organization: *932 + projects_v2_item: *982 sender: *4 required: - action @@ -188361,9 +189044,9 @@ x-webhooks: to: type: string nullable: true - installation: *928 - organization: *929 - projects_v2_item: *979 + installation: *931 + organization: *932 + projects_v2_item: *982 sender: *4 required: - action @@ -188446,10 +189129,10 @@ x-webhooks: type: string enum: - restored - changes: *982 - installation: *928 - organization: *929 - projects_v2_item: *979 + changes: *985 + installation: *931 + organization: *932 + projects_v2_item: *982 sender: *4 required: - action @@ -188531,9 +189214,9 @@ x-webhooks: type: string enum: - reopened - installation: *928 - organization: *929 - projects_v2: *435 + installation: *931 + organization: *932 + projects_v2: *436 sender: *4 required: - action @@ -188614,14 +189297,14 @@ x-webhooks: type: string enum: - created - installation: *928 - organization: *929 - projects_v2_status_update: &985 + installation: *931 + organization: *932 + projects_v2_status_update: &988 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *983 - required: *984 + properties: *986 + required: *987 sender: *4 required: - action @@ -188702,9 +189385,9 @@ x-webhooks: type: string enum: - deleted - installation: *928 - organization: *929 - projects_v2_status_update: *985 + installation: *931 + organization: *932 + projects_v2_status_update: *988 sender: *4 required: - action @@ -188840,9 +189523,9 @@ x-webhooks: type: string format: date nullable: true - installation: *928 - organization: *929 - projects_v2_status_update: *985 + installation: *931 + organization: *932 + projects_v2_status_update: *988 sender: *4 required: - action @@ -188913,10 +189596,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - repository @@ -188993,13 +189676,13 @@ x-webhooks: type: string enum: - assigned - assignee: *956 - enterprise: *927 - installation: *928 - number: &986 + assignee: *959 + enterprise: *930 + installation: *931 + number: &989 description: The pull request number. type: integer - organization: *929 + organization: *932 pull_request: title: Pull Request type: object @@ -191178,6 +191861,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -191304,7 +191988,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -191386,11 +192070,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 number: type: integer - organization: *929 + organization: *932 pull_request: title: Pull Request type: object @@ -193562,6 +194246,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -193690,7 +194375,7 @@ x-webhooks: - draft reason: type: string - repository: *930 + repository: *933 sender: *4 required: - action @@ -193772,11 +194457,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 number: type: integer - organization: *929 + organization: *932 pull_request: title: Pull Request type: object @@ -195948,6 +196633,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -196076,7 +196762,7 @@ x-webhooks: - draft reason: type: string - repository: *930 + repository: *933 sender: *4 required: - action @@ -196158,13 +196844,13 @@ x-webhooks: type: string enum: - closed - enterprise: *927 - installation: *928 - number: *986 - organization: *929 - pull_request: &987 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 + pull_request: &990 allOf: - - *770 + - *773 - type: object properties: allow_auto_merge: @@ -196226,7 +196912,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *930 + repository: *933 sender: *4 required: - action @@ -196307,12 +196993,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *927 - installation: *928 - number: *986 - organization: *929 - pull_request: *987 - repository: *930 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 + pull_request: *990 + repository: *933 sender: *4 required: - action @@ -196392,11 +197078,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *927 - milestone: *752 - number: *986 - organization: *929 - pull_request: &988 + enterprise: *930 + milestone: *754 + number: *989 + organization: *932 + pull_request: &991 title: Pull Request type: object properties: @@ -198555,6 +199241,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -198681,7 +199368,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -198760,11 +199447,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 number: type: integer - organization: *929 + organization: *932 pull_request: title: Pull Request type: object @@ -200927,6 +201614,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -201068,7 +201756,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *930 + repository: *933 sender: *4 required: - action @@ -201192,12 +201880,12 @@ x-webhooks: type: string required: - from - enterprise: *927 - installation: *928 - number: *986 - organization: *929 - pull_request: *987 - repository: *930 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 + pull_request: *990 + repository: *933 sender: *4 required: - action @@ -201277,11 +201965,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 number: type: integer - organization: *929 + organization: *932 pull_request: title: Pull Request type: object @@ -203444,6 +204132,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -203570,7 +204259,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -203650,11 +204339,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *927 - installation: *928 - label: *950 - number: *986 - organization: *929 + enterprise: *930 + installation: *931 + label: *953 + number: *989 + organization: *932 pull_request: title: Pull Request type: object @@ -205832,6 +206521,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -205958,7 +206648,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -206039,10 +206729,10 @@ x-webhooks: type: string enum: - locked - enterprise: *927 - installation: *928 - number: *986 - organization: *929 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 pull_request: title: Pull Request type: object @@ -208218,6 +208908,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -208344,7 +209035,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -208424,12 +209115,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *927 - milestone: *752 - number: *986 - organization: *929 - pull_request: *988 - repository: *930 + enterprise: *930 + milestone: *754 + number: *989 + organization: *932 + pull_request: *991 + repository: *933 sender: *4 required: - action @@ -208508,12 +209199,12 @@ x-webhooks: type: string enum: - opened - enterprise: *927 - installation: *928 - number: *986 - organization: *929 - pull_request: *987 - repository: *930 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 + pull_request: *990 + repository: *933 sender: *4 required: - action @@ -208594,12 +209285,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *927 - installation: *928 - number: *986 - organization: *929 - pull_request: *987 - repository: *930 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 + pull_request: *990 + repository: *933 sender: *4 required: - action @@ -208679,12 +209370,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *927 - installation: *928 - number: *986 - organization: *929 - pull_request: *987 - repository: *930 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 + pull_request: *990 + repository: *933 sender: *4 required: - action @@ -209050,9 +209741,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 pull_request: type: object properties: @@ -211123,6 +211814,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: type: string enum: @@ -211244,7 +211936,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *930 + repository: *933 sender: *4 required: - action @@ -211324,7 +212016,7 @@ x-webhooks: type: string enum: - deleted - comment: &990 + comment: &993 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -211609,9 +212301,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 pull_request: type: object properties: @@ -213670,6 +214362,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: type: string enum: @@ -213791,7 +214484,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *930 + repository: *933 sender: *4 required: - action @@ -213871,11 +214564,11 @@ x-webhooks: type: string enum: - edited - changes: *989 - comment: *990 - enterprise: *927 - installation: *928 - organization: *929 + changes: *992 + comment: *993 + enterprise: *930 + installation: *931 + organization: *932 pull_request: type: object properties: @@ -215937,6 +216630,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: type: string enum: @@ -216058,7 +216752,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *930 + repository: *933 sender: *4 required: - action @@ -216139,9 +216833,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 pull_request: title: Simple Pull Request type: object @@ -218213,6 +218907,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: type: string enum: @@ -218336,7 +219031,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *930 + repository: *933 review: description: The review that was affected. type: object @@ -218583,9 +219278,9 @@ x-webhooks: type: string required: - from - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 pull_request: title: Simple Pull Request type: object @@ -220639,8 +221334,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *930 - review: &991 + repository: *933 + review: &994 description: The review that was affected. type: object properties: @@ -220873,12 +221568,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 number: description: The pull request number. type: integer - organization: *929 + organization: *932 pull_request: title: Pull Request type: object @@ -223057,6 +223752,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. @@ -223183,7 +223879,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 requested_reviewer: title: User type: object @@ -223267,12 +223963,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 number: description: The pull request number. type: integer - organization: *929 + organization: *932 pull_request: title: Pull Request type: object @@ -225458,6 +226154,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. @@ -225584,7 +226281,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 requested_team: title: Team description: Groups of organization members that gives permissions @@ -225776,12 +226473,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 number: description: The pull request number. type: integer - organization: *929 + organization: *932 pull_request: title: Pull Request type: object @@ -227961,6 +228658,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. @@ -228088,7 +228786,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 requested_reviewer: title: User type: object @@ -228173,12 +228871,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 number: description: The pull request number. type: integer - organization: *929 + organization: *932 pull_request: title: Pull Request type: object @@ -230349,6 +231047,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. @@ -230476,7 +231175,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 requested_team: title: Team description: Groups of organization members that gives permissions @@ -230657,9 +231356,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 pull_request: title: Simple Pull Request type: object @@ -232733,6 +233432,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: type: string enum: @@ -232856,8 +233556,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *930 - review: *991 + repository: *933 + review: *994 sender: *4 required: - action @@ -232937,9 +233637,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 pull_request: title: Simple Pull Request type: object @@ -234908,6 +235608,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: type: string enum: @@ -235031,7 +235732,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *930 + repository: *933 sender: *4 thread: type: object @@ -235418,9 +236119,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 pull_request: title: Simple Pull Request type: object @@ -237376,6 +238077,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: type: string enum: @@ -237498,7 +238200,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *930 + repository: *933 sender: *4 thread: type: object @@ -237882,10 +238584,11 @@ x-webhooks: type: string enum: - stacked - enterprise: *927 - installation: *928 - number: *986 - organization: *929 + enterprise: *930 + installation: *931 + stack: *770 + number: *989 + organization: *932 pull_request: title: Pull Request type: object @@ -240063,6 +240766,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -240189,7 +240893,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -240275,10 +240979,10 @@ x-webhooks: type: string before: type: string - enterprise: *927 - installation: *928 - number: *986 - organization: *929 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 pull_request: title: Pull Request type: object @@ -242445,6 +243149,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -242571,7 +243276,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -242653,11 +243358,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *992 - enterprise: *927 - installation: *928 - number: *986 - organization: *929 + assignee: *995 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 pull_request: title: Pull Request type: object @@ -244836,6 +245541,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -244962,7 +245668,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -245041,11 +245747,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *927 - installation: *928 - label: *950 - number: *986 - organization: *929 + enterprise: *930 + installation: *931 + label: *953 + number: *989 + organization: *932 pull_request: title: Pull Request type: object @@ -247214,6 +247920,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -247340,7 +248047,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -247421,10 +248128,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *927 - installation: *928 - number: *986 - organization: *929 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 pull_request: title: Pull Request type: object @@ -249586,6 +250293,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -249711,7 +250419,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -249911,7 +250619,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *927 + enterprise: *930 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -250003,8 +250711,8 @@ x-webhooks: - url - author - committer - installation: *928 - organization: *929 + installation: *931 + organization: *932 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -250590,9 +251298,9 @@ x-webhooks: type: string enum: - published - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 registry_package: type: object properties: @@ -251038,7 +251746,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *973 + items: *976 summary: type: string tag_name: @@ -251092,7 +251800,7 @@ x-webhooks: - owner - package_version - registry - repository: *930 + repository: *933 sender: *4 required: - action @@ -251170,9 +251878,9 @@ x-webhooks: type: string enum: - updated - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 registry_package: type: object properties: @@ -251480,7 +252188,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *973 + items: *976 summary: type: string tag_name: @@ -251529,7 +252237,7 @@ x-webhooks: - owner - package_version - registry - repository: *930 + repository: *933 sender: *4 required: - action @@ -251606,10 +252314,10 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - release: &993 + enterprise: *930 + installation: *931 + organization: *932 + release: &996 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -251927,7 +252635,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *930 + repository: *933 sender: *4 required: - action @@ -252004,11 +252712,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - organization: *929 - release: *993 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + release: *996 + repository: *933 sender: *4 required: - action @@ -252125,11 +252833,11 @@ x-webhooks: type: boolean required: - to - enterprise: *927 - installation: *928 - organization: *929 - release: *993 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + release: *996 + repository: *933 sender: *4 required: - action @@ -252207,9 +252915,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -252531,7 +253239,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *930 + repository: *933 sender: *4 required: - action @@ -252607,10 +253315,10 @@ x-webhooks: type: string enum: - published - enterprise: *927 - installation: *928 - organization: *929 - release: &994 + enterprise: *930 + installation: *931 + organization: *932 + release: &997 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -252929,7 +253637,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *930 + repository: *933 sender: *4 required: - action @@ -253005,11 +253713,11 @@ x-webhooks: type: string enum: - released - enterprise: *927 - installation: *928 - organization: *929 - release: *993 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + release: *996 + repository: *933 sender: *4 required: - action @@ -253085,11 +253793,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *927 - installation: *928 - organization: *929 - release: *994 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + release: *997 + repository: *933 sender: *4 required: - action @@ -253165,11 +253873,11 @@ x-webhooks: type: string enum: - published - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - repository_advisory: *824 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + repository_advisory: *827 sender: *4 required: - action @@ -253245,11 +253953,11 @@ x-webhooks: type: string enum: - reported - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - repository_advisory: *824 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + repository_advisory: *827 sender: *4 required: - action @@ -253325,10 +254033,10 @@ x-webhooks: type: string enum: - archived - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -253405,10 +254113,10 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -253486,10 +254194,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -253573,10 +254281,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -253688,10 +254396,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -253763,10 +254471,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 status: type: string @@ -253847,10 +254555,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -253927,10 +254635,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -254024,10 +254732,10 @@ x-webhooks: - name required: - repository - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -254107,11 +254815,11 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - repository_ruleset: *198 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + repository_ruleset: *199 sender: *4 required: - action @@ -254189,11 +254897,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - repository_ruleset: *198 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + repository_ruleset: *199 sender: *4 required: - action @@ -254271,11 +254979,11 @@ x-webhooks: type: string enum: - edited - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - repository_ruleset: *198 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + repository_ruleset: *199 changes: type: object properties: @@ -254294,16 +255002,16 @@ x-webhooks: properties: added: type: array - items: *169 + items: *170 deleted: type: array - items: *169 + items: *170 updated: type: array items: type: object properties: - condition: *169 + condition: *170 changes: type: object properties: @@ -254336,16 +255044,16 @@ x-webhooks: properties: added: type: array - items: *791 + items: *794 deleted: type: array - items: *791 + items: *794 updated: type: array items: type: object properties: - rule: *791 + rule: *794 changes: type: object properties: @@ -254579,10 +255287,10 @@ x-webhooks: - from required: - owner - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -254660,10 +255368,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -254741,7 +255449,7 @@ x-webhooks: type: string enum: - create - alert: &995 + alert: &998 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -254863,10 +255571,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -255072,10 +255780,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -255153,11 +255861,11 @@ x-webhooks: type: string enum: - reopen - alert: *995 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + alert: *998 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -255356,10 +256064,10 @@ x-webhooks: enum: - fixed - open - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -255437,11 +256145,11 @@ x-webhooks: type: string enum: - assigned - alert: &997 + alert: &1000 type: object properties: - number: *134 - created_at: *141 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -255449,8 +256157,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *139 - html_url: *140 + url: *140 + html_url: *141 locations_url: type: string format: uri @@ -255501,6 +256209,14 @@ x-webhooks: description: The slug identifier for the provider of the secret that was detected. nullable: true + 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. @@ -255579,12 +256295,12 @@ x-webhooks: properties: *20 required: *21 nullable: true - metadata: *996 + metadata: *999 assignee: *4 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -255662,11 +256378,11 @@ x-webhooks: type: string enum: - created - alert: *997 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + alert: *1000 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -255747,11 +256463,11 @@ x-webhooks: type: string enum: - created - alert: *997 - installation: *928 - location: *998 - organization: *929 - repository: *930 + alert: *1000 + installation: *931 + location: *1001 + organization: *932 + repository: *933 sender: *4 required: - location @@ -255989,11 +256705,11 @@ x-webhooks: type: string enum: - metadata_created - alert: *997 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + alert: *1000 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -256070,11 +256786,11 @@ x-webhooks: type: string enum: - metadata_removed - alert: *997 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + alert: *1000 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -256151,11 +256867,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *997 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + alert: *1000 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -256233,11 +256949,11 @@ x-webhooks: type: string enum: - reopened - alert: *997 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + alert: *1000 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -256315,11 +257031,11 @@ x-webhooks: type: string enum: - resolved - alert: *997 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + alert: *1000 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -256397,12 +257113,12 @@ x-webhooks: type: string enum: - unassigned - alert: *997 + alert: *1000 assignee: *4 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -256480,11 +257196,11 @@ x-webhooks: type: string enum: - validated - alert: *997 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + alert: *1000 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -256610,10 +257326,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *930 - enterprise: *927 - installation: *928 - organization: *929 + repository: *933 + enterprise: *930 + installation: *931 + organization: *932 sender: *4 required: - action @@ -256691,11 +257407,11 @@ x-webhooks: type: string enum: - published - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - security_advisory: &999 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + security_advisory: &1002 description: The details of the security advisory, including summary, description, and severity. type: object @@ -256711,7 +257427,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *136 + cvss_severities: *137 cwes: type: array items: @@ -256878,11 +257594,11 @@ x-webhooks: type: string enum: - updated - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - security_advisory: *999 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + security_advisory: *1002 sender: *4 required: - action @@ -256955,10 +257671,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -256975,7 +257691,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *136 + cvss_severities: *137 cwes: type: array items: @@ -257142,11 +257858,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *452 - enterprise: *927 - installation: *928 - organization: *929 - repository: *514 + security_and_analysis: *453 + enterprise: *930 + installation: *931 + organization: *932 + repository: *515 sender: *4 required: - changes @@ -257224,12 +257940,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - sponsorship: &1000 + sponsorship: &1003 type: object properties: created_at: @@ -257530,12 +258246,12 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - sponsorship: *1000 + sponsorship: *1003 required: - action - sponsorship @@ -257623,12 +258339,12 @@ x-webhooks: type: string required: - from - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - sponsorship: *1000 + sponsorship: *1003 required: - action - changes @@ -257705,17 +258421,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &1001 + effective_date: &1004 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: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - sponsorship: *1000 + sponsorship: *1003 required: - action - sponsorship @@ -257789,7 +258505,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &1002 + changes: &1005 type: object properties: tier: @@ -257833,13 +258549,13 @@ x-webhooks: - from required: - tier - effective_date: *1001 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + effective_date: *1004 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - sponsorship: *1000 + sponsorship: *1003 required: - action - changes @@ -257916,13 +258632,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *1002 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + changes: *1005 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - sponsorship: *1000 + sponsorship: *1003 required: - action - changes @@ -257996,10 +258712,10 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -258082,10 +258798,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -258505,15 +259221,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *927 + enterprise: *930 id: description: The unique identifier of the status. type: integer - installation: *928 + installation: *931 name: type: string - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 sha: description: The Commit SHA. @@ -258622,15 +259338,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *234 - parent_issue_repo: *80 + parent_issue: *235 + parent_issue_repo: *81 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *234 - installation: *928 - organization: *929 - repository: *930 + sub_issue: *235 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -258713,15 +259429,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *234 - parent_issue_repo: *80 + parent_issue: *235 + parent_issue_repo: *81 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *234 - installation: *928 - organization: *929 - repository: *930 + sub_issue: *235 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -258804,15 +259520,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *234 - sub_issue_repo: *80 + sub_issue: *235 + sub_issue_repo: *81 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *234 - installation: *928 - organization: *929 - repository: *930 + parent_issue: *235 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -258895,15 +259611,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *234 - sub_issue_repo: *80 + sub_issue: *235 + sub_issue_repo: *81 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *234 - installation: *928 - organization: *929 - repository: *930 + parent_issue: *235 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -258979,12 +259695,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - team: &1003 + team: &1006 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -259207,9 +259923,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 repository: title: Repository description: A git repository @@ -259667,7 +260383,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1003 + team: *1006 required: - action - team @@ -259743,9 +260459,9 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 repository: title: Repository description: A git repository @@ -260203,7 +260919,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1003 + team: *1006 required: - action - team @@ -260280,9 +260996,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 repository: title: Repository description: A git repository @@ -260740,7 +261456,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1003 + team: *1006 required: - action - team @@ -260884,9 +261600,9 @@ x-webhooks: - from required: - permissions - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 repository: title: Repository description: A git repository @@ -261344,7 +262060,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1003 + team: *1006 required: - action - changes @@ -261422,9 +262138,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 repository: title: Repository description: A git repository @@ -261882,7 +262598,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1003 + team: *1006 required: - action - team @@ -261958,10 +262674,10 @@ x-webhooks: type: string enum: - started - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -262034,16 +262750,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *927 + enterprise: *930 inputs: type: object nullable: true additionalProperties: true - installation: *928 - organization: *929 + installation: *931 + organization: *932 ref: type: string - repository: *930 + repository: *933 sender: *4 workflow: type: string @@ -262125,10 +262841,10 @@ x-webhooks: type: string enum: - completed - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 workflow_job: allOf: @@ -262365,7 +263081,7 @@ x-webhooks: type: string required: - conclusion - deployment: *655 + deployment: *658 required: - action - repository @@ -262444,10 +263160,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 workflow_job: allOf: @@ -262707,7 +263423,7 @@ x-webhooks: required: - status - steps - deployment: *655 + deployment: *658 required: - action - repository @@ -262786,10 +263502,10 @@ x-webhooks: type: string enum: - queued - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 workflow_job: type: object @@ -262924,7 +263640,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *655 + deployment: *658 required: - action - repository @@ -263003,10 +263719,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 workflow_job: type: object @@ -263142,7 +263858,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *655 + deployment: *658 required: - action - repository @@ -263222,12 +263938,12 @@ x-webhooks: type: string enum: - completed - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - workflow: *946 + workflow: *949 workflow_run: title: Workflow Run type: object @@ -264226,12 +264942,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - workflow: *946 + workflow: *949 workflow_run: title: Workflow Run type: object @@ -265215,12 +265931,12 @@ x-webhooks: type: string enum: - requested - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - workflow: *946 + workflow: *949 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json index 058da09228..58d7fe55d8 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -16773,6 +16773,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": { @@ -17159,6 +17185,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": { @@ -17325,241 +17377,319 @@ } } } - } - }, - "x-github": { - "enabledForGitHubApps": true, - "category": "classroom", - "subcategory": "classroom", - "deprecationDate": "2026-05-22", - "removalDate": "2026-08-28" - }, - "deprecated": true - } - }, - "/classrooms": { - "get": { - "summary": "Closing down - List classrooms", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nLists GitHub Classroom classrooms for the current user. Classrooms will only be returned if the current user is an administrator of one or more GitHub Classrooms.", - "tags": [ - "classroom" - ], - "operationId": "classroom/list-classrooms", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/classroom/classroom#closing-down---list-classrooms" - }, - "parameters": [ - { - "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 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Simple Classroom", - "description": "A GitHub Classroom classroom", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the classroom.", - "example": 42, - "type": "integer" - }, - "name": { - "description": "The name of the classroom.", - "type": "string", - "example": "Programming Elixir" - }, - "archived": { - "description": "Returns whether classroom is archived or not.", - "type": "boolean", - "example": false - }, - "url": { - "description": "The url of the classroom on GitHub Classroom.", - "type": "string", - "example": "https://classroom.github.com/classrooms/1-programming-elixir" - } - }, - "required": [ - "id", - "name", - "archived", - "url" - ] - } - }, - "examples": { - "default": { - "value": { - "id": 1296269, - "name": "Programming Elixir", - "archived": "false,", - "url": "https://classroom.github.com/classrooms/1-programming-elixir" - } - } - } - } - } - } - }, - "x-github": { - "enabledForGitHubApps": true, - "category": "classroom", - "subcategory": "classroom", - "deprecationDate": "2026-05-22", - "removalDate": "2026-08-28" - }, - "deprecated": true - } - }, - "/classrooms/{classroom_id}": { - "get": { - "summary": "Closing down - Get a classroom", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nGets a GitHub Classroom classroom for the current user. Classroom will only be returned if the current user is an administrator of the GitHub Classroom.", - "tags": [ - "classroom" - ], - "operationId": "classroom/get-a-classroom", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/classroom/classroom#closing-down---get-a-classroom" - }, - "parameters": [ - { - "name": "classroom_id", - "description": "The unique identifier of the classroom.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Classroom", - "description": "A GitHub Classroom classroom", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the classroom.", - "example": 42, - "type": "integer" - }, - "name": { - "description": "The name of the classroom.", - "type": "string", - "example": "Programming Elixir" - }, - "archived": { - "description": "Whether classroom is archived.", - "type": "boolean", - "example": false - }, - "organization": { - "title": "Organization Simple for Classroom", - "description": "A GitHub organization.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 1 - }, - "login": { - "type": "string", - "example": "github" - }, - "node_id": { - "type": "string", - "example": "MDEyOk9yZ2FuaXphdGlvbjE=" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/github" - }, - "name": { - "type": "string", - "example": "Github - Code thigns happen here", - "nullable": true - }, - "avatar_url": { - "type": "string", - "example": "https://github.com/images/error/octocat_happy.gif" - } - }, - "required": [ - "id", - "login", - "node_id", - "html_url", - "name", - "avatar_url" - ] - }, - "url": { - "description": "The URL of the classroom on GitHub Classroom.", - "type": "string", - "example": "https://classroom.github.com/classrooms/1-programming-elixir" - } - }, - "required": [ - "id", - "name", - "archived", - "organization", - "url" - ] - }, - "examples": { - "default": { - "value": { - "id": 1296269, - "name": "Programming Elixir", - "archived": "false,", - "organization": { - "id": 1, - "login": "programming-elixir", - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "html_url": "https://github.com/programming-elixir", - "name": "Learn how to build fault tolerant applications", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4" - }, - "url": "https://classroom.github.com/classrooms/1-programming-elixir" - } - } - } - } - } }, - "404": { - "description": "Resource not found", + "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": { + "enabledForGitHubApps": true, + "category": "classroom", + "subcategory": "classroom", + "deprecationDate": "2026-05-22", + "removalDate": "2026-08-28" + }, + "deprecated": true + } + }, + "/classrooms": { + "get": { + "summary": "Closing down - List classrooms", + "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nLists GitHub Classroom classrooms for the current user. Classrooms will only be returned if the current user is an administrator of one or more GitHub Classrooms.", + "tags": [ + "classroom" + ], + "operationId": "classroom/list-classrooms", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/classroom/classroom#closing-down---list-classrooms" + }, + "parameters": [ + { + "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 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Simple Classroom", + "description": "A GitHub Classroom classroom", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the classroom.", + "example": 42, + "type": "integer" + }, + "name": { + "description": "The name of the classroom.", + "type": "string", + "example": "Programming Elixir" + }, + "archived": { + "description": "Returns whether classroom is archived or not.", + "type": "boolean", + "example": false + }, + "url": { + "description": "The url of the classroom on GitHub Classroom.", + "type": "string", + "example": "https://classroom.github.com/classrooms/1-programming-elixir" + } + }, + "required": [ + "id", + "name", + "archived", + "url" + ] + } + }, + "examples": { + "default": { + "value": { + "id": 1296269, + "name": "Programming Elixir", + "archived": "false,", + "url": "https://classroom.github.com/classrooms/1-programming-elixir" + } + } + } + } + } + }, + "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": { + "enabledForGitHubApps": true, + "category": "classroom", + "subcategory": "classroom", + "deprecationDate": "2026-05-22", + "removalDate": "2026-08-28" + }, + "deprecated": true + } + }, + "/classrooms/{classroom_id}": { + "get": { + "summary": "Closing down - Get a classroom", + "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.\n> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).\n\nGets a GitHub Classroom classroom for the current user. Classroom will only be returned if the current user is an administrator of the GitHub Classroom.", + "tags": [ + "classroom" + ], + "operationId": "classroom/get-a-classroom", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/classroom/classroom#closing-down---get-a-classroom" + }, + "parameters": [ + { + "name": "classroom_id", + "description": "The unique identifier of the classroom.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Classroom", + "description": "A GitHub Classroom classroom", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the classroom.", + "example": 42, + "type": "integer" + }, + "name": { + "description": "The name of the classroom.", + "type": "string", + "example": "Programming Elixir" + }, + "archived": { + "description": "Whether classroom is archived.", + "type": "boolean", + "example": false + }, + "organization": { + "title": "Organization Simple for Classroom", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "example": 1 + }, + "login": { + "type": "string", + "example": "github" + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/github" + }, + "name": { + "type": "string", + "example": "Github - Code thigns happen here", + "nullable": true + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + } + }, + "required": [ + "id", + "login", + "node_id", + "html_url", + "name", + "avatar_url" + ] + }, + "url": { + "description": "The URL of the classroom on GitHub Classroom.", + "type": "string", + "example": "https://classroom.github.com/classrooms/1-programming-elixir" + } + }, + "required": [ + "id", + "name", + "archived", + "organization", + "url" + ] + }, + "examples": { + "default": { + "value": { + "id": 1296269, + "name": "Programming Elixir", + "archived": "false,", + "organization": { + "id": 1, + "login": "programming-elixir", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "html_url": "https://github.com/programming-elixir", + "name": "Learn how to build fault tolerant applications", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4" + }, + "url": "https://classroom.github.com/classrooms/1-programming-elixir" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "410": { + "description": "Gone", "content": { "application/json": { "schema": { @@ -17826,6 +17956,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": { @@ -47743,17 +47899,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": [ { @@ -47820,6 +47976,9 @@ } } }, + "204": { + "description": "A header with no content is returned." + }, "500": { "description": "Internal Error", "content": { @@ -47907,17 +48066,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": [ { @@ -48071,17 +48230,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": [ { @@ -48092,6 +48251,17 @@ "schema": { "type": "string" } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } } ], "responses": { @@ -48101,8 +48271,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", @@ -48110,23 +48280,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": { @@ -48136,8 +48300,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" } } } @@ -48231,17 +48394,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": [ { @@ -48254,205 +48417,365 @@ } } ], - "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", + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." }, - "detail": { + "report_start_day": { "type": "string", - "nullable": true - }, - "status": { - "type": "integer" + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." }, - "scimType": { + "report_end_day": { "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "enabledForGitHubApps": false, - "category": "copilot", - "subcategory": "copilot-coding-agent-management" - } - } - }, - "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": { - "post": { - "summary": "Add organizations to the enterprise coding agent policy", - "description": "Enables Copilot cloud agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can add organizations to the coding agent policy.\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/add-organizations-to-enterprise-coding-agent-policy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "description": "The organizations to enable Copilot cloud agent for", - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "organizations": { - "type": "array", - "description": "List of organization logins within the enterprise to enable Copilot cloud agent for.", - "items": { - "type": "string" + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." } }, - "custom_properties": { - "type": "array", - "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", - "items": { - "type": "object", - "properties": { - "property_name": { - "type": "string", - "description": "The name of the custom property to filter by." - }, - "values": { - "type": "array", - "description": "The values of the custom property to match.", - "items": { - "type": "string" - } - } - }, - "required": [ - "property_name", - "values" - ] + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "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" } } } - }, - "examples": { - "default": { - "summary": "Add organizations that match a login or have a custom property", - "value": { - "organizations": [ - "my-org-1", - "my-org-2" - ], - "custom_properties": [ - { - "property_name": "department", - "values": [ - "engineering", - "security" - ] - } - ] - } - } } } - } - }, - "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": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": { + "post": { + "summary": "Add organizations to the enterprise coding agent policy", + "description": "Enables Copilot cloud agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can add organizations to the coding agent policy.\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/add-organizations-to-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The organizations to enable Copilot cloud agent for", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organizations": { + "type": "array", + "description": "List of organization logins within the enterprise to enable Copilot cloud agent for.", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "array", + "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", + "items": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the custom property to filter by." + }, + "values": { + "type": "array", + "description": "The values of the custom property to match.", + "items": { + "type": "string" + } + } + }, + "required": [ + "property_name", + "values" + ] + } + } + } + }, + "examples": { + "default": { + "summary": "Add organizations that match a login or have a custom property", + "value": { + "organizations": [ + "my-org-1", + "my-org-2" + ], + "custom_properties": [ + { + "property_name": "department", + "values": [ + "engineering", + "security" + ] + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -147193,6 +147516,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, @@ -147333,6 +147661,193 @@ } } }, + "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", + "description": "The ID of the provenance attestation associated with the deployment record.", + "nullable": true + } + } + } + }, + "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", + "nullable": true, + "description": "The version of the deployment." + }, + "status": { + "type": "string", + "description": "The deployment status." + }, + "github_repository": { + "type": "string", + "nullable": true, + "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": { @@ -174833,6 +175348,173 @@ } } }, + "/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", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.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", @@ -238325,6 +239007,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -247574,6 +248300,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -362235,6 +363005,1132 @@ } } }, + "/repos/{owner}/{repo}/code-quality/findings": { + "get": { + "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-quality" + ], + "operationId": "code-quality/list-findings-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#list-code-quality-findings-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": "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": "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.", + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled" + ] + }, + "runner_label": { + "description": "Runner label to be used if the runner type is labeled.", + "nullable": true, + "type": "string", + "example": "code-scanning" + }, + "updated_at": { + "description": "Timestamp of latest configuration update.", + "nullable": true, + "type": "string", + "format": "date-time", + "example": "2023-12-06T14:20:20.000Z" + }, + "schedule": { + "description": "The frequency of the periodic analysis.", + "nullable": true, + "type": "string", + "enum": [ + "weekly" + ] + } + } + }, + "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": { + "nullable": true, + "description": "Runner label to be used if the runner type is labeled.", + "type": "string", + "example": "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", @@ -388969,6 +390865,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -574487,6 +576427,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -578144,6 +580128,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -584669,6 +586697,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -588516,6 +590588,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -599377,6 +601493,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -603124,6 +605284,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -742139,6 +744343,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -799191,6 +801439,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -926083,6 +928375,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1270606,6 +1272942,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1275182,6 +1277562,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1279761,6 +1282185,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1284448,6 +1286916,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1289252,6 +1291764,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1294156,6 +1296712,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1298731,6 +1301331,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1303494,6 +1306138,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1308190,6 +1310878,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1312813,6 +1315545,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1317393,6 +1320169,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1322177,6 +1324997,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1326860,6 +1329724,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1331664,6 +1334572,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1336468,6 +1339420,50 @@ ], "nullable": true }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "example": false, @@ -1341384,6 +1344380,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1346162,6 +1349202,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1350962,6 +1354046,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1355396,6 +1358524,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1364731,6 +1367903,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1369322,6 +1372538,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1374045,6 +1377305,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1378623,6 +1381927,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1383195,6 +1386543,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1387763,6 +1391155,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1392495,6 +1395931,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "type": "string", "enum": [ @@ -1394569,6 +1398049,50 @@ "node_id" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "number": { "description": "The pull request number.", "type": "integer" @@ -1397450,6 +1400974,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1402035,6 +1405603,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1406716,6 +1410328,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1411337,6 +1414993,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1415903,6 +1419603,50 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": "object", + "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" + ], + "nullable": true + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1481389,6 +1485133,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1483910,6 +1487662,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1486307,6 +1490067,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1489174,6 +1492942,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1491570,6 +1495346,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1493966,6 +1497750,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1496363,6 +1500155,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1498760,6 +1502560,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1501157,6 +1504965,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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.", @@ -1503678,6 +1507494,14 @@ "description": "The slug identifier for the provider of the secret that was detected.", "nullable": true }, + "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/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml index 42396630a6..c875fe900e 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml @@ -445,7 +445,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &110 + - &111 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 @@ -454,7 +454,7 @@ paths: required: false schema: type: string - - &111 + - &112 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 @@ -463,7 +463,7 @@ paths: required: false schema: type: string - - &112 + - &113 name: direction description: The direction to sort the results by. in: query @@ -666,7 +666,7 @@ paths: - vulnerable_version_range - first_patched_version - vulnerable_functions - cvss_severities: &136 + cvss_severities: &137 type: object nullable: true properties: @@ -706,7 +706,7 @@ paths: required: - vector_string - score - epss: &137 + epss: &138 type: object nullable: true readOnly: true @@ -844,7 +844,7 @@ paths: - subscriptions_url - type - url - type: &492 + type: &493 type: string description: The type of credit the user is receiving. enum: @@ -976,7 +976,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &271 + schema: &272 title: Validation Error Simple description: Validation Error Simple type: object @@ -1009,7 +1009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &826 + - &829 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -3650,7 +3650,7 @@ paths: GitHub. type: object nullable: true - properties: &229 + properties: &230 id: description: Unique identifier of the GitHub app example: 37 @@ -3672,7 +3672,7 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: &147 + properties: &148 description: description: A short description of the enterprise. type: string @@ -3714,7 +3714,7 @@ paths: avatar_url: type: string format: uri - required: &148 + required: &149 - id - node_id - name @@ -3783,7 +3783,7 @@ paths: about itself. example: 5 type: integer - required: &230 + required: &231 - id - node_id - owner @@ -4088,7 +4088,7 @@ paths: schema: type: integer default: 30 - - &376 + - &377 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 @@ -4097,7 +4097,7 @@ paths: required: false schema: type: string - - &377 + - &378 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4117,7 +4117,7 @@ paths: application/json: schema: type: array - items: &378 + items: &379 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4197,7 +4197,7 @@ paths: - installation_id - repository_id examples: - default: &379 + default: &380 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4229,7 +4229,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &835 + schema: &838 title: Scim Error description: Scim Error type: object @@ -4256,7 +4256,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &270 + schema: &271 title: Validation Error description: Validation Error type: object @@ -4325,7 +4325,7 @@ paths: description: Response content: application/json: - schema: &380 + schema: &381 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4439,7 +4439,7 @@ paths: - request - response examples: - default: &381 + default: &382 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4499,7 +4499,7 @@ paths: parameters: - *16 responses: - '202': &39 + '202': &40 description: Accepted content: application/json: @@ -4612,7 +4612,7 @@ paths: type: User site_admin: false created_at: '2022-07-08T16:18:44-04:00' - '304': &37 + '304': &38 description: Not modified '401': &25 description: Requires authentication @@ -4640,7 +4640,7 @@ paths: parameters: - *17 - *19 - - &241 + - &242 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) @@ -5256,7 +5256,7 @@ paths: suspended_at: suspended_by: headers: - Link: &47 + Link: &48 example: ; rel="next", ; rel="last" schema: @@ -5297,7 +5297,7 @@ paths: application/json: schema: *22 examples: - default: &90 + default: &91 value: id: 1 account: @@ -5447,11 +5447,11 @@ paths: - selected repositories: type: array - items: &80 + items: &81 title: Repository description: A repository on GitHub. type: object - properties: &450 + properties: &451 id: description: Unique identifier of the repository example: 42 @@ -5471,7 +5471,7 @@ paths: title: License Simple description: License Simple type: object - properties: &237 + properties: &238 key: type: string example: mit @@ -5493,7 +5493,7 @@ paths: html_url: type: string format: uri - required: &238 + required: &239 - key - name - url @@ -5887,7 +5887,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &451 + required: &452 - archive_url - assignees_url - blobs_url @@ -6826,7 +6826,7 @@ paths: - node_id - private - default_branch - classroom: &34 + classroom: &35 title: Classroom description: A GitHub Classroom classroom type: object @@ -6938,6 +6938,11 @@ paths: archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir '404': *6 + '410': &33 + description: Gone + content: + application/json: + schema: *3 x-github: enabledForGitHubApps: true category: classroom @@ -7023,7 +7028,7 @@ paths: - avatar_url - html_url repository: *32 - assignment: &36 + assignment: &37 title: Simple Classroom Assignment description: A GitHub Classroom assignment type: object @@ -7112,7 +7117,7 @@ paths: format: date-time example: '2011-01-26T19:06:43Z' nullable: true - classroom: &33 + classroom: &34 title: Simple Classroom description: A GitHub Classroom classroom type: object @@ -7207,6 +7212,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7314,6 +7320,7 @@ paths: points_available: 15 group_name: monalisa-and-friends '404': *6 + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7346,7 +7353,7 @@ paths: application/json: schema: type: array - items: *33 + items: *34 examples: default: value: @@ -7354,6 +7361,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7377,7 +7385,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/classroom/classroom#closing-down---get-a-classroom parameters: - - &35 + - &36 name: classroom_id description: The unique identifier of the classroom. in: path @@ -7389,7 +7397,7 @@ paths: description: Response content: application/json: - schema: *34 + schema: *35 examples: default: value: @@ -7405,6 +7413,7 @@ paths: avatar_url: https://avatars.githubusercontent.com/u/9919?v=4 url: https://classroom.github.com/classrooms/1-programming-elixir '404': *6 + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7428,7 +7437,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/classroom/classroom#closing-down---list-assignments-for-a-classroom parameters: - - *35 + - *36 - *19 - *17 responses: @@ -7438,7 +7447,7 @@ paths: application/json: schema: type: array - items: *36 + items: *37 examples: default: value: @@ -7464,6 +7473,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *33 x-github: enabledForGitHubApps: true category: classroom @@ -7489,7 +7499,7 @@ paths: application/json: schema: type: array - items: &38 + items: &39 title: Code Of Conduct description: Code Of Conduct type: object @@ -7572,7 +7582,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': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -7599,7 +7609,7 @@ paths: description: Response content: application/json: - schema: *38 + schema: *39 examples: default: value: @@ -7654,7 +7664,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': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -7714,9 +7724,9 @@ paths: - ghu_1234567890abcdef1234567890abcdef12345678 - ghr_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab responses: - '202': *39 + '202': *40 '422': *7 - '500': &40 + '500': &41 description: Internal Error content: application/json: @@ -9625,7 +9635,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': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -9986,7 +9996,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprises#disable-access-restrictions-for-an-enterprise parameters: - - &41 + - &42 name: enterprise description: The slug version of the enterprise name. in: path @@ -9998,7 +10008,7 @@ paths: description: Response content: application/json: - schema: &42 + schema: &43 type: object title: Enterprise Access Restrictions description: Information about the enterprise access restrictions @@ -10026,7 +10036,7 @@ paths: header_value: '12345' '400': *29 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10044,13 +10054,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprises#enable-access-restrictions-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: *42 + schema: *43 examples: default: value: @@ -10059,7 +10069,7 @@ paths: header_value: '12345' '400': *29 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10080,13 +10090,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &43 + schema: &44 title: Actions cache retention limit for an enterprise description: GitHub Actions cache retention policy for an enterprise. type: object @@ -10098,7 +10108,7 @@ paths: type: integer example: 14 examples: - default: &44 + default: &45 value: max_cache_retention_days: 80 '403': *29 @@ -10122,14 +10132,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: application/json: - schema: *43 + schema: *44 examples: - selected_actions: *44 + selected_actions: *45 responses: '204': description: Response @@ -10156,13 +10166,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &45 + schema: &46 title: Actions cache storage limit for an enterprise description: GitHub Actions cache storage policy for an enterprise. type: object @@ -10174,7 +10184,7 @@ paths: type: integer example: 10 examples: - default: &46 + default: &47 value: max_cache_size_gb: 150 '403': *29 @@ -10198,14 +10208,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: application/json: - schema: *45 + schema: *46 examples: - selected_actions: *46 + selected_actions: *47 responses: '204': description: Response @@ -10232,13 +10242,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-usage-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &272 + schema: &273 type: object properties: total_active_caches_count: @@ -10253,12 +10263,12 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &273 + default: &274 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *47 + Link: *48 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -10278,7 +10288,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#list-github-hosted-runners-for-an-enterprise parameters: - - *41 + - *42 - *17 - *19 responses: @@ -10296,7 +10306,7 @@ paths: type: integer runners: type: array - items: &48 + items: &49 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -10350,7 +10360,7 @@ paths: - display_name - source nullable: true - machine_size_details: &56 + machine_size_details: &57 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -10446,7 +10456,7 @@ paths: - public_ip_enabled - platform examples: - default: &274 + default: &275 value: total_count: 2 runners: @@ -10488,7 +10498,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10506,7 +10516,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -10584,9 +10594,9 @@ paths: description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: &57 + default: &58 value: id: 5 name: My hosted ubuntu runner @@ -10627,7 +10637,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#list-custom-images-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -10643,7 +10653,7 @@ paths: type: integer images: type: array - items: &49 + items: &50 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -10694,7 +10704,7 @@ paths: - latest_version - state examples: - default: &51 + default: &52 value: total_count: 2 image_versions: @@ -10726,8 +10736,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-an-enterprise-custom-image-definition-for-github-actions-hosted-runners parameters: - - *41 - - &50 + - *42 + - &51 name: image_definition_id description: Image definition ID of custom image in: path @@ -10739,9 +10749,9 @@ paths: description: Response content: application/json: - schema: *49 + schema: *50 examples: - default: &275 + default: &276 value: id: 1 platform: linux-x64 @@ -10769,8 +10779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#delete-a-custom-image-from-the-enterprise parameters: - - *41 - - *50 + - *42 + - *51 responses: '204': description: Response @@ -10793,8 +10803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-enterprise parameters: - - *50 - - *41 + - *51 + - *42 responses: '200': description: Response @@ -10810,7 +10820,7 @@ paths: type: integer image_versions: type: array - items: &52 + items: &53 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -10843,7 +10853,7 @@ paths: - created_on - state_details examples: - default: *51 + default: *52 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10864,9 +10874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-an-image-version-of-an-enterprise-custom-image-for-github-actions-hosted-runners parameters: - - *41 - - *50 - - &53 + - *42 + - *51 + - &54 name: version description: Version of a custom image in: path @@ -10879,9 +10889,9 @@ paths: description: Response content: application/json: - schema: *52 + schema: *53 examples: - default: &276 + default: &277 value: version: 1.0.0 size_gb: 75 @@ -10905,9 +10915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-enterprise parameters: - - *41 - - *50 - - *53 + - *42 + - *51 + - *54 responses: '204': description: Response @@ -10928,7 +10938,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -10944,7 +10954,7 @@ paths: type: integer images: type: array - items: &54 + items: &55 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -10980,7 +10990,7 @@ paths: - display_name - source examples: - default: &55 + default: &56 value: id: ubuntu-20.04 platform: linux-x64 @@ -11004,7 +11014,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -11020,9 +11030,9 @@ paths: type: integer images: type: array - items: *54 + items: *55 examples: - default: *55 + default: *56 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -11039,13 +11049,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &277 + schema: &278 type: object properties: public_ips: @@ -11070,7 +11080,7 @@ paths: required: - public_ips examples: - default: &278 + default: &279 value: public_ips: current_usage: 17 @@ -11092,7 +11102,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -11108,9 +11118,9 @@ paths: type: integer machine_specs: type: array - items: *56 + items: *57 examples: - default: &279 + default: &280 value: id: 4-core cpu_cores: 4 @@ -11133,7 +11143,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -11177,8 +11187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-enterprise parameters: - - *41 - - &58 + - *42 + - &59 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -11190,11 +11200,11 @@ paths: description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: *57 + default: *58 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -11212,8 +11222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-enterprise parameters: - - *41 - - *58 + - *42 + - *59 requestBody: required: true content: @@ -11279,9 +11289,9 @@ paths: description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: *57 + default: *58 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -11297,16 +11307,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-enterprise parameters: - - *41 - - *58 + - *42 + - *59 responses: '202': description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: *57 + default: *58 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -11326,7 +11336,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#set-the-github-actions-oidc-custom-issuer-policy-for-an-enterprise parameters: - - *41 + - *42 responses: '204': description: Response @@ -11365,7 +11375,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -11373,7 +11383,7 @@ paths: application/json: schema: type: array - items: &59 + items: &60 title: Actions OIDC Custom Property Inclusion description: An OIDC custom property inclusion for repository properties type: object @@ -11420,12 +11430,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: application/json: - schema: &280 + schema: &281 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -11437,7 +11447,7 @@ paths: required: - custom_property_name examples: - default: &60 + default: &61 value: custom_property_name: environment responses: @@ -11445,9 +11455,9 @@ paths: description: OIDC custom property inclusion created content: application/json: - schema: *59 + schema: *60 examples: - default: *60 + default: *61 '400': description: Invalid input '403': *29 @@ -11472,7 +11482,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-enterprise parameters: - - *41 + - *42 - name: custom_property_name in: path required: true @@ -11506,7 +11516,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-github-actions-permissions-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -11515,7 +11525,7 @@ paths: schema: type: object properties: - enabled_organizations: &61 + enabled_organizations: &62 type: string description: The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. @@ -11528,7 +11538,7 @@ paths: description: The API URL to use to get or set the selected organizations that are allowed to run GitHub Actions, when `enabled_organizations` is set to `selected`. - allowed_actions: &62 + allowed_actions: &63 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -11536,12 +11546,12 @@ paths: - all - local_only - selected - selected_actions_url: &282 + selected_actions_url: &283 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: &63 + sha_pinning_required: &64 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -11572,7 +11582,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-github-actions-permissions-for-an-enterprise parameters: - - *41 + - *42 responses: '204': description: Response @@ -11583,9 +11593,9 @@ paths: schema: type: object properties: - enabled_organizations: *61 - allowed_actions: *62 - sha_pinning_required: *63 + enabled_organizations: *62 + allowed_actions: *63 + sha_pinning_required: *64 required: - enabled_organizations examples: @@ -11610,13 +11620,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &284 + schema: &285 type: object properties: days: @@ -11634,7 +11644,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &836 + '401': &839 description: Authorization failure '404': *6 x-github: @@ -11652,7 +11662,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-enterprise parameters: - - *41 + - *42 responses: '204': description: Successfully updated the artifact and log retention settings @@ -11662,7 +11672,7 @@ paths: required: true content: application/json: - schema: &285 + schema: &286 type: object properties: days: @@ -11691,13 +11701,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &64 + schema: &65 type: object properties: approval_policy: @@ -11711,7 +11721,7 @@ paths: required: - approval_policy examples: - default: &286 + default: &287 value: approval_policy: first_time_contributors '404': *6 @@ -11730,7 +11740,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-enterprise parameters: - - *41 + - *42 responses: '204': description: Response @@ -11740,7 +11750,7 @@ paths: required: true content: application/json: - schema: *64 + schema: *65 examples: default: summary: Set approval policy to first time contributors @@ -11763,13 +11773,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &287 + schema: &288 type: object required: - run_workflows_from_fork_pull_requests @@ -11795,7 +11805,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &65 + default: &66 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -11818,12 +11828,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: application/json: - schema: &288 + schema: &289 type: object required: - run_workflows_from_fork_pull_requests @@ -11846,7 +11856,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *65 + default: *66 responses: '204': description: Empty response for successful settings update @@ -11871,7 +11881,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise parameters: - - *41 + - *42 - *17 - *19 responses: @@ -11886,11 +11896,11 @@ paths: type: number organizations: type: array - items: &75 + items: &76 title: Organization Simple description: A GitHub organization. type: object - properties: &123 + properties: &124 login: type: string example: github @@ -11931,7 +11941,7 @@ paths: type: string example: A great organization nullable: true - required: &124 + required: &125 - login - url - id @@ -11948,7 +11958,7 @@ paths: - total_count - organizations examples: - default: &76 + default: &77 value: total_count: 1 organizations: @@ -11982,7 +11992,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise parameters: - - *41 + - *42 responses: '204': description: Response @@ -12026,8 +12036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - - *41 - - &66 + - *42 + - &67 name: org_id description: The unique identifier of the organization. in: path @@ -12055,8 +12065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - - *41 - - *66 + - *42 + - *67 responses: '204': description: Response @@ -12079,13 +12089,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &67 + schema: &68 type: object properties: github_owned_allowed: @@ -12106,7 +12116,7 @@ paths: items: type: string examples: - default: &68 + default: &69 value: github_owned_allowed: true verified_allowed: false @@ -12131,7 +12141,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-enterprise parameters: - - *41 + - *42 responses: '204': description: Response @@ -12139,9 +12149,9 @@ paths: required: true content: application/json: - schema: *67 + schema: *68 examples: - selected_actions: *68 + selected_actions: *69 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -12159,7 +12169,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-self-hosted-runners-permissions-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -12195,7 +12205,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-self-hosted-runners-permissions-for-an-enterprise parameters: - - *41 + - *42 responses: '204': description: Response @@ -12240,23 +12250,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-default-workflow-permissions-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Success response content: application/json: - schema: &291 + schema: &292 type: object properties: - default_workflow_permissions: &69 + default_workflow_permissions: &70 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &70 + can_approve_pull_request_reviews: &71 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -12264,7 +12274,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &71 + default: &72 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -12289,18 +12299,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-default-workflow-permissions-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: application/json: - schema: &292 + schema: &293 type: object properties: - default_workflow_permissions: *69 - can_approve_pull_request_reviews: *70 + default_workflow_permissions: *70 + can_approve_pull_request_reviews: *71 examples: - default: *71 + default: *72 responses: '204': description: Success response @@ -12323,7 +12333,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-enterprise parameters: - - *41 + - *42 - *17 - *19 - name: visible_to_organization @@ -12345,7 +12355,7 @@ paths: type: number runner_groups: type: array - items: &72 + items: &73 type: object properties: id: @@ -12453,7 +12463,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -12524,9 +12534,9 @@ paths: description: Response content: application/json: - schema: *72 + schema: *73 examples: - default: &73 + default: &74 value: id: 2 name: octo-runner-group @@ -12560,8 +12570,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-enterprise parameters: - - *41 - - &74 + - *42 + - &75 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -12573,9 +12583,9 @@ paths: description: Response content: application/json: - schema: *72 + schema: *73 examples: - default: *73 + default: *74 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -12594,8 +12604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-enterprise parameters: - - *41 - - *74 + - *42 + - *75 requestBody: required: false content: @@ -12647,7 +12657,7 @@ paths: description: Response content: application/json: - schema: *72 + schema: *73 examples: default: value: @@ -12682,8 +12692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-enterprise parameters: - - *41 - - *74 + - *42 + - *75 responses: '204': description: Response @@ -12706,8 +12716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - - *41 - - *74 + - *42 + - *75 - *17 - *19 responses: @@ -12722,12 +12732,12 @@ paths: type: number organizations: type: array - items: *75 + items: *76 required: - total_count - organizations examples: - default: *76 + default: *77 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -12746,8 +12756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#set-organization-access-for-a-self-hosted-runner-group-in-an-enterprise parameters: - - *41 - - *74 + - *42 + - *75 requestBody: required: true content: @@ -12792,9 +12802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - - *41 - - *74 - - *66 + - *42 + - *75 + - *67 responses: '204': description: Response @@ -12816,9 +12826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - - *41 - - *74 - - *66 + - *42 + - *75 + - *67 responses: '204': description: Response @@ -12841,8 +12851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-enterprise parameters: - - *41 - - *74 + - *42 + - *75 - *17 - *19 responses: @@ -12857,7 +12867,7 @@ paths: type: number runners: type: array - items: &78 + items: &79 title: Self hosted runners description: A self hosted runner type: object @@ -12886,7 +12896,7 @@ paths: type: boolean labels: type: array - items: &82 + items: &83 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -12926,7 +12936,7 @@ paths: - total_count - runners examples: - default: &79 + default: &80 value: total_count: 2 runners: @@ -12968,7 +12978,7 @@ paths: name: no-gpu type: custom headers: - Link: *47 + Link: *48 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -12987,8 +12997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-enterprise parameters: - - *41 - - *74 + - *42 + - *75 requestBody: required: true content: @@ -13032,9 +13042,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-enterprise parameters: - - *41 - - *74 - - &77 + - *42 + - *75 + - &78 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -13062,9 +13072,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-enterprise parameters: - - *41 - - *74 - - *77 + - *42 + - *75 + - *78 responses: '204': description: Response @@ -13092,7 +13102,7 @@ paths: in: query schema: type: string - - *41 + - *42 - *17 - *19 responses: @@ -13107,11 +13117,11 @@ paths: type: number runners: type: array - items: *78 + items: *79 examples: - default: *79 + default: *80 headers: - Link: *47 + Link: *48 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -13131,7 +13141,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-runner-applications-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -13139,7 +13149,7 @@ paths: application/json: schema: type: array - items: &296 + items: &297 title: Runner Application description: Runner Application type: object @@ -13164,7 +13174,7 @@ paths: - download_url - filename examples: - default: &297 + default: &298 value: - os: osx architecture: x64 @@ -13205,7 +13215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -13248,7 +13258,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &298 + '201': &299 description: Response content: application/json: @@ -13258,7 +13268,7 @@ paths: - runner - encoded_jit_config properties: - runner: *78 + runner: *79 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -13287,7 +13297,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &121 + '409': &122 description: Conflict content: application/json: @@ -13319,13 +13329,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-registration-token-for-an-enterprise parameters: - - *41 + - *42 responses: '201': description: Response content: application/json: - schema: &81 + schema: &82 title: Authentication Token description: Authentication Token type: object @@ -13347,7 +13357,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *80 + items: *81 single_file: type: string example: config.yaml @@ -13363,7 +13373,7 @@ paths: - token - expires_at examples: - default: &299 + default: &300 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -13395,15 +13405,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-remove-token-for-an-enterprise parameters: - - *41 + - *42 responses: '201': description: Response content: application/json: - schema: *81 + schema: *82 examples: - default: &300 + default: &301 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13426,16 +13436,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-enterprise parameters: - - *41 - - *77 + - *42 + - *78 responses: '200': description: Response content: application/json: - schema: *78 + schema: *79 examples: - default: &301 + default: &302 value: id: 23 name: MBP @@ -13475,8 +13485,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-enterprise parameters: - - *41 - - *77 + - *42 + - *78 responses: '204': description: Response @@ -13500,10 +13510,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-enterprise parameters: - - *41 - - *77 + - *42 + - *78 responses: - '200': &83 + '200': &84 description: Response content: application/json: @@ -13517,7 +13527,7 @@ paths: type: integer labels: type: array - items: *82 + items: *83 examples: default: value: @@ -13554,8 +13564,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise parameters: - - *41 - - *77 + - *42 + - *78 requestBody: required: true content: @@ -13579,7 +13589,7 @@ paths: - gpu - accelerated responses: - '200': *83 + '200': *84 '404': *6 '422': *7 x-github: @@ -13601,8 +13611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise parameters: - - *41 - - *77 + - *42 + - *78 requestBody: required: true content: @@ -13627,7 +13637,7 @@ paths: - gpu - accelerated responses: - '200': *83 + '200': *84 '404': *6 '422': *7 x-github: @@ -13649,10 +13659,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise parameters: - - *41 - - *77 + - *42 + - *78 responses: - '200': &302 + '200': &303 description: Response content: application/json: @@ -13666,7 +13676,7 @@ paths: type: integer labels: type: array - items: *82 + items: *83 examples: default: value: @@ -13706,9 +13716,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise parameters: - - *41 - - *77 - - &303 + - *42 + - *78 + - &304 name: name description: The name of a self-hosted runner's custom label. in: path @@ -13716,7 +13726,7 @@ paths: schema: type: string responses: - '200': *83 + '200': *84 '404': *6 '422': *7 x-github: @@ -13735,26 +13745,26 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/announcement-banners/enterprises#get-announcement-banner-for-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &88 + schema: &89 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level type: object properties: - announcement: &84 + announcement: &85 type: string description: The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see "[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax)." example: Very **important** announcement about _something_. nullable: true - expires_at: &85 + expires_at: &86 type: string format: date-time description: 'The time at which the announcement expires. This @@ -13764,7 +13774,7 @@ paths: it to an empty string.' example: '"2021-01-01T00:00:00.000-07:00"' nullable: true - user_dismissible: &86 + user_dismissible: &87 type: boolean description: Whether an announcement can be dismissed by the user. example: false @@ -13775,7 +13785,7 @@ paths: - expires_at - user_dismissible examples: - default: &87 + default: &88 summary: Announcement banner value: announcement: Very **important** announcement about _something_. @@ -13799,28 +13809,28 @@ paths: required: true content: application/json: - schema: &317 + schema: &318 title: Enterprise Announcement description: Enterprise global announcement type: object properties: - announcement: *84 - expires_at: *85 - user_dismissible: *86 + announcement: *85 + expires_at: *86 + user_dismissible: *87 required: - announcement examples: - default: *87 + default: *88 parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: *88 + schema: *89 examples: - default: *87 + default: *88 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -13836,7 +13846,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/announcement-banners/enterprises#remove-announcement-banner-from-enterprise parameters: - - *41 + - *42 responses: '204': description: Response @@ -13859,7 +13869,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#get-enterprise-owned-organizations-that-can-have-github-apps-installed parameters: - - *41 + - *42 - *17 - *19 responses: @@ -13915,8 +13925,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization parameters: - - *41 - - &89 + - *42 + - &90 name: org description: The organization name. The name is not case sensitive. in: path @@ -13933,7 +13943,7 @@ paths: application/json: schema: type: array - items: &91 + items: &92 title: Accessible Repository description: A repository that may be made accessible to a GitHub App. @@ -13983,8 +13993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#list-github-apps-installed-on-an-enterprise-owned-organization parameters: - - *41 - - *89 + - *42 + - *90 - *17 - *19 responses: @@ -14078,8 +14088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#install-a-github-app-on-an-enterprise-owned-organization parameters: - - *41 - - *89 + - *42 + - *90 responses: '200': description: A GitHub App installation that was installed previously. @@ -14087,14 +14097,14 @@ paths: application/json: schema: *22 examples: - default: *90 + default: *91 '201': description: A GitHub App installation. content: application/json: schema: *22 examples: - default: *90 + default: *91 requestBody: required: true content: @@ -14161,8 +14171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization parameters: - - *41 - - *89 + - *42 + - *90 - *23 responses: '204': @@ -14189,8 +14199,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation parameters: - - *41 - - *89 + - *42 + - *90 - *23 - *17 - *19 @@ -14202,7 +14212,7 @@ paths: application/json: schema: type: array - items: *91 + items: *92 examples: default: value: @@ -14230,8 +14240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories parameters: - - *41 - - *89 + - *42 + - *90 - *23 requestBody: required: true @@ -14271,7 +14281,7 @@ paths: application/json: schema: *22 examples: - default: *90 + default: *91 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -14291,8 +14301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation parameters: - - *41 - - *89 + - *42 + - *90 - *23 responses: '200': @@ -14302,7 +14312,7 @@ paths: application/json: schema: type: array - items: *91 + items: *92 examples: default: value: @@ -14352,8 +14362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation parameters: - - *41 - - *89 + - *42 + - *90 - *23 responses: '200': @@ -14363,7 +14373,7 @@ paths: application/json: schema: type: array - items: *91 + items: *92 examples: default: value: @@ -14432,7 +14442,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#get-the-audit-log-for-an-enterprise parameters: - - *41 + - *42 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/searching-the-audit-log-for-your-enterprise#searching-the-audit-log). @@ -14440,7 +14450,7 @@ paths: required: false schema: type: string - - &320 + - &321 name: include description: |- The event types to include: @@ -14458,7 +14468,7 @@ paths: - web - git - all - - &131 + - &132 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -14466,7 +14476,7 @@ paths: required: false schema: type: string - - &132 + - &133 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -14474,7 +14484,7 @@ paths: required: false schema: type: string - - &133 + - &134 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -14496,7 +14506,7 @@ paths: application/json: schema: type: array - items: &321 + items: &322 type: object properties: "@timestamp": @@ -14618,7 +14628,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &322 + default: &323 value: - "@timestamp": 1606929874512 action: team.add_member @@ -14661,7 +14671,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#get-the-audit-log-stream-key-for-encrypting-secrets parameters: - - *41 + - *42 responses: '200': description: The stream key for the audit log streaming configuration was @@ -14705,7 +14715,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#list-audit-log-stream-configurations-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: OK @@ -14771,7 +14781,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#create-an-audit-log-streaming-configuration-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -14797,7 +14807,7 @@ paths: vendor_specific: type: object oneOf: - - &95 + - &96 title: AzureBlobConfig description: Azure Blob Config for audit log streaming configuration. type: object @@ -14816,7 +14826,7 @@ paths: - key_id - encrypted_sas_url - container - - &96 + - &97 title: AzureHubConfig description: Azure Event Hubs Config for audit log streaming configuration. type: object @@ -14835,7 +14845,7 @@ paths: - name - encrypted_connstring - key_id - - &97 + - &98 title: AmazonS3OIDCConfig description: Amazon S3 OIDC Config for audit log streaming configuration. type: object @@ -14863,7 +14873,7 @@ paths: - bucket - key_id - region - - &98 + - &99 title: AmazonS3AccessKeysConfig description: Amazon S3 Access Keys Config for audit log streaming configuration. @@ -14897,7 +14907,7 @@ paths: - encrypted_secret_key - key_id - region - - &99 + - &100 title: SplunkConfig description: Splunk Config for Audit Log Stream Configuration type: object @@ -14925,7 +14935,7 @@ paths: - key_id - port - ssl_verify - - &100 + - &101 title: HecConfig description: Hec Config for Audit Log Stream Configuration type: object @@ -14957,7 +14967,7 @@ paths: - key_id - port - ssl_verify - - &101 + - &102 title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. type: object @@ -14975,7 +14985,7 @@ paths: - bucket - key_id - encrypted_json_credentials - - &102 + - &103 title: DatadogConfig description: Datadog Config for audit log streaming configuration. type: object @@ -15006,7 +15016,7 @@ paths: - stream_type - vendor_specific examples: - default: &103 + default: &104 value: enabled: false stream_type: Azure Event Hubs @@ -15020,7 +15030,7 @@ paths: description: The audit log stream configuration was created successfully. content: application/json: - schema: &92 + schema: &93 title: Get an audit log streaming configuration description: Get an audit log streaming configuration for an enterprise. type: object @@ -15051,7 +15061,7 @@ paths: - created_at - updated_at examples: - default: &93 + default: &94 value: id: 1 stream_type: Splunk @@ -15079,8 +15089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id parameters: - - *41 - - &94 + - *42 + - &95 name: stream_id description: The ID of the audit log stream configuration. in: path @@ -15092,9 +15102,9 @@ paths: description: Lists one audit log stream configuration via stream ID. content: application/json: - schema: *92 + schema: *93 examples: - default: *93 + default: *94 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -15113,8 +15123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration parameters: - - *41 - - *94 + - *42 + - *95 requestBody: required: true content: @@ -15140,7 +15150,6 @@ paths: vendor_specific: type: object oneOf: - - *95 - *96 - *97 - *98 @@ -15148,20 +15157,21 @@ paths: - *100 - *101 - *102 + - *103 required: - enabled - stream_type - vendor_specific examples: - default: *103 + default: *104 responses: '200': description: Successful update content: application/json: - schema: *92 + schema: *93 examples: - default: *93 + default: *94 '422': description: Validation error content: @@ -15191,8 +15201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise parameters: - - *41 - - *94 + - *42 + - *95 responses: '204': description: The audit log stream configuration was deleted successfully. @@ -15218,14 +15228,14 @@ paths: category: enterprise-admin subcategory: bypass-requests parameters: - - *41 - - &104 + - *42 + - &105 name: organization_name description: The name of the organization to filter on. in: query schema: type: string - - &105 + - &106 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -15233,7 +15243,7 @@ paths: required: false schema: type: string - - &106 + - &107 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -15241,7 +15251,7 @@ paths: required: false schema: type: string - - &107 + - &108 name: time_period description: |- The time period to filter by. @@ -15257,7 +15267,7 @@ paths: - week - month default: day - - &108 + - &109 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -15284,7 +15294,7 @@ paths: application/json: schema: type: array - items: &323 + items: &324 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -15401,7 +15411,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: &109 + items: &110 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -15445,7 +15455,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &324 + default: &325 value: - id: 21 number: 42 @@ -15514,7 +15524,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': *40 + '500': *41 "/enterprises/{enterprise}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for an enterprise @@ -15535,12 +15545,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *41 - - *104 + - *42 - *105 - *106 - *107 - *108 + - *109 - *17 - *19 responses: @@ -15550,7 +15560,7 @@ paths: application/json: schema: type: array - items: &326 + items: &327 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -15664,7 +15674,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: *109 + items: *110 url: type: string format: uri @@ -15675,7 +15685,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &327 + default: &328 value: - id: 21 number: 42 @@ -15742,7 +15752,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': *40 + '500': *41 "/enterprises/{enterprise}/code-scanning/alerts": get: summary: List code scanning alerts for an enterprise @@ -15759,18 +15769,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - - *41 - - &332 + - *42 + - &333 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: &113 + schema: &114 type: string description: The name of the tool used to generate the code scanning analysis. - - &333 + - &334 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 @@ -15778,22 +15788,22 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &114 + schema: &115 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *110 - *111 + - *112 - *19 - *17 - - *112 + - *113 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &334 + schema: &335 type: string description: State of a code scanning alert. enum: @@ -15826,42 +15836,42 @@ paths: application/json: schema: type: array - items: &335 + items: &336 type: object properties: - number: &134 + number: &135 type: integer description: The security alert number. readOnly: true - created_at: &141 + created_at: &142 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: &142 + updated_at: &143 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - url: &139 + url: &140 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &140 + html_url: &141 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &582 + instances_url: &585 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &115 + state: &116 type: string description: State of a code scanning alert. nullable: true @@ -15869,7 +15879,7 @@ paths: - open - dismissed - fixed - fixed_at: &144 + fixed_at: &145 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -15883,14 +15893,14 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &143 + dismissed_at: &144 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissed_reason: &583 + dismissed_reason: &586 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -15899,13 +15909,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &584 + dismissed_comment: &587 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &585 + rule: &588 type: object properties: id: @@ -15958,42 +15968,42 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &586 + tool: &589 type: object properties: - name: *113 + name: *114 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *114 - most_recent_instance: &587 + guid: *115 + most_recent_instance: &590 type: object properties: - ref: &580 + ref: &583 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &597 + analysis_key: &600 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: &598 + environment: &601 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: &599 + category: &602 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: *115 + state: *116 commit_sha: type: string message: @@ -16007,7 +16017,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: &600 + location: &603 type: object description: Describe a region within a file for the alert. properties: @@ -16028,7 +16038,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: &601 + items: &604 type: string description: A classification of the file. For example to identify it as generated. @@ -16038,11 +16048,11 @@ paths: - generated - test - library - repository: &122 + repository: &123 title: Simple Repository description: A GitHub repository. type: object - properties: &145 + properties: &146 id: type: integer format: int64 @@ -16269,7 +16279,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &146 + required: &147 - archive_url - assignees_url - blobs_url @@ -16341,7 +16351,7 @@ paths: - most_recent_instance - repository examples: - default: &336 + default: &337 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -16570,9 +16580,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: *47 + Link: *48 '404': *6 - '503': &203 + '503': &204 description: Service unavailable content: application/json: @@ -16607,7 +16617,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise parameters: - - *41 + - *42 - name: per_page in: query description: The number of results per page (max 100). For more information, @@ -16616,8 +16626,8 @@ paths: schema: type: integer default: 30 - - *110 - *111 + - *112 responses: '200': description: Response @@ -16625,7 +16635,7 @@ paths: application/json: schema: type: array - items: &116 + items: &117 type: object description: A code security configuration properties: @@ -16945,7 +16955,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -17023,7 +17033,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &120 + code_scanning_options: &121 type: object description: Security Configuration feature options for code scanning nullable: true @@ -17040,7 +17050,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &119 + code_scanning_default_setup_options: &120 type: object description: Feature options for code scanning default setup nullable: true @@ -17164,9 +17174,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *116 + schema: *117 examples: - default: &117 + default: &118 value: id: 1325 target_type: enterprise @@ -17218,13 +17228,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &338 + schema: &339 type: array description: A list of default code security configurations items: @@ -17238,9 +17248,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *116 + configuration: *117 examples: - default: &339 + default: &340 value: - default_for_new_repos: public configuration: @@ -17323,8 +17333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - - *41 - - &118 + - *42 + - &119 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -17336,10 +17346,10 @@ paths: description: Response content: application/json: - schema: *116 + schema: *117 examples: - default: *117 - '304': *37 + default: *118 + '304': *38 '403': *29 '404': *6 x-github: @@ -17362,8 +17372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - - *41 - - *118 + - *42 + - *119 requestBody: required: true content: @@ -17442,8 +17452,8 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *119 - code_scanning_options: *120 + code_scanning_default_setup_options: *120 + code_scanning_options: *121 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -17539,13 +17549,13 @@ paths: description: Response content: application/json: - schema: *116 + schema: *117 examples: - default: *117 - '304': *37 + default: *118 + '304': *38 '403': *29 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17568,15 +17578,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - - *41 - - *118 + - *42 + - *119 responses: - '204': &130 + '204': &129 description: A header with no content is returned. '400': *14 '403': *29 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17600,8 +17610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - - *41 - - *118 + - *42 + - *119 requestBody: required: true content: @@ -17625,10 +17635,10 @@ paths: value: scope: all responses: - '202': *39 + '202': *40 '403': *29 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17652,8 +17662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise parameters: - - *41 - - *118 + - *42 + - *119 requestBody: required: true content: @@ -17693,12 +17703,12 @@ paths: - none - private_and_internal - public - configuration: *116 + configuration: *117 examples: default: value: default_for_new_repos: all - configuration: &337 + configuration: &338 value: id: 1325 target_type: organization @@ -17759,8 +17769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - - *41 - - *118 + - *42 + - *119 - 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)." @@ -17769,8 +17779,8 @@ paths: schema: type: integer default: 30 - - *110 - *111 + - *112 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -17788,7 +17798,7 @@ paths: application/json: schema: type: array - items: &340 + items: &341 type: object description: Repositories associated with a code security configuration and attachment status @@ -17806,13 +17816,13 @@ paths: - failed - updating - removed_by_enterprise - repository: *122 + repository: *123 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: &341 + repository: &342 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -17906,7 +17916,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/code-security-and-analysis#get-code-security-and-analysis-features-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -18004,7 +18014,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/code-security-and-analysis#update-code-security-and-analysis-features-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: false content: @@ -18088,7 +18098,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#list-enterprise-consumed-licenses parameters: - - *41 + - *42 - *17 - *19 responses: @@ -18220,7 +18230,7 @@ paths: visual_studio_subscription_email: '' total_user_accounts: 1 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18253,7 +18263,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-enterprise parameters: - - *41 + - *42 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -18277,7 +18287,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &154 + items: &155 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -18294,14 +18304,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *123 - required: *124 + properties: *124 + required: *125 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &328 + - &329 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -18387,7 +18397,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &416 + properties: &417 id: description: Unique identifier of the team type: integer @@ -18459,7 +18469,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &417 + required: &418 - id - node_id - url @@ -18485,7 +18495,7 @@ paths: - slug - parent - type - - &153 + - &154 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -18603,7 +18613,7 @@ paths: - created_at additionalProperties: false examples: - default: &155 + default: &156 value: total_seats: 2 seats: @@ -18673,8 +18683,8 @@ paths: type: User site_admin: false headers: - Link: *47 - '500': *40 + Link: *48 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -18704,7 +18714,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#add-enterprise-teams-to-the-copilot-subscription-for-an-enterprise parameters: - - *41 + - *42 requestBody: content: application/json: @@ -18746,7 +18756,7 @@ paths: default: value: seats_created: 5 - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -18780,7 +18790,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#remove-enterprise-teams-from-the-copilot-subscription-for-an-enterprise parameters: - - *41 + - *42 requestBody: content: application/json: @@ -18835,7 +18845,7 @@ paths: response: value: message: Status for delete command - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -18870,7 +18880,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-enterprise parameters: - - *41 + - *42 requestBody: content: application/json: @@ -18911,7 +18921,7 @@ paths: default: value: seats_created: 5 - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -18946,7 +18956,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-enterprise parameters: - - *41 + - *42 requestBody: content: application/json: @@ -18988,7 +18998,7 @@ paths: default: value: seats_cancelled: 5 - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -19027,7 +19037,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: OK @@ -19049,7 +19059,7 @@ paths: - "/__tests__/**" octo-org/octo-repo: - "/src/some-dir/kernel.rs" - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -19082,7 +19092,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-enterprise parameters: - - *41 + - *42 requestBody: description: The content exclusion rules to set required: true @@ -19136,11 +19146,11 @@ paths: default: value: message: Content exclusion rules updated successfully. - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 - '413': &348 + '413': &349 description: Payload Too Large content: application/json: @@ -19169,7 +19179,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-custom-agents#get-custom-agents-for-an-enterprise parameters: - - *41 + - *42 - *17 - *19 responses: @@ -19213,7 +19223,7 @@ paths: summary: Response when no source repository configured value: custom_agents: - '500': *40 + '500': *41 '401': *25 '403': *29 '404': @@ -19256,7 +19266,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-custom-agents#get-the-source-organization-for-custom-agents-in-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -19335,7 +19345,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-custom-agents#set-the-source-organization-for-custom-agents-in-an-enterprise parameters: - - *41 + - *42 requestBody: description: The source organization configuration required: true @@ -19438,7 +19448,7 @@ paths: id: 456 name: ".github-private" full_name: my-org/.github-private - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -19495,7 +19505,7 @@ paths: category: copilot subcategory: copilot-custom-agents parameters: - - *41 + - *42 responses: '204': description: No Content - The custom agents source was successfully removed. @@ -19528,8 +19538,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day parameters: - - *41 - - &125 + - *42 + - &126 name: day description: The day to request data for, in `YYYY-MM-DD` format. in: query @@ -19543,7 +19553,7 @@ paths: description: Response content: application/json: - schema: &126 + schema: &127 type: object title: Copilot Metrics 1 Day Report description: Links to download the Copilot usage metrics report for @@ -19564,13 +19574,13 @@ paths: - download_links - report_day examples: - default: &127 + default: &128 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': *40 + '500': *41 '403': *29 '404': *6 x-github: @@ -19596,13 +19606,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &128 + schema: &130 type: object title: Copilot Metrics 28 Day Report description: Links to download the latest Copilot usage metrics report @@ -19630,14 +19640,51 @@ paths: - report_start_day - report_end_day examples: - default: &129 + default: &131 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': *40 + '500': *41 + '403': *29 + '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/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-repository-report-for-a-specific-day + parameters: + - *42 + - *126 + responses: + '200': + description: Response + content: + application/json: + schema: *127 + examples: + default: *128 + '204': *129 + '500': *41 '403': *29 '404': *6 x-github: @@ -19663,17 +19710,17 @@ paths: 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 parameters: - - *41 - - *125 + - *42 + - *126 responses: '200': description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: *127 - '500': *40 + default: *128 + '500': *41 '403': *29 '404': *6 x-github: @@ -19699,17 +19746,17 @@ paths: 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 parameters: - - *41 - - *125 + - *42 + - *126 responses: '200': description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: *127 - '500': *40 + default: *128 + '500': *41 '403': *29 '404': *6 x-github: @@ -19735,16 +19782,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: *128 + schema: *130 examples: - default: *129 - '500': *40 + default: *131 + '500': *41 '403': *29 '404': *6 x-github: @@ -19772,7 +19819,7 @@ paths: 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: - - *41 + - *42 requestBody: description: The coding agent policy configuration required: true @@ -19799,7 +19846,7 @@ paths: value: policy_state: enabled_for_all_orgs responses: - '204': *130 + '204': *129 '400': *14 x-github: enabledForGitHubApps: false @@ -19826,7 +19873,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy parameters: - - *41 + - *42 requestBody: description: The organizations to enable Copilot cloud agent for required: true @@ -19875,7 +19922,7 @@ paths: - engineering - security responses: - '204': *130 + '204': *129 '400': *14 x-github: enabledForGitHubApps: false @@ -19901,7 +19948,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy parameters: - - *41 + - *42 requestBody: description: The organizations to disable Copilot cloud agent for required: true @@ -19951,7 +19998,7 @@ paths: - engineering - security responses: - '204': *130 + '204': *129 '400': *14 x-github: enabledForGitHubApps: false @@ -19978,7 +20025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-usage-records-for-an-enterprise parameters: - - *41 + - *42 - name: phrase description: 'A search phrase to filter usage records. Supported qualifiers: `type` (request/response), `user_id`, `created`.' @@ -19994,9 +20041,9 @@ paths: schema: type: integer default: 25 - - *131 - *132 - *133 + - *134 responses: '200': description: Response @@ -20050,7 +20097,7 @@ paths: body: '{"choices":[{"message":{"content":"Hi there!"}}]}' "@timestamp": 1719600000500 headers: - Link: *47 + Link: *48 '400': *14 '422': *15 '403': *29 @@ -20088,7 +20135,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/credential-authorizations#revoke-all-credential-authorizations-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: false content: @@ -20184,8 +20231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/credential-authorizations#revoke-credential-authorizations-for-a-user-in-an-enterprise parameters: - - *41 - - &151 + - *42 + - &152 name: username description: The handle for the GitHub user account. in: path @@ -20295,8 +20342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - - *41 - - &353 + - *42 + - &354 name: classification in: query description: |- @@ -20305,7 +20352,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &354 + - &355 name: state in: query description: |- @@ -20314,7 +20361,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &355 + - &356 name: severity in: query description: |- @@ -20323,7 +20370,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &356 + - &357 name: ecosystem in: query description: |- @@ -20332,14 +20379,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &357 + - &358 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 - - &358 + - &359 name: epss_percentage in: query description: |- @@ -20351,7 +20398,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 - - &644 + - &647 name: has in: query description: |- @@ -20365,7 +20412,7 @@ paths: type: string enum: - patch - - &359 + - &360 name: assignee in: query description: |- @@ -20374,7 +20421,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &360 + - &361 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -20384,7 +20431,7 @@ paths: enum: - development - runtime - - &361 + - &362 name: sort in: query description: |- @@ -20399,9 +20446,9 @@ paths: - updated - epss_percentage default: created - - *112 - - *110 + - *113 - *111 + - *112 - *17 responses: '200': @@ -20410,11 +20457,11 @@ paths: application/json: schema: type: array - items: &362 + items: &363 type: object description: A Dependabot alert. properties: - number: *134 + number: *135 state: type: string description: The state of the Dependabot alert. @@ -20429,7 +20476,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &135 + package: &136 type: object description: Details for the vulnerable package. readOnly: true @@ -20474,7 +20521,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &645 + security_advisory: &648 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -20504,13 +20551,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &138 + items: &139 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *135 + package: *136 severity: type: string description: The severity of the vulnerability. @@ -20562,8 +20609,8 @@ paths: enum: - general - malware - cvss_severities: *136 - epss: *137 + cvss_severities: *137 + epss: *138 cwes: type: array description: Details for the advisory pertaining to Common @@ -20661,12 +20708,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *138 - url: *139 - html_url: *140 - created_at: *141 - updated_at: *142 - dismissed_at: *143 + security_vulnerability: *139 + url: *140 + html_url: *141 + created_at: *142 + updated_at: *143 + dismissed_at: *144 dismissed_by: title: Simple User description: A GitHub user. @@ -20690,15 +20737,15 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *144 - auto_dismissed_at: &646 + fixed_at: *145 + auto_dismissed_at: &649 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &647 + dismissal_request: &650 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -20741,7 +20788,7 @@ paths: description: The users assigned to this alert. readOnly: true items: *4 - repository: *122 + repository: *123 required: - number - state @@ -20760,7 +20807,7 @@ paths: - repository additionalProperties: false examples: - default: &363 + default: &364 value: - number: 2 state: dismissed @@ -21098,7 +21145,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': *37 + '304': *38 '403': *29 '404': *6 '422': *7 @@ -21122,7 +21169,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise parameters: - - *41 + - *42 - name: page in: query description: The page number of results to fetch. @@ -21145,7 +21192,7 @@ paths: description: Response content: application/json: - schema: &364 + schema: &365 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -21166,12 +21213,12 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *145 - required: *146 + properties: *146 + required: *147 nullable: true additionalProperties: false examples: - default: &365 + default: &366 value: default_level: public accessible_repositories: @@ -21271,7 +21318,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -21335,7 +21382,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -21388,12 +21435,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *41 - - *104 + - *42 - *105 - *106 - *107 - - &367 + - *108 + - &368 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -21419,7 +21466,7 @@ paths: application/json: schema: type: array - items: &369 + items: &370 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -21529,7 +21576,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *109 + items: *110 url: type: string format: uri @@ -21540,7 +21587,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &370 + default: &371 value: - id: 21 number: 42 @@ -21605,7 +21652,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/19 '404': *6 '403': *29 - '500': *40 + '500': *41 "/enterprises/{enterprise}/enterprise-roles": get: summary: Get all enterprise roles for an enterprise @@ -21625,7 +21672,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#get-all-enterprise-roles-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response - list of enterprise roles @@ -21641,7 +21688,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &152 + items: &153 title: Enterprise Role description: Enterprise custom roles type: object @@ -21675,8 +21722,8 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: *147 - required: *148 + properties: *148 + required: *149 nullable: true created_at: description: The date and time the role was created. @@ -21768,8 +21815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - - *41 - - &149 + - *42 + - &150 name: team_slug description: The slug of the enterprise team name. in: path @@ -21811,9 +21858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - - *41 - - *149 - - &150 + - *42 + - *150 + - &151 name: role_id description: The unique identifier of the role. in: path @@ -21854,9 +21901,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - - *41 - - *149 + - *42 - *150 + - *151 responses: '204': description: Response @@ -21889,8 +21936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user parameters: - - *41 - - *151 + - *42 + - *152 responses: '204': description: Response @@ -21923,9 +21970,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user parameters: - - *41 + - *42 + - *152 - *151 - - *150 responses: '204': description: Response @@ -21957,9 +22004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment parameters: - - *41 + - *42 + - *152 - *151 - - *150 responses: '204': description: Response @@ -21992,14 +22039,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - - *41 - - *150 + - *42 + - *151 responses: '200': description: Response content: application/json: - schema: *152 + schema: *153 examples: default: value: @@ -22052,8 +22099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#list-teams-that-are-assigned-to-an-enterprise-role parameters: - - *41 - - *150 + - *42 + - *151 - *17 - *19 responses: @@ -22063,9 +22110,9 @@ paths: application/json: schema: type: array - items: *153 + items: *154 examples: - default: &220 + default: &221 value: - id: 1 name: Justice League @@ -22103,8 +22150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#list-users-that-are-assigned-to-an-enterprise-role parameters: - - *41 - - *150 + - *42 + - *151 - *17 - *19 responses: @@ -22136,7 +22183,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *153 + items: *154 examples: default: value: @@ -22198,7 +22245,7 @@ paths: type: User site_admin: false headers: - Link: *47 + Link: *48 '403': *29 '404': *6 x-github: @@ -22229,7 +22276,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/security-advisories#sync-innersource-vulnerabilities-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -22452,7 +22499,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/security-advisories#get-innersource-vulnerability-sync-status-for-an-enterprise parameters: - - *41 + - *42 - name: job_id in: path required: true @@ -22611,7 +22658,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-an-enterprise-installation-for-the-authenticated-app parameters: - - *41 + - *42 responses: '200': description: Response @@ -22619,7 +22666,7 @@ paths: application/json: schema: *22 examples: - default: &393 + default: &394 value: id: 1 account: @@ -22687,7 +22734,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-a-license-sync-status parameters: - - *41 + - *42 responses: '200': description: License Sync Status Response @@ -22759,8 +22806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - - *41 - - *151 + - *42 + - *152 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -22776,10 +22823,10 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *154 + items: *155 examples: - default: *155 - '500': *40 + default: *156 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -22803,7 +22850,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#list-hosted-compute-network-configurations-for-an-enterprise parameters: - - *41 + - *42 - *17 - *19 responses: @@ -22821,7 +22868,7 @@ paths: type: integer network_configurations: type: array - items: &156 + items: &157 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -22873,7 +22920,7 @@ paths: - name - created_on examples: - default: &497 + default: &498 value: total_count: 2 network_configurations: @@ -22892,7 +22939,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -22909,7 +22956,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#create-a-hosted-compute-network-configuration-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -22965,9 +23012,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: &157 + default: &158 value: id: 123456789ABCDEF name: My network configuration @@ -22993,8 +23040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - - *41 - - &158 + - *42 + - &159 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -23006,11 +23053,11 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: *157 + default: *158 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23027,8 +23074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - - *41 - - *158 + - *42 + - *159 requestBody: required: true content: @@ -23081,9 +23128,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: *157 + default: *158 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23100,8 +23147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - - *41 - - *158 + - *42 + - *159 responses: '204': description: Response @@ -23123,8 +23170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - - *41 - - &498 + - *42 + - &499 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -23136,7 +23183,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &500 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -23170,7 +23217,7 @@ paths: - subnet_id - region examples: - default: &500 + default: &501 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -23178,7 +23225,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: *47 + Link: *48 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23201,7 +23248,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#get-organization-custom-properties-schema-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -23209,7 +23256,7 @@ paths: application/json: schema: type: array - items: &159 + items: &160 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -23277,7 +23324,7 @@ paths: - property_name - value_type examples: - default: &160 + default: &161 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23325,7 +23372,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#create-or-update-organization-custom-property-definitions-on-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -23337,7 +23384,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *159 + items: *160 minItems: 1 maxItems: 100 required: @@ -23370,9 +23417,9 @@ paths: application/json: schema: type: array - items: *159 + items: *160 examples: - default: *160 + default: *161 '403': *29 '404': *6 '422': *7 @@ -23398,8 +23445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#get-an-organization-custom-property-definition-from-an-enterprise parameters: - - *41 - - &161 + - *42 + - &162 name: custom_property_name description: The custom property name in: path @@ -23411,9 +23458,9 @@ paths: description: Response content: application/json: - schema: *159 + schema: *160 examples: - default: &162 + default: &163 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23449,8 +23496,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#create-or-update-an-organization-custom-property-definition-on-an-enterprise parameters: - - *41 - - *161 + - *42 + - *162 requestBody: required: true content: @@ -23519,9 +23566,9 @@ paths: description: Response content: application/json: - schema: *159 + schema: *160 examples: - default: *162 + default: *163 '403': *29 '404': *6 '422': *7 @@ -23546,10 +23593,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#remove-an-organization-custom-property-definition-from-an-enterprise parameters: - - *41 - - *161 + - *42 + - *162 responses: - '204': *130 + '204': *129 '403': *29 '404': *6 '422': *7 @@ -23575,7 +23622,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#list-custom-property-values-for-organizations-in-an-enterprise parameters: - - *41 + - *42 - *17 - *19 responses: @@ -23598,7 +23645,7 @@ paths: example: Hello-World properties: type: array - items: &163 + items: &164 title: Custom Property Value description: Custom property name and associated value type: object @@ -23635,7 +23682,7 @@ paths: - property_name: team value: octocat headers: - Link: *47 + Link: *48 '403': *29 '404': *6 x-github: @@ -23661,7 +23708,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#create-or-update-custom-property-values-for-organizations-in-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -23681,7 +23728,7 @@ paths: type: array description: List of custom property names and associated values to apply to the organizations. - items: *163 + items: *164 required: - organization_logins - properties @@ -23723,7 +23770,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#get-custom-properties-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response @@ -23731,7 +23778,7 @@ paths: application/json: schema: type: array - items: &164 + items: &165 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -23799,7 +23846,7 @@ paths: - property_name - value_type examples: - default: &165 + default: &166 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -23846,7 +23893,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#create-or-update-custom-properties-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -23857,7 +23904,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *164 + items: *165 minItems: 1 maxItems: 100 required: @@ -23887,9 +23934,9 @@ paths: application/json: schema: type: array - items: *164 + items: *165 examples: - default: *165 + default: *166 '403': *29 '404': *6 x-github: @@ -23911,17 +23958,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - - *41 - - *89 - - *161 + - *42 + - *90 + - *162 responses: '200': description: Response content: application/json: - schema: *164 + schema: *165 examples: - default: &166 + default: &167 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -23953,16 +24000,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - - *41 - - *161 + - *42 + - *162 responses: '200': description: Response content: application/json: - schema: *164 + schema: *165 examples: - default: *166 + default: *167 '403': *29 '404': *6 x-github: @@ -23983,13 +24030,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - - *41 - - *161 + - *42 + - *162 requestBody: required: true content: application/json: - schema: &449 + schema: &450 title: Custom Property Set Payload description: Custom property set payload type: object @@ -24055,9 +24102,9 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: - default: *166 + default: *167 '403': *29 '404': *6 x-github: @@ -24078,10 +24125,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - - *41 - - *161 + - *42 + - *162 responses: - '204': *130 + '204': *129 '403': *29 '404': *6 x-github: @@ -24100,7 +24147,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/rules#create-an-enterprise-repository-ruleset parameters: - - *41 + - *42 requestBody: description: Request body required: true @@ -24121,7 +24168,7 @@ paths: - push - repository default: branch - enforcement: &175 + enforcement: &176 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -24134,7 +24181,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &176 + items: &177 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -24177,7 +24224,7 @@ paths: - pull_request - exempt default: always - conditions: &200 + conditions: &201 title: Enterprise ruleset conditions type: object description: |- @@ -24190,7 +24237,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &167 + - &168 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -24216,7 +24263,7 @@ paths: type: string required: - organization_name - - &170 + - &171 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -24245,7 +24292,7 @@ paths: is prevented. required: - repository_name - - &169 + - &170 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -24273,8 +24320,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *167 - - &172 + - *168 + - &173 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -24287,7 +24334,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &168 + items: &169 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -24318,16 +24365,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *168 + items: *169 required: - repository_property - - *169 + - *170 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &171 + - &172 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -24344,22 +24391,22 @@ paths: type: integer required: - organization_id + - *171 - *170 - - *169 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *171 - *172 - - *169 + - *173 + - *170 - type: object title: organization_property_and_repository_name description: Conditions to target organizations by property and all repositories allOf: - - &174 + - &175 title: Repository ruleset conditions for organization properties type: object description: Parameters for a organization property condition @@ -24372,7 +24419,7 @@ paths: description: The organization properties and values to include. All of these properties must match for the condition to pass. - items: &173 + items: &174 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a organization @@ -24396,28 +24443,28 @@ paths: description: The organization properties and values to exclude. The condition will not pass if any of these properties match. - items: *173 + items: *174 required: - organization_property + - *171 - *170 - - *169 - type: object title: organization_property_and_repository_property description: Conditions to target organizations by property and repositories by property allOf: - - *174 - - *172 - - *169 + - *175 + - *173 + - *170 rules: type: array description: An array of rules within the ruleset. - items: &201 + items: &202 title: Repository Rule type: object description: A repository rule. oneOf: - - &177 + - &178 title: creation description: Only allow users with bypass permission to create matching refs. @@ -24429,7 +24476,7 @@ paths: type: string enum: - creation - - &178 + - &179 title: update description: Only allow users with bypass permission to update matching refs. @@ -24450,7 +24497,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &179 + - &180 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -24462,7 +24509,7 @@ paths: type: string enum: - deletion - - &180 + - &181 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -24474,7 +24521,7 @@ paths: type: string enum: - required_linear_history - - &181 + - &182 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -24498,7 +24545,7 @@ paths: type: string required: - required_deployment_environments - - &182 + - &183 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -24510,7 +24557,7 @@ paths: type: string enum: - required_signatures - - &183 + - &184 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -24650,7 +24697,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &184 + - &185 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -24697,7 +24744,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &185 + - &186 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -24709,7 +24756,7 @@ paths: type: string enum: - non_fast_forward - - &186 + - &187 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -24746,7 +24793,7 @@ paths: required: - operator - pattern - - &187 + - &188 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -24783,7 +24830,7 @@ paths: required: - operator - pattern - - &188 + - &189 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -24820,7 +24867,7 @@ paths: required: - operator - pattern - - &189 + - &190 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -24857,7 +24904,7 @@ paths: required: - operator - pattern - - &190 + - &191 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -24894,7 +24941,7 @@ paths: required: - operator - pattern - - &194 + - &195 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -24918,7 +24965,7 @@ paths: type: string required: - restricted_file_paths - - &195 + - &196 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -24942,7 +24989,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &196 + - &197 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -24965,7 +25012,7 @@ paths: type: string required: - restricted_file_extensions - - &197 + - &198 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -24989,7 +25036,7 @@ paths: maximum: 100 required: - max_file_size - - &191 + - &192 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -25038,7 +25085,7 @@ paths: - repository_id required: - workflows - - &192 + - &193 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -25098,7 +25145,7 @@ paths: - tool required: - code_scanning_tools - - &193 + - &194 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review @@ -25148,7 +25195,7 @@ paths: description: Response content: application/json: - schema: &198 + schema: &199 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -25183,11 +25230,11 @@ paths: source: type: string description: The name of the source - enforcement: *175 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *176 + items: *177 current_user_can_bypass: type: string description: |- @@ -25219,8 +25266,8 @@ paths: conditions: nullable: true anyOf: - - *169 - - &455 + - *170 + - &456 title: Organization ruleset conditions type: object description: |- @@ -25234,14 +25281,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *169 - *170 + - *171 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *169 + - *170 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -25263,20 +25310,20 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *169 - - *172 + - *170 + - *173 rules: type: array - items: &791 + items: &794 title: Repository Rule type: object description: A repository rule. oneOf: - - *177 - *178 - *179 - *180 - - &788 + - *181 + - &791 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -25354,7 +25401,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *181 - *182 - *183 - *184 @@ -25367,7 +25413,8 @@ paths: - *191 - *192 - *193 - - &789 + - *194 + - &792 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -25379,10 +25426,10 @@ paths: type: string enum: - license_compliance_scanning - - *194 - *195 - *196 - *197 + - *198 created_at: type: string format: date-time @@ -25390,7 +25437,7 @@ paths: type: string format: date-time examples: - default: &199 + default: &200 value: id: 21 name: super cool ruleset @@ -25416,7 +25463,7 @@ paths: created_at: '2024-08-15T08:43:03Z' updated_at: '2024-09-23T16:29:47Z' '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -25437,7 +25484,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/rules#get-an-enterprise-repository-ruleset parameters: - - *41 + - *42 - name: ruleset_id description: The ID of the ruleset. in: path @@ -25449,11 +25496,11 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: *199 + default: *200 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -25469,7 +25516,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/rules#update-an-enterprise-repository-ruleset parameters: - - *41 + - *42 - name: ruleset_id description: The ID of the ruleset. in: path @@ -25495,16 +25542,16 @@ paths: - tag - push - repository - enforcement: *175 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *176 - conditions: *200 + items: *177 + conditions: *201 rules: description: An array of rules within the ruleset. type: array - items: *201 + items: *202 examples: default: value: @@ -25528,11 +25575,11 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: *199 + default: *200 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -25548,7 +25595,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/rules#delete-an-enterprise-repository-ruleset parameters: - - *41 + - *42 - name: ruleset_id description: The ID of the ruleset. in: path @@ -25559,7 +25606,7 @@ paths: '204': description: Response '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -25576,7 +25623,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/rules#get-enterprise-ruleset-history parameters: - - *41 + - *42 - *17 - *19 - name: ruleset_id @@ -25592,7 +25639,7 @@ paths: application/json: schema: type: array - items: &202 + items: &203 title: Ruleset version type: object description: The historical version of a ruleset @@ -25616,7 +25663,7 @@ paths: type: string format: date-time examples: - default: &458 + default: &459 value: - version_id: 3 actor: @@ -25634,7 +25681,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -25651,7 +25698,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/rules#get-enterprise-ruleset-version parameters: - - *41 + - *42 - name: ruleset_id description: The ID of the ruleset. in: path @@ -25669,9 +25716,9 @@ paths: description: Response content: application/json: - schema: &459 + schema: &460 allOf: - - *202 + - *203 - type: object required: - state @@ -25704,7 +25751,7 @@ paths: rules: - type: repository_delete '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -25723,8 +25770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - - *41 - - &460 + - *42 + - &461 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -25735,7 +25782,7 @@ paths: enum: - open - resolved - - &461 + - &462 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -25745,7 +25792,7 @@ paths: required: false schema: type: string - - &462 + - &463 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -25756,7 +25803,7 @@ paths: required: false schema: type: string - - &463 + - &464 name: exclude_providers in: query description: |- @@ -25767,7 +25814,7 @@ paths: required: false schema: type: string - - &464 + - &465 name: providers in: query description: |- @@ -25778,7 +25825,7 @@ paths: required: false schema: type: string - - &465 + - &466 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -25787,7 +25834,7 @@ paths: required: false schema: type: string - - &466 + - &467 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -25806,7 +25853,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &467 + - &468 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. @@ -25818,11 +25865,11 @@ paths: - created - updated default: created - - *112 + - *113 - *17 - - *110 - *111 - - &468 + - *112 + - &469 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -25831,7 +25878,7 @@ paths: required: false schema: type: string - - &469 + - &470 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -25840,7 +25887,7 @@ paths: schema: type: boolean default: false - - &470 + - &471 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -25849,7 +25896,7 @@ paths: schema: type: boolean default: false - - &471 + - &472 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -25858,7 +25905,7 @@ paths: schema: type: boolean default: false - - &472 + - &473 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -25869,7 +25916,7 @@ paths: required: false schema: type: boolean - - &473 + - &474 name: included_metadata in: query description: |- @@ -25880,7 +25927,7 @@ paths: required: false schema: type: string - - &474 + - &475 name: owner_email_hash in: query description: |- @@ -25899,11 +25946,11 @@ paths: application/json: schema: type: array - items: &475 + items: &476 type: object properties: - number: *134 - created_at: *141 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -25911,21 +25958,21 @@ paths: format: date-time readOnly: true nullable: true - url: *139 - html_url: *140 + url: *140 + html_url: *141 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &804 + state: &807 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: &805 + resolution: &808 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -25969,7 +26016,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *122 + repository: *123 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -26042,8 +26089,8 @@ paths: pull request. ' - oneOf: &806 - - &808 + oneOf: &809 + - &811 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -26101,7 +26148,7 @@ paths: - blob_url - commit_sha - commit_url - - &809 + - &812 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. @@ -26156,7 +26203,7 @@ paths: - page_url - commit_sha - commit_url - - &810 + - &813 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -26176,7 +26223,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &811 + - &814 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -26196,7 +26243,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &812 + - &815 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -26216,7 +26263,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &813 + - &816 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -26230,7 +26277,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &814 + - &817 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -26244,7 +26291,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &815 + - &818 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -26258,7 +26305,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &816 + - &819 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. @@ -26278,7 +26325,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &817 + - &820 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. @@ -26298,7 +26345,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &818 + - &821 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. @@ -26318,7 +26365,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &819 + - &822 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. @@ -26338,7 +26385,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &820 + - &823 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -26386,7 +26433,7 @@ paths: required: *21 nullable: true examples: - default: &476 + default: &477 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -26562,9 +26609,9 @@ paths: type: User site_admin: false headers: - Link: *47 + Link: *48 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -26589,8 +26636,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *41 - - &477 + - *42 + - &478 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -26601,7 +26648,7 @@ paths: enum: - published - unpublished - - &478 + - &479 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -26612,7 +26659,7 @@ paths: enum: - enabled - disabled - - &479 + - &480 name: sort description: The property to sort the results by. in: query @@ -26624,7 +26671,7 @@ paths: - updated - name default: created - - *112 + - *113 - *19 - *17 responses: @@ -26634,7 +26681,7 @@ paths: application/json: schema: type: array - items: &204 + items: &205 title: Secret Scanning Custom Pattern description: A custom pattern for secret scanning. type: object @@ -26682,7 +26729,7 @@ paths: nullable: true items: type: string - custom_pattern_version: &205 + custom_pattern_version: &206 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -26706,7 +26753,7 @@ paths: - state - push_protection_enabled examples: - default: &480 + default: &481 value: - id: 1 name: Example Custom Pattern @@ -26735,7 +26782,7 @@ paths: created_at: '2024-01-16T14:20:00Z' updated_at: '2024-01-17T09:15:00Z' headers: - Link: *47 + Link: *48 '403': *29 '404': *6 post: @@ -26756,7 +26803,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *41 + - *42 requestBody: required: true content: @@ -26769,7 +26816,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &481 + items: &482 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -26806,7 +26853,7 @@ paths: items: type: string examples: - default: &482 + default: &483 value: patterns: - name: Example Custom Pattern @@ -26830,9 +26877,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *204 + items: *205 examples: - default: &483 + default: &484 value: created_patterns: - id: 1 @@ -26884,7 +26931,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &484 + items: &485 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -26927,7 +26974,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *41 + - *42 requestBody: required: true content: @@ -26941,7 +26988,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &485 + items: &486 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -26951,7 +26998,7 @@ paths: pattern_id: type: integer description: The ID of the custom pattern to delete. - custom_pattern_version: *205 + custom_pattern_version: *206 post_delete_action: type: string description: |- @@ -26964,7 +27011,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &486 + default: &487 value: patterns: - pattern_id: 2 @@ -26975,7 +27022,7 @@ paths: '400': *14 '403': *29 '404': *6 - '412': &206 + '412': &207 description: Precondition Failed content: application/json: @@ -26999,7 +27046,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *41 + - *42 - name: pattern_id in: path required: true @@ -27010,7 +27057,7 @@ paths: required: true content: application/json: - schema: &487 + schema: &488 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`, @@ -27049,9 +27096,9 @@ paths: description: Updated list of regexes that the secret must not match. items: type: string - custom_pattern_version: *205 + custom_pattern_version: *206 examples: - default: &488 + default: &489 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -27066,9 +27113,9 @@ paths: description: Pattern updated successfully. content: application/json: - schema: *204 + schema: *205 examples: - default: &489 + default: &490 value: id: 1 name: Example Custom Pattern @@ -27088,7 +27135,7 @@ paths: '400': *14 '403': *29 '404': *6 - '412': *206 + '412': *207 '422': *15 "/enterprises/{enterprise}/secret-scanning/pattern-configurations": get: @@ -27109,23 +27156,23 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &490 + schema: &491 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. type: object properties: - pattern_config_version: *205 + pattern_config_version: *206 provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &207 + items: &208 type: object properties: token_type: @@ -27191,9 +27238,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *207 + items: *208 examples: - default: &491 + default: &492 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -27240,7 +27287,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *41 + - *42 requestBody: required: true content: @@ -27248,7 +27295,7 @@ paths: schema: type: object properties: - pattern_config_version: *205 + pattern_config_version: *206 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -27274,7 +27321,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *205 + custom_pattern_version: *206 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -27310,7 +27357,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *121 + '409': *122 '422': *15 "/enterprises/{enterprise}/settings/billing/advanced-security": get: @@ -27328,8 +27375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - - *41 - - &494 + - *42 + - &495 name: advanced_security_product in: query description: | @@ -27349,7 +27396,7 @@ paths: description: Success content: application/json: - schema: &495 + schema: &496 type: object properties: total_advanced_security_committers: @@ -27404,7 +27451,7 @@ paths: required: - repositories examples: - default: &496 + default: &497 value: total_advanced_security_committers: 2 total_count: 2 @@ -27445,8 +27492,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-enterprise parameters: - - *41 - - &211 + - *42 + - &212 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, @@ -27455,7 +27502,7 @@ paths: required: false schema: type: integer - - &212 + - &213 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 @@ -27464,7 +27511,7 @@ paths: required: false schema: type: integer - - &213 + - &214 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 @@ -27473,7 +27520,7 @@ paths: required: false schema: type: integer - - &214 + - &215 name: organization description: The organization name to query usage for. The name is not case sensitive. @@ -27481,21 +27528,21 @@ paths: required: false schema: type: string - - &215 + - &216 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &216 + - &217 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &217 + - &218 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -27633,8 +27680,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27653,7 +27700,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-all-budgets parameters: - - *41 + - *42 - name: page description: The page number of results to fetch. in: query @@ -27907,7 +27954,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#create-a-budget parameters: - - *41 + - *42 requestBody: required: true content: @@ -28141,8 +28188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-a-budget-by-id parameters: - - *41 - - &208 + - *42 + - &209 name: budget_id description: The ID corresponding to the budget. in: path @@ -28246,8 +28293,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28519,8 +28566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#delete-a-budget parameters: - - *41 - - *208 + - *42 + - *209 responses: '200': description: Response when deleting a budget @@ -28546,8 +28593,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28565,8 +28612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-user-states-for-a-multi-user-budget parameters: - - *41 - - *208 + - *42 + - *209 - name: page description: The page number of results to fetch. in: query @@ -28660,8 +28707,8 @@ paths: total_count: 2 '404': *6 '403': *29 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28678,7 +28725,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#get-all-cost-centers-for-an-enterprise parameters: - - *41 + - *42 - name: state in: query description: Set to `active` or `deleted` to only list cost centers in a specific @@ -28790,8 +28837,8 @@ paths: ai_credit_pool_enabled: false '400': *14 '403': *29 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28808,7 +28855,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#create-a-new-cost-center parameters: - - *41 + - *42 requestBody: required: true content: @@ -28965,8 +29012,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#get-a-cost-center-by-id parameters: - - *41 - - &210 + - *42 + - &211 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -29043,7 +29090,7 @@ paths: - name - resources examples: - default: &209 + default: &210 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -29060,8 +29107,8 @@ paths: current_amount: 7250.5 '400': *14 '403': *29 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29181,14 +29228,14 @@ paths: - name - resources examples: - update-cost-center: *209 - update-cost-center-with-cap: *209 + update-cost-center: *210 + update-cost-center-with-cap: *210 '400': *14 '403': *29 '404': *6 - '409': *121 - '500': *40 - '503': *203 + '409': *122 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29205,8 +29252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#delete-a-cost-center parameters: - - *41 - - *210 + - *42 + - *211 responses: '200': description: Response when deleting a cost center @@ -29244,8 +29291,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29265,8 +29312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - - *41 - - *210 + - *42 + - *211 requestBody: required: true content: @@ -29344,9 +29391,9 @@ paths: previous_cost_center: old-cost-center '400': *14 '403': *29 - '409': *121 - '500': *40 - '503': *203 + '409': *122 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29365,8 +29412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - - *41 - - *210 + - *42 + - *211 requestBody: required: true content: @@ -29417,8 +29464,8 @@ paths: message: Resources successfully removed from the cost center. '400': *14 '403': *29 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29438,14 +29485,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - - *41 - - *211 + - *42 - *212 - *213 - *214 - *215 - *216 - *217 + - *218 - name: cost_center_id description: The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center. @@ -29577,8 +29624,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29596,7 +29643,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage-reports#list-usage-report-exports parameters: - - *41 + - *42 responses: '200': description: List of usage report exports @@ -29608,7 +29655,7 @@ paths: usage_report_exports: type: array description: List of usage report exports - items: &218 + items: &219 type: object properties: id: @@ -29698,8 +29745,8 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29717,7 +29764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage-reports#create-a-usage-report-export parameters: - - *41 + - *42 requestBody: required: true content: @@ -29763,9 +29810,9 @@ paths: description: Report export request accepted content: application/json: - schema: *218 + schema: *219 examples: - usage-report-export: &219 + usage-report-export: &220 value: id: a1b2c3d4-e5f6-7890-abcd-ef1234567890 report_type: detailed @@ -29780,8 +29827,8 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29799,7 +29846,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage-reports#get-a-usage-report-export parameters: - - *41 + - *42 - name: report_id description: The unique identifier (UUID) for the usage report export. in: path @@ -29812,14 +29859,14 @@ paths: description: Usage report export details content: application/json: - schema: *218 + schema: *219 examples: - usage-report-export: *219 + usage-report-export: *220 '401': *25 '403': *29 '404': *6 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29839,8 +29886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - - *41 - - *211 + - *42 + - *212 - 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 @@ -29849,7 +29896,7 @@ paths: required: false schema: type: integer - - *213 + - *214 - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -29931,8 +29978,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29952,18 +29999,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - - *41 - - *211 + - *42 - *212 - *213 - *214 + - *215 - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *217 + - *218 - name: sku description: The SKU to query for usage. in: query @@ -30095,8 +30142,8 @@ paths: netAmount: 8.0 '400': *14 '403': *29 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -30113,7 +30160,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#list-enterprise-teams parameters: - - *41 + - *42 - *17 - *19 responses: @@ -30123,11 +30170,11 @@ paths: application/json: schema: type: array - items: *153 + items: *154 examples: - default: *220 + default: *221 headers: - Link: *47 + Link: *48 '403': *29 x-github: githubCloudOnly: false @@ -30145,7 +30192,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team parameters: - - *41 + - *42 requestBody: required: true content: @@ -30212,9 +30259,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: - default: &225 + default: &226 value: id: 1 name: Justice League @@ -30242,8 +30289,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - - *41 - - &221 + - *42 + - &222 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -30262,7 +30309,7 @@ paths: type: array items: *4 examples: - default: &222 + default: &223 value: - login: octocat id: 1 @@ -30283,7 +30330,7 @@ paths: type: User site_admin: false headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30300,8 +30347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - - *41 - - *221 + - *42 + - *222 requestBody: required: true content: @@ -30332,7 +30379,7 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30349,8 +30396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - - *41 - - *221 + - *42 + - *222 requestBody: required: true content: @@ -30381,7 +30428,7 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30398,9 +30445,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - - *41 - - *221 - - *151 + - *42 + - *222 + - *152 responses: '200': description: User is a member of the enterprise team. @@ -30408,7 +30455,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &223 + exampleKey1: &224 value: login: octocat id: 1 @@ -30443,9 +30490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - - *41 - - *221 - - *151 + - *42 + - *222 + - *152 responses: '201': description: Successfully added team member @@ -30453,7 +30500,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *223 + exampleKey1: *224 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30470,9 +30517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - - *41 - - *221 - - *151 + - *42 + - *222 + - *152 responses: '204': description: Response @@ -30493,8 +30540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - - *41 - - *221 + - *42 + - *222 - *17 - *19 responses: @@ -30504,9 +30551,9 @@ paths: application/json: schema: type: array - items: *75 + items: *76 examples: - default: &224 + default: &225 value: login: github id: 1 @@ -30536,8 +30583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - - *41 - - *221 + - *42 + - *222 requestBody: required: true content: @@ -30565,9 +30612,9 @@ paths: application/json: schema: type: array - items: *75 + items: *76 examples: - default: &265 + default: &266 value: - login: github id: 1 @@ -30597,8 +30644,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - - *41 - - *221 + - *42 + - *222 requestBody: required: true content: @@ -30638,17 +30685,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - - *41 - - *221 - - *89 + - *42 + - *222 + - *90 responses: '200': description: The team is assigned to the organization content: application/json: - schema: *75 + schema: *76 examples: - default: *224 + default: *225 '404': description: The team is not assigned to the organization x-github: @@ -30666,17 +30713,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - - *41 - - *221 - - *89 + - *42 + - *222 + - *90 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *75 + schema: *76 examples: - default: *224 + default: *225 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30692,9 +30739,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - - *41 - - *221 - - *89 + - *42 + - *222 + - *90 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -30717,8 +30764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - - *41 - - &226 + - *42 + - &227 name: team_slug description: The slug of the team name. in: path @@ -30730,11 +30777,11 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: - default: *225 + default: *226 headers: - Link: *47 + Link: *48 '403': *29 x-github: githubCloudOnly: false @@ -30751,8 +30798,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - - *41 - - *226 + - *42 + - *227 requestBody: required: true content: @@ -30817,11 +30864,11 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: - default: *225 + default: *226 headers: - Link: *47 + Link: *48 '403': *29 x-github: githubCloudOnly: false @@ -30841,8 +30888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - - *41 - - *226 + - *42 + - *227 responses: '204': description: Response @@ -30894,7 +30941,7 @@ paths: type: integer visual_studio_subscriptions: type: array - items: &227 + items: &228 title: Visual Studio Subscription Assignment description: Visual Studio Subscription Assignment type: object @@ -30980,7 +31027,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -31023,7 +31070,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -31057,7 +31104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/code-security-and-analysis#enable-or-disable-a-security-feature parameters: - - *41 + - *42 - name: security_product in: path description: The security feature to enable or disable. @@ -31127,7 +31174,7 @@ paths: application/json: schema: type: array - items: &260 + items: &261 title: Event description: Event type: object @@ -31137,7 +31184,7 @@ paths: type: type: string nullable: true - actor: &228 + actor: &229 title: Actor description: Actor type: object @@ -31177,7 +31224,7 @@ paths: - id - name - url - org: *228 + org: *229 payload: oneOf: - title: CreateEvent @@ -31223,7 +31270,7 @@ paths: properties: action: type: string - discussion: &947 + discussion: &950 title: Discussion description: A Discussion in a repository. type: object @@ -31510,7 +31557,7 @@ paths: - id labels: type: array - items: &233 + items: &234 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -31585,12 +31632,12 @@ paths: properties: action: type: string - issue: &234 + issue: &235 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &706 + properties: &708 id: type: integer format: int64 @@ -31696,7 +31743,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &438 + properties: &439 url: type: string format: uri @@ -31766,7 +31813,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &439 + required: &440 - closed_issues - creator - description @@ -31845,7 +31892,7 @@ paths: timeline_url: type: string format: uri - type: &403 + type: &404 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -31897,7 +31944,7 @@ paths: - node_id - name - description - repository: *80 + repository: *81 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -31908,9 +31955,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *229 - required: *230 - author_association: &231 + properties: *230 + required: *231 + author_association: &232 title: author_association type: string example: OWNER @@ -31925,7 +31972,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &232 + reactions: &233 title: Reaction Rollup type: object properties: @@ -31961,7 +32008,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &863 + sub_issues_summary: &866 title: Sub-issues Summary type: object properties: @@ -31986,7 +32033,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &235 + properties: &236 id: description: Unique identifier of the issue comment example: 42 @@ -32029,7 +32076,7 @@ paths: issue_url: type: string format: uri - author_association: *231 + author_association: *232 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -32040,15 +32087,15 @@ paths: class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 - reactions: *232 + properties: *230 + required: *231 + reactions: *233 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &732 + properties: &734 pinned_at: type: string format: date-time @@ -32060,7 +32107,7 @@ paths: properties: *20 required: *21 nullable: true - required: &733 + required: &735 - pinned_at - pinned_by nullable: true @@ -32069,16 +32116,16 @@ paths: description: Details about why an issue comment was minimized. type: object - properties: &734 + properties: &736 reason: description: The reason the comment was minimized. type: string nullable: true example: low-quality - required: &735 + required: &737 - reason nullable: true - required: &236 + required: &237 - id - node_id - html_url @@ -32088,7 +32135,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &864 + issue_dependencies_summary: &867 title: Issue Dependencies Summary type: object properties: @@ -32107,7 +32154,7 @@ paths: - total_blocking issue_field_values: type: array - items: &716 + items: &718 title: Issue Field Value description: A value assigned to an issue field type: object @@ -32199,7 +32246,7 @@ paths: - node_id - data_type - value - required: &707 + required: &709 - closed_at - comments - comments_url @@ -32223,10 +32270,10 @@ paths: assignees: type: array items: *4 - label: *233 + label: *234 labels: type: array - items: *233 + items: *234 required: - action - issue @@ -32235,14 +32282,14 @@ paths: properties: action: type: string - issue: *234 - comment: &702 + issue: *235 + comment: &704 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 required: - action - issue @@ -32415,8 +32462,8 @@ paths: title: License Simple description: License Simple type: object - properties: *237 - required: *238 + properties: *238 + required: *239 nullable: true allow_forking: type: boolean @@ -32505,7 +32552,7 @@ paths: type: string number: type: integer - pull_request: &239 + pull_request: &240 title: Pull Request Minimal type: object properties: @@ -32576,10 +32623,10 @@ paths: assignees: type: array items: *4 - label: *233 + label: *234 labels: type: array - items: *233 + items: *234 required: - action - number @@ -32589,7 +32636,7 @@ paths: properties: action: type: string - pull_request: *239 + pull_request: *240 comment: type: object properties: @@ -32840,7 +32887,7 @@ paths: - pull_request updated_at: type: string - pull_request: *239 + pull_request: *240 required: - action - review @@ -32889,7 +32936,7 @@ paths: updated_at: type: string format: date-time - reactions: *232 + reactions: *233 required: - action - comment @@ -32900,7 +32947,7 @@ paths: type: string release: allOf: - - &781 + - &784 title: Release description: A release. type: object @@ -32971,7 +33018,7 @@ paths: author: *4 assets: type: array - items: &782 + items: &785 title: Release Asset description: Data related to a release. type: object @@ -33046,7 +33093,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *232 + reactions: *233 required: - assets_url - upload_url @@ -33136,9 +33183,9 @@ paths: before: 883efe034920928c47fe18598c01249d1a9fdabd public: true created_at: '2022-06-07T07:50:26Z' - '304': *37 + '304': *38 '403': *29 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33219,7 +33266,7 @@ paths: _links: type: object properties: - timeline: &240 + timeline: &241 title: Link With Type description: Hypermedia Link with Type type: object @@ -33231,17 +33278,17 @@ paths: required: - href - type - user: *240 - security_advisories: *240 - current_user: *240 - current_user_public: *240 - current_user_actor: *240 - current_user_organization: *240 + user: *241 + security_advisories: *241 + current_user: *241 + current_user_public: *241 + current_user_actor: *241 + current_user_organization: *241 current_user_organizations: type: array - items: *240 - repository_discussions: *240 - repository_discussions_category: *240 + items: *241 + repository_discussions: *241 + repository_discussions_category: *241 required: - timeline - user @@ -33303,7 +33350,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *241 + - *242 - *17 - *19 responses: @@ -33313,7 +33360,7 @@ paths: application/json: schema: type: array - items: &242 + items: &243 title: Base Gist description: Base Gist type: object @@ -33398,7 +33445,7 @@ paths: - created_at - updated_at examples: - default: &243 + default: &244 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -33443,8 +33490,8 @@ paths: site_admin: false truncated: false headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -33519,7 +33566,7 @@ paths: description: Response content: application/json: - schema: &244 + schema: &245 title: Gist Simple description: Gist Simple type: object @@ -33687,7 +33734,7 @@ paths: truncated: type: boolean examples: - default: &245 + default: &246 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -33769,7 +33816,7 @@ paths: schema: type: string '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -33791,7 +33838,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *241 + - *242 - *17 - *19 responses: @@ -33801,13 +33848,13 @@ paths: application/json: schema: type: array - items: *242 + items: *243 examples: - default: *243 + default: *244 headers: - Link: *47 + Link: *48 '422': *15 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -33825,7 +33872,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *241 + - *242 - *17 - *19 responses: @@ -33835,13 +33882,13 @@ paths: application/json: schema: type: array - items: *242 + items: *243 examples: - default: *243 + default: *244 headers: - Link: *47 + Link: *48 '401': *25 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -33864,7 +33911,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &246 + - &247 name: gist_id description: The unique identifier of the gist. in: path @@ -33876,10 +33923,10 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 - '403': &249 + default: *246 + '403': &250 description: Forbidden Gist content: application/json: @@ -33901,7 +33948,7 @@ paths: documentation_url: type: string '404': *6 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33926,7 +33973,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *246 + - *247 requestBody: required: true content: @@ -33986,9 +34033,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - updateGist: *245 + updateGist: *246 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -34146,12 +34193,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *246 + - *247 responses: '204': description: Response '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -34174,7 +34221,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *246 + - *247 - *17 - *19 responses: @@ -34184,7 +34231,7 @@ paths: application/json: schema: type: array - items: &247 + items: &248 title: Gist Comment description: A comment made to a gist. type: object @@ -34219,7 +34266,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *231 + author_association: *232 required: - url - id @@ -34259,8 +34306,8 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '404': *6 '403': *29 x-github: @@ -34283,7 +34330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *246 + - *247 requestBody: required: true content: @@ -34308,9 +34355,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: &248 + default: &249 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -34343,7 +34390,7 @@ paths: example: https://api.github.com/gists/a6db0bec360bb87e9418/comments/1 schema: type: string - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -34367,8 +34414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *246 - - &250 + - *247 + - &251 name: comment_id description: The unique identifier of the comment. in: path @@ -34381,12 +34428,12 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 - '304': *37 + default: *249 + '304': *38 '404': *6 - '403': *249 + '403': *250 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34407,8 +34454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *246 - - *250 + - *247 + - *251 requestBody: required: true content: @@ -34433,9 +34480,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '404': *6 x-github: githubCloudOnly: false @@ -34452,12 +34499,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *246 - - *250 + - *247 + - *251 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -34476,7 +34523,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *246 + - *247 - *17 - *19 responses: @@ -34559,7 +34606,7 @@ paths: schema: type: string '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -34577,7 +34624,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *246 + - *247 - *17 - *19 responses: @@ -34587,7 +34634,7 @@ paths: application/json: schema: type: array - items: *244 + items: *245 examples: default: value: @@ -34633,9 +34680,9 @@ paths: type: User site_admin: false headers: - Link: *47 + Link: *48 '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -34652,13 +34699,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *246 + - *247 responses: '201': description: Response content: application/json: - schema: *242 + schema: *243 examples: default: value: @@ -34710,7 +34757,7 @@ paths: type: string '404': *6 '422': *15 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -34728,7 +34775,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *246 + - *247 responses: '204': description: Response if gist is starred @@ -34740,7 +34787,7 @@ paths: type: object properties: {} additionalProperties: false - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -34758,12 +34805,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *246 + - *247 responses: '204': description: Response '404': *6 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -34780,11 +34827,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *246 + - *247 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 x-github: @@ -34808,7 +34855,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *246 + - *247 - name: sha in: path required: true @@ -34819,9 +34866,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 '422': *15 '404': *6 '403': *29 @@ -34861,7 +34908,7 @@ paths: - Bancha - C - C++ - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34946,7 +34993,7 @@ paths: *.exe *.out *.app - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34982,7 +35029,7 @@ paths: type: array items: allOf: - - *80 + - *81 - type: object properties: custom_properties: @@ -35117,9 +35164,9 @@ paths: environment: production service: web headers: - Link: *47 + Link: *48 '403': *29 - '304': *37 + '304': *38 '401': *25 x-github: githubCloudOnly: false @@ -35201,7 +35248,7 @@ paths: - closed - all default: open - - &406 + - &407 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -35219,8 +35266,8 @@ paths: - updated - comments default: created - - *112 - - *241 + - *113 + - *242 - name: collab in: query required: false @@ -35250,9 +35297,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: &407 + default: &408 value: - id: 1 node_id: MDU6SXNzdWUx @@ -35497,9 +35544,9 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *47 + Link: *48 '422': *15 - '304': *37 + '304': *38 '404': *6 x-github: githubCloudOnly: false @@ -35536,8 +35583,8 @@ paths: title: License Simple description: License Simple type: object - properties: *237 - required: *238 + properties: *238 + required: *239 examples: default: value: @@ -35576,7 +35623,7 @@ paths: spdx_id: GPL-3.0 url: https://api.github.com/licenses/gpl-3.0 node_id: MDc6TGljZW5zZW1pdA== - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35761,7 +35808,7 @@ paths: featured: true '403': *29 '404': *6 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35822,7 +35869,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &251 + X-CommonMarker-Version: &252 example: 0.17.4 schema: type: string @@ -35834,7 +35881,7 @@ paths: default: summary: Example response value: "

Hello world

" - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35877,7 +35924,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *251 + X-CommonMarker-Version: *252 content: text/html: schema: @@ -35886,7 +35933,7 @@ paths: default: summary: Example response value: "

Hello world

" - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35906,7 +35953,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &254 + - &255 name: account_id description: account_id parameter in: path @@ -35918,7 +35965,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &254 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -35948,7 +35995,7 @@ paths: nullable: true id: type: integer - plan: &252 + plan: &253 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -36037,7 +36084,7 @@ paths: nullable: true updated_at: type: string - plan: *252 + plan: *253 required: - url - id @@ -36045,7 +36092,7 @@ paths: - login - marketplace_purchase examples: - default: &255 + default: &256 value: url: https://api.github.com/orgs/github type: Organization @@ -36130,9 +36177,9 @@ paths: application/json: schema: type: array - items: *252 + items: *253 examples: - default: &256 + default: &257 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -36150,7 +36197,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *47 + Link: *48 '404': *6 '401': *25 x-github: @@ -36172,14 +36219,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &257 + - &258 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &258 + - &259 name: sort description: The property to sort the results by. in: query @@ -36209,9 +36256,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: &259 + default: &260 value: - url: https://api.github.com/orgs/github type: Organization @@ -36262,7 +36309,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *47 + Link: *48 '404': *6 '422': *15 '401': *25 @@ -36285,15 +36332,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *254 + - *255 responses: '200': description: Response content: application/json: - schema: *253 + schema: *254 examples: - default: *255 + default: *256 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -36325,11 +36372,11 @@ paths: application/json: schema: type: array - items: *252 + items: *253 examples: - default: *256 + default: *257 headers: - Link: *47 + Link: *48 '401': *25 x-github: githubCloudOnly: false @@ -36350,8 +36397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *257 - *258 + - *259 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -36371,11 +36418,11 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *259 + default: *260 headers: - Link: *47 + Link: *48 '401': *25 x-github: githubCloudOnly: false @@ -36618,7 +36665,7 @@ paths: - "*.example.com" packages: - "*.example.com" - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36637,14 +36684,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &509 + - &510 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &510 + - &511 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -36661,7 +36708,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: default: value: @@ -36705,8 +36752,8 @@ paths: created_at: '2022-06-08T23:29:25Z' '404': *6 '403': *29 - '304': *37 - '301': &515 + '304': *38 + '301': &516 description: Moved permanently content: application/json: @@ -36728,7 +36775,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &755 + - &757 name: all description: If `true`, show notifications marked as read. in: query @@ -36736,7 +36783,7 @@ paths: schema: type: boolean default: false - - &756 + - &758 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -36745,8 +36792,8 @@ paths: schema: type: boolean default: false - - *241 - - &757 + - *242 + - &759 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -36771,18 +36818,18 @@ paths: application/json: schema: type: array - items: &261 + items: &262 title: Thread description: Thread type: object properties: id: type: string - repository: &295 + repository: &296 title: Minimal Repository description: Minimal Repository type: object - properties: &371 + properties: &372 id: type: integer format: int64 @@ -37036,7 +37083,7 @@ paths: type: integer network_count: type: integer - code_of_conduct: *38 + code_of_conduct: *39 license: type: object properties: @@ -37066,7 +37113,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &452 + security_and_analysis: &453 nullable: true type: object properties: @@ -37194,7 +37241,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &372 + required: &373 - archive_url - assignees_url - blobs_url @@ -37282,7 +37329,7 @@ paths: - url - subscription_url examples: - default: &758 + default: &760 value: - id: '1' repository: @@ -37364,8 +37411,8 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -37429,7 +37476,7 @@ paths: Notifications are being marked as read in the background. '205': description: Reset Content - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -37448,7 +37495,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &262 + - &263 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 @@ -37462,7 +37509,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: default: value: @@ -37545,7 +37592,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': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -37565,11 +37612,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *262 + - *263 responses: '205': description: Reset Content - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -37588,7 +37635,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *262 + - *263 responses: '204': description: No content @@ -37611,13 +37658,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *262 + - *263 responses: '200': description: Response content: application/json: - schema: &263 + schema: &264 title: Thread Subscription description: Thread Subscription type: object @@ -37654,7 +37701,7 @@ paths: - url - subscribed examples: - default: &264 + default: &265 value: subscribed: true ignored: false @@ -37662,7 +37709,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': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -37685,7 +37732,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *262 + - *263 requestBody: required: false content: @@ -37706,10 +37753,10 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *264 - '304': *37 + default: *265 + '304': *38 '403': *29 '401': *25 x-github: @@ -37731,11 +37778,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *262 + - *263 responses: '204': description: Response - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -37826,15 +37873,15 @@ paths: application/json: schema: type: array - items: *75 + items: *76 examples: - default: *265 + default: *266 headers: Link: example: ; rel="next" schema: type: string - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37894,13 +37941,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: &266 + schema: &267 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -37911,7 +37958,7 @@ paths: type: integer example: 14 examples: - default: *44 + default: *45 '403': *29 '404': *6 x-github: @@ -37933,14 +37980,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: application/json: - schema: *266 + schema: *267 examples: - selected_actions: *44 + selected_actions: *45 responses: '204': description: Response @@ -37967,13 +38014,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: &267 + schema: &268 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -37984,7 +38031,7 @@ paths: type: integer example: 10 examples: - default: *46 + default: *47 '403': *29 '404': *6 x-github: @@ -38006,14 +38053,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: application/json: - schema: *267 + schema: *268 examples: - selected_actions: *46 + selected_actions: *47 responses: '204': description: Response @@ -38044,7 +38091,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -38052,9 +38099,9 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: &764 + default: &766 value: - property_name: environment value: production @@ -38088,7 +38135,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -38100,11 +38147,11 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *163 + items: *164 required: - properties examples: - default: &765 + default: &767 value: properties: - property_name: environment @@ -38145,13 +38192,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#get-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: &268 + schema: &269 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -38479,7 +38526,7 @@ paths: - updated_at - archived_at examples: - default-response: &269 + default-response: &270 value: login: github id: 1 @@ -38580,7 +38627,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#update-an-organization parameters: - - *89 + - *90 requestBody: required: false content: @@ -38799,18 +38846,18 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: - default: *269 + default: *270 '422': description: Validation failed content: application/json: schema: oneOf: - - *270 - *271 - '409': *121 + - *272 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38833,9 +38880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#delete-an-organization parameters: - - *89 + - *90 responses: - '202': *39 + '202': *40 '404': *6 '403': *29 '451': *15 @@ -38859,17 +38906,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *273 + default: *274 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38890,7 +38937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *89 + - *90 - *17 - *19 responses: @@ -38908,7 +38955,7 @@ paths: type: integer repository_cache_usages: type: array - items: &522 + items: &523 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -38943,7 +38990,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38963,7 +39010,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *89 + - *90 - *17 - *19 responses: @@ -38981,11 +39028,11 @@ paths: type: integer runners: type: array - items: *48 + items: *49 examples: - default: *274 + default: *275 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39003,7 +39050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -39080,9 +39127,9 @@ paths: description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: *57 + default: *58 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -39102,7 +39149,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -39118,9 +39165,9 @@ paths: type: integer images: type: array - items: *49 + items: *50 examples: - default: *51 + default: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39140,16 +39187,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - - *89 - - *50 + - *90 + - *51 responses: '200': description: Response content: application/json: - schema: *49 + schema: *50 examples: - default: *275 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39168,8 +39215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *89 - - *50 + - *90 + - *51 responses: '204': description: Response @@ -39192,8 +39239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization parameters: - - *50 - - *89 + - *51 + - *90 responses: '200': description: Response @@ -39209,9 +39256,9 @@ paths: type: integer image_versions: type: array - items: *52 + items: *53 examples: - default: *51 + default: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39231,17 +39278,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - - *89 - - *50 - - *53 + - *90 + - *51 + - *54 responses: '200': description: Response content: application/json: - schema: *52 + schema: *53 examples: - default: *276 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39260,9 +39307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - - *89 - - *50 - - *53 + - *90 + - *51 + - *54 responses: '204': description: Response @@ -39283,7 +39330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -39299,9 +39346,9 @@ paths: type: integer images: type: array - items: *54 + items: *55 examples: - default: *55 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39319,7 +39366,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -39335,9 +39382,9 @@ paths: type: integer images: type: array - items: *54 + items: *55 examples: - default: *55 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39354,15 +39401,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *277 + schema: *278 examples: - default: *278 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39380,7 +39427,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -39396,9 +39443,9 @@ paths: type: integer machine_specs: type: array - items: *56 + items: *57 examples: - default: *279 + default: *280 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39416,7 +39463,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -39460,18 +39507,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *89 - - *58 + - *90 + - *59 responses: '200': description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: *57 + default: *58 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39489,8 +39536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *89 - - *58 + - *90 + - *59 requestBody: required: true content: @@ -39556,9 +39603,9 @@ paths: description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: *57 + default: *58 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -39574,16 +39621,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *89 - - *58 + - *90 + - *59 responses: '202': description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: *57 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39603,7 +39650,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *89 + - *90 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -39611,7 +39658,7 @@ paths: application/json: schema: type: array - items: *59 + items: *60 examples: default: value: @@ -39636,22 +39683,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: application/json: - schema: *280 + schema: *281 examples: - default: *60 + default: *61 responses: '201': description: OIDC custom property inclusion created content: application/json: - schema: *59 + schema: *60 examples: - default: *60 + default: *61 '400': description: Invalid input '403': *29 @@ -39675,7 +39722,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *89 + - *90 - name: custom_property_name in: path required: true @@ -39708,7 +39755,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *89 + - *90 responses: '200': description: A JSON serialized template for OIDC subject claim customization @@ -39734,7 +39781,7 @@ paths: required: - include_claim_keys examples: - default: &281 + default: &282 value: include_claim_keys: - repo @@ -39756,7 +39803,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -39779,13 +39826,13 @@ paths: format. type: boolean examples: - default: *281 + default: *282 responses: '201': description: Empty response content: application/json: - schema: &306 + schema: &307 title: Empty Object description: An object without any properties. type: object @@ -39815,7 +39862,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -39824,7 +39871,7 @@ paths: schema: type: object properties: - enabled_repositories: &283 + enabled_repositories: &284 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -39837,9 +39884,9 @@ 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: *62 - selected_actions_url: *282 - sha_pinning_required: *63 + allowed_actions: *63 + selected_actions_url: *283 + sha_pinning_required: *64 required: - enabled_repositories examples: @@ -39869,7 +39916,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *89 + - *90 responses: '204': description: Response @@ -39880,9 +39927,9 @@ paths: schema: type: object properties: - enabled_repositories: *283 - allowed_actions: *62 - sha_pinning_required: *63 + enabled_repositories: *284 + allowed_actions: *63 + sha_pinning_required: *64 required: - enabled_repositories examples: @@ -39910,13 +39957,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *284 + schema: *285 examples: response: summary: Example response @@ -39942,12 +39989,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: application/json: - schema: *285 + schema: *286 examples: application/json: value: @@ -39957,7 +40004,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *121 + '409': *122 '422': *15 x-github: enabledForGitHubApps: true @@ -39977,15 +40024,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *64 + schema: *65 examples: - default: *286 + default: *287 '404': *6 x-github: enabledForGitHubApps: true @@ -40004,7 +40051,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *89 + - *90 responses: '204': description: Response @@ -40014,7 +40061,7 @@ paths: required: true content: application/json: - schema: *64 + schema: *65 examples: default: summary: Set approval policy to first time contributors @@ -40036,15 +40083,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *65 + default: *66 '403': *29 '404': *6 x-github: @@ -40062,14 +40109,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: application/json: - schema: *288 + schema: *289 examples: - default: *65 + default: *66 responses: '204': description: Empty response for successful settings update @@ -40099,7 +40146,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *89 + - *90 - *17 - *19 responses: @@ -40117,9 +40164,9 @@ paths: type: number repositories: type: array - items: *80 + items: *81 examples: - default: &290 + default: &291 value: total_count: 1 repositories: @@ -40259,7 +40306,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *89 + - *90 responses: '204': description: Response @@ -40303,8 +40350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *89 - - &289 + - *90 + - &290 name: repository_id description: The unique identifier of the repository. in: path @@ -40332,8 +40379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *89 - - *289 + - *90 + - *290 responses: '204': description: Response @@ -40356,15 +40403,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *67 + schema: *68 examples: - default: *68 + default: *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -40387,7 +40434,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *89 + - *90 responses: '204': description: Response @@ -40395,9 +40442,9 @@ paths: required: false content: application/json: - schema: *67 + schema: *68 examples: - selected_actions: *68 + selected_actions: *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -40417,7 +40464,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -40465,7 +40512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -40492,7 +40539,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *121 + '409': *122 '422': *15 x-github: enabledForGitHubApps: true @@ -40512,7 +40559,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *89 + - *90 - *17 - *19 responses: @@ -40527,9 +40574,9 @@ paths: type: integer repositories: type: array - items: *80 + items: *81 examples: - default: *290 + default: *291 '403': *29 '404': *6 x-github: @@ -40549,7 +40596,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -40597,14 +40644,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *89 - - *289 + - *90 + - *290 responses: '204': description: No content '403': *29 '404': *6 - '409': *121 + '409': *122 '422': *15 x-github: enabledForGitHubApps: true @@ -40624,14 +40671,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *89 - - *289 + - *90 + - *290 responses: '204': description: No content '403': *29 '404': *6 - '409': *121 + '409': *122 '422': *15 x-github: enabledForGitHubApps: true @@ -40653,15 +40700,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: *71 + default: *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40682,7 +40729,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *89 + - *90 responses: '204': description: Success response @@ -40693,9 +40740,9 @@ paths: required: false content: application/json: - schema: *292 + schema: *293 examples: - default: *71 + default: *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40715,7 +40762,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *89 + - *90 - *17 - *19 - name: visible_to_repository @@ -40740,7 +40787,7 @@ paths: type: number runner_groups: type: array - items: &293 + items: &294 type: object properties: id: @@ -40856,7 +40903,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -40928,9 +40975,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *294 examples: - default: &294 + default: &295 value: id: 2 name: octo-runner-group @@ -40965,14 +41012,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *89 - - *74 + - *90 + - *75 responses: '200': description: Response content: application/json: - schema: *293 + schema: *294 examples: default: value: @@ -41008,8 +41055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *89 - - *74 + - *90 + - *75 requestBody: required: true content: @@ -41063,9 +41110,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *294 examples: - default: *294 + default: *295 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -41084,8 +41131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *89 - - *74 + - *90 + - *75 responses: '204': description: Response @@ -41108,8 +41155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *89 - - *74 + - *90 + - *75 - *17 - *19 responses: @@ -41127,11 +41174,11 @@ paths: type: number runners: type: array - items: *48 + items: *49 examples: - default: *274 + default: *275 headers: - Link: *47 + Link: *48 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -41151,8 +41198,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *89 - - *74 + - *90 + - *75 - *19 - *17 responses: @@ -41170,9 +41217,9 @@ paths: type: number repositories: type: array - items: *295 + items: *296 examples: - default: &347 + default: &348 value: total_count: 1 repositories: @@ -41424,8 +41471,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *89 - - *74 + - *90 + - *75 requestBody: required: true content: @@ -41469,9 +41516,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *89 - - *74 - - *289 + - *90 + - *75 + - *290 responses: '204': description: Response @@ -41493,9 +41540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *89 - - *74 - - *289 + - *90 + - *75 + - *290 responses: '204': description: Response @@ -41518,8 +41565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *89 - - *74 + - *90 + - *75 - *17 - *19 responses: @@ -41537,11 +41584,11 @@ paths: type: number runners: type: array - items: *78 + items: *79 examples: - default: *79 + default: *80 headers: - Link: *47 + Link: *48 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -41560,8 +41607,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *89 - - *74 + - *90 + - *75 requestBody: required: true content: @@ -41605,9 +41652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *89 - - *74 - - *77 + - *90 + - *75 + - *78 responses: '204': description: Response @@ -41629,9 +41676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *89 - - *74 - - *77 + - *90 + - *75 + - *78 responses: '204': description: Response @@ -41661,7 +41708,7 @@ paths: in: query schema: type: string - - *89 + - *90 - *17 - *19 responses: @@ -41679,11 +41726,11 @@ paths: type: integer runners: type: array - items: *78 + items: *79 examples: - default: *79 + default: *80 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41705,7 +41752,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -41713,9 +41760,9 @@ paths: application/json: schema: type: array - items: *296 + items: *297 examples: - default: *297 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41737,7 +41784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -41780,10 +41827,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *298 + '201': *299 '404': *6 '422': *7 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41811,15 +41858,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *89 + - *90 responses: '201': description: Response content: application/json: - schema: *81 + schema: *82 examples: - default: *299 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41847,15 +41894,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *89 + - *90 responses: '201': description: Response content: application/json: - schema: *81 + schema: *82 examples: - default: *300 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41877,16 +41924,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *89 - - *77 + - *90 + - *78 responses: '200': description: Response content: application/json: - schema: *78 + schema: *79 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41907,8 +41954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *89 - - *77 + - *90 + - *78 responses: '204': description: Response @@ -41934,10 +41981,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *89 - - *77 + - *90 + - *78 responses: - '200': *83 + '200': *84 '404': *6 x-github: githubCloudOnly: false @@ -41959,8 +42006,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *89 - - *77 + - *90 + - *78 requestBody: required: true content: @@ -41984,7 +42031,7 @@ paths: - gpu - accelerated responses: - '200': *83 + '200': *84 '404': *6 '422': *7 x-github: @@ -42008,8 +42055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *89 - - *77 + - *90 + - *78 requestBody: required: true content: @@ -42034,7 +42081,7 @@ paths: - gpu - accelerated responses: - '200': *83 + '200': *84 '404': *6 '422': *7 x-github: @@ -42058,10 +42105,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *89 - - *77 + - *90 + - *78 responses: - '200': *302 + '200': *303 '404': *6 x-github: githubCloudOnly: false @@ -42088,11 +42135,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *89 - - *77 - - *303 + - *90 + - *78 + - *304 responses: - '200': *83 + '200': *84 '404': *6 '422': *7 x-github: @@ -42117,7 +42164,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-organization-secrets parameters: - - *89 + - *90 - *17 - *19 responses: @@ -42135,7 +42182,7 @@ paths: type: integer secrets: type: array - items: &304 + items: &305 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -42167,7 +42214,7 @@ paths: - updated_at - visibility examples: - default: &310 + default: &311 value: total_count: 3 secrets: @@ -42185,7 +42232,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42208,13 +42255,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-public-key parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: &311 + schema: &312 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -42243,7 +42290,7 @@ paths: - key_id - key examples: - default: &312 + default: &313 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42268,8 +42315,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - - *89 - - &305 + - *90 + - &306 name: secret_name description: The name of the secret. in: path @@ -42281,9 +42328,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *305 examples: - default: &313 + default: &314 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -42311,8 +42358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 requestBody: required: true content: @@ -42369,7 +42416,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -42395,8 +42442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 responses: '204': description: Response @@ -42422,8 +42469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - *19 - *17 responses: @@ -42441,9 +42488,9 @@ paths: type: integer repositories: type: array - items: *295 + items: *296 examples: - default: &309 + default: &310 value: total_count: 1 repositories: @@ -42535,8 +42582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 requestBody: required: true content: @@ -42588,8 +42635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - name: repository_id in: path required: true @@ -42622,8 +42669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - name: repository_id in: path required: true @@ -42655,8 +42702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - - *89 - - &314 + - *90 + - &315 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -42680,7 +42727,7 @@ paths: type: integer variables: type: array - items: &307 + items: &308 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -42723,7 +42770,7 @@ paths: - updated_at - visibility examples: - default: &315 + default: &316 value: total_count: 3 variables: @@ -42744,7 +42791,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42765,7 +42812,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-organization-variable parameters: - - *89 + - *90 requestBody: required: true content: @@ -42813,7 +42860,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -42838,8 +42885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - - *89 - - &308 + - *90 + - &309 name: name description: The name of the variable. in: path @@ -42851,9 +42898,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: &316 + default: &317 value: name: USERNAME value: octocat @@ -42881,8 +42928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 requestBody: required: true content: @@ -42944,8 +42991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 responses: '204': description: Response @@ -42971,8 +43018,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 - *19 - *17 responses: @@ -42990,9 +43037,9 @@ paths: type: integer repositories: type: array - items: *295 + items: *296 examples: - default: *309 + default: *310 '409': description: Response when the visibility of the variable is not set to `selected` @@ -43018,8 +43065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 requestBody: required: true content: @@ -43068,8 +43115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 - name: repository_id in: path required: true @@ -43103,8 +43150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 - name: repository_id in: path required: true @@ -43138,7 +43185,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-organization-secrets parameters: - - *89 + - *90 - *17 - *19 responses: @@ -43156,11 +43203,11 @@ paths: type: integer secrets: type: array - items: *304 + items: *305 examples: - default: *310 + default: *311 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43183,15 +43230,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-public-key parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43213,16 +43260,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 responses: '200': description: Response content: application/json: - schema: *304 + schema: *305 examples: - default: *313 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43244,8 +43291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 requestBody: required: true content: @@ -43302,7 +43349,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -43328,8 +43375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 responses: '204': description: Response @@ -43355,8 +43402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - *19 - *17 responses: @@ -43374,9 +43421,9 @@ paths: type: integer repositories: type: array - items: *295 + items: *296 examples: - default: *309 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43399,8 +43446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 requestBody: required: true content: @@ -43452,8 +43499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - name: repository_id in: path required: true @@ -43486,8 +43533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - name: repository_id in: path required: true @@ -43520,8 +43567,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - - *89 - - *314 + - *90 + - *315 - *19 responses: '200': @@ -43538,11 +43585,11 @@ paths: type: integer variables: type: array - items: *307 + items: *308 examples: - default: *315 + default: *316 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43563,7 +43610,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-an-organization-variable parameters: - - *89 + - *90 requestBody: required: true content: @@ -43611,7 +43658,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -43636,16 +43683,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 responses: '200': description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *316 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43666,8 +43713,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 requestBody: required: true content: @@ -43729,8 +43776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 responses: '204': description: Response @@ -43756,8 +43803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 - *19 - *17 responses: @@ -43775,9 +43822,9 @@ paths: type: integer repositories: type: array - items: *295 + items: *296 examples: - default: *309 + default: *310 '409': description: Response when the visibility of the variable is not set to `selected` @@ -43803,8 +43850,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 requestBody: required: true content: @@ -43853,8 +43900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 - name: repository_id in: path required: true @@ -43888,8 +43935,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - - *89 - - *308 + - *90 + - *309 - name: repository_id in: path required: true @@ -43920,15 +43967,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *88 + schema: *89 examples: - default: *87 + default: *88 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -43947,19 +43994,19 @@ paths: required: true content: application/json: - schema: *317 + schema: *318 examples: - default: *87 + default: *88 parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *88 + schema: *89 examples: - default: *87 + default: *88 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -43975,7 +44022,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *89 + - *90 responses: '204': description: Response @@ -44008,7 +44055,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *89 + - *90 requestBody: required: true content: @@ -44131,7 +44178,7 @@ paths: type: integer deployment_records: type: array - items: &318 + items: &319 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -44177,7 +44224,7 @@ paths: required: - total_count examples: - default: &319 + default: &320 value: total_count: 1 deployment_records: @@ -44218,7 +44265,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *89 + - *90 - name: cluster in: path description: The cluster name. @@ -44317,6 +44364,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 @@ -44357,11 +44412,109 @@ paths: type: integer deployment_records: type: array - items: *318 + items: *319 required: - total_count examples: - default: *319 + default: *320 + '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: *319 + 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 + nullable: true + description: The version of the deployment. + status: + type: string + description: The deployment status. + github_repository: + type: string + nullable: true + 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: @@ -44408,7 +44561,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *89 + - *90 requestBody: required: true content: @@ -44575,7 +44728,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *89 + - *90 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -44600,9 +44753,9 @@ paths: type: integer deployment_records: type: array - items: *318 + items: *319 examples: - default: *319 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44622,7 +44775,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *89 + - *90 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -44705,9 +44858,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *110 - *111 - - *89 + - *112 + - *90 requestBody: required: true content: @@ -44731,12 +44884,12 @@ paths: required: - subject_digests examples: - default: &905 + default: &908 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &906 + withPredicateType: &909 value: subject_digests: - sha256:abc123 @@ -44780,7 +44933,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &907 + default: &910 value: attestations_subject_digests: - sha256:abc: @@ -44889,7 +45042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *89 + - *90 requestBody: required: true content: @@ -44954,7 +45107,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *89 + - *90 - name: subject_digest description: Subject Digest in: path @@ -44987,9 +45140,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/attestations#list-attestation-repositories parameters: - *17 - - *110 - *111 - - *89 + - *112 + - *90 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -45037,7 +45190,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/attestations#delete-attestations-by-id parameters: - - *89 + - *90 - name: attestation_id description: Attestation ID in: path @@ -45073,9 +45226,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/attestations#list-attestations parameters: - *17 - - *110 - *111 - - *89 + - *112 + - *90 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -45113,7 +45266,7 @@ paths: initiator: type: string examples: - default: &555 + default: &556 value: attestations: - bundle: @@ -45231,7 +45384,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *89 + - *90 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -45239,10 +45392,10 @@ paths: required: false schema: type: string - - *320 - - *131 + - *321 - *132 - *133 + - *134 - *17 responses: '200': @@ -45251,9 +45404,9 @@ paths: application/json: schema: type: array - items: *321 + items: *322 examples: - default: *322 + default: *323 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45270,7 +45423,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *89 + - *90 - *17 - *19 responses: @@ -45282,7 +45435,7 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45301,8 +45454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: If the user is blocked @@ -45327,8 +45480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response @@ -45348,8 +45501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response @@ -45375,17 +45528,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *89 - - &325 + - *90 + - &326 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *105 - *106 - *107 - *108 + - *109 - *17 - *19 responses: @@ -45395,11 +45548,11 @@ paths: application/json: schema: type: array - items: *323 + items: *324 examples: - default: *324 + default: *325 '404': *6 - '500': *40 + '500': *41 "/orgs/{org}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for an org @@ -45420,12 +45573,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *89 - - *325 - - *105 + - *90 + - *326 - *106 - *107 - *108 + - *109 - *17 - *19 responses: @@ -45435,11 +45588,11 @@ paths: application/json: schema: type: array - items: *326 + items: *327 examples: - default: *327 + default: *328 '404': *6 - '500': *40 + '500': *41 "/orgs/{org}/campaigns": get: summary: List campaigns for an organization @@ -45456,15 +45609,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *89 + - *90 - *19 - *17 - - *112 + - *113 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &329 + schema: &330 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -45490,7 +45643,7 @@ paths: application/json: schema: type: array - items: &330 + items: &331 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -45521,7 +45674,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *328 + items: *329 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -45539,7 +45692,7 @@ paths: type: string format: date-time nullable: true - state: *329 + state: *330 contact_link: description: The contact link of the campaign. type: string @@ -45634,9 +45787,9 @@ paths: closed_at: state: open headers: - Link: *47 + Link: *48 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45660,7 +45813,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -45759,9 +45912,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: &331 + default: &332 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -45810,7 +45963,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45832,7 +45985,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *89 + - *90 - name: campaign_number description: The campaign number. in: path @@ -45844,16 +45997,16 @@ paths: description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: *331 + default: *332 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45874,7 +46027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/campaigns/campaigns#update-a-campaign parameters: - - *89 + - *90 - name: campaign_number description: The campaign number. in: path @@ -45923,7 +46076,7 @@ paths: type: string format: uri nullable: true - state: *329 + state: *330 examples: default: value: @@ -45933,9 +46086,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: *331 + default: *332 '400': description: Bad Request content: @@ -45947,7 +46100,7 @@ paths: content: application/json: schema: *3 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45968,7 +46121,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *89 + - *90 - name: campaign_number description: The campaign number. in: path @@ -45979,7 +46132,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46001,20 +46154,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *89 - - *332 + - *90 - *333 - - *110 + - *334 - *111 + - *112 - *19 - *17 - - *112 + - *113 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *334 + schema: *335 - name: sort description: The property by which to sort the results. in: query @@ -46030,7 +46183,7 @@ paths: be returned. in: query required: false - schema: &581 + schema: &584 type: string description: Severity of a code scanning alert. enum: @@ -46056,13 +46209,13 @@ paths: application/json: schema: type: array - items: *335 + items: *336 examples: - default: *336 + default: *337 headers: - Link: *47 + Link: *48 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46084,7 +46237,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *89 + - *90 - name: target_type in: query description: The target type of the code security configuration @@ -46103,8 +46256,8 @@ paths: schema: type: integer default: 30 - - *110 - *111 + - *112 responses: '200': description: Response @@ -46112,7 +46265,7 @@ paths: application/json: schema: type: array - items: *116 + items: *117 examples: default: value: @@ -46190,7 +46343,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *89 + - *90 requestBody: required: true content: @@ -46277,7 +46430,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *120 + code_scanning_options: *121 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -46286,7 +46439,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *119 + code_scanning_default_setup_options: *120 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -46431,9 +46584,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *116 + schema: *117 examples: - default: *337 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46455,16 +46608,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *338 + schema: *339 examples: - default: *339 - '304': *37 + default: *340 + '304': *38 '403': *29 '404': *6 x-github: @@ -46489,7 +46642,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *89 + - *90 requestBody: required: true content: @@ -46517,11 +46670,11 @@ paths: - 32 - 91 responses: - '204': *130 + '204': *129 '400': *14 '403': *29 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46543,17 +46696,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *89 - - *118 + - *90 + - *119 responses: '200': description: Response content: application/json: - schema: *116 + schema: *117 examples: - default: *337 - '304': *37 + default: *338 + '304': *38 '403': *29 '404': *6 x-github: @@ -46576,8 +46729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *89 - - *118 + - *90 + - *119 requestBody: required: true content: @@ -46664,8 +46817,8 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *119 - code_scanning_options: *120 + code_scanning_default_setup_options: *120 + code_scanning_options: *121 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -46797,7 +46950,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *116 + schema: *117 examples: default: value: @@ -46856,14 +47009,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *89 - - *118 + - *90 + - *119 responses: - '204': *130 + '204': *129 '400': *14 '403': *29 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46887,8 +47040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *89 - - *118 + - *90 + - *119 requestBody: required: true content: @@ -46927,7 +47080,7 @@ paths: - 32 - 91 responses: - '202': *39 + '202': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46951,8 +47104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *89 - - *118 + - *90 + - *119 requestBody: required: true content: @@ -46992,12 +47145,12 @@ paths: - none - private_and_internal - public - configuration: *116 + configuration: *117 examples: default: value: default_for_new_repos: all - configuration: *337 + configuration: *338 '403': *29 '404': *6 x-github: @@ -47021,8 +47174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *89 - - *118 + - *90 + - *119 - 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)." @@ -47031,8 +47184,8 @@ paths: schema: type: integer default: 30 - - *110 - *111 + - *112 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -47050,13 +47203,13 @@ paths: application/json: schema: type: array - items: *340 + items: *341 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *341 + repository: *342 '403': *29 '404': *6 x-github: @@ -47080,7 +47233,7 @@ paths: parameters: - *17 - *19 - - *89 + - *90 responses: '200': description: Response @@ -47096,7 +47249,7 @@ paths: type: integer codespaces: type: array - items: &408 + items: &409 type: object title: Codespace description: A codespace. @@ -47121,12 +47274,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *295 + repository: *296 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &613 + properties: &616 name: type: string description: The name of the machine. @@ -47168,7 +47321,7 @@ paths: - ready - in_progress nullable: true - required: &614 + required: &617 - name - display_name - operating_system @@ -47373,7 +47526,7 @@ paths: - pulls_url - recent_folders examples: - default: &409 + default: &410 value: total_count: 3 codespaces: @@ -47782,8 +47935,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': *37 - '500': *40 + '304': *38 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -47805,7 +47958,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *89 + - *90 deprecated: true requestBody: required: true @@ -47844,12 +47997,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *37 + '304': *38 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47872,7 +48025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *89 + - *90 deprecated: true requestBody: required: true @@ -47899,12 +48052,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *37 + '304': *38 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47927,7 +48080,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *89 + - *90 requestBody: required: true content: @@ -47953,12 +48106,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *37 + '304': *38 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47979,7 +48132,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *89 + - *90 - *17 - *19 responses: @@ -47997,7 +48150,7 @@ paths: type: integer secrets: type: array - items: &342 + items: &343 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -48036,7 +48189,7 @@ paths: - updated_at - visibility examples: - default: &615 + default: &618 value: total_count: 2 secrets: @@ -48049,7 +48202,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -48068,13 +48221,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: &616 + schema: &619 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -48103,7 +48256,7 @@ paths: - key_id - key examples: - default: &617 + default: &620 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -48126,23 +48279,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 responses: '200': description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: &619 + default: &622 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -48162,8 +48315,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 requestBody: required: true content: @@ -48218,7 +48371,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -48244,8 +48397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 responses: '204': description: Response @@ -48270,8 +48423,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - *19 - *17 responses: @@ -48289,9 +48442,9 @@ paths: type: integer repositories: type: array - items: *295 + items: *296 examples: - default: *309 + default: *310 '404': *6 x-github: githubCloudOnly: false @@ -48313,8 +48466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 requestBody: required: true content: @@ -48364,8 +48517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - name: repository_id in: path required: true @@ -48398,8 +48551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - name: repository_id in: path required: true @@ -48435,7 +48588,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#list-organization-copilot-spaces parameters: - - *89 + - *90 - name: per_page description: The number of results per page (max 100). in: query @@ -48469,7 +48622,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &343 + items: &344 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -48517,7 +48670,7 @@ paths: owner: anyOf: - *4 - - *75 + - *76 description: The user or organization that owns this space. creator: *4 created_at: @@ -48732,7 +48885,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: *47 + Link: *48 '403': *29 '404': *6 x-github: @@ -48756,7 +48909,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#create-an-organization-copilot-space parameters: - - *89 + - *90 requestBody: required: true content: @@ -48850,9 +49003,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: &344 + default: &345 summary: Example response for an organization copilot space value: id: 84 @@ -48945,7 +49098,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#get-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -48957,9 +49110,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: *344 + default: *345 '403': *29 '404': *6 x-github: @@ -48983,7 +49136,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#set-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -49085,9 +49238,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: *344 + default: *345 '403': *29 '404': *6 '422': *15 @@ -49114,7 +49267,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#delete-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -49150,7 +49303,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/collaborators#list-collaborators-for-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -49170,7 +49323,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &345 + items: &346 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -49342,7 +49495,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/collaborators#add-a-collaborator-to-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -49393,7 +49546,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *346 examples: user: value: @@ -49473,7 +49626,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/collaborators#set-a-collaborator-role-for-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -49523,7 +49676,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *346 examples: user: value: @@ -49605,7 +49758,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/collaborators#remove-a-collaborator-from-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -49654,7 +49807,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#list-resources-for-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -49674,7 +49827,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &346 + items: &347 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -49763,7 +49916,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#create-a-resource-for-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -49817,7 +49970,7 @@ paths: description: Resource created content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -49833,7 +49986,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -49870,7 +50023,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#get-a-resource-for-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -49888,7 +50041,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -49922,7 +50075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#set-a-resource-for-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -49957,7 +50110,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -49992,7 +50145,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#delete-a-resource-from-an-organization-copilot-space parameters: - - *89 + - *90 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -50035,7 +50188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *89 + - *90 responses: '200': description: OK @@ -50144,7 +50297,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -50176,7 +50329,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *89 + - *90 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -50199,12 +50352,12 @@ paths: currently being billed. seats: type: array - items: *154 + items: *155 examples: - default: *155 + default: *156 headers: - Link: *47 - '500': *40 + Link: *48 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -50237,7 +50390,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *89 + - *90 requestBody: content: application/json: @@ -50279,7 +50432,7 @@ paths: default: value: seats_created: 5 - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -50315,7 +50468,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *89 + - *90 requestBody: content: application/json: @@ -50357,7 +50510,7 @@ paths: default: value: seats_cancelled: 5 - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -50395,7 +50548,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *89 + - *90 requestBody: content: application/json: @@ -50436,7 +50589,7 @@ paths: default: value: seats_created: 5 - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -50472,7 +50625,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *89 + - *90 requestBody: content: application/json: @@ -50514,7 +50667,7 @@ paths: default: value: seats_cancelled: 5 - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -50550,7 +50703,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#get-copilot-cloud-agent-permissions-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -50587,7 +50740,7 @@ paths: summary: No repositories enabled value: enabled_repositories: none - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -50615,7 +50768,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#set-copilot-cloud-agent-permissions-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -50640,7 +50793,7 @@ paths: responses: '204': description: No Content - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -50670,7 +50823,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-cloud-agent-in-an-organization parameters: - - *89 + - *90 - *17 - *19 responses: @@ -50685,17 +50838,17 @@ paths: type: integer repositories: type: array - items: *295 + items: *296 required: - total_count - repositories examples: - default: *347 - '500': *40 + default: *348 + '500': *41 '401': *25 '403': *29 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50719,7 +50872,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-cloud-agent-in-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -50745,11 +50898,11 @@ paths: responses: '204': description: No Content - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 - '409': *121 + '409': *122 '422': *15 x-github: githubCloudOnly: false @@ -50775,16 +50928,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - - *89 - - *289 + - *90 + - *290 responses: '204': description: No Content - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 - '409': *121 + '409': *122 '422': *15 x-github: githubCloudOnly: false @@ -50809,16 +50962,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - - *89 - - *289 + - *90 + - *290 responses: '204': description: No Content - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50849,7 +51002,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization parameters: - - *89 + - *90 responses: '200': description: OK @@ -50869,7 +51022,7 @@ paths: value: octo-repo: - "/src/some-dir/kernel.rs" - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -50902,7 +51055,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization parameters: - - *89 + - *90 requestBody: description: The content exclusion rules to set required: true @@ -50954,11 +51107,11 @@ paths: default: value: message: Content exclusion rules updated successfully. - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 - '413': *348 + '413': *349 '422': *7 x-github: githubCloudOnly: @@ -50985,18 +51138,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day parameters: - - *89 - - *125 + - *90 + - *126 responses: '200': description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: *127 - '204': *130 - '500': *40 + default: *128 + '204': *129 + '500': *41 '403': *29 '404': *6 x-github: @@ -51024,16 +51177,55 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics parameters: - - *89 + - *90 + responses: + '200': + description: Response + content: + application/json: + schema: *130 + examples: + default: *131 + '500': *41 + '403': *29 + '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/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: + - *90 + - *126 responses: '200': description: Response content: application/json: - schema: *128 + schema: *127 examples: - default: *129 - '500': *40 + default: *128 + '204': *129 + '500': *41 '403': *29 '404': *6 x-github: @@ -51061,18 +51253,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-user-teams-report-for-a-specific-day parameters: - - *89 - - *125 + - *90 + - *126 responses: '200': description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: *127 - '204': *130 - '500': *40 + default: *128 + '204': *129 + '500': *41 '403': *29 '404': *6 x-github: @@ -51100,18 +51292,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day parameters: - - *89 - - *125 + - *90 + - *126 responses: '200': description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: *127 - '204': *130 - '500': *40 + default: *128 + '204': *129 + '500': *41 '403': *29 '404': *6 x-github: @@ -51139,16 +51331,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *128 + schema: *130 examples: - default: *129 - '500': *40 + default: *131 + '500': *41 '403': *29 '404': *6 x-github: @@ -51172,7 +51364,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *89 + - *90 - *17 - name: page description: Page token @@ -51352,7 +51544,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *89 + - *90 - name: credential_id in: path required: true @@ -51383,7 +51575,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *89 + - *90 responses: '200': description: Response - list of custom role names @@ -51398,7 +51590,7 @@ paths: type: integer custom_roles: type: array - items: &349 + items: &350 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -51531,12 +51723,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *89 + - *90 requestBody: required: true content: application/json: - schema: &351 + schema: &352 type: object properties: name: @@ -51577,9 +51769,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *350 examples: - default: &350 + default: &351 value: id: 8030 name: Security Engineer @@ -51626,16 +51818,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *89 - - *150 + - *90 + - *151 responses: '200': description: Response content: application/json: - schema: *349 + schema: *350 examples: - default: *350 + default: *351 '404': *6 x-github: githubCloudOnly: true @@ -51657,13 +51849,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *89 - - *150 + - *90 + - *151 requestBody: required: true content: application/json: - schema: &352 + schema: &353 type: object properties: name: @@ -51701,9 +51893,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *350 examples: - default: *350 + default: *351 '422': *15 '404': *6 x-github: @@ -51727,8 +51919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *89 - - *150 + - *90 + - *151 responses: '204': description: Response @@ -51756,12 +51948,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *89 + - *90 requestBody: required: true content: application/json: - schema: *351 + schema: *352 examples: default: value: @@ -51775,9 +51967,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *350 examples: - default: *350 + default: *351 '422': *15 '404': *6 x-github: @@ -51807,16 +51999,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *89 - - *150 + - *90 + - *151 responses: '200': description: Response content: application/json: - schema: *349 + schema: *350 examples: - default: *350 + default: *351 '404': *6 x-github: githubCloudOnly: true @@ -51844,13 +52036,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *89 - - *150 + - *90 + - *151 requestBody: required: true content: application/json: - schema: *352 + schema: *353 examples: default: value: @@ -51865,9 +52057,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *350 examples: - default: *350 + default: *351 '422': *15 '404': *6 x-github: @@ -51897,8 +52089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *89 - - *150 + - *90 + - *151 responses: '204': description: Response @@ -51926,13 +52118,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *89 - - *353 + - *90 - *354 - *355 - *356 - *357 - *358 + - *359 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -51962,7 +52154,7 @@ paths: enum: - patch - deployment - - *359 + - *360 - name: runtime_risk in: query description: |- @@ -51971,11 +52163,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *360 - *361 - - *112 - - *110 + - *362 + - *113 - *111 + - *112 - *17 responses: '200': @@ -51984,10 +52176,10 @@ paths: application/json: schema: type: array - items: *362 + items: *363 examples: - default: *363 - '304': *37 + default: *364 + '304': *38 '400': *14 '403': *29 '404': *6 @@ -52012,7 +52204,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *89 + - *90 - name: page in: query description: The page number of results to fetch. @@ -52035,9 +52227,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *365 examples: - default: *365 + default: *366 '403': *29 '404': *6 x-github: @@ -52068,7 +52260,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -52134,7 +52326,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *89 + - *90 requestBody: required: true content: @@ -52182,7 +52374,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-organization-secrets parameters: - - *89 + - *90 - *17 - *19 responses: @@ -52200,7 +52392,7 @@ paths: type: integer secrets: type: array - items: &366 + items: &367 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -52250,7 +52442,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52271,13 +52463,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: &650 + schema: &653 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -52294,7 +52486,7 @@ paths: - key_id - key examples: - default: &651 + default: &654 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -52317,14 +52509,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 responses: '200': description: Response content: application/json: - schema: *366 + schema: *367 examples: default: value: @@ -52352,8 +52544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 requestBody: required: true content: @@ -52408,7 +52600,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -52432,8 +52624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 responses: '204': description: Response @@ -52457,8 +52649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - *19 - *17 responses: @@ -52476,9 +52668,9 @@ paths: type: integer repositories: type: array - items: *295 + items: *296 examples: - default: *309 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52499,8 +52691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 requestBody: required: true content: @@ -52550,8 +52742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - name: repository_id in: path required: true @@ -52582,8 +52774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *89 - - *305 + - *90 + - *306 - name: repository_id in: path required: true @@ -52619,8 +52811,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *89 - - &660 + - *90 + - &663 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -52628,7 +52820,7 @@ paths: required: false schema: type: string - - &661 + - &664 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -52636,7 +52828,7 @@ paths: required: false schema: type: string - - &662 + - &665 name: time_period description: |- The time period to filter by. @@ -52652,7 +52844,7 @@ paths: - week - month default: month - - &663 + - &666 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -52667,7 +52859,7 @@ paths: - denied - all default: all - - *325 + - *326 - *17 - *19 responses: @@ -52677,7 +52869,7 @@ paths: application/json: schema: type: array - items: &664 + items: &667 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -52783,7 +52975,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: &368 + items: &369 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -52833,7 +53025,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &665 + default: &668 value: - id: 21 number: 42 @@ -52898,7 +53090,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *40 + '500': *41 "/orgs/{org}/dismissal-requests/dependabot": get: summary: List dismissal requests for Dependabot alerts for an organization @@ -52920,12 +53112,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *89 - - *325 - - *105 + - *90 + - *326 - *106 - *107 - - *367 + - *108 + - *368 - *17 - *19 responses: @@ -52935,7 +53127,7 @@ paths: application/json: schema: type: array - items: &666 + items: &669 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -53041,7 +53233,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *368 + items: *369 url: type: string format: uri @@ -53052,7 +53244,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &667 + default: &670 value: - id: 21 number: 42 @@ -53118,7 +53310,7 @@ paths: html_url: https://github.com/octo-org/smile/security/dependabot/2 '404': *6 '403': *29 - '500': *40 + '500': *41 "/orgs/{org}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for an org @@ -53139,12 +53331,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *89 - - *325 - - *105 + - *90 + - *326 - *106 - *107 - - *367 + - *108 + - *368 - *17 - *19 responses: @@ -53154,12 +53346,12 @@ paths: application/json: schema: type: array - items: *369 + items: *370 examples: - default: *370 + default: *371 '404': *6 '403': *29 - '500': *40 + '500': *41 "/orgs/{org}/docker/conflicts": get: summary: Get list of conflicting packages during Docker migration for organization @@ -53174,7 +53366,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -53182,7 +53374,7 @@ paths: application/json: schema: type: array - items: &419 + items: &420 title: Package description: A software package type: object @@ -53232,8 +53424,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *371 - required: *372 + properties: *372 + required: *373 nullable: true created_at: type: string @@ -53252,7 +53444,7 @@ paths: - created_at - updated_at examples: - default: &420 + default: &421 value: - id: 197 name: hello_docker @@ -53330,7 +53522,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-organization-events parameters: - - *89 + - *90 - *17 - *19 responses: @@ -53340,7 +53532,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: 200-response: value: @@ -53413,7 +53605,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#get-an-external-group parameters: - - *89 + - *90 - name: group_id description: The unique identifier of the group. in: path @@ -53439,7 +53631,7 @@ paths: description: Response content: application/json: - schema: &506 + schema: &507 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -53520,7 +53712,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &507 + default: &508 value: group_id: '123' group_name: Octocat admins @@ -53558,7 +53750,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#list-external-groups-available-to-an-organization parameters: - - *89 + - *90 - *17 - name: page description: Page token @@ -53575,7 +53767,7 @@ paths: description: Response content: application/json: - schema: &503 + schema: &504 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -53612,7 +53804,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &504 + default: &505 value: groups: - group_id: '123' @@ -53647,7 +53839,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-failed-organization-invitations parameters: - - *89 + - *90 - *17 - *19 responses: @@ -53657,7 +53849,7 @@ paths: application/json: schema: type: array - items: &397 + items: &398 title: Organization Invitation description: Organization Invitation type: object @@ -53704,7 +53896,7 @@ paths: - invitation_teams_url - node_id examples: - default: &398 + default: &399 value: - id: 1 login: monalisa @@ -53737,7 +53929,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -53763,7 +53955,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -53771,7 +53963,7 @@ paths: application/json: schema: type: array - items: &453 + items: &454 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -53785,7 +53977,7 @@ paths: - name - description examples: - default: &454 + default: &455 value: - name: add_assignee description: Assign or remove a user @@ -53816,7 +54008,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-organization-webhooks parameters: - - *89 + - *90 - *17 - *19 responses: @@ -53826,7 +54018,7 @@ paths: application/json: schema: type: array - items: &373 + items: &374 title: Org Hook description: Org Hook type: object @@ -53914,7 +54106,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -53935,7 +54127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *89 + - *90 requestBody: required: true content: @@ -53995,9 +54187,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *374 examples: - default: &374 + default: &375 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -54041,8 +54233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *89 - - &375 + - *90 + - &376 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. @@ -54055,9 +54247,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *374 examples: - default: *374 + default: *375 '404': *6 x-github: githubCloudOnly: false @@ -54078,8 +54270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *89 - - *375 + - *90 + - *376 requestBody: required: false content: @@ -54124,7 +54316,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *374 examples: default: value: @@ -54163,8 +54355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *89 - - *375 + - *90 + - *376 responses: '204': description: Response @@ -54189,8 +54381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *89 - - *375 + - *90 + - *376 responses: '200': description: Response @@ -54218,8 +54410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *89 - - *375 + - *90 + - *376 requestBody: required: false content: @@ -54267,11 +54459,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *89 - - *375 - - *17 + - *90 - *376 + - *17 - *377 + - *378 responses: '200': description: Response @@ -54279,9 +54471,9 @@ paths: application/json: schema: type: array - items: *378 + items: *379 examples: - default: *379 + default: *380 '400': *14 '422': *15 x-github: @@ -54304,17 +54496,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *89 - - *375 + - *90 + - *376 - *16 responses: '200': description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: *381 + default: *382 '400': *14 '422': *15 x-github: @@ -54337,11 +54529,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *89 - - *375 + - *90 + - *376 - *16 responses: - '202': *39 + '202': *40 '400': *14 '422': *15 x-github: @@ -54364,8 +54556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *89 - - *375 + - *90 + - *376 responses: '204': description: Response @@ -54387,8 +54579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *89 - - &386 + - *90 + - &387 name: actor_type in: path description: The type of the actor @@ -54401,14 +54593,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &387 + - &388 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &382 + - &383 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`.' @@ -54416,7 +54608,7 @@ paths: required: true schema: type: string - - &383 + - &384 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) @@ -54427,7 +54619,7 @@ paths: type: string - *19 - *17 - - *112 + - *113 - name: sort description: The property to sort the results by. in: query @@ -54509,13 +54701,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - - *89 - - *382 + - *90 - *383 + - *384 - *19 - *17 - - *112 - - &392 + - *113 + - &393 name: sort description: The property to sort the results by. in: query @@ -54592,15 +54784,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - - *89 - - *382 + - *90 - *383 + - *384 responses: '200': description: Response content: application/json: - schema: &384 + schema: &385 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -54616,7 +54808,7 @@ paths: type: integer format: int64 examples: - default: &385 + default: &386 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -54636,24 +54828,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *89 - - &388 + - *90 + - &389 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *382 - *383 + - *384 responses: '200': description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: *385 + default: *386 x-github: enabledForGitHubApps: true category: orgs @@ -54671,19 +54863,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *89 - - *382 + - *90 - *383 - - *386 + - *384 - *387 + - *388 responses: '200': description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: *385 + default: *386 x-github: enabledForGitHubApps: true category: orgs @@ -54700,10 +54892,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - - *89 - - *382 + - *90 - *383 - - &389 + - *384 + - &390 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -54716,7 +54908,7 @@ paths: description: Response content: application/json: - schema: &390 + schema: &391 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -54732,7 +54924,7 @@ paths: type: integer format: int64 examples: - default: &391 + default: &392 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -54768,19 +54960,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *89 - - *388 - - *382 - - *383 + - *90 - *389 + - *383 + - *384 + - *390 responses: '200': description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *391 + default: *392 x-github: enabledForGitHubApps: true category: orgs @@ -54797,20 +54989,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *89 - - *386 + - *90 - *387 - - *382 + - *388 - *383 - - *389 + - *384 + - *390 responses: '200': description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *391 + default: *392 x-github: enabledForGitHubApps: true category: orgs @@ -54827,14 +55019,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - - *89 - - *388 - - *382 + - *90 + - *389 - *383 + - *384 - *19 - *17 - - *112 - - *392 + - *113 + - *393 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -54907,7 +55099,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *89 + - *90 responses: '200': description: Response @@ -54915,7 +55107,7 @@ paths: application/json: schema: *22 examples: - default: *393 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54938,7 +55130,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *89 + - *90 - *17 - *19 responses: @@ -55008,7 +55200,7 @@ paths: suspended_at: suspended_by: headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55027,7 +55219,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -55035,12 +55227,12 @@ paths: application/json: schema: anyOf: - - &395 + - &396 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &394 + limit: &395 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -55065,7 +55257,7 @@ paths: properties: {} additionalProperties: false examples: - default: &396 + default: &397 value: limit: collaborators_only origin: organization @@ -55089,18 +55281,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: application/json: - schema: &696 + schema: &699 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *394 + limit: *395 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -55124,9 +55316,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: *396 + default: *397 '422': *15 x-github: githubCloudOnly: false @@ -55144,7 +55336,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *89 + - *90 responses: '204': description: Response @@ -55170,7 +55362,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-pending-organization-invitations parameters: - - *89 + - *90 - *17 - *19 - name: role @@ -55204,11 +55396,11 @@ paths: application/json: schema: type: array - items: *397 + items: *398 examples: - default: *398 + default: *399 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -55230,7 +55422,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#create-an-organization-invitation parameters: - - *89 + - *90 requestBody: required: false content: @@ -55284,7 +55476,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *398 examples: default: value: @@ -55340,8 +55532,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - - *89 - - &399 + - *90 + - &400 name: invitation_id description: The unique identifier of the invitation. in: path @@ -55374,8 +55566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - - *89 - - *399 + - *90 + - *400 - *17 - *19 responses: @@ -55385,9 +55577,9 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - default: &418 + default: &419 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -55403,7 +55595,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -55422,7 +55614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -55430,7 +55622,7 @@ paths: application/json: schema: type: array - items: &400 + items: &401 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -55592,7 +55784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -55683,9 +55875,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: &401 + default: &402 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -55740,8 +55932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *89 - - &402 + - *90 + - &403 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -55849,9 +56041,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: *401 + default: *402 '404': *6 '422': *7 x-github: @@ -55875,10 +56067,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *89 - - *402 + - *90 + - *403 responses: - '204': *130 + '204': *129 '404': *6 '422': *7 x-github: @@ -55898,7 +56090,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -55906,9 +56098,9 @@ paths: application/json: schema: type: array - items: *403 + items: *404 examples: - default: &700 + default: &703 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -55944,7 +56136,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -55991,9 +56183,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: - default: &404 + default: &405 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -56025,8 +56217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *89 - - &405 + - *90 + - &406 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -56079,9 +56271,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: - default: *404 + default: *405 '404': *6 '422': *7 x-github: @@ -56105,8 +56297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *89 - - *405 + - *90 + - *406 responses: '204': description: Response @@ -56139,7 +56331,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *89 + - *90 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -56169,7 +56361,7 @@ paths: - closed - all default: open - - *406 + - *407 - name: type description: Can be the name of an issue type. in: query @@ -56187,8 +56379,8 @@ paths: - updated - comments default: created - - *112 - - *241 + - *113 + - *242 - *17 - *19 responses: @@ -56198,11 +56390,11 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *407 + default: *408 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -56222,7 +56414,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-members parameters: - - *89 + - *90 - 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) @@ -56260,9 +56452,9 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: - Link: *47 + Link: *48 '422': *15 x-github: githubCloudOnly: false @@ -56280,8 +56472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response if requester is an organization member and user is @@ -56315,8 +56507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-an-organization-member parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response @@ -56343,8 +56535,8 @@ paths: parameters: - *17 - *19 - - *89 - - *151 + - *90 + - *152 responses: '200': description: Response @@ -56360,11 +56552,11 @@ paths: type: integer codespaces: type: array - items: *408 + items: *409 examples: - default: *409 - '304': *37 - '500': *40 + default: *410 + '304': *38 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -56387,9 +56579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *89 - - *151 - - &410 + - *90 + - *152 + - &411 name: codespace_name in: path required: true @@ -56397,9 +56589,9 @@ paths: schema: type: string responses: - '202': *39 - '304': *37 - '500': *40 + '202': *40 + '304': *38 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -56422,17 +56614,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *89 - - *151 - - *410 + - *90 + - *152 + - *411 responses: '200': description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: &612 + default: &615 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -56573,8 +56765,8 @@ paths: pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls/1 recent_folders: [] template: - '304': *37 - '500': *40 + '304': *38 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -56605,14 +56797,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *89 - - *151 + - *90 + - *152 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *154 + schema: *155 examples: default: value: @@ -56656,7 +56848,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -56681,14 +56873,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *89 - - *151 + - *90 + - *152 responses: '200': description: Response content: application/json: - schema: &411 + schema: &412 title: Org Membership description: Org Membership type: object @@ -56732,7 +56924,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *75 + organization: *76 user: title: Simple User description: A GitHub user. @@ -56755,7 +56947,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &412 + response-if-user-has-an-active-admin-membership-with-organization: &413 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -56827,8 +57019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *89 - - *151 + - *90 + - *152 requestBody: required: false content: @@ -56856,9 +57048,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *412 examples: - response-if-user-already-had-membership-with-organization: *412 + response-if-user-already-had-membership-with-organization: *413 '422': *15 '403': *29 '451': *15 @@ -56883,8 +57075,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response @@ -56909,7 +57101,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-organization-migrations parameters: - - *89 + - *90 - *17 - *19 - name: exclude @@ -56930,7 +57122,7 @@ paths: application/json: schema: type: array - items: &413 + items: &414 title: Migration description: A migration. type: object @@ -56971,7 +57163,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *122 + items: *123 url: type: string format: uri @@ -57167,7 +57359,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -57183,7 +57375,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#start-an-organization-migration parameters: - - *89 + - *90 requestBody: required: true content: @@ -57259,7 +57451,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *414 examples: default: value: @@ -57437,8 +57629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *89 - - &414 + - *90 + - &415 name: migration_id description: The unique identifier of the migration. in: path @@ -57465,7 +57657,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *413 + schema: *414 examples: default: value: @@ -57634,8 +57826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *89 - - *414 + - *90 + - *415 responses: '302': description: Response @@ -57656,8 +57848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *89 - - *414 + - *90 + - *415 responses: '204': description: Response @@ -57680,9 +57872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *89 - - *414 - - &887 + - *90 + - *415 + - &890 name: repo_name description: repo_name parameter in: path @@ -57709,8 +57901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *89 - - *414 + - *90 + - *415 - *17 - *19 responses: @@ -57720,9 +57912,9 @@ paths: application/json: schema: type: array - items: *122 + items: *123 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -57750,7 +57942,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -57804,7 +57996,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response - list of organization roles @@ -57820,7 +58012,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &415 + items: &416 title: Organization Role description: Organization roles type: object @@ -57980,7 +58172,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *89 + - *90 requestBody: required: true content: @@ -58027,7 +58219,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: default: value: @@ -58056,7 +58248,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -58078,8 +58270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *89 - - *226 + - *90 + - *227 responses: '204': description: Response @@ -58104,9 +58296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *89 - - *226 - - *150 + - *90 + - *227 + - *151 responses: '204': description: Response @@ -58135,9 +58327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *89 - - *226 - - *150 + - *90 + - *227 + - *151 responses: '204': description: Response @@ -58162,8 +58354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response @@ -58188,9 +58380,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *89 + - *90 + - *152 - *151 - - *150 responses: '204': description: Response @@ -58220,9 +58412,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *89 + - *90 + - *152 - *151 - - *150 responses: '204': description: Response @@ -58250,14 +58442,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#get-an-organization-role parameters: - - *89 - - *150 + - *90 + - *151 responses: '200': description: Response content: application/json: - schema: *415 + schema: *416 examples: default: value: @@ -58314,8 +58506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *89 - - *150 + - *90 + - *151 requestBody: required: true content: @@ -58354,7 +58546,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: default: value: @@ -58382,7 +58574,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *121 + '409': *122 '404': *6 x-github: githubCloudOnly: true @@ -58407,8 +58599,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *89 - - *150 + - *90 + - *151 responses: '204': description: Response @@ -58433,8 +58625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *89 - - *150 + - *90 + - *151 - *17 - *19 responses: @@ -58512,8 +58704,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *416 - required: *417 + properties: *417 + required: *418 nullable: true type: description: The ownership type of the team @@ -58545,9 +58737,9 @@ paths: - type - parent examples: - default: *418 + default: *419 headers: - Link: *47 + Link: *48 '404': description: Response if the organization or role does not exist. '422': @@ -58574,8 +58766,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *89 - - *150 + - *90 + - *151 - *17 - *19 responses: @@ -58603,13 +58795,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &493 + items: &494 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *416 - required: *417 + properties: *417 + required: *418 name: nullable: true type: string @@ -58704,9 +58896,9 @@ paths: - type - url examples: - default: *222 + default: *223 headers: - Link: *47 + Link: *48 '404': description: Response if the organization or role does not exist. '422': @@ -58728,7 +58920,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *89 + - *90 - 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) @@ -58755,9 +58947,9 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58780,8 +58972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *89 - - *151 + - *90 + - *152 requestBody: required: false content: @@ -58838,8 +59030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response @@ -58896,8 +59088,8 @@ paths: - docker - nuget - container - - *89 - - &888 + - *90 + - &891 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -58933,12 +59125,12 @@ paths: application/json: schema: type: array - items: *419 + items: *420 examples: - default: *420 + default: *421 '403': *29 '401': *25 - '400': &890 + '400': &893 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -58960,7 +59152,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &421 + - &422 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 @@ -58978,20 +59170,20 @@ paths: - docker - nuget - container - - &422 + - &423 name: package_name description: The name of the package. in: path required: true schema: type: string - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *419 + schema: *420 examples: default: value: @@ -59043,9 +59235,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *421 - *422 - - *89 + - *423 + - *90 responses: '204': description: Response @@ -59077,9 +59269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *421 - *422 - - *89 + - *423 + - *90 - name: token description: package token schema: @@ -59111,9 +59303,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *421 - *422 - - *89 + - *423 + - *90 - *19 - *17 - name: state @@ -59133,7 +59325,7 @@ paths: application/json: schema: type: array - items: &423 + items: &424 title: Package Version description: A version of a software package type: object @@ -59258,10 +59450,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *421 - *422 - - *89 - - &424 + - *423 + - *90 + - &425 name: package_version_id description: Unique identifier of the package version. in: path @@ -59273,7 +59465,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -59309,10 +59501,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *421 - *422 - - *89 - - *424 + - *423 + - *90 + - *425 responses: '204': description: Response @@ -59344,10 +59536,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *421 - *422 - - *89 - - *424 + - *423 + - *90 + - *425 responses: '204': description: Response @@ -59374,10 +59566,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *89 + - *90 - *17 - *19 - - &425 + - &426 name: sort description: The property by which to sort the results. in: query @@ -59387,8 +59579,8 @@ paths: enum: - created_at default: created_at - - *112 - - &426 + - *113 + - &427 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -59399,7 +59591,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &427 + - &428 name: repository description: The name of the repository to use to filter the results. in: query @@ -59407,7 +59599,7 @@ paths: schema: type: string example: Hello-World - - &428 + - &429 name: permission description: The permission to use to filter the results. in: query @@ -59415,7 +59607,7 @@ paths: schema: type: string example: issues_read - - &429 + - &430 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) @@ -59425,7 +59617,7 @@ paths: schema: type: string format: date-time - - &430 + - &431 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) @@ -59435,7 +59627,7 @@ paths: schema: type: string format: date-time - - &431 + - &432 name: token_id description: The ID of the token in: query @@ -59447,7 +59639,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *40 + '500': *41 '422': *15 '404': *6 '403': *29 @@ -59579,7 +59771,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59599,7 +59791,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *89 + - *90 requestBody: required: true content: @@ -59640,11 +59832,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *40 + '500': *41 '422': *15 '404': *6 '403': *29 - '202': *39 + '202': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59665,7 +59857,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *89 + - *90 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -59701,11 +59893,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *40 + '500': *41 '422': *15 '404': *6 '403': *29 - '204': *130 + '204': *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59726,7 +59918,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *89 + - *90 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -59737,7 +59929,7 @@ paths: - *17 - *19 responses: - '500': *40 + '500': *41 '404': *6 '403': *29 '200': @@ -59746,9 +59938,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: &432 + default: &433 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -59861,7 +60053,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59882,19 +60074,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *89 + - *90 - *17 - *19 - - *425 - - *112 - *426 + - *113 - *427 - *428 - *429 - *430 - *431 + - *432 responses: - '500': *40 + '500': *41 '422': *15 '404': *6 '403': *29 @@ -60021,7 +60213,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60041,7 +60233,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *89 + - *90 requestBody: required: true content: @@ -60076,9 +60268,9 @@ paths: - 1296269 - 1296280 responses: - '500': *40 + '500': *41 '404': *6 - '202': *39 + '202': *40 '403': *29 '422': *15 x-github: @@ -60101,7 +60293,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *89 + - *90 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -60129,9 +60321,9 @@ paths: value: action: revoke responses: - '500': *40 + '500': *41 '404': *6 - '204': *130 + '204': *129 '403': *29 '422': *15 x-github: @@ -60153,7 +60345,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *89 + - *90 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -60163,7 +60355,7 @@ paths: - *17 - *19 responses: - '500': *40 + '500': *41 '404': *6 '403': *29 '200': @@ -60172,11 +60364,11 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *432 + default: *433 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60198,7 +60390,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *89 + - *90 - *17 - *19 responses: @@ -60216,7 +60408,7 @@ paths: type: integer configurations: type: array - items: &433 + items: &434 title: Organization private registry description: Private registry configuration for an organization type: object @@ -60355,7 +60547,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *47 + Link: *48 '400': *14 '404': *6 x-github: @@ -60378,7 +60570,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -60727,7 +60919,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &434 + org-private-registry-with-selected-visibility: &435 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -60768,7 +60960,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -60794,7 +60986,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -60816,16 +61008,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *89 - - *305 + - *90 + - *306 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *433 + schema: *434 examples: - default: *434 + default: *435 '404': *6 x-github: githubCloudOnly: false @@ -60847,8 +61039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *89 - - *305 + - *90 + - *306 requestBody: required: true content: @@ -61035,8 +61227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *89 - - *305 + - *90 + - *306 responses: '204': description: Response @@ -61059,15 +61251,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#list-projects-for-organization parameters: - - *89 + - *90 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *110 - *111 + - *112 - *17 responses: '200': @@ -61076,7 +61268,7 @@ paths: application/json: schema: type: array - items: &435 + items: &436 title: Projects v2 Project description: A projects v2 project type: object @@ -61146,7 +61338,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &983 + properties: &986 id: type: number description: The unique identifier of the status update. @@ -61194,7 +61386,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &984 + required: &987 - id - node_id - created_at @@ -61219,7 +61411,7 @@ paths: - deleted_at - deleted_by examples: - default: &436 + default: &437 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -61302,8 +61494,8 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -61322,25 +61514,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &437 + - &438 name: project_number description: The project's number. in: path required: true schema: type: integer - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *436 + default: *437 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -61359,8 +61551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *89 - - *437 + - *90 + - *438 requestBody: required: true description: Details of the draft item to create in the project. @@ -61394,7 +61586,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &444 title: Projects v2 Item description: An item belonging to a project type: object @@ -61407,8 +61599,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *234 - - &629 + - *235 + - &632 title: Pull Request Simple description: Pull Request Simple type: object @@ -61514,8 +61706,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *439 + required: *440 nullable: true active_lock_reason: type: string @@ -61547,7 +61739,7 @@ paths: items: *4 requested_teams: type: array - items: *328 + items: *329 head: type: object properties: @@ -61555,7 +61747,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *81 sha: type: string user: @@ -61578,7 +61770,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *81 sha: type: string user: @@ -61597,7 +61789,7 @@ paths: _links: type: object properties: - comments: &440 + comments: &441 title: Link description: Hypermedia Link type: object @@ -61606,13 +61798,13 @@ paths: type: string required: - href - commits: *440 - statuses: *440 - html: *440 - issue: *440 - review_comments: *440 - review_comment: *440 - self: *440 + commits: *441 + statuses: *441 + html: *441 + issue: *441 + review_comments: *441 + review_comment: *441 + self: *441 required: - comments - commits @@ -61622,8 +61814,8 @@ paths: - review_comments - review_comment - self - author_association: *231 - auto_merge: &767 + author_association: *232 + auto_merge: &769 title: Auto merge description: The status of auto merging a pull request. type: object @@ -61648,6 +61840,45 @@ paths: - commit_title - commit_message nullable: true + stack: &770 + title: Pull Request Stack + description: The stack information associated with a pull + request. + type: object + 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 + nullable: true draft: description: Indicates whether or not the pull request is a draft. @@ -61723,7 +61954,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &442 + content_type: &443 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -61763,7 +61994,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &444 + draft_issue: &445 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -61818,7 +62049,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': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -61837,11 +62068,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *437 - - *89 + - *438 + - *90 - *17 - - *110 - *111 + - *112 responses: '200': description: Response @@ -61849,7 +62080,7 @@ paths: application/json: schema: type: array - items: &441 + items: &442 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -61999,7 +62230,7 @@ paths: - updated_at - project_url examples: - default: &911 + default: &914 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -62110,8 +62341,8 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -62129,8 +62360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *437 - - *89 + - *438 + - *90 requestBody: required: true content: @@ -62176,7 +62407,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &912 + items: &915 type: object properties: name: @@ -62213,7 +62444,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &913 + iteration_configuration: &916 type: object description: The configuration for iteration fields. properties: @@ -62263,7 +62494,7 @@ paths: value: name: Due date data_type: date - single_select_field: &914 + single_select_field: &917 summary: Create a single select field value: name: Priority @@ -62290,7 +62521,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &915 + iteration_field: &918 summary: Create an iteration field value: name: Sprint @@ -62314,9 +62545,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *441 + schema: *442 examples: - text_field: &916 + text_field: &919 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -62325,7 +62556,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: &917 + number_field: &920 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -62334,7 +62565,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: &918 + date_field: &921 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -62343,7 +62574,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: &919 + single_select_field: &922 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -62377,7 +62608,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &920 + iteration_field: &923 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -62402,7 +62633,7 @@ paths: duration: 14 created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' - '304': *37 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -62422,23 +62653,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *437 - - &921 + - *438 + - &924 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *441 + schema: *442 examples: - default: &922 + default: &925 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -62473,8 +62704,8 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -62494,8 +62725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *437 - - *89 + - *438 + - *90 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -62517,8 +62748,8 @@ paths: maxItems: 50 items: type: string - - *110 - *111 + - *112 - *17 responses: '200': @@ -62527,7 +62758,7 @@ paths: application/json: schema: type: array - items: &445 + items: &446 title: Projects v2 Item description: An item belonging to a project type: object @@ -62543,7 +62774,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *442 + content_type: *443 content: type: object additionalProperties: true @@ -62586,7 +62817,7 @@ paths: - updated_at - archived_at examples: - default: &446 + default: &447 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -63263,8 +63494,8 @@ paths: data_type: sub_issues_progress value: headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -63283,8 +63514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - - *89 - - *437 + - *90 + - *438 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -63354,23 +63585,23 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *444 + value: *445 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *444 + value: *445 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *444 + value: *445 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *444 - '304': *37 + value: *445 + '304': *38 '403': *29 '401': *25 x-github: @@ -63389,9 +63620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *437 - - *89 - - &447 + - *438 + - *90 + - &448 name: item_id description: The unique identifier of the project item. in: path @@ -63417,12 +63648,12 @@ paths: description: Response content: application/json: - schema: *445 + schema: *446 examples: - default: *446 + default: *447 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -63440,9 +63671,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *437 - - *89 - - *447 + - *438 + - *90 + - *448 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -63512,13 +63743,13 @@ paths: description: Response content: application/json: - schema: *445 + schema: *446 examples: - text_field: *446 - number_field: *446 - date_field: *446 - single_select_field: *446 - iteration_field: *446 + text_field: *447 + number_field: *447 + date_field: *447 + single_select_field: *447 + iteration_field: *447 '401': *25 '403': *29 '404': *6 @@ -63538,9 +63769,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *437 - - *89 - - *447 + - *438 + - *90 + - *448 responses: '204': description: Response @@ -63563,8 +63794,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *89 - - *437 + - *90 + - *438 requestBody: required: true content: @@ -63635,7 +63866,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &902 + schema: &905 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -63733,7 +63964,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &448 + value: &449 value: id: 1 number: 1 @@ -63779,11 +64010,11 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *448 + value: *449 roadmap_view: summary: Response for creating a roadmap view - value: *448 - '304': *37 + value: *449 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -63810,9 +64041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *437 - - *89 - - &923 + - *438 + - *90 + - &926 name: view_number description: The number that identifies the project view. in: path @@ -63834,8 +64065,8 @@ paths: maxItems: 50 items: type: string - - *110 - *111 + - *112 - *17 responses: '200': @@ -63844,12 +64075,12 @@ paths: application/json: schema: type: array - items: *445 + items: *446 examples: - default: *446 + default: *447 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -63871,7 +64102,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -63879,9 +64110,9 @@ paths: application/json: schema: type: array - items: *164 + items: *165 examples: - default: *165 + default: *166 '403': *29 '404': *6 x-github: @@ -63908,7 +64139,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -63919,7 +64150,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *164 + items: *165 minItems: 1 maxItems: 100 required: @@ -63949,9 +64180,9 @@ paths: application/json: schema: type: array - items: *164 + items: *165 examples: - default: *165 + default: *166 '403': *29 '404': *6 x-github: @@ -63972,16 +64203,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *89 - - *161 + - *90 + - *162 responses: '200': description: Response content: application/json: - schema: *164 + schema: *165 examples: - default: *166 + default: *167 '403': *29 '404': *6 x-github: @@ -64004,13 +64235,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *89 - - *161 + - *90 + - *162 requestBody: required: true content: application/json: - schema: *449 + schema: *450 examples: default: value: @@ -64026,9 +64257,9 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: - default: *166 + default: *167 '403': *29 '404': *6 x-github: @@ -64051,10 +64282,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *89 - - *161 + - *90 + - *162 responses: - '204': *130 + '204': *129 '403': *29 '404': *6 x-github: @@ -64075,7 +64306,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *89 + - *90 - *17 - *19 - name: repository_query @@ -64113,7 +64344,7 @@ paths: example: octocat/Hello-World properties: type: array - items: *163 + items: *164 description: List of custom property names and associated values required: - repository_id @@ -64134,7 +64365,7 @@ paths: - property_name: team value: octocat headers: - Link: *47 + Link: *48 '403': *29 '404': *6 x-github: @@ -64162,7 +64393,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *89 + - *90 requestBody: required: true content: @@ -64182,7 +64413,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *163 + items: *164 required: - repository_names - properties @@ -64223,7 +64454,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-public-organization-members parameters: - - *89 + - *90 - *17 - *19 responses: @@ -64235,9 +64466,9 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64254,8 +64485,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response if user is a public member @@ -64279,8 +64510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response @@ -64301,8 +64532,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *89 - - *151 + - *90 + - *152 responses: '204': description: Response @@ -64326,7 +64557,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-organization-repositories parameters: - - *89 + - *90 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -64373,11 +64604,11 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *432 + default: *433 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64396,7 +64627,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-an-organization-repository parameters: - - *89 + - *90 requestBody: required: true content: @@ -64578,7 +64809,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &515 title: Full Repository description: Full Repository type: object @@ -64863,8 +65094,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *450 - required: *451 + properties: *451 + required: *452 nullable: true temp_clone_token: type: string @@ -64948,8 +65179,8 @@ paths: title: License Simple description: License Simple type: object - properties: *237 - required: *238 + properties: *238 + required: *239 nullable: true organization: title: Simple User @@ -64958,8 +65189,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *80 - source: *80 + parent: *81 + source: *81 forks: type: integer master_branch: @@ -64976,7 +65207,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &634 + properties: &637 url: type: string format: uri @@ -64992,12 +65223,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &635 + required: &638 - url - key - name - html_url - security_and_analysis: *452 + security_and_analysis: *453 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -65081,7 +65312,7 @@ paths: - network_count - subscribers_count examples: - default: &516 + default: &517 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -65599,7 +65830,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Response @@ -65607,9 +65838,9 @@ paths: application/json: schema: type: array - items: *453 + items: *454 examples: - default: *454 + default: *455 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -65631,10 +65862,10 @@ paths: category: orgs subcategory: rules parameters: - - *89 + - *90 - *17 - *19 - - &790 + - &793 name: targets description: | A comma-separated list of rule targets to filter by. @@ -65652,7 +65883,7 @@ paths: application/json: schema: type: array - items: *198 + items: *199 examples: default: value: @@ -65683,7 +65914,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *40 + '500': *41 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -65699,7 +65930,7 @@ paths: category: orgs subcategory: rules parameters: - - *89 + - *90 requestBody: description: Request body required: true @@ -65720,21 +65951,20 @@ paths: - push - repository default: branch - enforcement: *175 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *176 - conditions: *455 + items: *177 + conditions: *456 rules: type: array description: An array of rules within the ruleset. - items: &457 + items: &458 title: Repository Rule type: object description: A repository rule. oneOf: - - *177 - *178 - *179 - *180 @@ -65748,13 +65978,14 @@ paths: - *188 - *189 - *190 - - *194 + - *191 - *195 - *196 - *197 - - *191 + - *198 - *192 - *193 + - *194 required: - name - enforcement @@ -65792,9 +66023,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: &456 + default: &457 value: id: 21 name: super cool ruleset @@ -65835,7 +66066,7 @@ paths: updated_at: '2023-09-23T16:29:47Z' '404': *6 '422': *15 - '500': *40 + '500': *41 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -65849,8 +66080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *89 - - &792 + - *90 + - &795 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 @@ -65860,16 +66091,16 @@ paths: schema: type: string x-multi-segment: true - - *325 - - *107 - - &793 + - *326 + - *108 + - &796 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 - - &794 + - &797 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -65882,7 +66113,7 @@ paths: - bypass - all default: all - - &795 + - &798 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. @@ -65905,7 +66136,7 @@ paths: description: Response content: application/json: - schema: &796 + schema: &799 title: Rule Suites description: Response type: array @@ -65960,7 +66191,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &797 + default: &800 value: - id: 21 actor_id: 12 @@ -65984,7 +66215,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66003,8 +66234,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *89 - - &798 + - *90 + - &801 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -66020,7 +66251,7 @@ paths: description: Response content: application/json: - schema: &799 + schema: &802 title: Rule Suite description: Response type: object @@ -66119,7 +66350,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &800 + default: &803 value: id: 21 actor_id: 12 @@ -66154,7 +66385,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66180,7 +66411,7 @@ paths: category: orgs subcategory: rules parameters: - - *89 + - *90 - name: ruleset_id description: The ID of the ruleset. in: path @@ -66192,11 +66423,11 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: *456 + default: *457 '404': *6 - '500': *40 + '500': *41 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -66212,7 +66443,7 @@ paths: category: orgs subcategory: rules parameters: - - *89 + - *90 - name: ruleset_id description: The ID of the ruleset. in: path @@ -66238,16 +66469,16 @@ paths: - tag - push - repository - enforcement: *175 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *176 - conditions: *455 + items: *177 + conditions: *456 rules: description: An array of rules within the ruleset. type: array - items: *457 + items: *458 examples: default: value: @@ -66282,12 +66513,12 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: *456 + default: *457 '404': *6 '422': *15 - '500': *40 + '500': *41 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -66303,7 +66534,7 @@ paths: category: orgs subcategory: rules parameters: - - *89 + - *90 - name: ruleset_id description: The ID of the ruleset. in: path @@ -66314,7 +66545,7 @@ paths: '204': description: Response '404': *6 - '500': *40 + '500': *41 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -66326,7 +66557,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rules#get-organization-ruleset-history parameters: - - *89 + - *90 - *17 - *19 - name: ruleset_id @@ -66342,11 +66573,11 @@ paths: application/json: schema: type: array - items: *202 + items: *203 examples: - default: *458 + default: *459 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66363,7 +66594,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rules#get-organization-ruleset-version parameters: - - *89 + - *90 - name: ruleset_id description: The ID of the ruleset. in: path @@ -66381,7 +66612,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *460 examples: default: value: @@ -66421,7 +66652,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66443,8 +66674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *89 - - *460 + - *90 - *461 - *462 - *463 @@ -66452,10 +66682,11 @@ paths: - *465 - *466 - *467 - - *112 + - *468 + - *113 - *19 - *17 - - &802 + - &805 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -66465,7 +66696,7 @@ paths: required: false schema: type: string - - &803 + - &806 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -66475,13 +66706,13 @@ paths: required: false schema: type: string - - *468 - *469 - *470 - *471 - *472 - *473 - *474 + - *475 responses: '200': description: Response @@ -66489,13 +66720,13 @@ paths: application/json: schema: type: array - items: *475 + items: *476 examples: - default: *476 + default: *477 headers: - Link: *47 + Link: *48 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66520,11 +66751,11 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *89 - - *477 + - *90 - *478 - *479 - - *112 + - *480 + - *113 - *19 - *17 responses: @@ -66534,11 +66765,11 @@ paths: application/json: schema: type: array - items: *204 + items: *205 examples: - default: *480 + default: *481 headers: - Link: *47 + Link: *48 '403': *29 '404': *6 post: @@ -66559,7 +66790,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *89 + - *90 requestBody: required: true content: @@ -66572,9 +66803,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *481 + items: *482 examples: - default: *482 + default: *483 responses: '201': description: All patterns created successfully. @@ -66586,9 +66817,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *204 + items: *205 examples: - default: *483 + default: *484 '400': *14 '403': *29 '404': *6 @@ -66612,7 +66843,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *484 + items: *485 delete: summary: Bulk delete organization custom patterns description: |- @@ -66631,7 +66862,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *89 + - *90 requestBody: required: true content: @@ -66645,7 +66876,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *485 + items: *486 post_delete_action: type: string description: |- @@ -66658,14 +66889,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *486 + default: *487 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *29 '404': *6 - '412': *206 + '412': *207 "/orgs/{org}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update an organization custom pattern @@ -66685,7 +66916,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *89 + - *90 - name: pattern_id in: path required: true @@ -66696,21 +66927,21 @@ paths: required: true content: application/json: - schema: *487 + schema: *488 examples: - default: *488 + default: *489 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *204 + schema: *205 examples: - default: *489 + default: *490 '400': *14 '403': *29 '404': *6 - '412': *206 + '412': *207 '422': *15 "/orgs/{org}/secret-scanning/pattern-configurations": get: @@ -66731,15 +66962,15 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: *491 + default: *492 '403': *29 '404': *6 patch: @@ -66760,7 +66991,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *89 + - *90 requestBody: required: true content: @@ -66768,7 +66999,7 @@ paths: schema: type: object properties: - pattern_config_version: *205 + pattern_config_version: *206 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -66794,7 +67025,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *205 + custom_pattern_version: *206 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -66830,7 +67061,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *121 + '409': *122 '422': *15 "/orgs/{org}/security-advisories": get: @@ -66848,8 +67079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *89 - - *112 + - *90 + - *113 - name: sort description: The property to sort the results by. in: query @@ -66861,8 +67092,8 @@ paths: - updated - published default: created - - *110 - *111 + - *112 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -66892,7 +67123,7 @@ paths: application/json: schema: type: array - items: &824 + items: &827 description: A repository security advisory. type: object properties: @@ -67061,7 +67292,7 @@ paths: - patched_versions - vulnerable_functions additionalProperties: false - cvss_severities: *136 + cvss_severities: *137 cwes: type: array nullable: true @@ -67094,7 +67325,7 @@ paths: login: type: string description: The username of the user credited. - type: *492 + type: *493 credits_detailed: type: array nullable: true @@ -67104,7 +67335,7 @@ paths: type: object properties: user: *4 - type: *492 + type: *493 state: type: string description: The state of the user's acceptance of the @@ -67128,14 +67359,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *328 + items: *329 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *122 + - *123 required: - ghsa_id - cve_id @@ -67164,7 +67395,7 @@ paths: - private_fork additionalProperties: false examples: - default: &825 + default: &828 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -67543,7 +67774,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#list-security-manager-teams parameters: - - *89 + - *90 responses: '200': description: Response @@ -67551,7 +67782,7 @@ paths: application/json: schema: type: array - items: *493 + items: *494 examples: default: value: @@ -67591,8 +67822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *89 - - *226 + - *90 + - *227 responses: '204': description: Response @@ -67617,8 +67848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *89 - - *226 + - *90 + - *227 responses: '204': description: Response @@ -67649,8 +67880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *89 - - *494 + - *90 + - *495 - *17 - *19 responses: @@ -67658,9 +67889,9 @@ paths: description: Success content: application/json: - schema: *495 + schema: *496 examples: - default: *496 + default: *497 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -67680,7 +67911,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *89 + - *90 responses: '200': description: Immutable releases settings response @@ -67729,7 +67960,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *89 + - *90 responses: '204': description: Response @@ -67786,7 +68017,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *89 + - *90 - *19 - *17 responses: @@ -67804,9 +68035,9 @@ paths: type: integer repositories: type: array - items: *295 + items: *296 examples: - default: *309 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67825,7 +68056,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *89 + - *90 requestBody: required: true content: @@ -67874,8 +68105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *89 - - *289 + - *90 + - *290 responses: '204': description: Response @@ -67897,8 +68128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *89 - - *289 + - *90 + - *290 responses: '204': description: Response @@ -67921,7 +68152,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *89 + - *90 - *17 - *19 responses: @@ -67939,11 +68170,11 @@ paths: type: integer network_configurations: type: array - items: *156 + items: *157 examples: - default: *497 + default: *498 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67962,7 +68193,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *89 + - *90 requestBody: required: true content: @@ -68018,9 +68249,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: *157 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68040,18 +68271,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *89 - - *158 + - *90 + - *159 responses: '200': description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: *157 + default: *158 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68070,8 +68301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *89 - - *158 + - *90 + - *159 requestBody: required: true content: @@ -68124,9 +68355,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: *157 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68145,8 +68376,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *89 - - *158 + - *90 + - *159 responses: '204': description: Response @@ -68169,18 +68400,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *89 - - *498 + - *90 + - *499 responses: '200': description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *500 + default: *501 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68197,7 +68428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *89 + - *90 - *17 - name: page description: Page token @@ -68216,7 +68447,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &512 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -68262,7 +68493,7 @@ paths: type: string nullable: true examples: - default: &512 + default: &513 value: groups: - group_id: '123' @@ -68295,7 +68526,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-teams parameters: - - *89 + - *90 - *17 - *19 - name: team_type @@ -68317,11 +68548,11 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - default: *418 + default: *419 headers: - Link: *47 + Link: *48 '403': *29 x-github: githubCloudOnly: false @@ -68341,7 +68572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#create-a-team parameters: - - *89 + - *90 requestBody: required: true content: @@ -68405,7 +68636,7 @@ paths: description: Response content: application/json: - schema: &501 + schema: &502 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -68468,8 +68699,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *416 - required: *417 + properties: *417 + required: *418 nullable: true members_count: type: integer @@ -68732,7 +68963,7 @@ paths: - repos_count - organization examples: - default: &502 + default: &503 value: id: 1 node_id: MDQ6VGVhbTE= @@ -68802,16 +69033,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - - *89 - - *226 + - *90 + - *227 responses: '200': description: Response content: application/json: - schema: *501 + schema: *502 examples: - default: *502 + default: *503 '404': *6 x-github: githubCloudOnly: false @@ -68832,8 +69063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - - *89 - - *226 + - *90 + - *227 requestBody: required: false content: @@ -68895,16 +69126,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *501 + schema: *502 examples: - default: *502 + default: *503 '201': description: Response content: application/json: - schema: *501 + schema: *502 examples: - default: *502 + default: *503 '404': *6 '422': *15 '403': *29 @@ -68929,12 +69160,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - - *89 - - *226 + - *90 + - *227 responses: '204': description: Response - '422': &505 + '422': &506 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -68956,17 +69187,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *89 - - *226 + - *90 + - *227 responses: '200': description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: *504 - '422': *505 + default: *505 + '422': *506 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -68985,8 +69216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *89 - - *226 + - *90 + - *227 requestBody: required: true content: @@ -69009,10 +69240,10 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 - '422': *505 + default: *508 + '422': *506 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -69031,12 +69262,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *89 - - *226 + - *90 + - *227 responses: '204': description: Response - '422': *505 + '422': *506 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -69057,8 +69288,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - - *89 - - *226 + - *90 + - *227 - *17 - *19 responses: @@ -69068,12 +69299,12 @@ paths: application/json: schema: type: array - items: *397 + items: *398 examples: - default: *398 + default: *399 headers: - Link: *47 - '422': *505 + Link: *48 + '422': *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69095,8 +69326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - - *89 - - *226 + - *90 + - *227 - name: role description: Filters members returned by their role in the team. in: query @@ -69117,7 +69348,7 @@ paths: application/json: schema: type: array - items: &866 + items: &869 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 @@ -69236,7 +69467,7 @@ paths: - type - url examples: - default: &867 + default: &870 value: - login: octocat id: 1 @@ -69259,7 +69490,7 @@ paths: role: member inherited: false headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69287,15 +69518,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - - *89 - - *226 - - *151 + - *90 + - *227 + - *152 responses: '200': description: Response content: application/json: - schema: &508 + schema: &509 title: Team Membership description: Team Membership type: object @@ -69322,7 +69553,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &868 + response-if-user-is-a-team-maintainer: &871 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -69358,9 +69589,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *89 - - *226 - - *151 + - *90 + - *227 + - *152 requestBody: required: false content: @@ -69385,9 +69616,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - response-if-users-membership-with-team-is-now-pending: &869 + response-if-users-membership-with-team-is-now-pending: &872 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -69422,9 +69653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - - *89 - - *226 - - *151 + - *90 + - *227 + - *152 responses: '204': description: Response @@ -69450,8 +69681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - - *89 - - *226 + - *90 + - *227 - *17 - *19 responses: @@ -69461,11 +69692,11 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *432 + default: *433 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69492,16 +69723,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *89 - - *226 - - *509 + - *90 + - *227 - *510 + - *511 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &870 + schema: &873 title: Team Repository description: A team's access to a repository. type: object @@ -69524,8 +69755,8 @@ paths: title: License Simple description: License Simple type: object - properties: *237 - required: *238 + properties: *238 + required: *239 nullable: true forks: type: integer @@ -70063,10 +70294,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *89 - - *226 - - *509 + - *90 + - *227 - *510 + - *511 requestBody: required: false content: @@ -70111,10 +70342,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *89 - - *226 - - *509 + - *90 + - *227 - *510 + - *511 responses: '204': description: Response @@ -70140,17 +70371,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *89 - - *226 + - *90 + - *227 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 - '422': *505 + default: *513 + '422': *506 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -70172,8 +70403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *89 - - *226 + - *90 + - *227 requestBody: required: true content: @@ -70216,7 +70447,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: default: value: @@ -70228,7 +70459,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *505 + '422': *506 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -70249,8 +70480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - - *89 - - *226 + - *90 + - *227 - *17 - *19 responses: @@ -70260,9 +70491,9 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - response-if-child-teams-exist: &871 + response-if-child-teams-exist: &874 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -70290,7 +70521,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70315,7 +70546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *89 + - *90 - name: security_product in: path description: The security feature to enable or disable. @@ -70415,7 +70646,7 @@ paths: resources: type: object properties: - core: &513 + core: &514 title: Rate Limit type: object properties: @@ -70432,17 +70663,17 @@ paths: - remaining - reset - used - graphql: *513 - search: *513 - code_search: *513 - source_import: *513 - integration_manifest: *513 - actions_runner_registration: *513 - scim: *513 - dependency_snapshots: *513 - dependency_sbom: *513 - code_scanning_autofix: *513 - copilot_usage_records: *513 + graphql: *514 + search: *514 + code_search: *514 + source_import: *514 + integration_manifest: *514 + actions_runner_registration: *514 + scim: *514 + dependency_snapshots: *514 + dependency_sbom: *514 + code_scanning_autofix: *514 + copilot_usage_records: *514 required: - core - search @@ -70516,7 +70747,7 @@ paths: schema: type: integer format: timestamp - '304': *37 + '304': *38 '404': *6 x-github: githubCloudOnly: false @@ -70539,14 +70770,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *514 + schema: *515 examples: default-response: summary: Default response @@ -71054,7 +71285,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *515 + '301': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71072,8 +71303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: false content: @@ -71393,10 +71624,10 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *516 - '307': &517 + default: *517 + '307': &518 description: Temporary Redirect content: application/json: @@ -71425,8 +71656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -71448,9 +71679,9 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository - '307': *517 + '307': *518 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71472,11 +71703,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *509 - *510 + - *511 - *17 - *19 - - &533 + - &534 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -71499,7 +71730,7 @@ paths: type: integer artifacts: type: array - items: &518 + items: &519 title: Artifact description: An artifact type: object @@ -71577,7 +71808,7 @@ paths: - expires_at - updated_at examples: - default: &534 + default: &535 value: total_count: 2 artifacts: @@ -71616,7 +71847,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71638,9 +71869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *509 - *510 - - &519 + - *511 + - &520 name: artifact_id description: The unique identifier of the artifact. in: path @@ -71652,7 +71883,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *519 examples: default: value: @@ -71690,9 +71921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *509 - *510 - - *519 + - *511 + - *520 responses: '204': description: Response @@ -71716,9 +71947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *509 - *510 - - *519 + - *511 + - *520 - name: archive_format in: path required: true @@ -71728,15 +71959,11 @@ paths: '302': description: Response headers: - Location: &653 + Location: &656 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': &701 - description: Gone - content: - application/json: - schema: *3 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71757,14 +71984,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: &520 + schema: &521 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -71775,7 +72002,7 @@ paths: type: integer example: 14 examples: - default: *44 + default: *45 '403': *29 '404': *6 x-github: @@ -71797,15 +72024,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: application/json: - schema: *520 + schema: *521 examples: - selected_actions: *44 + selected_actions: *45 responses: '204': description: Response @@ -71832,14 +72059,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: &521 + schema: &522 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -71850,7 +72077,7 @@ paths: type: integer example: 10 examples: - default: *46 + default: *47 '403': *29 '404': *6 x-github: @@ -71872,15 +72099,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: application/json: - schema: *521 + schema: *522 examples: - selected_actions: *46 + selected_actions: *47 responses: '204': description: Response @@ -71909,14 +72136,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *522 + schema: *523 examples: default: value: @@ -71942,11 +72169,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *509 - *510 + - *511 - *17 - *19 - - &523 + - &524 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 @@ -71974,13 +72201,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *112 + - *113 responses: '200': description: Response content: application/json: - schema: &524 + schema: &525 title: Repository actions caches description: Repository actions caches type: object @@ -72022,7 +72249,7 @@ paths: - total_count - actions_caches examples: - default: &525 + default: &526 value: total_count: 1 actions_caches: @@ -72034,7 +72261,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72054,23 +72281,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *509 - *510 + - *511 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *523 + - *524 responses: '200': description: Response content: application/json: - schema: *524 + schema: *525 examples: - default: *525 + default: *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72090,8 +72317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *509 - *510 + - *511 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -72120,10 +72347,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *509 - *510 + - *511 - *17 - - *111 + - *112 responses: '200': description: Response @@ -72171,7 +72398,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: *47 + Link: *48 '422': *15 x-github: githubCloudOnly: false @@ -72203,8 +72430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *509 - *510 + - *511 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -72356,9 +72583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *509 - *510 - - &526 + - *511 + - &527 name: job_id description: The unique identifier of the job. in: path @@ -72370,7 +72597,7 @@ paths: description: Response content: application/json: - schema: &537 + schema: &538 title: Job description: Information of a job execution in a workflow run type: object @@ -72677,9 +72904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *509 - *510 - - *526 + - *511 + - *527 responses: '302': description: Response @@ -72707,9 +72934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *509 - *510 - - *526 + - *511 + - *527 requestBody: required: false content: @@ -72735,7 +72962,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -72759,8 +72986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Status response @@ -72819,8 +73046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -72859,7 +73086,7 @@ paths: description: Empty response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -72888,8 +73115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -72907,7 +73134,7 @@ paths: type: integer secrets: type: array - items: &539 + items: &540 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -72927,7 +73154,7 @@ paths: - created_at - updated_at examples: - default: &540 + default: &541 value: total_count: 2 secrets: @@ -72938,7 +73165,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72960,9 +73187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *509 - *510 - - *314 + - *511 + - *315 - *19 responses: '200': @@ -72979,7 +73206,7 @@ paths: type: integer variables: type: array - items: &541 + items: &542 title: Actions Variable type: object properties: @@ -73009,7 +73236,7 @@ paths: - created_at - updated_at examples: - default: &542 + default: &543 value: total_count: 2 variables: @@ -73022,7 +73249,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73042,8 +73269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -73052,12 +73279,12 @@ paths: schema: type: object properties: - enabled: &527 + enabled: &528 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *62 - selected_actions_url: *282 - sha_pinning_required: *63 + allowed_actions: *63 + selected_actions_url: *283 + sha_pinning_required: *64 required: - enabled examples: @@ -73087,8 +73314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -73099,9 +73326,9 @@ paths: schema: type: object properties: - enabled: *527 - allowed_actions: *62 - sha_pinning_required: *63 + enabled: *528 + allowed_actions: *63 + sha_pinning_required: *64 required: - enabled examples: @@ -73132,14 +73359,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: &528 + schema: &529 type: object properties: access_level: @@ -73157,7 +73384,7 @@ paths: required: - access_level examples: - default: &529 + default: &530 value: access_level: organization x-github: @@ -73182,15 +73409,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: application/json: - schema: *528 + schema: *529 examples: - default: *529 + default: *530 responses: '204': description: Response @@ -73214,14 +73441,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *284 + schema: *285 examples: default: value: @@ -73245,8 +73472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *509 - *510 + - *511 responses: '204': description: Empty response for successful settings update @@ -73256,7 +73483,7 @@ paths: required: true content: application/json: - schema: *285 + schema: *286 examples: default: summary: Set retention days @@ -73280,16 +73507,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *64 + schema: *65 examples: - default: *286 + default: *287 '404': *6 x-github: enabledForGitHubApps: true @@ -73308,8 +73535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -73319,7 +73546,7 @@ paths: required: true content: application/json: - schema: *64 + schema: *65 examples: default: summary: Set approval policy to first time contributors @@ -73343,16 +73570,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *65 + default: *66 '403': *29 '404': *6 x-github: @@ -73372,15 +73599,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: application/json: - schema: *288 + schema: *289 examples: - default: *65 + default: *66 responses: '204': description: Empty response for successful settings update @@ -73404,16 +73631,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *67 + schema: *68 examples: - default: *68 + default: *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73436,8 +73663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -73445,9 +73672,9 @@ paths: required: false content: application/json: - schema: *67 + schema: *68 examples: - selected_actions: *68 + selected_actions: *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73469,16 +73696,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: *71 + default: *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73499,8 +73726,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *509 - *510 + - *511 responses: '204': description: Success response @@ -73511,9 +73738,9 @@ paths: required: true content: application/json: - schema: *292 + schema: *293 examples: - default: *71 + default: *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73540,8 +73767,8 @@ paths: in: query schema: type: string - - *509 - *510 + - *511 - *17 - *19 responses: @@ -73559,11 +73786,11 @@ paths: type: integer runners: type: array - items: *78 + items: *79 examples: - default: *79 + default: *80 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73585,8 +73812,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -73594,9 +73821,9 @@ paths: application/json: schema: type: array - items: *296 + items: *297 examples: - default: *297 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73618,8 +73845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -73662,10 +73889,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *298 + '201': *299 '404': *6 '422': *7 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73693,16 +73920,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *509 - *510 + - *511 responses: '201': description: Response content: application/json: - schema: *81 + schema: *82 examples: - default: *299 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73730,16 +73957,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *509 - *510 + - *511 responses: '201': description: Response content: application/json: - schema: *81 + schema: *82 examples: - default: *300 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73761,17 +73988,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *509 - *510 - - *77 + - *511 + - *78 responses: '200': description: Response content: application/json: - schema: *78 + schema: *79 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73792,9 +74019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *509 - *510 - - *77 + - *511 + - *78 responses: '204': description: Response @@ -73820,11 +74047,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *509 - *510 - - *77 + - *511 + - *78 responses: - '200': *83 + '200': *84 '404': *6 x-github: githubCloudOnly: false @@ -73846,9 +74073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *509 - *510 - - *77 + - *511 + - *78 requestBody: required: true content: @@ -73872,7 +74099,7 @@ paths: - gpu - accelerated responses: - '200': *83 + '200': *84 '404': *6 '422': *7 x-github: @@ -73896,9 +74123,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *509 - *510 - - *77 + - *511 + - *78 requestBody: required: true content: @@ -73923,7 +74150,7 @@ paths: - gpu - accelerated responses: - '200': *83 + '200': *84 '404': *6 '422': *7 x-github: @@ -73947,11 +74174,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *509 - *510 - - *77 + - *511 + - *78 responses: - '200': *302 + '200': *303 '404': *6 x-github: githubCloudOnly: false @@ -73978,12 +74205,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *509 - *510 - - *77 - - *303 + - *511 + - *78 + - *304 responses: - '200': *83 + '200': *84 '404': *6 '422': *7 x-github: @@ -74009,9 +74236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *509 - *510 - - &545 + - *511 + - &546 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. @@ -74019,7 +74246,7 @@ paths: required: false schema: type: string - - &546 + - &547 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -74027,7 +74254,7 @@ paths: required: false schema: type: string - - &547 + - &548 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -74036,7 +74263,7 @@ paths: required: false schema: type: string - - &548 + - &549 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 @@ -74063,7 +74290,7 @@ paths: - pending - *17 - *19 - - &549 + - &550 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -74072,7 +74299,7 @@ paths: schema: type: string format: date-time - - &530 + - &531 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -74081,13 +74308,13 @@ paths: schema: type: boolean default: false - - &550 + - &551 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &551 + - &552 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -74110,7 +74337,7 @@ paths: type: integer workflow_runs: type: array - items: &531 + items: &532 title: Workflow Run description: An invocation of a workflow type: object @@ -74205,7 +74432,7 @@ paths: that triggered the run. type: array nullable: true - items: *239 + items: *240 created_at: type: string format: date-time @@ -74258,7 +74485,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &575 + properties: &576 id: type: string description: SHA for the commit @@ -74309,7 +74536,7 @@ paths: - name - email nullable: true - required: &576 + required: &577 - id - tree_id - message @@ -74317,8 +74544,8 @@ paths: - author - committer nullable: true - repository: *295 - head_repository: *295 + repository: *296 + head_repository: *296 head_repository_id: type: integer example: 5 @@ -74356,7 +74583,7 @@ paths: - workflow_url - pull_requests examples: - default: &552 + default: &553 value: total_count: 1 workflow_runs: @@ -74570,7 +74797,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: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74592,24 +74819,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *509 - *510 - - &532 + - *511 + - &533 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *530 + - *531 responses: '200': description: Response content: application/json: - schema: *531 + schema: *532 examples: - default: &535 + default: &536 value: id: 30433642 name: Build @@ -74850,9 +75077,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 responses: '204': description: Response @@ -74875,9 +75102,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 responses: '200': description: Response @@ -74996,15 +75223,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *509 - *510 - - *532 + - *511 + - *533 responses: '201': description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -75031,13 +75258,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *509 - *510 - - *532 + - *511 + - *533 - *17 - *19 - - *533 - - *112 + - *534 + - *113 responses: '200': description: Response @@ -75053,11 +75280,11 @@ paths: type: integer artifacts: type: array - items: *518 + items: *519 examples: - default: *534 + default: *535 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75079,25 +75306,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *509 - *510 - - *532 - - &536 + - *511 + - *533 + - &537 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *530 + - *531 responses: '200': description: Response content: application/json: - schema: *531 + schema: *532 examples: - default: *535 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75120,10 +75347,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *509 - *510 - - *532 - - *536 + - *511 + - *533 + - *537 - *17 - *19 responses: @@ -75141,9 +75368,9 @@ paths: type: integer jobs: type: array - items: *537 + items: *538 examples: - default: &538 + default: &539 value: total_count: 1 jobs: @@ -75232,7 +75459,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -75256,10 +75483,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *509 - *510 - - *532 - - *536 + - *511 + - *533 + - *537 responses: '302': description: Response @@ -75287,19 +75514,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 responses: '202': description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75335,12 +75562,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 - *17 - - *110 - *111 + - *112 responses: '200': description: Response @@ -75483,7 +75710,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: *47 + Link: *48 '404': *6 '422': *15 x-github: @@ -75508,9 +75735,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 requestBody: required: true content: @@ -75577,19 +75804,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 responses: '202': description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75612,9 +75839,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 - 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 @@ -75644,11 +75871,11 @@ paths: type: integer jobs: type: array - items: *537 + items: *538 examples: - default: *538 + default: *539 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75671,9 +75898,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *509 - *510 - - *532 + - *511 + - *533 responses: '302': description: Response @@ -75700,14 +75927,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *509 - *510 - - *532 + - *511 + - *533 responses: '204': description: Response '403': *29 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75729,9 +75956,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 responses: '200': description: Response @@ -75791,7 +76018,7 @@ paths: items: type: object properties: - type: &668 + type: &671 type: string description: The type of reviewer. enum: @@ -75801,7 +76028,7 @@ paths: reviewer: anyOf: - *4 - - *328 + - *329 required: - environment - wait_timer @@ -75876,9 +76103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 requestBody: required: true content: @@ -75925,12 +76152,12 @@ paths: application/json: schema: type: array - items: &655 + items: &658 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &941 + properties: &944 url: type: string format: uri @@ -76013,9 +76240,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 - required: &942 + properties: *230 + required: *231 + required: &945 - id - node_id - sha @@ -76031,7 +76258,7 @@ paths: - created_at - updated_at examples: - default: &656 + default: &659 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -76087,9 +76314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *509 - *510 - - *532 + - *511 + - *533 requestBody: required: false content: @@ -76110,7 +76337,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -76133,9 +76360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *509 - *510 - - *532 + - *511 + - *533 requestBody: required: false content: @@ -76156,7 +76383,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -76189,9 +76416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *509 - *510 - - *532 + - *511 + - *533 responses: '200': description: Response @@ -76328,8 +76555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -76347,11 +76574,11 @@ paths: type: integer secrets: type: array - items: *539 + items: *540 examples: - default: *540 + default: *541 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76374,16 +76601,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76405,17 +76632,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 responses: '200': description: Response content: application/json: - schema: *539 + schema: *540 examples: - default: &553 + default: &554 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -76441,9 +76668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 requestBody: required: true content: @@ -76474,7 +76701,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -76500,9 +76727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 responses: '204': description: Response @@ -76527,9 +76754,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *509 - *510 - - *314 + - *511 + - *315 - *19 responses: '200': @@ -76546,11 +76773,11 @@ paths: type: integer variables: type: array - items: *541 + items: *542 examples: - default: *542 + default: *543 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76571,8 +76798,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -76599,7 +76826,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -76624,17 +76851,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *509 - *510 - - *308 + - *511 + - *309 responses: '200': description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: &554 + default: &555 value: name: USERNAME value: octocat @@ -76660,9 +76887,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *509 - *510 - - *308 + - *511 + - *309 requestBody: required: true content: @@ -76704,9 +76931,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *509 - *510 - - *308 + - *511 + - *309 responses: '204': description: Response @@ -76731,8 +76958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -76750,7 +76977,7 @@ paths: type: integer workflows: type: array - items: &543 + items: &544 title: Workflow description: A GitHub Actions workflow type: object @@ -76834,7 +77061,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: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76857,9 +77084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *509 - *510 - - &544 + - *511 + - &545 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -76874,7 +77101,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *544 examples: default: value: @@ -76907,9 +77134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *509 - *510 - - *544 + - *511 + - *545 responses: '204': description: Response @@ -76934,9 +77161,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *509 - *510 - - *544 + - *511 + - *545 responses: '200': description: Response including the workflow run ID and URLs. @@ -77016,9 +77243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *509 - *510 - - *544 + - *511 + - *545 responses: '204': description: Response @@ -77045,19 +77272,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *509 - *510 - - *544 + - *511 - *545 - *546 - *547 - *548 + - *549 - *17 - *19 - - *549 - - *530 - *550 + - *531 - *551 + - *552 responses: '200': description: Response @@ -77073,11 +77300,11 @@ paths: type: integer workflow_runs: type: array - items: *531 + items: *532 examples: - default: *552 + default: *553 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77108,9 +77335,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *509 - *510 - - *544 + - *511 + - *545 responses: '200': description: Response @@ -77171,12 +77398,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *509 - *510 - - *112 + - *511 + - *113 - *17 - - *110 - *111 + - *112 - name: ref description: |- The Git reference for the activities you want to list. @@ -77317,7 +77544,7 @@ paths: type: User site_admin: false headers: - Link: *47 + Link: *48 '422': *7 x-github: githubCloudOnly: false @@ -77341,8 +77568,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -77360,11 +77587,11 @@ paths: type: integer secrets: type: array - items: *539 + items: *540 examples: - default: *540 + default: *541 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77386,9 +77613,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables parameters: - - *509 - *510 - - *314 + - *511 + - *315 - *19 responses: '200': @@ -77405,11 +77632,11 @@ paths: type: integer variables: type: array - items: *541 + items: *542 examples: - default: *542 + default: *543 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77432,8 +77659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -77451,11 +77678,11 @@ paths: type: integer secrets: type: array - items: *539 + items: *540 examples: - default: *540 + default: *541 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77478,16 +77705,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77509,17 +77736,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 responses: '200': description: Response content: application/json: - schema: *539 + schema: *540 examples: - default: *553 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77541,9 +77768,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 requestBody: required: true content: @@ -77574,7 +77801,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -77600,9 +77827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 responses: '204': description: Response @@ -77627,9 +77854,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables parameters: - - *509 - *510 - - *314 + - *511 + - *315 - *19 responses: '200': @@ -77646,11 +77873,11 @@ paths: type: integer variables: type: array - items: *541 + items: *542 examples: - default: *542 + default: *543 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77671,8 +77898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -77699,7 +77926,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -77724,17 +77951,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable parameters: - - *509 - *510 - - *308 + - *511 + - *309 responses: '200': description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: *554 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77755,9 +77982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable parameters: - - *509 - *510 - - *308 + - *511 + - *309 requestBody: required: true content: @@ -77799,9 +78026,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable parameters: - - *509 - *510 - - *308 + - *511 + - *309 responses: '204': description: Response @@ -77822,8 +78049,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -77835,9 +78062,9 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -77860,8 +78087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *509 - *510 + - *511 - name: assignee in: path required: true @@ -77897,8 +78124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -78008,11 +78235,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *509 - *510 + - *511 - *17 - - *110 - *111 + - *112 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -78050,7 +78277,7 @@ paths: initiator: type: string examples: - default: *555 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78070,8 +78297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -78079,7 +78306,7 @@ paths: application/json: schema: type: array - items: &556 + items: &557 title: Autolink reference description: An autolink reference. type: object @@ -78133,8 +78360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -78173,9 +78400,9 @@ paths: description: response content: application/json: - schema: *556 + schema: *557 examples: - default: &557 + default: &558 value: id: 1 key_prefix: TICKET- @@ -78206,9 +78433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *509 - *510 - - &558 + - *511 + - &559 name: autolink_id description: The unique identifier of the autolink. in: path @@ -78220,9 +78447,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *557 + default: *558 '404': *6 x-github: githubCloudOnly: false @@ -78242,9 +78469,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *509 - *510 - - *558 + - *511 + - *559 responses: '204': description: Response @@ -78268,8 +78495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response if Dependabot is enabled @@ -78317,8 +78544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -78339,8 +78566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -78360,8 +78587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *509 - *510 + - *511 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -78399,7 +78626,7 @@ paths: - url protected: type: boolean - protection: &560 + protection: &561 title: Branch Protection description: Branch Protection type: object @@ -78441,7 +78668,7 @@ paths: required: - contexts - checks - enforce_admins: &563 + enforce_admins: &564 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -78456,7 +78683,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &565 + required_pull_request_reviews: &566 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -78477,7 +78704,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *328 + items: *329 apps: description: The list of apps with review dismissal access. @@ -78506,7 +78733,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *328 + items: *329 apps: description: The list of apps allowed to bypass pull request requirements. @@ -78532,7 +78759,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &562 + restrictions: &563 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -78595,7 +78822,7 @@ paths: type: string teams: type: array - items: *328 + items: *329 apps: type: array items: @@ -78791,7 +79018,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -78809,9 +79036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *509 - *510 - - &561 + - *511 + - &562 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql). @@ -78825,14 +79052,14 @@ paths: description: Response content: application/json: - schema: &571 + schema: &572 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &625 + commit: &628 title: Commit description: Commit type: object @@ -78866,7 +79093,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &559 + properties: &560 name: type: string example: '"Chris Wanstrath"' @@ -78882,7 +79109,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *559 + properties: *560 nullable: true message: type: string @@ -78903,7 +79130,7 @@ paths: required: - sha - url - verification: &686 + verification: &689 title: Verification type: object properties: @@ -78937,12 +79164,12 @@ paths: nullable: true oneOf: - *4 - - *306 + - *307 committer: nullable: true oneOf: - *4 - - *306 + - *307 parents: type: array items: @@ -78973,7 +79200,7 @@ paths: type: integer files: type: array - items: &638 + items: &641 title: Diff Entry description: Diff Entry type: object @@ -79057,7 +79284,7 @@ paths: - self protected: type: boolean - protection: *560 + protection: *561 protection_url: type: string format: uri @@ -79164,7 +79391,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *515 + '301': *516 '404': *6 x-github: githubCloudOnly: false @@ -79186,15 +79413,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response content: application/json: - schema: *560 + schema: *561 examples: default: value: @@ -79388,9 +79615,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: true content: @@ -79645,7 +79872,7 @@ paths: url: type: string format: uri - required_status_checks: &568 + required_status_checks: &569 title: Status Check Policy description: Status Check Policy type: object @@ -79721,7 +79948,7 @@ paths: items: *4 teams: type: array - items: *328 + items: *329 apps: type: array items: *5 @@ -79739,7 +79966,7 @@ paths: items: *4 teams: type: array - items: *328 + items: *329 apps: type: array items: *5 @@ -79797,7 +80024,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *562 + restrictions: *563 required_conversation_resolution: type: object properties: @@ -79909,9 +80136,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '204': description: Response @@ -79936,17 +80163,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: &564 + default: &565 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -79968,17 +80195,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *564 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79997,9 +80224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '204': description: Response @@ -80024,17 +80251,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response content: application/json: - schema: *565 + schema: *566 examples: - default: &566 + default: &567 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -80130,9 +80357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: false content: @@ -80230,9 +80457,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *566 examples: - default: *566 + default: *567 '422': *15 x-github: githubCloudOnly: false @@ -80253,9 +80480,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '204': description: Response @@ -80282,17 +80509,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: &567 + default: &568 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -80315,17 +80542,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *567 + default: *568 '404': *6 x-github: githubCloudOnly: false @@ -80345,9 +80572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '204': description: Response @@ -80372,17 +80599,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response content: application/json: - schema: *568 + schema: *569 examples: - default: &569 + default: &570 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -80408,9 +80635,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: false content: @@ -80462,9 +80689,9 @@ paths: description: Response content: application/json: - schema: *568 + schema: *569 examples: - default: *569 + default: *570 '404': *6 '422': *15 x-github: @@ -80486,9 +80713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '204': description: Response @@ -80512,9 +80739,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response @@ -80548,9 +80775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: false content: @@ -80617,9 +80844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: false content: @@ -80683,9 +80910,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: content: application/json: @@ -80751,15 +80978,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response content: application/json: - schema: *562 + schema: *563 examples: default: value: @@ -80850,9 +81077,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '204': description: Response @@ -80875,9 +81102,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response @@ -80887,7 +81114,7 @@ paths: type: array items: *5 examples: - default: &570 + default: &571 value: - id: 1 slug: octoapp @@ -80944,9 +81171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: true content: @@ -80980,7 +81207,7 @@ paths: type: array items: *5 examples: - default: *570 + default: *571 '422': *15 x-github: githubCloudOnly: false @@ -81001,9 +81228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: true content: @@ -81037,7 +81264,7 @@ paths: type: array items: *5 examples: - default: *570 + default: *571 '422': *15 x-github: githubCloudOnly: false @@ -81058,9 +81285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: true content: @@ -81094,7 +81321,7 @@ paths: type: array items: *5 examples: - default: *570 + default: *571 '422': *15 x-github: githubCloudOnly: false @@ -81116,9 +81343,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response @@ -81126,9 +81353,9 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - default: *418 + default: *419 '404': *6 x-github: githubCloudOnly: false @@ -81148,9 +81375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: false content: @@ -81186,9 +81413,9 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - default: *418 + default: *419 '422': *15 x-github: githubCloudOnly: false @@ -81209,9 +81436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: false content: @@ -81247,9 +81474,9 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - default: *418 + default: *419 '422': *15 x-github: githubCloudOnly: false @@ -81270,9 +81497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: content: application/json: @@ -81307,9 +81534,9 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - default: *418 + default: *419 '422': *15 x-github: githubCloudOnly: false @@ -81331,9 +81558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *509 - *510 - - *561 + - *511 + - *562 responses: '200': description: Response @@ -81343,7 +81570,7 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 '404': *6 x-github: githubCloudOnly: false @@ -81367,9 +81594,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: true content: @@ -81402,7 +81629,7 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 '422': *15 x-github: githubCloudOnly: false @@ -81427,9 +81654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: true content: @@ -81462,7 +81689,7 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 '422': *15 x-github: githubCloudOnly: false @@ -81487,9 +81714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: true content: @@ -81522,7 +81749,7 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 '422': *15 x-github: githubCloudOnly: false @@ -81549,9 +81776,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *509 - *510 - - *561 + - *511 + - *562 requestBody: required: true content: @@ -81573,7 +81800,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: default: value: @@ -81687,12 +81914,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *509 - *510 - - *105 + - *511 - *106 - *107 - *108 + - *109 - *17 - *19 responses: @@ -81702,11 +81929,11 @@ paths: application/json: schema: type: array - items: *323 + items: *324 examples: - default: *324 + default: *325 '404': *6 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": get: summary: Get a repository push bypass request @@ -81724,8 +81951,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *509 - *510 + - *511 - name: bypass_request_number in: path required: true @@ -81739,7 +81966,7 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: default: value: @@ -81777,7 +82004,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for a repository @@ -81798,12 +82025,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *509 - *510 - - *105 + - *511 - *106 - *107 - *108 + - *109 - *17 - *19 responses: @@ -81813,12 +82040,12 @@ paths: application/json: schema: type: array - items: *326 + items: *327 examples: - default: *327 + default: *328 '404': *6 '403': *29 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/bypass-requests/secret-scanning/{bypass_request_number}": get: summary: Get a bypass request for secret scanning @@ -81839,8 +82066,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *509 - *510 + - *511 - name: bypass_request_number in: path required: true @@ -81852,7 +82079,7 @@ paths: description: A single bypass request. content: application/json: - schema: *326 + schema: *327 examples: default: value: @@ -81890,7 +82117,7 @@ paths: html_url: https://github.com/octo-org/smile/exemptions/1 '404': *6 '403': *29 - '500': *40 + '500': *41 patch: summary: Review a bypass request for secret scanning description: |- @@ -81910,8 +82137,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *509 - *510 + - *511 - name: bypass_request_number in: path required: true @@ -81961,7 +82188,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/bypass-responses/secret-scanning/{bypass_response_id}": delete: summary: Dismiss a response on a bypass request for secret scanning @@ -81982,8 +82209,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *509 - *510 + - *511 - name: bypass_response_id in: path required: true @@ -81996,7 +82223,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/check-runs": post: summary: Create a check run @@ -82016,8 +82243,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -82296,7 +82523,7 @@ paths: description: Response content: application/json: - schema: &572 + schema: &573 title: CheckRun description: A check performed on the code of a given code change type: object @@ -82407,16 +82634,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *239 - deployment: &934 + items: *240 + deployment: &937 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -82483,8 +82710,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 required: - id - node_id @@ -82696,9 +82923,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *509 - *510 - - &573 + - *511 + - &574 name: check_run_id description: The unique identifier of the check run. in: path @@ -82710,9 +82937,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *573 examples: - default: &574 + default: &575 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -82812,9 +83039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *509 - *510 - - *573 + - *511 + - *574 requestBody: required: true content: @@ -83054,9 +83281,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *573 examples: - default: *574 + default: *575 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83076,9 +83303,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *509 - *510 - - *573 + - *511 + - *574 - *17 - *19 responses: @@ -83153,7 +83380,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: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83173,15 +83400,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *509 - *510 - - *573 + - *511 + - *574 responses: '201': description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -83219,8 +83446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -83242,7 +83469,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &577 + schema: &578 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -83306,7 +83533,7 @@ paths: nullable: true pull_requests: type: array - items: *239 + items: *240 nullable: true app: title: GitHub app @@ -83317,9 +83544,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 - repository: *295 + properties: *230 + required: *231 + repository: *296 created_at: type: string format: date-time @@ -83328,12 +83555,12 @@ paths: type: string format: date-time nullable: true - head_commit: &967 + head_commit: &970 title: Simple Commit description: A commit. type: object - properties: *575 - required: *576 + properties: *576 + required: *577 latest_check_runs_count: type: integer check_runs_url: @@ -83361,7 +83588,7 @@ paths: - check_runs_url - pull_requests examples: - default: &578 + default: &579 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -83652,9 +83879,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *577 + schema: *578 examples: - default: *578 + default: *579 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83673,8 +83900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -83735,7 +83962,7 @@ paths: required: - app_id - setting - repository: *295 + repository: *296 examples: default: value: @@ -83983,9 +84210,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *509 - *510 - - &579 + - *511 + - &580 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -83997,9 +84224,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: - default: *578 + default: *579 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84022,17 +84249,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *509 - *510 - - *579 - - &631 + - *511 + - *580 + - &634 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &632 + - &635 name: status description: Returns check runs with the specified `status`. in: query @@ -84071,9 +84298,9 @@ paths: type: integer check_runs: type: array - items: *572 + items: *573 examples: - default: &633 + default: &636 value: total_count: 1 check_runs: @@ -84155,7 +84382,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84175,15 +84402,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *509 - *510 - - *579 + - *511 + - *580 responses: '201': description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -84192,6 +84419,461 @@ paths: enabledForGitHubApps: true category: checks subcategory: suites + "/repos/{owner}/{repo}/code-quality/findings": + get: + summary: List code quality findings for a repository + description: |- + Lists code quality findings for a repository. + + OAuth 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/list-findings-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository + parameters: + - *510 + - *511 + - *17 + - *113 + - *111 + - *112 + - 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: &581 + 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': &582 + description: Response if the user is not authorized to access Code quality + for this repository. + content: + application/json: + schema: *3 + '404': *6 + '503': *204 + 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. + + OAuth 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: + - *510 + - *511 + - 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: *581 + 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 + Sometimes 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': *582 + '404': *6 + '503': *204 + 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. + + OAuth 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: + - *510 + - *511 + 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. + nullable: true + type: string + enum: + - standard + - labeled + runner_label: + description: Runner label to be used if the runner type is labeled. + nullable: true + type: string + example: code-scanning + updated_at: + description: Timestamp of latest configuration update. + nullable: true + type: string + format: date-time + example: '2023-12-06T14:20:20.000Z' + schedule: + description: The frequency of the periodic analysis. + nullable: true + type: string + enum: + - weekly + examples: + default: + value: + state: configured + languages: + - javascript-typescript + - python + runner_type: standard + runner_label: + updated_at: '2023-01-01T00:00:00Z' + schedule: weekly + '403': *582 + '404': *6 + '503': *204 + 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. + + OAuth 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: + - *510 + - *511 + 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: + nullable: true + description: Runner label to be used if the runner type is labeled. + type: string + example: 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: *307 + examples: + default: + value: + '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. + You 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: *3 + '404': *6 + '409': + description: Response if there is already a code quality setup configuration + update in progress + content: + application/json: + schema: *3 + '422': + description: Response if the configuration change cannot be made + content: + application/json: + schema: *3 + '503': *204 + 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 @@ -84210,30 +84892,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *509 - *510 - - *332 + - *511 - *333 + - *334 - *19 - *17 - - &595 + - &598 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: *580 - - &596 + schema: *583 + - &599 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *112 - - *110 + - *113 - *111 + - *112 - name: sort description: The property by which to sort the results. in: query @@ -84249,13 +84931,13 @@ paths: be returned. in: query required: false - schema: *334 + schema: *335 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *581 + schema: *584 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -84274,14 +84956,14 @@ paths: items: type: object properties: - number: *134 - created_at: *141 - updated_at: *142 - url: *139 - html_url: *140 - instances_url: *582 - state: *115 - fixed_at: *144 + number: *135 + created_at: *142 + updated_at: *143 + url: *140 + html_url: *141 + instances_url: *585 + state: *116 + fixed_at: *145 dismissed_by: title: Simple User description: A GitHub user. @@ -84289,12 +84971,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *143 - dismissed_reason: *583 - dismissed_comment: *584 - rule: *585 - tool: *586 - most_recent_instance: *587 + dismissed_at: *144 + dismissed_reason: *586 + dismissed_comment: *587 + rule: *588 + tool: *589 + most_recent_instance: *590 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -84419,15 +85101,15 @@ paths: end_column: 18 classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances - '304': *37 - '403': &588 + '304': *38 + '403': &591 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84447,9 +85129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *509 - *510 - - &589 + - *511 + - &592 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -84457,23 +85139,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *134 + schema: *135 responses: '200': description: Response content: application/json: - schema: &590 + schema: &593 type: object properties: - number: *134 - created_at: *141 - updated_at: *142 - url: *139 - html_url: *140 - instances_url: *582 - state: *115 - fixed_at: *144 + number: *135 + created_at: *142 + updated_at: *143 + url: *140 + html_url: *141 + instances_url: *585 + state: *116 + fixed_at: *145 dismissed_by: title: Simple User description: A GitHub user. @@ -84481,9 +85163,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *143 - dismissed_reason: *583 - dismissed_comment: *584 + dismissed_at: *144 + dismissed_reason: *586 + dismissed_comment: *587 rule: type: object properties: @@ -84537,8 +85219,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *586 - most_recent_instance: *587 + tool: *589 + most_recent_instance: *590 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -84636,10 +85318,10 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '304': *37 - '403': *588 + '304': *38 + '403': *591 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84657,9 +85339,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *509 - *510 - - *589 + - *511 + - *592 requestBody: required: true content: @@ -84674,8 +85356,8 @@ paths: enum: - open - dismissed - dismissed_reason: *583 - dismissed_comment: *584 + dismissed_reason: *586 + dismissed_comment: *587 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -84703,7 +85385,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: default: value: @@ -84779,14 +85461,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &594 + '403': &597 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': *203 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -84806,15 +85488,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *509 - *510 - - *589 + - *511 + - *592 responses: '200': description: Response content: application/json: - schema: &591 + schema: &594 type: object properties: status: @@ -84840,13 +85522,13 @@ paths: - description - started_at examples: - default: &592 + default: &595 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &593 + '400': &596 description: Bad Request content: application/json: @@ -84857,9 +85539,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': *588 + '403': *591 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84882,29 +85564,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *509 - *510 - - *589 + - *511 + - *592 responses: '200': description: OK content: application/json: - schema: *591 + schema: *594 examples: - default: *592 + default: *595 '202': description: Accepted content: application/json: - schema: *591 + schema: *594 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *593 + '400': *596 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -84914,7 +85596,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84936,9 +85618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *509 - *510 - - *589 + - *511 + - *592 requestBody: required: false content: @@ -84983,12 +85665,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *593 - '403': *594 + '400': *596 + '403': *597 '404': *6 '422': description: Unprocessable Entity - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85008,13 +85690,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *509 - *510 - - *589 + - *511 + - *592 - *19 - *17 - - *595 - - *596 + - *598 + - *599 responses: '200': description: Response @@ -85025,10 +85707,10 @@ paths: items: type: object properties: - ref: *580 - analysis_key: *597 - environment: *598 - category: *599 + ref: *583 + analysis_key: *600 + environment: *601 + category: *602 state: type: string description: State of a code scanning alert instance. @@ -85043,7 +85725,7 @@ paths: properties: text: type: string - location: *600 + location: *603 html_url: type: string classifications: @@ -85051,7 +85733,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: *601 + items: *604 examples: default: value: @@ -85088,9 +85770,9 @@ paths: end_column: 50 classifications: - source - '403': *588 + '403': *591 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85122,29 +85804,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *509 - *510 - - *332 + - *511 - *333 + - *334 - *19 - *17 - - *596 + - *599 - 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: *580 + schema: *583 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &602 + schema: &605 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *112 + - *113 - name: sort description: The property by which to sort the results. in: query @@ -85161,23 +85843,23 @@ paths: application/json: schema: type: array - items: &603 + items: &606 type: object properties: - ref: *580 - commit_sha: &611 + ref: *583 + commit_sha: &614 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: *597 + analysis_key: *600 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *599 + category: *602 error: type: string example: error reading field xyz @@ -85201,8 +85883,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *602 - tool: *586 + sarif_id: *605 + tool: *589 deletable: type: boolean warning: @@ -85263,9 +85945,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *588 + '403': *591 '404': *6 - '503': *203 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -85299,8 +85981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *509 - *510 + - *511 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -85313,7 +85995,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *606 examples: response: summary: application/json response @@ -85367,14 +86049,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *588 + '403': *591 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *203 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -85454,8 +86136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *509 - *510 + - *511 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -85508,9 +86190,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': *594 + '403': *597 '404': *6 - '503': *203 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -85530,8 +86212,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -85539,7 +86221,7 @@ paths: application/json: schema: type: array - items: &604 + items: &607 title: CodeQL Database description: A CodeQL database. type: object @@ -85650,9 +86332,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': *588 + '403': *591 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85679,8 +86361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *509 - *510 + - *511 - name: language in: path description: The language of the CodeQL database. @@ -85692,7 +86374,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *607 examples: default: value: @@ -85724,11 +86406,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': &642 + '302': &645 description: Found - '403': *588 + '403': *591 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85748,8 +86430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *509 - *510 + - *511 - name: language in: path description: The language of the CodeQL database. @@ -85759,9 +86441,9 @@ paths: responses: '204': description: Response - '403': *594 + '403': *597 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85787,8 +86469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -85797,7 +86479,7 @@ paths: type: object additionalProperties: false properties: - language: &605 + language: &608 type: string description: The language targeted by the CodeQL query enum: @@ -85877,7 +86559,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &609 + schema: &612 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -85885,9 +86567,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *122 + controller_repo: *123 actor: *4 - query_language: *605 + query_language: *608 query_pack_url: type: string description: The download url for the query pack. @@ -85934,7 +86616,7 @@ paths: items: type: object properties: - repository: &606 + repository: &609 title: Repository Identifier description: Repository Identifier type: object @@ -85970,7 +86652,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &610 + analysis_status: &613 type: string description: The new status of the CodeQL variant analysis repository task. @@ -86002,7 +86684,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &607 + access_mismatch_repos: &610 type: object properties: repository_count: @@ -86016,7 +86698,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: *606 + items: *609 required: - repository_count - repositories @@ -86038,8 +86720,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *607 - over_limit_repos: *607 + no_codeql_db_repos: *610 + over_limit_repos: *610 required: - access_mismatch_repos - not_found_repos @@ -86055,7 +86737,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &608 + value: &611 summary: Default response value: id: 1 @@ -86201,17 +86883,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *608 + value: *611 repository_lists: summary: Response for a successful variant analysis submission - value: *608 + value: *611 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86232,8 +86914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *509 - *510 + - *511 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -86245,11 +86927,11 @@ paths: description: Response content: application/json: - schema: *609 + schema: *612 examples: - default: *608 + default: *611 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86270,7 +86952,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *509 + - *510 - name: repo in: path description: The name of the controller repository. @@ -86304,8 +86986,8 @@ paths: schema: type: object properties: - repository: *122 - analysis_status: *610 + repository: *123 + analysis_status: *613 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -86409,7 +87091,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86430,8 +87112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -86514,9 +87196,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *588 + '403': *591 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86535,8 +87217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -86603,7 +87285,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -86628,7 +87310,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *594 + '403': *597 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -86642,7 +87324,7 @@ paths: content: application/json: schema: *3 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86699,8 +87381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -86708,7 +87390,7 @@ paths: schema: type: object properties: - commit_sha: *611 + commit_sha: *614 ref: type: string description: |- @@ -86766,7 +87448,7 @@ paths: schema: type: object properties: - id: *602 + id: *605 url: type: string description: The REST API URL for checking the status of the upload. @@ -86780,11 +87462,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': *594 + '403': *597 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *203 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -86803,8 +87485,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *509 - *510 + - *511 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -86850,10 +87532,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': *588 + '403': *591 '404': description: Not Found if the sarif id does not match any upload - '503': *203 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -86875,8 +87557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -86900,7 +87582,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *116 + configuration: *117 examples: default: value: @@ -86932,8 +87614,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': *130 - '304': *37 + '204': *129 + '304': *38 '403': *29 '404': *6 x-github: @@ -86957,8 +87639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *509 - *510 + - *511 - 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 @@ -87078,8 +87760,8 @@ paths: parameters: - *17 - *19 - - *509 - *510 + - *511 responses: '200': description: Response @@ -87095,7 +87777,7 @@ paths: type: integer codespaces: type: array - items: *408 + items: *409 examples: default: value: @@ -87371,7 +88053,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': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -87393,8 +88075,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -87457,22 +88139,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *408 + schema: *409 examples: - default: *612 + default: *615 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *408 + schema: *409 examples: - default: *612 + default: *615 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87496,8 +88178,8 @@ paths: parameters: - *17 - *19 - - *509 - *510 + - *511 responses: '200': description: Response @@ -87537,7 +88219,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *40 + '500': *41 '400': *14 '401': *25 '403': *29 @@ -87561,8 +88243,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *509 - *510 + - *511 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -87597,14 +88279,14 @@ paths: type: integer machines: type: array - items: &876 + items: &879 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *613 - required: *614 + properties: *616 + required: *617 examples: - default: &877 + default: &880 value: total_count: 2 machines: @@ -87620,8 +88302,8 @@ paths: storage_in_bytes: 68719476736 memory_in_bytes: 34359738368 cpus: 8 - '304': *37 - '500': *40 + '304': *38 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -87644,8 +88326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *509 - *510 + - *511 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -87729,8 +88411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *509 - *510 + - *511 - 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 @@ -87775,7 +88457,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87796,8 +88478,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -87815,7 +88497,7 @@ paths: type: integer secrets: type: array - items: &618 + items: &621 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -87835,9 +88517,9 @@ paths: - created_at - updated_at examples: - default: *615 + default: *618 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87858,16 +88540,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *616 + schema: *619 examples: - default: *617 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87887,17 +88569,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 responses: '200': description: Response content: application/json: - schema: *618 + schema: *621 examples: - default: *619 + default: *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87917,9 +88599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 requestBody: required: true content: @@ -87947,7 +88629,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -87971,9 +88653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 responses: '204': description: Response @@ -88001,8 +88683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *509 - *510 + - *511 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -88044,7 +88726,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &620 + properties: &623 login: type: string example: octocat @@ -88137,7 +88819,7 @@ paths: user_view_type: type: string example: public - required: &621 + required: &624 - avatar_url - events_url - followers_url @@ -88186,7 +88868,7 @@ paths: admin: false role_name: write headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -88211,9 +88893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *509 - *510 - - *151 + - *511 + - *152 responses: '204': description: Response if user is a collaborator @@ -88259,9 +88941,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *509 - *510 - - *151 + - *511 + - *152 requestBody: required: false content: @@ -88287,7 +88969,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &699 + schema: &702 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -88298,7 +88980,7 @@ paths: example: 42 type: integer format: int64 - repository: *295 + repository: *296 invitee: title: Simple User description: A GitHub user. @@ -88476,7 +89158,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *270 + schema: *271 '403': *29 x-github: triggersNotification: true @@ -88516,9 +89198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *509 - *510 - - *151 + - *511 + - *152 responses: '204': description: No Content when collaborator was removed from the repository. @@ -88549,9 +89231,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *509 - *510 - - *151 + - *511 + - *152 responses: '200': description: if user has admin permissions @@ -88571,8 +89253,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *620 - required: *621 + properties: *623 + required: *624 nullable: true required: - permission @@ -88627,8 +89309,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -88638,7 +89320,7 @@ paths: application/json: schema: type: array - items: &622 + items: &625 title: Commit Comment description: Commit Comment type: object @@ -88679,8 +89361,8 @@ paths: updated_at: type: string format: date-time - author_association: *231 - reactions: *232 + author_association: *232 + reactions: *233 required: - url - html_url @@ -88696,7 +89378,7 @@ paths: - created_at - updated_at examples: - default: &627 + default: &630 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -88730,7 +89412,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88755,17 +89437,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 responses: '200': description: Response content: application/json: - schema: *622 + schema: *625 examples: - default: &628 + default: &631 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -88822,9 +89504,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 requestBody: required: true content: @@ -88846,7 +89528,7 @@ paths: description: Response content: application/json: - schema: *622 + schema: *625 examples: default: value: @@ -88897,9 +89579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 responses: '204': description: Response @@ -88920,9 +89602,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -88948,7 +89630,7 @@ paths: application/json: schema: type: array - items: &623 + items: &626 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -88991,7 +89673,7 @@ paths: - content - created_at examples: - default: &704 + default: &706 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -89017,7 +89699,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -89036,9 +89718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 requestBody: required: true content: @@ -89070,9 +89752,9 @@ paths: description: Reaction exists content: application/json: - schema: *623 + schema: *626 examples: - default: &624 + default: &627 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -89101,9 +89783,9 @@ paths: description: Reaction created content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 '422': *15 x-github: githubCloudOnly: false @@ -89125,10 +89807,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *509 - *510 - - *250 - - &705 + - *511 + - *251 + - &707 name: reaction_id description: The unique identifier of the reaction. in: path @@ -89183,8 +89865,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *509 - *510 + - *511 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -89240,9 +89922,9 @@ paths: application/json: schema: type: array - items: *625 + items: *628 examples: - default: &774 + default: &777 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -89312,11 +89994,11 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *47 - '500': *40 + Link: *48 + '500': *41 '400': *14 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89336,9 +90018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *509 - *510 - - &626 + - *511 + - &629 name: commit_sha description: The SHA of the commit. in: path @@ -89385,7 +90067,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89410,9 +90092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *509 - *510 - - *626 + - *511 + - *629 - *17 - *19 responses: @@ -89422,11 +90104,11 @@ paths: application/json: schema: type: array - items: *622 + items: *625 examples: - default: *627 + default: *630 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89452,9 +90134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *509 - *510 - - *626 + - *511 + - *629 requestBody: required: true content: @@ -89489,9 +90171,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *625 examples: - default: *628 + default: *631 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -89519,9 +90201,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *509 - *510 - - *626 + - *511 + - *629 - *17 - *19 responses: @@ -89531,9 +90213,9 @@ paths: application/json: schema: type: array - items: *629 + items: *632 examples: - default: &766 + default: &768 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -90012,8 +90694,8 @@ paths: auto_merge: draft: false headers: - Link: *47 - '409': *121 + Link: *48 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90070,11 +90752,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *509 - *510 + - *511 - *19 - *17 - - &630 + - &633 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)" @@ -90089,9 +90771,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *628 examples: - default: &751 + default: &753 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -90179,7 +90861,7 @@ paths: schema: type: string examples: - default: &639 + default: &642 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -90192,7 +90874,7 @@ paths: schema: type: string examples: - default: &640 + default: &643 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -90218,9 +90900,9 @@ paths: value: ac3282a2725be3b1d4979169a7a311c89066af1c '422': *15 '404': *6 - '500': *40 - '503': *203 - '409': *121 + '500': *41 + '503': *204 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90245,11 +90927,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *509 - *510 - - *630 - - *631 - - *632 + - *511 + - *633 + - *634 + - *635 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -90283,11 +90965,11 @@ paths: type: integer check_runs: type: array - items: *572 + items: *573 examples: - default: *633 + default: *636 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90310,9 +90992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *509 - *510 - - *630 + - *511 + - *633 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -90320,7 +91002,7 @@ paths: schema: type: integer example: 1 - - *631 + - *634 - *17 - *19 responses: @@ -90338,7 +91020,7 @@ paths: type: integer check_suites: type: array - items: *577 + items: *578 examples: default: value: @@ -90513,7 +91195,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: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90538,9 +91220,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *509 - *510 - - *630 + - *511 + - *633 - *17 - *19 responses: @@ -90607,7 +91289,7 @@ paths: type: string total_count: type: integer - repository: *295 + repository: *296 commit_url: type: string format: uri @@ -90738,9 +91420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *509 - *510 - - *630 + - *511 + - *633 - *17 - *19 responses: @@ -90750,7 +91432,7 @@ paths: application/json: schema: type: array - items: &829 + items: &832 title: Status description: The status of a commit. type: object @@ -90830,8 +91512,8 @@ paths: type: User site_admin: false headers: - Link: *47 - '301': *515 + Link: *48 + '301': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90859,8 +91541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -90889,20 +91571,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *634 - required: *635 + properties: *637 + required: *638 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &636 + properties: &639 url: type: string format: uri html_url: type: string format: uri - required: &637 + required: &640 - url - html_url nullable: true @@ -90910,32 +91592,32 @@ paths: title: License Simple description: License Simple type: object - properties: *237 - required: *238 + properties: *238 + required: *239 nullable: true contributing: title: Community Health File type: object - properties: *636 - required: *637 + properties: *639 + required: *640 nullable: true readme: title: Community Health File type: object - properties: *636 - required: *637 + properties: *639 + required: *640 nullable: true issue_template: title: Community Health File type: object - properties: *636 - required: *637 + properties: *639 + required: *640 nullable: true pull_request_template: title: Community Health File type: object - properties: *636 - required: *637 + properties: *639 + required: *640 nullable: true required: - code_of_conduct @@ -91062,8 +91744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *509 - *510 + - *511 - *19 - *17 - name: basehead @@ -91106,8 +91788,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *625 - merge_base_commit: *625 + base_commit: *628 + merge_base_commit: *628 status: type: string enum: @@ -91127,10 +91809,10 @@ paths: example: 6 commits: type: array - items: *625 + items: *628 files: type: array - items: *638 + items: *641 required: - url - html_url @@ -91376,15 +92058,15 @@ paths: schema: type: string examples: - default: *639 + default: *642 application/vnd.github.patch: schema: type: string examples: - default: *640 + default: *643 '404': *6 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91426,8 +92108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *509 - *510 + - *511 - name: path description: path parameter in: path @@ -91587,7 +92269,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &641 + response-if-content-is-a-file-github-object: &644 summary: Response if content is a file value: type: file @@ -91719,7 +92401,7 @@ paths: - size - type - url - - &779 + - &782 title: Content File description: Content File type: object @@ -91920,7 +92602,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *641 + response-if-content-is-a-file: *644 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -91989,8 +92671,8 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *642 - '304': *37 + '302': *645 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92012,8 +92694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *509 - *510 + - *511 - name: path description: path parameter in: path @@ -92106,7 +92788,7 @@ paths: description: Response content: application/json: - schema: &643 + schema: &646 title: File Commit description: File Commit type: object @@ -92258,7 +92940,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *646 examples: example-for-creating-a-file: value: @@ -92312,7 +92994,7 @@ paths: schema: oneOf: - *3 - - &681 + - &684 description: Repository rule violation was detected type: object properties: @@ -92333,7 +93015,7 @@ paths: items: type: object properties: - placeholder_id: &821 + placeholder_id: &824 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -92365,8 +93047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *509 - *510 + - *511 - name: path description: path parameter in: path @@ -92427,7 +93109,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *646 examples: default: value: @@ -92461,8 +93143,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *121 - '503': *203 + '409': *122 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92482,8 +93164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *509 - *510 + - *511 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -92583,7 +93265,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *47 + Link: *48 '204': description: Response if repository is empty '403': *29 @@ -92612,8 +93294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -92723,7 +93405,7 @@ paths: custom_allowlist: - sentry.io - https://api.example.com - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -92745,27 +93427,27 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *509 - *510 - - *353 + - *511 - *354 - *355 - *356 - *357 + - *358 - 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 - - *358 - - *644 - *359 + - *647 - *360 - *361 - - *112 - - *110 + - *362 + - *113 - *111 + - *112 - *17 responses: '200': @@ -92774,11 +93456,11 @@ paths: application/json: schema: type: array - items: &648 + items: &651 type: object description: A Dependabot alert. properties: - number: *134 + number: *135 state: type: string description: The state of the Dependabot alert. @@ -92793,7 +93475,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *135 + package: *136 manifest_path: type: string description: The full path to the dependency manifest file, @@ -92821,13 +93503,13 @@ paths: - direct - transitive - inconclusive - security_advisory: *645 - security_vulnerability: *138 - url: *139 - html_url: *140 - created_at: *141 - updated_at: *142 - dismissed_at: *143 + security_advisory: *648 + security_vulnerability: *139 + url: *140 + html_url: *141 + created_at: *142 + updated_at: *143 + dismissed_at: *144 dismissed_by: title: Simple User description: A GitHub user. @@ -92851,9 +93533,9 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *144 - auto_dismissed_at: *646 - dismissal_request: *647 + fixed_at: *145 + auto_dismissed_at: *649 + dismissal_request: *650 assignees: type: array description: The users assigned to this alert. @@ -93084,7 +93766,7 @@ paths: dismissed_comment: fixed_at: assignees: [] - '304': *37 + '304': *38 '400': *14 '403': *29 '404': *6 @@ -93108,9 +93790,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *509 - *510 - - &649 + - *511 + - &652 name: alert_number in: path description: |- @@ -93119,13 +93801,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *134 + schema: *135 responses: '200': description: Response content: application/json: - schema: *648 + schema: *651 examples: default: value: @@ -93235,7 +93917,7 @@ paths: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false - '304': *37 + '304': *38 '403': *29 '404': *6 x-github: @@ -93257,9 +93939,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *509 - *510 - - *649 + - *511 + - *652 requestBody: required: true content: @@ -93332,7 +94014,7 @@ paths: description: Response content: application/json: - schema: *648 + schema: *651 examples: default: value: @@ -93439,7 +94121,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *121 + '409': *122 '422': *7 x-github: githubCloudOnly: false @@ -93462,8 +94144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -93481,7 +94163,7 @@ paths: type: integer secrets: type: array - items: &652 + items: &655 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -93512,7 +94194,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93534,16 +94216,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *650 + schema: *653 examples: - default: *651 + default: *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93563,15 +94245,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 responses: '200': description: Response content: application/json: - schema: *652 + schema: *655 examples: default: value: @@ -93597,9 +94279,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 requestBody: required: true content: @@ -93627,7 +94309,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -93651,9 +94333,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *509 - *510 - - *305 + - *511 + - *306 responses: '204': description: Response @@ -93675,8 +94357,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *509 - *510 + - *511 - 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 @@ -93812,7 +94494,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *47 + Link: *48 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -93821,8 +94503,8 @@ paths: application/json: schema: *3 '400': *14 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: false category: dependency-graph @@ -93839,8 +94521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -94056,7 +94738,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *47 + Link: *48 '404': *6 '403': *29 x-github: @@ -94078,8 +94760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *509 - *510 + - *511 - name: sbom_uuid in: path required: true @@ -94090,7 +94772,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *653 + Location: *656 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -94111,8 +94793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *509 - *510 + - *511 responses: '201': description: Response @@ -94150,8 +94832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -94226,7 +94908,7 @@ paths: - version - url additionalProperties: false - metadata: &654 + metadata: &657 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -94259,7 +94941,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *654 + metadata: *657 resolved: type: object description: A collection of resolved package dependencies. @@ -94272,7 +94954,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *654 + metadata: *657 relationship: type: string description: A notation of whether a dependency is requested @@ -94401,8 +95083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *509 - *510 + - *511 - name: sha description: The SHA recorded at creation time. in: query @@ -94442,11 +95124,11 @@ paths: application/json: schema: type: array - items: *655 + items: *658 examples: - default: *656 + default: *659 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94510,8 +95192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -94592,7 +95274,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *658 examples: simple-example: summary: Simple example @@ -94665,9 +95347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *509 - *510 - - &657 + - *511 + - &660 name: deployment_id description: deployment_id parameter in: path @@ -94679,7 +95361,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *658 examples: default: value: @@ -94744,9 +95426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *509 - *510 - - *657 + - *511 + - *660 responses: '204': description: Response @@ -94768,9 +95450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *509 - *510 - - *657 + - *511 + - *660 - *17 - *19 responses: @@ -94780,7 +95462,7 @@ paths: application/json: schema: type: array - items: &658 + items: &661 title: Deployment Status description: The status of a deployment. type: object @@ -94871,8 +95553,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 required: - id - node_id @@ -94921,7 +95603,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -94941,9 +95623,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *509 - *510 - - *657 + - *511 + - *660 requestBody: required: true content: @@ -95018,9 +95700,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *661 examples: - default: &659 + default: &662 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -95076,9 +95758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *509 - *510 - - *657 + - *511 + - *660 - name: status_id in: path required: true @@ -95089,9 +95771,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *661 examples: - default: *659 + default: *662 '404': *6 x-github: githubCloudOnly: false @@ -95118,12 +95800,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *509 - *510 - - *660 - - *661 - - *662 + - *511 - *663 + - *664 + - *665 + - *666 - *17 - *19 responses: @@ -95133,12 +95815,12 @@ paths: application/json: schema: type: array - items: *664 + items: *667 examples: - default: *665 + default: *668 '404': *6 '403': *29 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/dismissal-requests/code-scanning/{alert_number}": get: summary: Get a dismissal request for a code scanning alert for a repository @@ -95159,8 +95841,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *509 - *510 + - *511 - name: alert_number in: path required: true @@ -95172,7 +95854,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *664 + schema: *667 examples: default: value: @@ -95208,7 +95890,7 @@ paths: html_url: https://github.com/octo-org/smile/code-scanning/alerts/1 '404': *6 '403': *29 - '500': *40 + '500': *41 patch: summary: Review a dismissal request for a code scanning alert for a repository description: |- @@ -95228,8 +95910,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *509 - *510 + - *511 - name: alert_number in: path required: true @@ -95267,7 +95949,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/dismissal-requests/dependabot": get: summary: List dismissal requests for Dependabot alerts for a repository @@ -95288,12 +95970,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - *510 - - *660 - - *661 - - *662 + - *511 - *663 + - *664 + - *665 + - *666 - *17 - *19 responses: @@ -95303,12 +95985,12 @@ paths: application/json: schema: type: array - items: *666 + items: *669 examples: - default: *667 + default: *670 '404': *6 '403': *29 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/dismissal-requests/dependabot/{alert_number}": get: summary: Get a dismissal request for a Dependabot alert for a repository @@ -95329,8 +96011,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - *510 + - *511 - name: alert_number in: path required: true @@ -95342,7 +96024,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *666 + schema: *669 examples: default: value: @@ -95373,7 +96055,7 @@ paths: html_url: https://github.com/octo-org/smile/security/dependabot/1 '404': *6 '403': *29 - '500': *40 + '500': *41 post: summary: Create a dismissal request for a Dependabot alert for a repository description: |- @@ -95393,8 +96075,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - *510 + - *511 - name: alert_number in: path required: true @@ -95432,7 +96114,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *666 + schema: *669 examples: default: value: @@ -95463,7 +96145,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *40 + '500': *41 patch: summary: Review a dismissal request for a Dependabot alert for a repository description: |- @@ -95483,8 +96165,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - *510 + - *511 - name: alert_number in: path required: true @@ -95534,7 +96216,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *40 + '500': *41 delete: summary: Cancel a dismissal request for a Dependabot alert for a repository description: |- @@ -95555,8 +96237,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *509 - *510 + - *511 - name: alert_number in: path required: true @@ -95568,7 +96250,7 @@ paths: description: Dismissal request cancelled successfully. '404': *6 '403': *29 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for a repository @@ -95589,12 +96271,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *509 - *510 - - *105 + - *511 - *106 - *107 - - *367 + - *108 + - *368 - *17 - *19 responses: @@ -95604,12 +96286,12 @@ paths: application/json: schema: type: array - items: *369 + items: *370 examples: - default: *370 + default: *371 '404': *6 '403': *29 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}": get: summary: Get an alert dismissal request for secret scanning @@ -95631,8 +96313,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *509 - *510 + - *511 - name: alert_number in: path required: true @@ -95644,7 +96326,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *369 + schema: *370 examples: default: value: @@ -95681,7 +96363,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/17 '404': *6 '403': *29 - '500': *40 + '500': *41 patch: summary: Review an alert dismissal request for secret scanning description: |- @@ -95702,8 +96384,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *509 - *510 + - *511 - name: alert_number in: path required: true @@ -95753,7 +96435,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/dispatches": post: summary: Create a repository dispatch event @@ -95772,8 +96454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -95830,8 +96512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -95848,7 +96530,7 @@ paths: type: integer environments: type: array - items: &669 + items: &672 title: Environment description: Details of a deployment environment type: object @@ -95900,7 +96582,7 @@ paths: type: type: string example: wait_timer - wait_timer: &671 + wait_timer: &674 type: integer example: 30 description: The amount of time to delay a job after @@ -95937,11 +96619,11 @@ paths: items: type: object properties: - type: *668 + type: *671 reviewer: anyOf: - *4 - - *328 + - *329 required: - id - node_id @@ -95961,7 +96643,7 @@ paths: - id - node_id - type - deployment_branch_policy: &672 + deployment_branch_policy: &675 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -96077,9 +96759,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *509 - *510 - - &670 + - *511 + - &673 name: environment_name in: path required: true @@ -96092,9 +96774,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *672 examples: - default: &673 + default: &676 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -96178,9 +96860,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *509 - *510 - - *670 + - *511 + - *673 requestBody: required: false content: @@ -96189,7 +96871,7 @@ paths: type: object nullable: true properties: - wait_timer: *671 + wait_timer: *674 prevent_self_review: type: boolean example: false @@ -96206,13 +96888,13 @@ paths: items: type: object properties: - type: *668 + type: *671 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *672 + deployment_branch_policy: *675 additionalProperties: false examples: default: @@ -96232,9 +96914,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *672 examples: - default: *673 + default: *676 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -96258,9 +96940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *509 - *510 - - *670 + - *511 + - *673 responses: '204': description: Default response @@ -96285,9 +96967,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *509 - *510 - - *670 + - *511 + - *673 - *17 - *19 responses: @@ -96305,7 +96987,7 @@ paths: example: 2 branch_policies: type: array - items: &674 + items: &677 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -96362,9 +97044,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *509 - *510 - - *670 + - *511 + - *673 requestBody: required: true content: @@ -96410,9 +97092,9 @@ paths: description: Response content: application/json: - schema: *674 + schema: *677 examples: - example-wildcard: &675 + example-wildcard: &678 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -96454,10 +97136,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *509 - *510 - - *670 - - &676 + - *511 + - *673 + - &679 name: branch_policy_id in: path required: true @@ -96469,9 +97151,9 @@ paths: description: Response content: application/json: - schema: *674 + schema: *677 examples: - default: *675 + default: *678 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96490,10 +97172,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *509 - *510 - - *670 - - *676 + - *511 + - *673 + - *679 requestBody: required: true content: @@ -96521,9 +97203,9 @@ paths: description: Response content: application/json: - schema: *674 + schema: *677 examples: - default: *675 + default: *678 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96542,10 +97224,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *509 - *510 - - *670 - - *676 + - *511 + - *673 + - *679 responses: '204': description: Response @@ -96570,9 +97252,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *670 + - *673 + - *511 - *510 - - *509 responses: '200': description: List of deployment protection rules @@ -96588,7 +97270,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &677 + items: &680 title: Deployment protection rule description: Deployment protection rule type: object @@ -96607,7 +97289,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &678 + app: &681 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -96706,9 +97388,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *670 + - *673 + - *511 - *510 - - *509 requestBody: content: application/json: @@ -96729,9 +97411,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *677 + schema: *680 examples: - default: &679 + default: &682 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -96766,9 +97448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *670 + - *673 + - *511 - *510 - - *509 - *19 - *17 responses: @@ -96787,7 +97469,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *678 + items: *681 examples: default: value: @@ -96822,10 +97504,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *509 - *510 - - *670 - - &680 + - *511 + - *673 + - &683 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -96837,9 +97519,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *680 examples: - default: *679 + default: *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96860,10 +97542,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *670 + - *673 + - *511 - *510 - - *509 - - *680 + - *683 responses: '204': description: Response @@ -96889,9 +97571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *509 - *510 - - *670 + - *511 + - *673 - *17 - *19 responses: @@ -96909,11 +97591,11 @@ paths: type: integer secrets: type: array - items: *539 + items: *540 examples: - default: *540 + default: *541 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96936,17 +97618,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *509 - *510 - - *670 + - *511 + - *673 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96968,18 +97650,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *509 - *510 - - *670 - - *305 + - *511 + - *673 + - *306 responses: '200': description: Response content: application/json: - schema: *539 + schema: *540 examples: - default: *553 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97001,10 +97683,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *509 - *510 - - *670 - - *305 + - *511 + - *673 + - *306 requestBody: required: true content: @@ -97035,7 +97717,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -97061,10 +97743,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *509 - *510 - - *670 - - *305 + - *511 + - *673 + - *306 responses: '204': description: Default response @@ -97089,10 +97771,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *509 - *510 - - *670 - - *314 + - *511 + - *673 + - *315 - *19 responses: '200': @@ -97109,11 +97791,11 @@ paths: type: integer variables: type: array - items: *541 + items: *542 examples: - default: *542 + default: *543 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97134,9 +97816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *509 - *510 - - *670 + - *511 + - *673 requestBody: required: true content: @@ -97163,7 +97845,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -97188,18 +97870,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *509 - *510 - - *670 - - *308 + - *511 + - *673 + - *309 responses: '200': description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: *554 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97220,10 +97902,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *509 - *510 - - *308 - - *670 + - *511 + - *309 + - *673 requestBody: required: true content: @@ -97265,10 +97947,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *509 - *510 - - *308 - - *670 + - *511 + - *309 + - *673 responses: '204': description: Response @@ -97290,8 +97972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -97301,7 +97983,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: 200-response: value: @@ -97359,8 +98041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *509 - *510 + - *511 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -97382,7 +98064,7 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: default: value: @@ -97495,7 +98177,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *47 + Link: *48 '400': *14 x-github: githubCloudOnly: false @@ -97519,8 +98201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *509 - *510 + - *511 requestBody: required: false content: @@ -97552,9 +98234,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *516 + default: *517 '400': *14 '422': *15 '403': *29 @@ -97575,8 +98257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -97627,7 +98309,7 @@ paths: schema: type: string '404': *6 - '409': *121 + '409': *122 '403': *29 '422': description: Validation failed @@ -97635,8 +98317,8 @@ paths: application/json: schema: oneOf: - - *270 - - *681 + - *271 + - *684 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97661,8 +98343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *509 - *510 + - *511 - name: file_sha in: path required: true @@ -97713,7 +98395,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97761,8 +98443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -97871,7 +98553,7 @@ paths: description: Response content: application/json: - schema: &682 + schema: &685 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -98035,7 +98717,7 @@ paths: type: string '422': *15 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98085,15 +98767,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *509 - *510 - - *626 + - *511 + - *629 responses: '200': description: Response content: application/json: - schema: *682 + schema: *685 examples: default: value: @@ -98124,7 +98806,7 @@ paths: payload: verified_at: '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98149,9 +98831,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *509 - *510 - - &683 + - *511 + - &686 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. @@ -98168,7 +98850,7 @@ paths: application/json: schema: type: array - items: &684 + items: &687 title: Git Reference description: Git references within a repository type: object @@ -98221,8 +98903,8 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *47 - '409': *121 + Link: *48 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98243,17 +98925,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *509 - *510 - - *683 + - *511 + - *686 responses: '200': description: Response content: application/json: - schema: *684 + schema: *687 examples: - default: &685 + default: &688 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -98263,7 +98945,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98282,8 +98964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -98312,16 +98994,16 @@ paths: description: Response content: application/json: - schema: *684 + schema: *687 examples: - default: *685 + default: *688 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98340,9 +99022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *509 - *510 - - *683 + - *511 + - *686 requestBody: required: true content: @@ -98371,11 +99053,11 @@ paths: description: Response content: application/json: - schema: *684 + schema: *687 examples: - default: *685 + default: *688 '422': *15 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98391,16 +99073,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *509 - *510 - - *683 + - *511 + - *686 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98448,8 +99130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -98516,7 +99198,7 @@ paths: description: Response content: application/json: - schema: &687 + schema: &690 title: Git Tag description: Metadata for a Git tag type: object @@ -98567,7 +99249,7 @@ paths: - sha - type - url - verification: *686 + verification: *689 required: - sha - url @@ -98577,7 +99259,7 @@ paths: - tag - message examples: - default: &688 + default: &691 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -98604,7 +99286,7 @@ paths: schema: type: string '422': *15 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98650,8 +99332,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *509 - *510 + - *511 - name: tag_sha in: path required: true @@ -98662,11 +99344,11 @@ paths: description: Response content: application/json: - schema: *687 + schema: *690 examples: - default: *688 + default: *691 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98688,8 +99370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -98762,7 +99444,7 @@ paths: description: Response content: application/json: - schema: &689 + schema: &692 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -98835,7 +99517,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98858,8 +99540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *509 - *510 + - *511 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -98882,7 +99564,7 @@ paths: description: Response content: application/json: - schema: *689 + schema: *692 examples: default-response: summary: Default response @@ -98923,7 +99605,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98940,8 +99622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -98984,8 +99666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -98995,7 +99677,7 @@ paths: application/json: schema: type: array - items: &690 + items: &693 title: Webhook description: Webhooks for repositories. type: object @@ -99049,7 +99731,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &975 + last_response: &978 title: Hook Response type: object properties: @@ -99104,7 +99786,7 @@ paths: status: unused message: headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -99123,8 +99805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *509 - *510 + - *511 requestBody: required: false content: @@ -99176,9 +99858,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *693 examples: - default: &691 + default: &694 value: type: Repository id: 12345678 @@ -99226,17 +99908,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *509 - *510 - - *375 + - *511 + - *376 responses: '200': description: Response content: application/json: - schema: *690 + schema: *693 examples: - default: *691 + default: *694 '404': *6 x-github: githubCloudOnly: false @@ -99256,9 +99938,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *509 - *510 - - *375 + - *511 + - *376 requestBody: required: true content: @@ -99303,9 +99985,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *693 examples: - default: *691 + default: *694 '422': *15 '404': *6 x-github: @@ -99326,9 +100008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *509 - *510 - - *375 + - *511 + - *376 responses: '204': description: Response @@ -99352,9 +100034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *509 - *510 - - *375 + - *511 + - *376 responses: '200': description: Response @@ -99381,9 +100063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *509 - *510 - - *375 + - *511 + - *376 requestBody: required: false content: @@ -99427,12 +100109,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *509 - *510 - - *375 - - *17 + - *511 - *376 + - *17 - *377 + - *378 responses: '200': description: Response @@ -99440,9 +100122,9 @@ paths: application/json: schema: type: array - items: *378 + items: *379 examples: - default: *379 + default: *380 '400': *14 '422': *15 x-github: @@ -99461,18 +100143,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *509 - *510 - - *375 + - *511 + - *376 - *16 responses: '200': description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: *381 + default: *382 '400': *14 '422': *15 x-github: @@ -99491,12 +100173,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *509 - *510 - - *375 + - *511 + - *376 - *16 responses: - '202': *39 + '202': *40 '400': *14 '422': *15 x-github: @@ -99516,9 +100198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *509 - *510 - - *375 + - *511 + - *376 responses: '204': description: Response @@ -99543,9 +100225,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *509 - *510 - - *375 + - *511 + - *376 responses: '204': description: Response @@ -99568,8 +100250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response if immutable releases are enabled @@ -99615,11 +100297,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *509 - *510 + - *511 responses: - '204': *130 - '409': *121 + '204': *129 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99636,11 +100318,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *509 - *510 + - *511 responses: - '204': *130 - '409': *121 + '204': *129 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99694,14 +100376,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: &692 + schema: &695 title: Import description: A repository import from an external source. type: object @@ -99800,7 +100482,7 @@ paths: - html_url - authors_url examples: - default: &695 + default: &698 value: vcs: subversion use_lfs: true @@ -99816,7 +100498,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': &693 + '503': &696 description: Unavailable due to service under maintenance. content: application/json: @@ -99845,8 +100527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -99894,7 +100576,7 @@ paths: description: Response content: application/json: - schema: *692 + schema: *695 examples: default: value: @@ -99919,7 +100601,7 @@ paths: type: string '422': *15 '404': *6 - '503': *693 + '503': *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99947,8 +100629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *509 - *510 + - *511 requestBody: required: false content: @@ -99997,7 +100679,7 @@ paths: description: Response content: application/json: - schema: *692 + schema: *695 examples: example-1: summary: Example 1 @@ -100045,7 +100727,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': *693 + '503': *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100068,12 +100750,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *509 - *510 + - *511 responses: '204': description: Response - '503': *693 + '503': *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100099,9 +100781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *509 - *510 - - &900 + - *511 + - &903 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -100115,7 +100797,7 @@ paths: application/json: schema: type: array - items: &694 + items: &697 title: Porter Author description: Porter Author type: object @@ -100169,7 +100851,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': *693 + '503': *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100194,8 +100876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *509 - *510 + - *511 - name: author_id in: path required: true @@ -100225,7 +100907,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *697 examples: default: value: @@ -100238,7 +100920,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *693 + '503': *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100262,8 +100944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -100304,7 +100986,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *693 + '503': *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100332,8 +101014,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -100360,11 +101042,11 @@ paths: description: Response content: application/json: - schema: *692 + schema: *695 examples: - default: *695 + default: *698 '422': *15 - '503': *693 + '503': *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100387,8 +101069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -100396,8 +101078,8 @@ paths: application/json: schema: *22 examples: - default: *393 - '301': *515 + default: *394 + '301': *516 '404': *6 x-github: githubCloudOnly: false @@ -100417,8 +101099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -100426,12 +101108,12 @@ paths: application/json: schema: anyOf: - - *395 + - *396 - type: object properties: {} additionalProperties: false examples: - default: &697 + default: &700 value: limit: collaborators_only origin: repository @@ -100456,13 +101138,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: application/json: - schema: *696 + schema: *699 examples: default: summary: Example request body @@ -100474,9 +101156,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: *697 + default: *700 '409': description: Response x-github: @@ -100498,8 +101180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -100526,8 +101208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -100581,13 +101263,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: application/json: - schema: &698 + schema: &701 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. @@ -100637,13 +101319,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: application/json: - schema: *698 + schema: *701 examples: default: summary: Example request body @@ -100676,8 +101358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -100730,8 +101412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -100807,8 +101489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -100818,9 +101500,9 @@ paths: application/json: schema: type: array - items: *699 + items: *702 examples: - default: &892 + default: &895 value: - id: 1 repository: @@ -100934,7 +101616,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100951,9 +101633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *509 - *510 - - *399 + - *511 + - *400 requestBody: required: false content: @@ -100982,7 +101664,7 @@ paths: description: Response content: application/json: - schema: *699 + schema: *702 examples: default: value: @@ -101113,9 +101795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *509 - *510 - - *399 + - *511 + - *400 responses: '204': description: Response @@ -101138,8 +101820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -101147,9 +101829,9 @@ paths: application/json: schema: type: array - items: *403 + items: *404 examples: - default: *700 + default: *703 '404': *6 x-github: githubCloudOnly: false @@ -101178,8 +101860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *509 - *510 + - *511 - 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 @@ -101241,7 +101923,7 @@ paths: required: false schema: type: string - - *406 + - *407 - name: sort description: What to sort results by. in: query @@ -101253,8 +101935,8 @@ paths: - updated - comments default: created - - *112 - - *241 + - *113 + - *242 - *17 - *19 responses: @@ -101264,9 +101946,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: &715 + default: &717 value: - id: 1 node_id: MDU6SXNzdWUx @@ -101414,8 +102096,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *47 - '301': *515 + Link: *48 + '301': *516 '422': *15 '404': *6 x-github: @@ -101444,8 +102126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -101545,9 +102227,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: &712 + default: &714 value: id: 1 node_id: MDU6SXNzdWUx @@ -101683,9 +102365,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *203 + '503': *204 '404': *6 - '410': *701 + '410': *33 x-github: triggersNotification: true githubCloudOnly: false @@ -101713,9 +102395,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *509 - *510 - - *258 + - *511 + - *259 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -101725,7 +102407,7 @@ paths: enum: - asc - desc - - *241 + - *242 - *17 - *19 responses: @@ -101735,9 +102417,9 @@ paths: application/json: schema: type: array - items: *702 + items: *704 examples: - default: &714 + default: &716 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -101769,7 +102451,7 @@ paths: author_association: COLLABORATOR minimized: headers: - Link: *47 + Link: *48 '422': *15 '404': *6 x-github: @@ -101796,17 +102478,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 responses: '200': description: Response content: application/json: - schema: *702 + schema: *704 examples: - default: &703 + default: &705 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -101862,9 +102544,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 requestBody: required: true content: @@ -101886,9 +102568,9 @@ paths: description: Response content: application/json: - schema: *702 + schema: *704 examples: - default: *703 + default: *705 '422': *15 x-github: githubCloudOnly: false @@ -101906,9 +102588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 responses: '204': description: Response @@ -101936,15 +102618,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 responses: '200': description: Response content: application/json: - schema: *702 + schema: *704 examples: default: value: @@ -102000,7 +102682,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *701 + '410': *33 '422': *15 x-github: githubCloudOnly: false @@ -102017,17 +102699,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 responses: '204': description: Response '401': *25 '403': *29 '404': *6 - '410': *701 - '503': *203 + '410': *33 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102044,9 +102726,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -102072,11 +102754,11 @@ paths: application/json: schema: type: array - items: *623 + items: *626 examples: - default: *704 + default: *706 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -102095,9 +102777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 requestBody: required: true content: @@ -102129,16 +102811,16 @@ paths: description: Reaction exists content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 '201': description: Reaction created content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 '422': *15 x-github: githubCloudOnly: false @@ -102160,10 +102842,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *509 - *510 - - *250 - - *705 + - *511 + - *251 + - *707 responses: '204': description: Response @@ -102183,8 +102865,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -102194,7 +102876,7 @@ paths: application/json: schema: type: array - items: &711 + items: &713 title: Issue Event description: Issue Event type: object @@ -102237,8 +102919,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *706 - required: *707 + properties: *708 + required: *709 nullable: true label: title: Issue Event Label @@ -102282,7 +102964,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *328 + requested_team: *329 dismissed_review: title: Issue Event Dismissed Review type: object @@ -102347,7 +103029,7 @@ paths: required: - from - to - issue_type: &708 + issue_type: &710 title: Issue Type description: The type of issue. type: object @@ -102375,14 +103057,14 @@ paths: required: - id - name - prev_issue_type: *708 + prev_issue_type: *710 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: &709 + properties: &711 number: type: integer description: The number of the referenced issue. @@ -102396,7 +103078,7 @@ paths: type: string description: The reason for the referenced issue's state. nullable: true - repository: *122 + repository: *123 issue_type: title: Issue Type description: The type of the referenced issue. @@ -102420,7 +103102,7 @@ paths: - id - node_id - name - required: &710 + required: &712 - number - title - state @@ -102432,25 +103114,25 @@ paths: event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 blocking: title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency events). type: object nullable: true - properties: *709 - required: *710 - author_association: *231 + properties: *711 + required: *712 + author_association: *232 lock_reason: type: string nullable: true @@ -102463,8 +103145,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 required: - id - node_id @@ -102631,7 +103313,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *47 + Link: *48 '422': *15 x-github: githubCloudOnly: false @@ -102649,8 +103331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *509 - *510 + - *511 - name: event_id in: path required: true @@ -102661,7 +103343,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *713 examples: default: value: @@ -102854,7 +103536,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *701 + '410': *33 '403': *29 x-github: githubCloudOnly: false @@ -102888,9 +103570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *509 - *510 - - &713 + - *511 + - &715 name: issue_number description: The number that identifies the issue. in: path @@ -102902,11 +103584,11 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: default: summary: Issue - value: *712 + value: *714 pinned_comment: summary: Issue with pinned comment value: @@ -103086,10 +103768,10 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *515 + '301': *516 '404': *6 - '410': *701 - '304': *37 + '410': *33 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103113,9 +103795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: false content: @@ -103251,17 +103933,17 @@ paths: application/json: schema: allOf: - - *234 + - *235 - type: object properties: {} examples: - default: *712 + default: *714 '422': *15 - '503': *203 + '503': *204 '403': *29 - '301': *515 + '301': *516 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103279,9 +103961,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: false content: @@ -103307,9 +103989,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *712 + default: *714 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103325,9 +104007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: content: application/json: @@ -103352,9 +104034,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *712 + default: *714 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103376,9 +104058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 - name: assignee in: path required: true @@ -103418,10 +104100,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *509 - *510 - - *713 - - *241 + - *511 + - *715 + - *242 - *17 - *19 responses: @@ -103431,13 +104113,13 @@ paths: application/json: schema: type: array - items: *702 + items: *704 examples: - default: *714 + default: *716 headers: - Link: *47 + Link: *48 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103466,9 +104148,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: true content: @@ -103490,16 +104172,16 @@ paths: description: Response content: application/json: - schema: *702 + schema: *704 examples: - default: *703 + default: *705 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *701 + '410': *33 '422': *15 '404': *6 x-github: @@ -103527,9 +104209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *509 - *510 - - *713 + - *511 + - *715 - *17 - *19 responses: @@ -103539,14 +104221,14 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *715 + default: *717 headers: - Link: *47 - '301': *515 + Link: *48 + '301': *516 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103574,9 +104256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: true content: @@ -103598,17 +104280,17 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *712 + default: *714 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *515 + '301': *516 '403': *29 - '410': *701 + '410': *33 '422': *15 '404': *6 x-github: @@ -103639,9 +104321,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *509 - *510 - - *713 + - *511 + - *715 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -103653,15 +104335,15 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *712 - '301': *515 + default: *714 + '301': *516 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *701 + '410': *33 x-github: triggersNotification: true githubCloudOnly: false @@ -103687,9 +104369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *509 - *510 - - *713 + - *511 + - *715 - *17 - *19 responses: @@ -103699,14 +104381,14 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *715 + default: *717 headers: - Link: *47 - '301': *515 + Link: *48 + '301': *516 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103723,9 +104405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *509 - *510 - - *713 + - *511 + - *715 - *17 - *19 responses: @@ -103739,7 +104421,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &719 + - &721 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -103770,8 +104452,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 label: type: object properties: @@ -103793,7 +104475,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &720 + - &722 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -103824,8 +104506,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 label: type: object properties: @@ -103913,8 +104595,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 assignee: *4 assigner: *4 required: @@ -103929,7 +104611,7 @@ paths: - performed_via_github_app - assignee - assigner - - &721 + - &723 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -103960,8 +104642,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 milestone: type: object properties: @@ -103980,7 +104662,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &722 + - &724 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -104011,8 +104693,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 milestone: type: object properties: @@ -104031,7 +104713,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &723 + - &725 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -104062,8 +104744,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 rename: type: object properties: @@ -104085,7 +104767,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &724 + - &726 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -104116,10 +104798,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 review_requester: *4 - requested_team: *328 + requested_team: *329 requested_reviewer: *4 required: - review_requester @@ -104132,7 +104814,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &725 + - &727 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -104163,10 +104845,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 review_requester: *4 - requested_team: *328 + requested_team: *329 requested_reviewer: *4 required: - review_requester @@ -104179,7 +104861,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &726 + - &728 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -104210,8 +104892,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 dismissed_review: type: object properties: @@ -104239,7 +104921,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &727 + - &729 title: Locked Issue Event description: Locked Issue Event type: object @@ -104270,8 +104952,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 lock_reason: type: string example: '"off-topic"' @@ -104287,7 +104969,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &728 + - &730 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -104318,8 +105000,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 project_card: type: object properties: @@ -104353,7 +105035,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &729 + - &731 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -104384,8 +105066,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 project_card: type: object properties: @@ -104419,7 +105101,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &730 + - &732 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -104450,8 +105132,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 project_card: type: object properties: @@ -104485,7 +105167,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &731 + - &733 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -104541,7 +105223,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &736 + - &738 title: Issue Type Added Issue Event description: Issue Type Added Issue Event type: object @@ -104572,9 +105254,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 - issue_type: *708 + properties: *230 + required: *231 + issue_type: *710 required: - issue_type - id @@ -104586,7 +105268,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &737 + - &739 title: Issue Type Removed Issue Event description: Issue Type Removed Issue Event type: object @@ -104617,9 +105299,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 - prev_issue_type: *708 + properties: *230 + required: *231 + prev_issue_type: *710 required: - prev_issue_type - id @@ -104631,7 +105313,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &738 + - &740 title: Issue Type Changed Issue Event description: Issue Type Changed Issue Event type: object @@ -104662,10 +105344,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 - issue_type: *708 - prev_issue_type: *708 + properties: *230 + required: *231 + issue_type: *710 + prev_issue_type: *710 required: - issue_type - prev_issue_type @@ -104678,7 +105360,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &739 + - &741 title: Sub-issue Added Issue Event description: Sub-issue Added Issue Event type: object @@ -104709,8 +105391,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -104718,8 +105400,8 @@ paths: events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 required: - sub_issue - id @@ -104731,7 +105413,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &740 + - &742 title: Sub-issue Removed Issue Event description: Sub-issue Removed Issue Event type: object @@ -104762,8 +105444,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -104771,8 +105453,8 @@ paths: events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 required: - sub_issue - id @@ -104784,7 +105466,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &741 + - &743 title: Parent-issue Added Issue Event description: Parent-issue Added Issue Event type: object @@ -104815,8 +105497,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -104824,8 +105506,8 @@ paths: events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 required: - parent_issue - id @@ -104837,7 +105519,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &742 + - &744 title: Parent-issue Removed Issue Event description: Parent-issue Removed Issue Event type: object @@ -104868,8 +105550,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -104877,8 +105559,8 @@ paths: events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 required: - parent_issue - id @@ -104890,7 +105572,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &743 + - &745 title: Blocked-by Added Issue Event description: Blocked-by Added Issue Event type: object @@ -104921,8 +105603,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -104930,8 +105612,8 @@ paths: events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 required: - blocked_by - id @@ -104943,7 +105625,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &744 + - &746 title: Blocked-by Removed Issue Event description: Blocked-by Removed Issue Event type: object @@ -104974,8 +105656,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -104983,8 +105665,8 @@ paths: events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 required: - blocked_by - id @@ -104996,7 +105678,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &745 + - &747 title: Blocking Added Issue Event description: Blocking Added Issue Event type: object @@ -105027,8 +105709,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -105036,8 +105718,8 @@ paths: events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 required: - blocking - id @@ -105049,7 +105731,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &746 + - &748 title: Blocking Removed Issue Event description: Blocking Removed Issue Event type: object @@ -105080,8 +105762,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -105089,8 +105771,8 @@ paths: events). type: object nullable: true - properties: *709 - required: *710 + properties: *711 + required: *712 required: - blocking - id @@ -105136,8 +105818,8 @@ paths: name: label color: red headers: - Link: *47 - '410': *701 + Link: *48 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105154,9 +105836,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 - *17 - *19 responses: @@ -105166,9 +105848,9 @@ paths: application/json: schema: type: array - items: *716 + items: *718 examples: - default: &717 + default: &719 value: - issue_field_id: 1 issue_field_name: DRI @@ -105207,10 +105889,10 @@ paths: name: Backend color: green headers: - Link: *47 - '301': *515 + Link: *48 + '301': *516 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105239,9 +105921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: true content: @@ -105311,14 +105993,14 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *716 + items: *718 examples: - default: *717 + default: *719 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *203 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -105349,9 +106031,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: true content: @@ -105416,14 +106098,14 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *716 + items: *718 examples: - default: *717 + default: *719 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *203 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -105449,17 +106131,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *509 - *510 - - *713 - - *402 + - *511 + - *715 + - *403 responses: '204': description: Issue field value deleted successfully '403': *29 '404': *6 '422': *15 - '503': *203 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -105477,9 +106159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 - *17 - *19 responses: @@ -105489,9 +106171,9 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: &718 + default: &720 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -105508,10 +106190,10 @@ paths: color: a2eeef default: false headers: - Link: *47 - '301': *515 + Link: *48 + '301': *516 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105527,9 +106209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: false content: @@ -105572,12 +106254,12 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *718 - '301': *515 + default: *720 + '301': *516 '404': *6 - '410': *701 + '410': *33 '422': *15 x-github: githubCloudOnly: false @@ -105594,9 +106276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: false content: @@ -105656,12 +106338,12 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *718 - '301': *515 + default: *720 + '301': *516 '404': *6 - '410': *701 + '410': *33 '422': *15 x-github: githubCloudOnly: false @@ -105678,15 +106360,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 responses: '204': description: Response - '301': *515 + '301': *516 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105705,9 +106387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 - name: name in: path required: true @@ -105720,7 +106402,7 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: default: value: @@ -105731,9 +106413,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *515 + '301': *516 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105753,9 +106435,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: false content: @@ -105783,7 +106465,7 @@ paths: '204': description: Response '403': *29 - '410': *701 + '410': *33 '404': *6 '422': *15 x-github: @@ -105801,9 +106483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 responses: '204': description: Response @@ -105833,20 +106515,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 responses: '200': description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *712 - '301': *515 + default: *714 + '301': *516 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105863,9 +106545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -105891,13 +106573,13 @@ paths: application/json: schema: type: array - items: *623 + items: *626 examples: - default: *704 + default: *706 headers: - Link: *47 + Link: *48 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105915,9 +106597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: true content: @@ -105949,16 +106631,16 @@ paths: description: Response content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 '201': description: Response content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 '422': *15 x-github: githubCloudOnly: false @@ -105980,10 +106662,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *509 - *510 - - *713 - - *705 + - *511 + - *715 + - *707 responses: '204': description: Response @@ -106012,9 +106694,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: true content: @@ -106036,9 +106718,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *712 + default: *714 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -106071,9 +106753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *509 - *510 - - *713 + - *511 + - *715 - *17 - *19 responses: @@ -106083,13 +106765,13 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *715 + default: *717 headers: - Link: *47 + Link: *48 '404': *6 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106117,9 +106799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: true content: @@ -106146,16 +106828,16 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *712 + default: *714 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *701 + '410': *33 '422': *15 '404': *6 x-github: @@ -106175,9 +106857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 requestBody: required: true content: @@ -106208,13 +106890,13 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *712 + default: *714 '403': *29 '404': *6 '422': *7 - '503': *203 + '503': *204 x-github: triggersNotification: true githubCloudOnly: false @@ -106232,9 +106914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *509 - *510 - - *713 + - *511 + - *715 - *17 - *19 responses: @@ -106249,8 +106931,6 @@ paths: description: Timeline Event type: object anyOf: - - *719 - - *720 - *721 - *722 - *723 @@ -106262,6 +106942,8 @@ paths: - *729 - *730 - *731 + - *732 + - *733 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -106304,7 +106986,7 @@ paths: issue_url: type: string format: uri - author_association: *231 + author_association: *232 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -106314,23 +106996,23 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 - reactions: *232 + properties: *230 + required: *231 + reactions: *233 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *732 - required: *733 + properties: *734 + required: *735 nullable: true minimized: title: Minimized Issue Comment description: Details about why an issue comment was minimized. type: object - properties: *734 - required: *735 + properties: *736 + required: *737 nullable: true required: - event @@ -106362,7 +107044,7 @@ paths: properties: type: type: string - issue: *234 + issue: *235 required: - event - created_at @@ -106562,7 +107244,7 @@ paths: type: string body_text: type: string - author_association: *231 + author_association: *232 required: - event - id @@ -106585,7 +107267,7 @@ paths: type: string comments: type: array - items: &768 + items: &771 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -106680,7 +107362,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *231 + author_association: *232 _links: type: object properties: @@ -106764,7 +107446,7 @@ paths: enum: - line - file - reactions: *232 + reactions: *233 body_html: type: string example: '"

comment body

"' @@ -106800,7 +107482,7 @@ paths: type: string comments: type: array - items: *622 + items: *625 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -106831,8 +107513,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 assignee: *4 required: - id @@ -106875,8 +107557,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 assignee: *4 required: - id @@ -106919,8 +107601,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 state_reason: type: string nullable: true @@ -106934,8 +107616,6 @@ paths: - commit_url - created_at - performed_via_github_app - - *736 - - *737 - *738 - *739 - *740 @@ -106945,6 +107625,8 @@ paths: - *744 - *745 - *746 + - *747 + - *748 examples: default: value: @@ -107098,10 +107780,10 @@ paths: type: User site_admin: true headers: - Link: *47 + Link: *48 '404': *6 '400': *14 - '410': *701 + '410': *33 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107118,8 +107800,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -107129,7 +107811,7 @@ paths: application/json: schema: type: array - items: &747 + items: &749 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -107179,7 +107861,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107195,8 +107877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -107232,9 +107914,9 @@ paths: description: Response content: application/json: - schema: *747 + schema: *749 examples: - default: &748 + default: &750 value: id: 1 key: ssh-rsa AAA... @@ -107268,9 +107950,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *509 - *510 - - &749 + - *511 + - &751 name: key_id description: The unique identifier of the key. in: path @@ -107282,9 +107964,9 @@ paths: description: Response content: application/json: - schema: *747 + schema: *749 examples: - default: *748 + default: *750 '404': *6 x-github: githubCloudOnly: false @@ -107302,9 +107984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *509 - *510 - - *749 + - *511 + - *751 responses: '204': description: Response @@ -107324,8 +108006,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -107335,11 +108017,11 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *718 + default: *720 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -107358,8 +108040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -107395,9 +108077,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: &750 + default: &752 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -107429,8 +108111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *509 - *510 + - *511 - name: name in: path required: true @@ -107441,9 +108123,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *750 + default: *752 '404': *6 x-github: githubCloudOnly: false @@ -107460,8 +108142,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *509 - *510 + - *511 - name: name in: path required: true @@ -107500,7 +108182,7 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: default: value: @@ -107526,8 +108208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *509 - *510 + - *511 - name: name in: path required: true @@ -107553,8 +108235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -107590,10 +108272,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *509 - *510 + - *511 responses: - '202': *39 + '202': *40 '403': description: |- We will return a 403 with one of the following messages: @@ -107619,8 +108301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -107646,9 +108328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *509 - *510 - - *595 + - *511 + - *598 responses: '200': description: Response @@ -107710,8 +108392,8 @@ paths: title: License Simple description: License Simple type: object - properties: *237 - required: *238 + properties: *238 + required: *239 nullable: true required: - _links @@ -107793,8 +108475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -107859,8 +108541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -107894,9 +108576,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *625 + schema: *628 examples: - default: *751 + default: *753 '204': description: Response when already merged '404': @@ -107921,8 +108603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *509 - *510 + - *511 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -107963,12 +108645,12 @@ paths: application/json: schema: type: array - items: &752 + items: &754 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *439 + required: *440 examples: default: value: @@ -108007,7 +108689,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -108024,8 +108706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -108065,9 +108747,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *754 examples: - default: &753 + default: &755 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -108126,9 +108808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *509 - *510 - - &754 + - *511 + - &756 name: milestone_number description: The number that identifies the milestone. in: path @@ -108140,9 +108822,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *754 examples: - default: *753 + default: *755 '404': *6 x-github: githubCloudOnly: false @@ -108159,9 +108841,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *509 - *510 - - *754 + - *511 + - *756 requestBody: required: false content: @@ -108199,9 +108881,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *754 examples: - default: *753 + default: *755 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108217,9 +108899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *509 - *510 - - *754 + - *511 + - *756 responses: '204': description: Response @@ -108240,9 +108922,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *509 - *510 - - *754 + - *511 + - *756 - *17 - *19 responses: @@ -108252,11 +108934,11 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *718 + default: *720 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108273,12 +108955,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *509 - *510 - - *755 - - *756 - - *241 + - *511 - *757 + - *758 + - *242 + - *759 - *17 - *19 responses: @@ -108288,11 +108970,11 @@ paths: application/json: schema: type: array - items: *261 + items: *262 examples: - default: *758 + default: *760 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108314,8 +108996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *509 - *510 + - *511 requestBody: required: false content: @@ -108373,14 +109055,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: &759 + schema: &761 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -108505,7 +109187,7 @@ paths: - custom_404 - public examples: - default: &760 + default: &762 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -108546,8 +109228,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -108601,11 +109283,11 @@ paths: description: Response content: application/json: - schema: *759 + schema: *761 examples: - default: *760 + default: *762 '422': *15 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108626,8 +109308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -108713,7 +109395,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108734,14 +109416,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *509 - *510 + - *511 responses: '204': description: Response '422': *15 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108761,8 +109443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -108772,7 +109454,7 @@ paths: application/json: schema: type: array - items: &761 + items: &763 title: Page Build description: Page Build type: object @@ -108847,7 +109529,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108866,8 +109548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *509 - *510 + - *511 responses: '201': description: Response @@ -108912,16 +109594,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *761 + schema: *763 examples: - default: &762 + default: &764 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -108969,8 +109651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *509 - *510 + - *511 - name: build_id in: path required: true @@ -108981,9 +109663,9 @@ paths: description: Response content: application/json: - schema: *761 + schema: *763 examples: - default: *762 + default: *764 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109003,8 +109685,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -109109,9 +109791,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *509 - *510 - - &763 + - *511 + - &765 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -109169,11 +109851,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *509 - *510 - - *763 + - *511 + - *765 responses: - '204': *130 + '204': *129 '404': *6 x-github: githubCloudOnly: false @@ -109198,8 +109880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -109430,7 +110112,7 @@ paths: description: Empty response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -109457,8 +110139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Private vulnerability reporting status @@ -109495,10 +110177,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *509 - *510 + - *511 responses: - '204': *130 + '204': *129 '422': *14 x-github: githubCloudOnly: false @@ -109517,10 +110199,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *509 - *510 + - *511 responses: - '204': *130 + '204': *129 '422': *14 x-github: githubCloudOnly: false @@ -109540,8 +110222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -109549,9 +110231,9 @@ paths: application/json: schema: type: array - items: *163 + items: *164 examples: - default: *764 + default: *766 '403': *29 '404': *6 x-github: @@ -109573,8 +110255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -109586,11 +110268,11 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *163 + items: *164 required: - properties examples: - default: *765 + default: *767 responses: '204': description: No Content when custom property values are successfully created @@ -109628,8 +110310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *509 - *510 + - *511 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -109689,12 +110371,12 @@ paths: application/json: schema: type: array - items: *629 + items: *632 examples: - default: *766 + default: *768 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '422': *15 x-github: githubCloudOnly: false @@ -109723,8 +110405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -109789,7 +110471,7 @@ paths: description: Response content: application/json: - schema: &770 + schema: &773 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -109900,8 +110582,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *439 + required: *440 nullable: true active_lock_reason: type: string @@ -109933,7 +110615,7 @@ paths: items: *4 requested_teams: type: array - items: *493 + items: *494 head: type: object properties: @@ -109941,7 +110623,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *81 sha: type: string user: *4 @@ -109958,7 +110640,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *81 sha: type: string user: *4 @@ -109971,14 +110653,14 @@ paths: _links: type: object properties: - comments: *440 - commits: *440 - statuses: *440 - html: *440 - issue: *440 - review_comments: *440 - review_comment: *440 - self: *440 + comments: *441 + commits: *441 + statuses: *441 + html: *441 + issue: *441 + review_comments: *441 + review_comment: *441 + self: *441 required: - comments - commits @@ -109988,8 +110670,9 @@ paths: - review_comments - review_comment - self - author_association: *231 - auto_merge: *767 + author_association: *232 + auto_merge: *769 + stack: *770 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -110079,7 +110762,7 @@ paths: - merged_by - review_comments examples: - default: &771 + default: &774 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -110586,8 +111269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *509 - *510 + - *511 - name: sort in: query required: false @@ -110606,7 +111289,7 @@ paths: enum: - asc - desc - - *241 + - *242 - *17 - *19 responses: @@ -110616,9 +111299,9 @@ paths: application/json: schema: type: array - items: *768 + items: *771 examples: - default: &773 + default: &776 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -110670,7 +111353,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110695,17 +111378,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *509 - *510 - - *250 + - *511 + - *251 responses: '200': description: Response content: application/json: - schema: *768 + schema: *771 examples: - default: &769 + default: &772 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -110780,9 +111463,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *509 - *510 - - *250 + - *511 + - *251 requestBody: required: true content: @@ -110804,9 +111487,9 @@ paths: description: Response content: application/json: - schema: *768 + schema: *771 examples: - default: *769 + default: *772 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110822,9 +111505,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *509 - *510 - - *250 + - *511 + - *251 responses: '204': description: Response @@ -110845,9 +111528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -110873,11 +111556,11 @@ paths: application/json: schema: type: array - items: *623 + items: *626 examples: - default: *704 + default: *706 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -110896,9 +111579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *509 - *510 - - *250 + - *511 + - *251 requestBody: required: true content: @@ -110930,16 +111613,16 @@ paths: description: Reaction exists content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 '201': description: Reaction created content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 '422': *15 x-github: githubCloudOnly: false @@ -110961,10 +111644,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *509 - *510 - - *250 - - *705 + - *511 + - *251 + - *707 responses: '204': description: Response @@ -111007,9 +111690,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *509 - *510 - - &772 + - *511 + - &775 name: pull_number description: The number that identifies the pull request. in: path @@ -111022,18 +111705,18 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *770 + schema: *773 examples: - default: *771 - '304': *37 + default: *774 + '304': *38 '404': *6 '406': description: Unacceptable content: application/json: schema: *3 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111059,9 +111742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 requestBody: required: false content: @@ -111103,9 +111786,9 @@ paths: description: Response content: application/json: - schema: *770 + schema: *773 examples: - default: *771 + default: *774 '422': *15 '403': *29 x-github: @@ -111127,9 +111810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 requestBody: required: true content: @@ -111189,21 +111872,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *408 + schema: *409 examples: - default: *612 + default: *615 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *408 + schema: *409 examples: - default: *612 + default: *615 '401': *25 '403': *29 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111229,10 +111912,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *509 - *510 - - *772 - - *258 + - *511 + - *775 + - *259 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -111242,7 +111925,7 @@ paths: enum: - asc - desc - - *241 + - *242 - *17 - *19 responses: @@ -111252,11 +111935,11 @@ paths: application/json: schema: type: array - items: *768 + items: *771 examples: - default: *773 + default: *776 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111287,9 +111970,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 requestBody: required: true content: @@ -111394,7 +112077,7 @@ paths: description: Response content: application/json: - schema: *768 + schema: *771 examples: example-for-a-multi-line-comment: value: @@ -111482,10 +112165,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *509 - *510 - - *772 - - *250 + - *511 + - *775 + - *251 requestBody: required: true content: @@ -111507,7 +112190,7 @@ paths: description: Response content: application/json: - schema: *768 + schema: *771 examples: default: value: @@ -111593,9 +112276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 - *17 - *19 responses: @@ -111605,11 +112288,11 @@ paths: application/json: schema: type: array - items: *625 + items: *628 examples: - default: *774 + default: *777 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111637,9 +112320,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *509 - *510 - - *772 + - *511 + - *775 - *17 - *19 responses: @@ -111649,7 +112332,7 @@ paths: application/json: schema: type: array - items: *638 + items: *641 examples: default: value: @@ -111665,10 +112348,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *47 + Link: *48 '422': *15 - '500': *40 - '503': *203 + '500': *41 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111687,9 +112370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *509 - *510 - - *772 + - *511 + - *775 responses: '204': description: Response if pull request has been merged @@ -111712,9 +112395,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 requestBody: required: false content: @@ -111825,9 +112508,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 responses: '200': description: Response @@ -111843,7 +112526,7 @@ paths: items: *4 teams: type: array - items: *328 + items: *329 required: - users - teams @@ -111884,7 +112567,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111902,9 +112585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 requestBody: required: false content: @@ -111941,7 +112624,7 @@ paths: description: Response content: application/json: - schema: *629 + schema: *632 examples: default: value: @@ -112477,9 +113160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 requestBody: required: true content: @@ -112513,7 +113196,7 @@ paths: description: Response content: application/json: - schema: *629 + schema: *632 examples: default: value: @@ -112998,9 +113681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 - *17 - *19 responses: @@ -113010,7 +113693,7 @@ paths: application/json: schema: type: array - items: &775 + items: &778 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -113079,7 +113762,7 @@ paths: type: string body_text: type: string - author_association: *231 + author_association: *232 required: - id - node_id @@ -113128,7 +113811,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113161,9 +113844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *509 - *510 - - *772 + - *511 + - *775 requestBody: required: false content: @@ -113249,9 +113932,9 @@ paths: description: Response content: application/json: - schema: *775 + schema: *778 examples: - default: &777 + default: &780 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -113314,10 +113997,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *509 - *510 - - *772 - - &776 + - *511 + - *775 + - &779 name: review_id description: The unique identifier of the review. in: path @@ -113329,9 +114012,9 @@ paths: description: Response content: application/json: - schema: *775 + schema: *778 examples: - default: &778 + default: &781 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -113390,10 +114073,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *509 - *510 - - *772 - - *776 + - *511 + - *775 + - *779 requestBody: required: true content: @@ -113416,7 +114099,7 @@ paths: description: Response content: application/json: - schema: *775 + schema: *778 examples: default: value: @@ -113478,18 +114161,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *509 - *510 - - *772 - - *776 + - *511 + - *775 + - *779 responses: '200': description: Response content: application/json: - schema: *775 + schema: *778 examples: - default: *777 + default: *780 '422': *7 '404': *6 x-github: @@ -113516,10 +114199,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *509 - *510 - - *772 - - *776 + - *511 + - *775 + - *779 - *17 - *19 responses: @@ -113598,13 +114281,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *231 + author_association: *232 _links: type: object properties: - self: *440 - html: *440 - pull_request: *440 + self: *441 + html: *441 + pull_request: *441 required: - self - html @@ -113613,7 +114296,7 @@ paths: type: string body_html: type: string - reactions: *232 + reactions: *233 side: description: The side of the first line of the range for a multi-line comment. @@ -113725,7 +114408,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -113754,10 +114437,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *509 - *510 - - *772 - - *776 + - *511 + - *775 + - *779 requestBody: required: true content: @@ -113785,7 +114468,7 @@ paths: description: Response content: application/json: - schema: *775 + schema: *778 examples: default: value: @@ -113848,10 +114531,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *509 - *510 - - *772 - - *776 + - *511 + - *775 + - *779 requestBody: required: true content: @@ -113886,9 +114569,9 @@ paths: description: Response content: application/json: - schema: *775 + schema: *778 examples: - default: *778 + default: *781 '404': *6 '422': *7 '403': *29 @@ -113910,9 +114593,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *509 - *510 - - *772 + - *511 + - *775 requestBody: required: false content: @@ -113975,8 +114658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *509 - *510 + - *511 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -113989,9 +114672,9 @@ paths: description: Response content: application/json: - schema: *779 + schema: *782 examples: - default: &780 + default: &783 value: type: file encoding: base64 @@ -114008,7 +114691,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': *37 + '304': *38 '404': *6 '422': *15 x-github: @@ -114033,8 +114716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *509 - *510 + - *511 - name: dir description: The alternate path to look for a README file in: path @@ -114054,9 +114737,9 @@ paths: description: Response content: application/json: - schema: *779 + schema: *782 examples: - default: *780 + default: *783 '404': *6 '422': *15 x-github: @@ -114078,8 +114761,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -114089,7 +114772,7 @@ paths: application/json: schema: type: array - items: *781 + items: *784 examples: default: value: @@ -114163,7 +114846,7 @@ paths: type: User site_admin: false headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -114183,8 +114866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -114260,9 +114943,9 @@ paths: description: Response content: application/json: - schema: *781 + schema: *784 examples: - default: &785 + default: &788 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -114367,9 +115050,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *509 - *510 - - &783 + - *511 + - &786 name: asset_id description: The unique identifier of the asset. in: path @@ -114381,9 +115064,9 @@ paths: description: Response content: application/json: - schema: *782 + schema: *785 examples: - default: &784 + default: &787 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 @@ -114418,7 +115101,7 @@ paths: type: User site_admin: false '404': *6 - '302': *642 + '302': *645 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114434,9 +115117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *509 - *510 - - *783 + - *511 + - *786 requestBody: required: false content: @@ -114464,9 +115147,9 @@ paths: description: Response content: application/json: - schema: *782 + schema: *785 examples: - default: *784 + default: *787 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114482,9 +115165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *509 - *510 - - *783 + - *511 + - *786 responses: '204': description: Response @@ -114509,8 +115192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -114595,16 +115278,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *509 - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *781 + schema: *784 examples: - default: *785 + default: *788 '404': *6 x-github: githubCloudOnly: false @@ -114622,8 +115305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *509 - *510 + - *511 - name: tag description: tag parameter in: path @@ -114636,9 +115319,9 @@ paths: description: Response content: application/json: - schema: *781 + schema: *784 examples: - default: *785 + default: *788 '404': *6 x-github: githubCloudOnly: false @@ -114660,9 +115343,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *509 - *510 - - &786 + - *511 + - &789 name: release_id description: The unique identifier of the release. in: path @@ -114676,9 +115359,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *781 + schema: *784 examples: - default: *785 + default: *788 '401': description: Unauthorized x-github: @@ -114696,9 +115379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *509 - *510 - - *786 + - *511 + - *789 requestBody: required: false content: @@ -114762,9 +115445,9 @@ paths: description: Response content: application/json: - schema: *781 + schema: *784 examples: - default: *785 + default: *788 '404': description: Not Found if the discussion category name is invalid content: @@ -114785,9 +115468,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *509 - *510 - - *786 + - *511 + - *789 responses: '204': description: Response @@ -114808,9 +115491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *509 - *510 - - *786 + - *511 + - *789 - *17 - *19 responses: @@ -114820,7 +115503,7 @@ paths: application/json: schema: type: array - items: *782 + items: *785 examples: default: value: @@ -114857,7 +115540,7 @@ paths: type: User site_admin: false headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114902,9 +115585,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: - - *509 - *510 - - *786 + - *511 + - *789 - name: name in: query required: true @@ -114930,7 +115613,7 @@ paths: description: Response for successful upload content: application/json: - schema: *782 + schema: *785 examples: response-for-successful-upload: value: @@ -114985,9 +115668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *509 - *510 - - *786 + - *511 + - *789 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -115011,11 +115694,11 @@ paths: application/json: schema: type: array - items: *623 + items: *626 examples: - default: *704 + default: *706 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -115034,9 +115717,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *509 - *510 - - *786 + - *511 + - *789 requestBody: required: true content: @@ -115066,16 +115749,16 @@ paths: description: Reaction exists content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 '201': description: Reaction created content: application/json: - schema: *623 + schema: *626 examples: - default: *624 + default: *627 '422': *15 x-github: githubCloudOnly: false @@ -115097,10 +115780,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *509 - *510 - - *786 - - *705 + - *511 + - *789 + - *707 responses: '204': description: Response @@ -115124,9 +115807,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *509 - *510 - - *561 + - *511 + - *562 - *17 - *19 responses: @@ -115142,8 +115825,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *177 - - &787 + - *178 + - &790 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -115162,72 +115845,72 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *178 - - *787 - allOf: - *179 - - *787 + - *790 - allOf: - *180 - - *787 - - allOf: - - *788 - - *787 + - *790 - allOf: - *181 - - *787 + - *790 + - allOf: + - *791 + - *790 - allOf: - *182 - - *787 + - *790 - allOf: - *183 - - *787 + - *790 - allOf: - *184 - - *787 + - *790 - allOf: - *185 - - *787 + - *790 - allOf: - *186 - - *787 + - *790 - allOf: - *187 - - *787 + - *790 - allOf: - *188 - - *787 + - *790 - allOf: - *189 - - *787 + - *790 - allOf: - *190 - - *787 + - *790 - allOf: - *191 - - *787 + - *790 - allOf: - *192 - - *787 + - *790 - allOf: - *193 - - *787 - - allOf: - - *789 - - *787 + - *790 - allOf: - *194 - - *787 + - *790 + - allOf: + - *792 + - *790 - allOf: - *195 - - *787 + - *790 - allOf: - *196 - - *787 + - *790 - allOf: - *197 - - *787 + - *790 + - allOf: + - *198 + - *790 examples: default: value: @@ -115266,8 +115949,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - *510 + - *511 - *17 - *19 - name: includes_parents @@ -115278,7 +115961,7 @@ paths: schema: type: boolean default: true - - *790 + - *793 responses: '200': description: Response @@ -115286,7 +115969,7 @@ paths: application/json: schema: type: array - items: *198 + items: *199 examples: default: value: @@ -115317,7 +116000,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *40 + '500': *41 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -115333,8 +116016,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - *510 + - *511 requestBody: description: Request body required: true @@ -115354,16 +116037,16 @@ paths: - tag - push default: branch - enforcement: *175 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *176 - conditions: *169 + items: *177 + conditions: *170 rules: type: array description: An array of rules within the ruleset. - items: *791 + items: *794 required: - name - enforcement @@ -115394,9 +116077,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: &801 + default: &804 value: id: 42 name: super cool ruleset @@ -115430,7 +116113,7 @@ paths: updated_at: '2023-08-23T16:29:47Z' '404': *6 '422': *15 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -115444,13 +116127,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *509 - *510 - - *792 - - *107 - - *793 - - *794 + - *511 - *795 + - *108 + - *796 + - *797 + - *798 - *17 - *19 responses: @@ -115458,11 +116141,11 @@ paths: description: Response content: application/json: - schema: *796 + schema: *799 examples: - default: *797 + default: *800 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115481,19 +116164,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *509 - *510 - - *798 + - *511 + - *801 responses: '200': description: Response content: application/json: - schema: *799 + schema: *802 examples: - default: *800 + default: *803 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115519,8 +116202,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - *510 + - *511 - name: ruleset_id description: The ID of the ruleset. in: path @@ -115540,11 +116223,11 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: *801 + default: *804 '404': *6 - '500': *40 + '500': *41 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -115560,8 +116243,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - *510 + - *511 - name: ruleset_id description: The ID of the ruleset. in: path @@ -115586,16 +116269,16 @@ paths: - branch - tag - push - enforcement: *175 + enforcement: *176 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *176 - conditions: *169 + items: *177 + conditions: *170 rules: description: An array of rules within the ruleset. type: array - items: *791 + items: *794 examples: default: value: @@ -115623,12 +116306,12 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: *801 + default: *804 '404': *6 '422': *15 - '500': *40 + '500': *41 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -115644,8 +116327,8 @@ paths: category: repos subcategory: rules parameters: - - *509 - *510 + - *511 - name: ruleset_id description: The ID of the ruleset. in: path @@ -115656,7 +116339,7 @@ paths: '204': description: Response '404': *6 - '500': *40 + '500': *41 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -115668,8 +116351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *509 - *510 + - *511 - *17 - *19 - name: ruleset_id @@ -115685,11 +116368,11 @@ paths: application/json: schema: type: array - items: *202 + items: *203 examples: - default: *458 + default: *459 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115706,8 +116389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *509 - *510 + - *511 - name: ruleset_id description: The ID of the ruleset. in: path @@ -115725,7 +116408,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *460 examples: default: value: @@ -115758,7 +116441,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115780,9 +116463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *509 - *510 - - *460 + - *511 - *461 - *462 - *463 @@ -115790,18 +116472,19 @@ paths: - *465 - *466 - *467 - - *112 + - *468 + - *113 - *19 - *17 - - *802 - - *803 - - *468 + - *805 + - *806 - *469 - *470 - *471 - *472 - *473 - *474 + - *475 responses: '200': description: Response @@ -115812,8 +116495,8 @@ paths: items: type: object properties: - number: *134 - created_at: *141 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -115821,15 +116504,15 @@ paths: format: date-time readOnly: true nullable: true - url: *139 - html_url: *140 + url: *140 + html_url: *141 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *804 - resolution: *805 + state: *807 + resolution: *808 resolved_at: type: string format: date-time @@ -115935,7 +116618,7 @@ paths: pull request. ' - oneOf: *806 + oneOf: *809 nullable: true has_more_locations: type: boolean @@ -116077,7 +116760,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116099,20 +116782,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *509 - *510 - - *589 - - *471 + - *511 + - *592 + - *472 responses: '200': description: Response content: application/json: - schema: &807 + schema: &810 type: object properties: - number: *134 - created_at: *141 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -116120,14 +116803,14 @@ paths: format: date-time readOnly: true nullable: true - url: *139 - html_url: *140 + url: *140 + html_url: *141 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *804 - resolution: *805 + state: *807 + resolution: *808 resolved_at: type: string format: date-time @@ -116233,7 +116916,7 @@ paths: pull request. ' - oneOf: *806 + oneOf: *809 nullable: true has_more_locations: type: boolean @@ -116261,7 +116944,7 @@ paths: properties: *20 required: *21 nullable: true - metadata: &996 + metadata: &999 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -116307,11 +116990,11 @@ paths: metadata: - key: owner_email value: owner@example.com - '304': *37 + '304': *38 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116334,9 +117017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *509 - *510 - - *589 + - *511 + - *592 requestBody: required: true content: @@ -116344,8 +117027,8 @@ paths: schema: type: object properties: - state: *804 - resolution: *805 + state: *807 + resolution: *808 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -116389,7 +117072,7 @@ paths: description: Response content: application/json: - schema: *807 + schema: *810 examples: default: value: @@ -116469,7 +117152,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': *203 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -116491,9 +117174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *509 - *510 - - *589 + - *511 + - *592 - *19 - *17 responses: @@ -116504,7 +117187,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &998 + items: &1001 type: object properties: type: @@ -116530,9 +117213,6 @@ paths: example: commit details: oneOf: - - *808 - - *809 - - *810 - *811 - *812 - *813 @@ -116543,6 +117223,9 @@ paths: - *818 - *819 - *820 + - *821 + - *822 + - *823 examples: default: value: @@ -116602,11 +117285,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *47 + Link: *48 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116631,12 +117314,12 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *509 - *510 - - *477 + - *511 - *478 - *479 - - *112 + - *480 + - *113 - *19 - *17 responses: @@ -116646,11 +117329,11 @@ paths: application/json: schema: type: array - items: *204 + items: *205 examples: - default: *480 + default: *481 headers: - Link: *47 + Link: *48 '403': *29 '404': *6 post: @@ -116671,8 +117354,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -116685,9 +117368,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *481 + items: *482 examples: - default: *482 + default: *483 responses: '201': description: All patterns created successfully. @@ -116699,9 +117382,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *204 + items: *205 examples: - default: *483 + default: *484 '400': *14 '403': *29 '404': *6 @@ -116725,7 +117408,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *484 + items: *485 delete: summary: Bulk delete repository custom patterns description: |- @@ -116744,8 +117427,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -116759,7 +117442,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *485 + items: *486 post_delete_action: type: string description: |- @@ -116772,14 +117455,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *486 + default: *487 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *29 '404': *6 - '412': *206 + '412': *207 "/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update a repository custom pattern @@ -116799,8 +117482,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *509 - *510 + - *511 - name: pattern_id in: path required: true @@ -116811,21 +117494,21 @@ paths: required: true content: application/json: - schema: *487 + schema: *488 examples: - default: *488 + default: *489 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *204 + schema: *205 examples: - default: *489 + default: *490 '400': *14 '403': *29 '404': *6 - '412': *206 + '412': *207 '422': *15 "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": post: @@ -116843,8 +117526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -116852,14 +117535,14 @@ paths: schema: type: object properties: - reason: &822 + reason: &825 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *821 + placeholder_id: *824 required: - reason - placeholder_id @@ -116876,7 +117559,7 @@ paths: schema: type: object properties: - reason: *822 + reason: *825 expire_at: type: string format: date-time @@ -116899,7 +117582,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *203 + '503': *204 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -116922,13 +117605,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *509 - *510 + - *511 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *203 + '503': *204 '200': description: Response content: @@ -116938,7 +117621,7 @@ paths: properties: incremental_scans: type: array - items: &823 + items: &826 description: Information on a single scan performed by secret scanning on the repository type: object @@ -116969,15 +117652,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *823 + items: *826 backfill_scans: type: array - items: *823 + items: *826 custom_pattern_backfill_scans: type: array items: allOf: - - *823 + - *826 - type: object properties: pattern_name: @@ -116990,7 +117673,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *823 + items: *826 examples: default: value: @@ -117055,9 +117738,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *509 - *510 - - *112 + - *511 + - *113 - name: sort description: The property to sort the results by. in: query @@ -117069,8 +117752,8 @@ paths: - updated - published default: created - - *110 - *111 + - *112 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -117100,9 +117783,9 @@ paths: application/json: schema: type: array - items: *824 + items: *827 examples: - default: *825 + default: *828 '400': *14 '404': *6 x-github: @@ -117125,8 +117808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -117199,7 +117882,7 @@ paths: login: type: string description: The username of the user credited. - type: *492 + type: *493 required: - login - type @@ -117286,9 +117969,9 @@ paths: description: Response content: application/json: - schema: *824 + schema: *827 examples: - default: &827 + default: &830 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -117518,8 +118201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -117623,7 +118306,7 @@ paths: description: Response content: application/json: - schema: *824 + schema: *827 examples: default: value: @@ -117769,17 +118452,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *509 - *510 - - *826 + - *511 + - *829 responses: '200': description: Response content: application/json: - schema: *824 + schema: *827 examples: - default: *827 + default: *830 '403': *29 '404': *6 x-github: @@ -117803,9 +118486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *509 - *510 - - *826 + - *511 + - *829 requestBody: required: true content: @@ -117878,7 +118561,7 @@ paths: login: type: string description: The username of the user credited. - type: *492 + type: *493 required: - login - type @@ -117964,17 +118647,17 @@ paths: description: Response content: application/json: - schema: *824 + schema: *827 examples: - default: *827 - add_credit: *827 + default: *830 + add_credit: *830 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *270 + schema: *271 examples: invalid_state_transition: value: @@ -118005,11 +118688,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *509 - *510 - - *826 + - *511 + - *829 responses: - '202': *39 + '202': *40 '400': *14 '403': *29 '404': *6 @@ -118034,17 +118717,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *509 - *510 - - *826 + - *511 + - *829 responses: '202': description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *516 + default: *517 '400': *14 '422': *15 '403': *29 @@ -118070,8 +118753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -118148,7 +118831,7 @@ paths: type: User site_admin: false headers: - Link: *47 + Link: *48 '422': *15 x-github: githubCloudOnly: false @@ -118170,8 +118853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *509 - *510 + - *511 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -118180,7 +118863,7 @@ paths: application/json: schema: type: array - items: &828 + items: &831 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -118192,8 +118875,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *39 - '204': *130 + '202': *40 + '204': *129 '422': description: Repository contains more than 10,000 commits x-github: @@ -118213,8 +118896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -118262,8 +118945,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *39 - '204': *130 + '202': *40 + '204': *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118290,8 +118973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -118364,8 +119047,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *39 - '204': *130 + '202': *40 + '204': *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118387,8 +119070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *509 - *510 + - *511 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -118542,8 +119225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *509 - *510 + - *511 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -118553,7 +119236,7 @@ paths: application/json: schema: type: array - items: *828 + items: *831 examples: default: value: @@ -118566,7 +119249,7 @@ paths: - - 0 - 2 - 21 - '204': *130 + '204': *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118586,8 +119269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *509 - *510 + - *511 - name: sha in: path required: true @@ -118641,7 +119324,7 @@ paths: description: Response content: application/json: - schema: *829 + schema: *832 examples: default: value: @@ -118695,8 +119378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -118708,9 +119391,9 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118728,14 +119411,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *509 - *510 + - *511 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &830 + schema: &833 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -118803,8 +119486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *509 - *510 + - *511 requestBody: required: false content: @@ -118830,7 +119513,7 @@ paths: description: Response content: application/json: - schema: *830 + schema: *833 examples: default: value: @@ -118857,8 +119540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -118878,8 +119561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -118935,7 +119618,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118958,8 +119641,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *509 - *510 + - *511 - name: ref in: path required: true @@ -118995,8 +119678,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *509 - *510 + - *511 - *17 - *19 responses: @@ -119006,11 +119689,11 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - default: *418 + default: *419 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -119028,8 +119711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *509 - *510 + - *511 - *19 - *17 responses: @@ -119037,7 +119720,7 @@ paths: description: Response content: application/json: - schema: &831 + schema: &834 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -119049,7 +119732,7 @@ paths: required: - names examples: - default: &832 + default: &835 value: names: - octocat @@ -119072,8 +119755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -119104,9 +119787,9 @@ paths: description: Response content: application/json: - schema: *831 + schema: *834 examples: - default: *832 + default: *835 '404': *6 '422': *7 x-github: @@ -119127,9 +119810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *509 - *510 - - &833 + - *511 + - &836 name: per description: The time frame to display results for. in: query @@ -119158,7 +119841,7 @@ paths: example: 128 clones: type: array - items: &834 + items: &837 title: Traffic type: object properties: @@ -119245,8 +119928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -119336,8 +120019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *509 - *510 + - *511 responses: '200': description: Response @@ -119397,9 +120080,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *509 - *510 - - *833 + - *511 + - *836 responses: '200': description: Response @@ -119418,7 +120101,7 @@ paths: example: 3782 views: type: array - items: *834 + items: *837 required: - uniques - count @@ -119495,8 +120178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *509 - *510 + - *511 requestBody: required: true content: @@ -119532,7 +120215,7 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: default: value: @@ -119769,8 +120452,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *509 - *510 + - *511 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -119793,8 +120476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -119816,8 +120499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *509 - *510 + - *511 responses: '204': description: Response @@ -119843,8 +120526,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *509 - *510 + - *511 - name: ref in: path required: true @@ -119936,9 +120619,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *516 + default: *517 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -119979,7 +120662,7 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: default: value: @@ -120055,7 +120738,7 @@ paths: schema: type: string '422': *15 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120089,7 +120772,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &842 + - &845 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -120098,7 +120781,7 @@ paths: schema: type: string example: members - - &847 + - &850 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -120109,7 +120792,7 @@ paths: default: 1 format: int32 example: 1 - - &848 + - &851 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -120119,7 +120802,7 @@ paths: default: 30 format: int32 example: 1 - - *41 + - *42 responses: '200': description: Success, either groups were found or not found @@ -120151,7 +120834,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &837 + items: &840 allOf: - type: object required: @@ -120226,7 +120909,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &849 + meta: &852 type: object description: The metadata associated with the creation/updates to the user. @@ -120286,30 +120969,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &838 + '400': &841 description: Bad request content: application/json: - schema: *835 + schema: *838 application/scim+json: - schema: *835 - '401': *836 - '403': &839 + schema: *838 + '401': *839 + '403': &842 description: Permission denied - '429': &840 + '429': &843 description: Too many requests content: application/json: - schema: *835 + schema: *838 application/scim+json: - schema: *835 - '500': &841 + schema: *838 + '500': &844 description: Internal server error content: application/json: - schema: *835 + schema: *838 application/scim+json: - schema: *835 + schema: *838 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120328,12 +121011,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#provision-a-scim-enterprise-group parameters: - - *41 + - *42 requestBody: required: true content: application/json: - schema: &845 + schema: &848 type: object required: - schemas @@ -120393,9 +121076,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *837 + schema: *840 examples: - group: &843 + group: &846 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -120414,13 +121097,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *838 - '401': *836 - '403': *839 - '409': &846 + '400': *841 + '401': *839 + '403': *842 + '409': &849 description: Duplicate record detected - '429': *840 - '500': *841 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120437,7 +121120,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &844 + - &847 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -120445,22 +121128,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *842 - - *41 + - *845 + - *42 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *837 + schema: *840 examples: - default: *843 - '400': *838 - '401': *836 - '403': *839 + default: *846 + '400': *841 + '401': *839 + '403': *842 '404': *6 - '429': *840 - '500': *841 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120479,13 +121162,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *844 - - *41 + - *847 + - *42 requestBody: required: true content: application/json: - schema: *845 + schema: *848 examples: group: summary: Group @@ -120511,17 +121194,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *837 + schema: *840 examples: - group: *843 - groupWithMembers: *843 - '400': *838 - '401': *836 - '403': *839 + group: *846 + groupWithMembers: *846 + '400': *841 + '401': *839 + '403': *842 '404': *6 - '409': *846 - '429': *840 - '500': *841 + '409': *849 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120545,13 +121228,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *844 - - *41 + - *847 + - *42 requestBody: required: true content: application/json: - schema: &856 + schema: &859 type: object required: - Operations @@ -120611,17 +121294,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *837 + schema: *840 examples: - updateGroup: *843 - addMembers: *843 - '400': *838 - '401': *836 - '403': *839 + updateGroup: *846 + addMembers: *846 + '400': *841 + '401': *839 + '403': *842 '404': *6 - '409': *846 - '429': *840 - '500': *841 + '409': *849 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120637,17 +121320,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *844 - - *41 + - *847 + - *42 responses: '204': description: Group was deleted, no content - '400': *838 - '401': *836 - '403': *839 + '400': *841 + '401': *839 + '403': *842 '404': *6 - '429': *840 - '500': *841 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120681,9 +121364,9 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *847 - - *848 - - *41 + - *850 + - *851 + - *42 responses: '200': description: Success, either users were found or not found @@ -120715,7 +121398,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &851 + items: &854 allOf: - type: object required: @@ -120794,7 +121477,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &850 + roles: &853 type: array description: The roles assigned to the user. items: @@ -120850,7 +121533,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *849 + meta: *852 startIndex: type: integer description: A starting index for the returned page @@ -120887,11 +121570,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *838 - '401': *836 - '403': *839 - '429': *840 - '500': *841 + '400': *841 + '401': *839 + '403': *842 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120910,12 +121593,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#provision-a-scim-enterprise-user parameters: - - *41 + - *42 requestBody: required: true content: application/json: - schema: &854 + schema: &857 type: object required: - schemas @@ -120997,9 +121680,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *850 + roles: *853 examples: - user: &855 + user: &858 summary: User value: schemas: @@ -121046,9 +121729,9 @@ paths: description: User has been created content: application/scim+json: - schema: *851 + schema: *854 examples: - user: &852 + user: &855 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -121074,13 +121757,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *852 - '400': *838 - '401': *836 - '403': *839 - '409': *846 - '429': *840 - '500': *841 + enterpriseOwner: *855 + '400': *841 + '401': *839 + '403': *842 + '409': *849 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121097,28 +121780,28 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &853 + - &856 name: scim_user_id description: The unique identifier of the SCIM user. in: path required: true schema: type: string - - *41 + - *42 responses: '200': description: Success, a user was found content: application/scim+json: - schema: *851 + schema: *854 examples: - default: *852 - '400': *838 - '401': *836 - '403': *839 + default: *855 + '400': *841 + '401': *839 + '403': *842 '404': *6 - '429': *840 - '500': *841 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121169,30 +121852,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *853 - - *41 + - *856 + - *42 requestBody: required: true content: application/json: - schema: *854 + schema: *857 examples: - user: *855 + user: *858 responses: '200': description: User was updated content: application/scim+json: - schema: *851 + schema: *854 examples: - user: *852 - '400': *838 - '401': *836 - '403': *839 + user: *855 + '400': *841 + '401': *839 + '403': *842 '404': *6 - '409': *846 - '429': *840 - '500': *841 + '409': *849 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121233,13 +121916,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *853 - - *41 + - *856 + - *42 requestBody: required: true content: application/json: - schema: *856 + schema: *859 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -121279,18 +121962,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *851 - examples: - userMultiValuedProperties: *852 - userSingleValuedProperties: *852 - disableUser: *852 - '400': *838 - '401': *836 - '403': *839 + schema: *854 + examples: + userMultiValuedProperties: *855 + userSingleValuedProperties: *855 + disableUser: *855 + '400': *841 + '401': *839 + '403': *842 '404': *6 - '409': *846 - '429': *840 - '500': *841 + '409': *849 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121310,17 +121993,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *853 - - *41 + - *856 + - *42 responses: '204': description: User was deleted, no content - '400': *838 - '401': *836 - '403': *839 + '400': *841 + '401': *839 + '403': *842 '404': *6 - '429': *840 - '500': *841 + '429': *843 + '500': *844 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121353,7 +122036,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#list-scim-provisioned-identities parameters: - - *89 + - *90 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -121407,7 +122090,7 @@ paths: example: 1 Resources: type: array - items: &857 + items: &860 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -121637,23 +122320,23 @@ paths: created: '2017-03-09T16:11:13-05:00' lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 - '304': *37 - '404': &858 + '304': *38 + '404': &861 description: Resource not found content: application/json: - schema: *835 + schema: *838 application/scim+json: - schema: *835 - '403': &859 + schema: *838 + '403': &862 description: Forbidden content: application/json: - schema: *835 + schema: *838 application/scim+json: - schema: *835 - '400': *838 - '429': *840 + schema: *838 + '400': *841 + '429': *843 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -121673,15 +122356,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *89 + - *90 responses: '201': description: Response content: application/scim+json: - schema: *857 + schema: *860 examples: - default: &860 + default: &863 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -121703,18 +122386,18 @@ paths: created: '2017-03-09T16:11:13-05:00' lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 - '304': *37 - '404': *858 - '403': *859 - '500': *841 + '304': *38 + '404': *861 + '403': *862 + '500': *844 '409': description: Conflict content: application/json: - schema: *835 + schema: *838 application/scim+json: - schema: *835 - '400': *838 + schema: *838 + '400': *841 requestBody: required: true content: @@ -121811,19 +122494,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *89 - - *853 + - *90 + - *856 responses: '200': description: Response content: application/scim+json: - schema: *857 + schema: *860 examples: - default: *860 - '404': *858 - '403': *859 - '304': *37 + default: *863 + '404': *861 + '403': *862 + '304': *38 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -121845,19 +122528,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *89 - - *853 + - *90 + - *856 responses: '200': description: Response content: application/scim+json: - schema: *857 + schema: *860 examples: - default: *860 - '304': *37 - '404': *858 - '403': *859 + default: *863 + '304': *38 + '404': *861 + '403': *862 requestBody: required: true content: @@ -121969,20 +122652,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *89 - - *853 + - *90 + - *856 responses: '200': description: Response content: application/scim+json: - schema: *857 + schema: *860 examples: - default: *860 - '304': *37 - '404': *858 - '403': *859 - '400': *838 + default: *863 + '304': *38 + '404': *861 + '403': *862 + '400': *841 '429': description: Response content: @@ -122072,14 +122755,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *89 - - *853 + - *90 + - *856 responses: '204': description: Response - '404': *858 - '403': *859 - '304': *37 + '404': *861 + '403': *862 + '304': *38 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -122196,7 +122879,7 @@ paths: html_url: type: string format: uri - repository: *295 + repository: *296 score: type: number file_size: @@ -122214,7 +122897,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &861 + text_matches: &864 title: Search Result Text Matches type: array items: @@ -122327,8 +123010,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': *37 - '503': *203 + '304': *38 + '503': *204 '422': *15 '403': *29 x-github: @@ -122377,7 +123060,7 @@ paths: enum: - author-date - committer-date - - &862 + - &865 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 @@ -122448,7 +123131,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *559 + properties: *560 nullable: true comment_count: type: integer @@ -122468,7 +123151,7 @@ paths: url: type: string format: uri - verification: *686 + verification: *689 required: - author - committer @@ -122487,7 +123170,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *559 + properties: *560 nullable: true parents: type: array @@ -122500,12 +123183,12 @@ paths: type: string sha: type: string - repository: *295 + repository: *296 score: type: number node_id: type: string - text_matches: *861 + text_matches: *864 required: - sha - node_id @@ -122634,7 +123317,7 @@ paths: deployments_url: https://api.github.com/repos/octocat/Spoon-Knife/deployments score: 1 node_id: MDQ6VXNlcjU4MzIzMQ== - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122698,7 +123381,7 @@ paths: - interactions - created - updated - - *862 + - *865 - *17 - *19 - name: advanced_search @@ -122812,11 +123495,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: type: string state_reason: @@ -122826,8 +123509,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *439 + required: *440 nullable: true comments: type: integer @@ -122841,7 +123524,7 @@ paths: type: string format: date-time nullable: true - text_matches: *861 + text_matches: *864 pull_request: type: object properties: @@ -122874,10 +123557,10 @@ paths: type: string score: type: number - author_association: *231 + author_association: *232 draft: type: boolean - repository: *80 + repository: *81 body_html: type: string body_text: @@ -122885,7 +123568,7 @@ paths: timeline_url: type: string format: uri - type: *403 + type: *404 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -122895,17 +123578,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - reactions: *232 + reactions: *233 required: - closed_at - comments @@ -123067,9 +123750,9 @@ paths: - quoted_text items: - "..." - '503': *203 + '503': *204 '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -123121,7 +123804,7 @@ paths: enum: - created - updated - - *862 + - *865 - *17 - *19 responses: @@ -123165,7 +123848,7 @@ paths: nullable: true score: type: number - text_matches: *861 + text_matches: *864 required: - id - node_id @@ -123197,7 +123880,7 @@ paths: default: true description: Something isn't working. score: 1 - '304': *37 + '304': *38 '404': *6 '403': *29 '422': *15 @@ -123251,7 +123934,7 @@ paths: - forks - help-wanted-issues - updated - - *862 + - *865 - *17 - *19 responses: @@ -123479,8 +124162,8 @@ paths: title: License Simple description: License Simple type: object - properties: *237 - required: *238 + properties: *238 + required: *239 nullable: true permissions: type: object @@ -123499,7 +124182,7 @@ paths: - admin - pull - push - text_matches: *861 + text_matches: *864 temp_clone_token: type: string allow_merge_commit: @@ -123701,9 +124384,9 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *203 + '503': *204 '422': *15 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -123800,7 +124483,7 @@ paths: type: string format: uri nullable: true - text_matches: *861 + text_matches: *864 related: type: array nullable: true @@ -123941,7 +124624,7 @@ paths: featured: true curated: true score: 1 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -123993,7 +124676,7 @@ paths: - followers - repositories - joined - - *862 + - *865 - *17 - *19 responses: @@ -124097,7 +124780,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *861 + text_matches: *864 blog: type: string nullable: true @@ -124155,8 +124838,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': *37 - '503': *203 + '304': *38 + '503': *204 '422': *15 x-github: githubCloudOnly: false @@ -124176,7 +124859,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &865 + - &868 name: team_id description: The unique identifier of the team. in: path @@ -124188,9 +124871,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *502 examples: - default: *502 + default: *503 '404': *6 x-github: githubCloudOnly: false @@ -124217,7 +124900,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *865 + - *868 requestBody: required: true content: @@ -124280,16 +124963,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *501 + schema: *502 examples: - default: *502 + default: *503 '201': description: Response content: application/json: - schema: *501 + schema: *502 examples: - default: *502 + default: *503 '404': *6 '422': *15 '403': *29 @@ -124317,7 +125000,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *865 + - *868 responses: '204': description: Response @@ -124346,7 +125029,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *865 + - *868 - *17 - *19 responses: @@ -124356,11 +125039,11 @@ paths: application/json: schema: type: array - items: *397 + items: *398 examples: - default: *398 + default: *399 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -124386,7 +125069,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *865 + - *868 - name: role description: Filters members returned by their role in the team. in: query @@ -124407,11 +125090,11 @@ paths: application/json: schema: type: array - items: *866 + items: *869 examples: - default: *867 + default: *870 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -124437,8 +125120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *865 - - *151 + - *868 + - *152 responses: '204': description: if user is a member @@ -124474,8 +125157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *865 - - *151 + - *868 + - *152 responses: '204': description: Response @@ -124514,8 +125197,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *865 - - *151 + - *868 + - *152 responses: '204': description: Response @@ -124551,16 +125234,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *865 - - *151 + - *868 + - *152 responses: '200': description: Response content: application/json: - schema: *508 + schema: *509 examples: - response-if-user-is-a-team-maintainer: *868 + response-if-user-is-a-team-maintainer: *871 '404': *6 x-github: githubCloudOnly: false @@ -124593,8 +125276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *865 - - *151 + - *868 + - *152 requestBody: required: false content: @@ -124619,9 +125302,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - response-if-users-membership-with-team-is-now-pending: *869 + response-if-users-membership-with-team-is-now-pending: *872 '403': description: Forbidden if team synchronization is set up '422': @@ -124655,8 +125338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *865 - - *151 + - *868 + - *152 responses: '204': description: Response @@ -124683,7 +125366,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *865 + - *868 - *17 - *19 responses: @@ -124693,11 +125376,11 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *432 + default: *433 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -124725,15 +125408,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *865 - - *509 + - *868 - *510 + - *511 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *870 + schema: *873 examples: alternative-response-with-extra-repository-information: value: @@ -124883,9 +125566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *865 - - *509 + - *868 - *510 + - *511 requestBody: required: false content: @@ -124935,9 +125618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *865 - - *509 + - *868 - *510 + - *511 responses: '204': description: Response @@ -124966,15 +125649,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *865 + - *868 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 + default: *513 '403': *29 '404': *6 x-github: @@ -125001,7 +125684,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *865 + - *868 requestBody: required: true content: @@ -125058,7 +125741,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: default: value: @@ -125089,7 +125772,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *865 + - *868 - *17 - *19 responses: @@ -125099,11 +125782,11 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - response-if-child-teams-exist: *871 + response-if-child-teams-exist: *874 headers: - Link: *47 + Link: *48 '404': *6 '403': *29 '422': *15 @@ -125134,7 +125817,7 @@ paths: application/json: schema: oneOf: - - &872 + - &875 title: Private User description: Private User type: object @@ -125337,7 +126020,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &899 + - &902 title: Public User description: Public User type: object @@ -125579,7 +126262,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -125649,7 +126332,7 @@ paths: description: Response content: application/json: - schema: *872 + schema: *875 examples: default: value: @@ -125696,7 +126379,7 @@ paths: space: 400 private_repos: 20 collaborators: 0 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -125728,8 +126411,8 @@ paths: type: array items: *4 examples: - default: *222 - '304': *37 + default: *223 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -125751,7 +126434,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *151 + - *152 responses: '204': description: If the user is blocked @@ -125760,7 +126443,7 @@ paths: content: application/json: schema: *3 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -125779,11 +126462,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#block-a-user parameters: - - *151 + - *152 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -125803,11 +126486,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#unblock-a-user parameters: - - *151 + - *152 responses: '204': description: Response - '304': *37 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -125852,11 +126535,11 @@ paths: type: integer codespaces: type: array - items: *408 + items: *409 examples: - default: *409 - '304': *37 - '500': *40 + default: *410 + '304': *38 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -125993,21 +126676,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *408 + schema: *409 examples: - default: *612 + default: *615 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *408 + schema: *409 examples: - default: *612 + default: *615 '401': *25 '403': *29 '404': *6 - '503': *203 + '503': *204 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -126047,7 +126730,7 @@ paths: type: integer secrets: type: array - items: &873 + items: &876 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -126087,9 +126770,9 @@ paths: - visibility - selected_repositories_url examples: - default: *615 + default: *618 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -126157,13 +126840,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *873 + schema: *876 examples: default: value: @@ -126193,7 +126876,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *305 + - *306 requestBody: required: true content: @@ -126238,7 +126921,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -126266,7 +126949,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *305 + - *306 responses: '204': description: Response @@ -126291,7 +126974,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *305 + - *306 responses: '200': description: Response @@ -126307,13 +126990,13 @@ paths: type: integer repositories: type: array - items: *295 + items: *296 examples: - default: *347 + default: *348 '401': *25 '403': *29 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -126334,7 +127017,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *305 + - *306 requestBody: required: true content: @@ -126366,7 +127049,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -126388,7 +127071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *305 + - *306 - name: repository_id in: path required: true @@ -126400,7 +127083,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -126421,7 +127104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *305 + - *306 - name: repository_id in: path required: true @@ -126433,7 +127116,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *40 + '500': *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -126453,17 +127136,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *410 + - *411 responses: '200': description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: *612 - '304': *37 - '500': *40 + default: *615 + '304': *38 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -126487,7 +127170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *410 + - *411 requestBody: required: false content: @@ -126517,9 +127200,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: *612 + default: *615 '401': *25 '403': *29 '404': *6 @@ -126541,11 +127224,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *410 + - *411 responses: - '202': *39 - '304': *37 - '500': *40 + '202': *40 + '304': *38 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -126570,13 +127253,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *410 + - *411 responses: '202': description: Response content: application/json: - schema: &874 + schema: &877 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -126617,7 +127300,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &875 + default: &878 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -126625,7 +127308,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *40 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -126649,7 +127332,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *410 + - *411 - name: export_id in: path required: true @@ -126662,9 +127345,9 @@ paths: description: Response content: application/json: - schema: *874 + schema: *877 examples: - default: *875 + default: *878 '404': *6 x-github: githubCloudOnly: false @@ -126685,7 +127368,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *410 + - *411 responses: '200': description: Response @@ -126701,11 +127384,11 @@ paths: type: integer machines: type: array - items: *876 + items: *879 examples: - default: *877 - '304': *37 - '500': *40 + default: *880 + '304': *38 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -126732,7 +127415,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *410 + - *411 requestBody: required: true content: @@ -126782,13 +127465,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *514 + repository: *515 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *613 - required: *614 + properties: *616 + required: *617 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -127562,17 +128245,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *410 + - *411 responses: '200': description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: *612 - '304': *37 - '500': *40 + default: *615 + '304': *38 + '500': *41 '400': *14 '401': *25 '402': @@ -127582,7 +128265,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *121 + '409': *122 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -127602,16 +128285,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *410 + - *411 responses: '200': description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: *612 - '500': *40 + default: *615 + '500': *41 '401': *25 '403': *29 '404': *6 @@ -127640,9 +128323,9 @@ paths: application/json: schema: type: array - items: *419 + items: *420 examples: - default: &889 + default: &892 value: - id: 197 name: hello_docker @@ -127743,7 +128426,7 @@ paths: application/json: schema: type: array - items: &878 + items: &881 title: Email description: Email type: object @@ -127774,7 +128457,7 @@ paths: primary: true verified: true visibility: private - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -127808,17 +128491,17 @@ paths: application/json: schema: type: array - items: *878 + items: *881 examples: - default: &891 + default: &894 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -127885,7 +128568,7 @@ paths: application/json: schema: type: array - items: *878 + items: *881 examples: default: value: @@ -127902,7 +128585,7 @@ paths: verified: false visibility: '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -127963,7 +128646,7 @@ paths: responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -127995,10 +128678,10 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -128028,10 +128711,10 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -128050,7 +128733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *151 + - *152 responses: '204': description: if the person is followed by the authenticated user @@ -128059,7 +128742,7 @@ paths: content: application/json: schema: *3 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -128080,11 +128763,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#follow-a-user parameters: - - *151 + - *152 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -128105,11 +128788,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#unfollow-a-user parameters: - - *151 + - *152 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -128141,7 +128824,7 @@ paths: application/json: schema: type: array - items: &879 + items: &882 title: GPG Key description: A unique encryption key type: object @@ -128272,7 +128955,7 @@ paths: - subkeys - revoked examples: - default: &909 + default: &912 value: - id: 3 name: Octocat's GPG Key @@ -128304,8 +128987,8 @@ paths: revoked: false raw_key: string headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -128357,9 +129040,9 @@ paths: description: Response content: application/json: - schema: *879 + schema: *882 examples: - default: &880 + default: &883 value: id: 3 name: Octocat's GPG Key @@ -128393,7 +129076,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': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -128416,7 +129099,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &881 + - &884 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -128428,11 +129111,11 @@ paths: description: Response content: application/json: - schema: *879 + schema: *882 examples: - default: *880 + default: *883 '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -128453,13 +129136,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *881 + - *884 responses: '204': description: Response '404': *6 '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -128596,8 +129279,8 @@ paths: suspended_at: suspended_by: headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -128644,7 +129327,7 @@ paths: type: array items: allOf: - - *80 + - *81 - type: object properties: custom_properties: @@ -128655,12 +129338,12 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *290 + default: *291 headers: - Link: *47 + Link: *48 '404': *6 '403': *29 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -128681,12 +129364,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *289 + - *290 responses: '204': description: Response '403': *29 - '304': *37 + '304': *38 '404': *6 x-github: githubCloudOnly: false @@ -128707,12 +129390,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *289 + - *290 responses: '204': description: Response '403': *29 - '304': *37 + '304': *38 '404': *6 '422': description: Returned when the application is installed on `all` repositories @@ -128741,12 +129424,12 @@ paths: application/json: schema: anyOf: - - *395 + - *396 - type: object properties: {} additionalProperties: false examples: - default: *396 + default: *397 '204': description: Response when there are no restrictions x-github: @@ -128770,7 +129453,7 @@ paths: required: true content: application/json: - schema: *696 + schema: *699 examples: default: value: @@ -128781,7 +129464,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: default: value: @@ -128862,7 +129545,7 @@ paths: - closed - all default: open - - *406 + - *407 - name: sort description: What to sort results by. in: query @@ -128874,8 +129557,8 @@ paths: - updated - comments default: created - - *112 - - *241 + - *113 + - *242 - *17 - *19 responses: @@ -128885,13 +129568,13 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *407 + default: *408 headers: - Link: *47 + Link: *48 '404': *6 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -128920,7 +129603,7 @@ paths: application/json: schema: type: array - items: &882 + items: &885 title: Key description: Key type: object @@ -128971,8 +129654,8 @@ paths: verified: false read_only: false headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -129021,9 +129704,9 @@ paths: description: Response content: application/json: - schema: *882 + schema: *885 examples: - default: &883 + default: &886 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -129033,7 +129716,7 @@ paths: verified: false read_only: false '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -129056,17 +129739,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *749 + - *751 responses: '200': description: Response content: application/json: - schema: *882 + schema: *885 examples: - default: *883 + default: *886 '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -129087,11 +129770,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *749 + - *751 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -129120,7 +129803,7 @@ paths: application/json: schema: type: array - items: &884 + items: &887 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -129177,7 +129860,7 @@ paths: - id - type - login - plan: *252 + plan: *253 required: - billing_cycle - next_billing_date @@ -129188,7 +129871,7 @@ paths: - account - plan examples: - default: &885 + default: &888 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -129221,8 +129904,8 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '401': *25 '404': *6 x-github: @@ -129250,12 +129933,12 @@ paths: application/json: schema: type: array - items: *884 + items: *887 examples: - default: *885 + default: *888 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '401': *25 x-github: githubCloudOnly: false @@ -129292,7 +129975,7 @@ paths: application/json: schema: type: array - items: *411 + items: *412 examples: default: value: @@ -129375,8 +130058,8 @@ paths: type: User site_admin: false headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -129400,13 +130083,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *411 + schema: *412 examples: default: value: @@ -129468,7 +130151,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *89 + - *90 requestBody: required: true content: @@ -129493,9 +130176,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *411 + schema: *412 examples: - default: &886 + default: &889 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -129542,9 +130225,9 @@ paths: processed asynchronously. content: application/json: - schema: *411 + schema: *412 examples: - default: *886 + default: *889 '403': *29 '404': *6 '422': *15 @@ -129573,7 +130256,7 @@ paths: application/json: schema: type: array - items: *413 + items: *414 examples: default: value: @@ -129726,8 +130409,8 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -129826,7 +130509,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *414 examples: default: value: @@ -129979,7 +130662,7 @@ paths: created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -130006,7 +130689,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *414 + - *415 - name: exclude in: query required: false @@ -130019,7 +130702,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *414 examples: default: value: @@ -130173,7 +130856,7 @@ paths: created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -130213,11 +130896,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *414 + - *415 responses: '302': description: Response - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -130239,12 +130922,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *414 + - *415 responses: '204': description: Response '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -130268,12 +130951,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *414 - - *887 + - *415 + - *890 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -130293,7 +130976,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *414 + - *415 - *17 - *19 responses: @@ -130303,9 +130986,9 @@ paths: application/json: schema: type: array - items: *122 + items: *123 headers: - Link: *47 + Link: *48 '404': *6 x-github: githubCloudOnly: false @@ -130338,12 +131021,12 @@ paths: application/json: schema: type: array - items: *75 + items: *76 examples: - default: *265 + default: *266 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -130382,7 +131065,7 @@ paths: - docker - nuget - container - - *888 + - *891 - *19 - *17 responses: @@ -130392,10 +131075,10 @@ paths: application/json: schema: type: array - items: *419 + items: *420 examples: - default: *889 - '400': *890 + default: *892 + '400': *893 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -130415,16 +131098,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *421 - *422 + - *423 responses: '200': description: Response content: application/json: - schema: *419 + schema: *420 examples: - default: &910 + default: &913 value: id: 40201 name: octo-name @@ -130537,8 +131220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *421 - *422 + - *423 responses: '204': description: Response @@ -130568,8 +131251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *421 - *422 + - *423 - name: token description: package token schema: @@ -130601,8 +131284,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *421 - *422 + - *423 - *19 - *17 - name: state @@ -130622,7 +131305,7 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: default: value: @@ -130671,15 +131354,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *421 - *422 - - *424 + - *423 + - *425 responses: '200': description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -130715,9 +131398,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *421 - *422 - - *424 + - *423 + - *425 responses: '204': description: Response @@ -130747,9 +131430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *421 - *422 - - *424 + - *423 + - *425 responses: '204': description: Response @@ -130786,12 +131469,12 @@ paths: application/json: schema: type: array - items: *878 + items: *881 examples: - default: *891 + default: *894 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -130899,9 +131582,9 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: - default: &898 + default: &901 summary: Default response value: - id: 1296269 @@ -131022,9 +131705,9 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *47 + Link: *48 '422': *15 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -131205,16 +131888,16 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *516 + default: *517 headers: Location: example: https://api.github.com/repos/octocat/Hello-World schema: type: string '401': *25 - '304': *37 + '304': *38 '404': *6 '403': *29 '422': *15 @@ -131246,12 +131929,12 @@ paths: application/json: schema: type: array - items: *699 + items: *702 examples: - default: *892 + default: *895 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -131271,14 +131954,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *399 + - *400 responses: '204': description: Response '403': *29 - '409': *121 + '409': *122 '404': *6 - '304': *37 + '304': *38 '451': *15 x-github: githubCloudOnly: false @@ -131295,12 +131978,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *399 + - *400 responses: '204': description: Response - '409': *121 - '304': *37 + '409': *122 + '304': *38 '404': *6 '403': *29 x-github: @@ -131328,7 +132011,7 @@ paths: application/json: schema: type: array - items: &893 + items: &896 title: Social account description: Social media account type: object @@ -131343,13 +132026,13 @@ paths: - provider - url examples: - default: &894 + default: &897 value: - provider: twitter url: https://twitter.com/github headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -131405,11 +132088,11 @@ paths: application/json: schema: type: array - items: *893 + items: *896 examples: - default: *894 + default: *897 '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -131462,7 +132145,7 @@ paths: '204': description: Response '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -131494,7 +132177,7 @@ paths: application/json: schema: type: array - items: &895 + items: &898 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -131514,7 +132197,7 @@ paths: - title - created_at examples: - default: &924 + default: &927 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -131525,8 +132208,8 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -131578,16 +132261,16 @@ paths: description: Response content: application/json: - schema: *895 + schema: *898 examples: - default: &896 + default: &899 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 title: ssh-rsa AAAAB3NzaC1yc2EAAA created_at: '2020-06-11T21:31:57Z' '422': *15 - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -131610,7 +132293,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &897 + - &900 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -131622,11 +132305,11 @@ paths: description: Response content: application/json: - schema: *895 + schema: *898 examples: - default: *896 + default: *899 '404': *6 - '304': *37 + '304': *38 '403': *29 '401': *25 x-github: @@ -131647,11 +132330,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *897 + - *900 responses: '204': description: Response - '304': *37 + '304': *38 '404': *6 '403': *29 '401': *25 @@ -131676,7 +132359,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &925 + - &928 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 @@ -131689,7 +132372,7 @@ paths: - created - updated default: created - - *112 + - *113 - *17 - *19 responses: @@ -131699,13 +132382,13 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: - default-response: *898 + default-response: *901 application/vnd.github.v3.star+json: schema: type: array - items: &926 + items: &929 title: Starred Repository description: Starred Repository type: object @@ -131713,7 +132396,7 @@ paths: starred_at: type: string format: date-time - repo: *80 + repo: *81 required: - starred_at - repo @@ -131841,8 +132524,8 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -131861,8 +132544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *509 - *510 + - *511 responses: '204': description: Response if this repository is starred by you @@ -131872,7 +132555,7 @@ paths: application/json: schema: *3 '401': *25 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -131890,15 +132573,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *509 - *510 + - *511 responses: '204': description: Response '403': *29 '404': *6 '401': *25 - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -131915,14 +132598,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *509 - *510 + - *511 responses: '204': description: Response '404': *6 '401': *25 - '304': *37 + '304': *38 '403': *29 x-github: githubCloudOnly: false @@ -131949,12 +132632,12 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *432 + default: *433 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -131988,7 +132671,7 @@ paths: application/json: schema: type: array - items: *501 + items: *502 examples: default: value: @@ -132039,8 +132722,8 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '404': *6 '403': *29 x-github: @@ -132066,7 +132749,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *254 + - *255 responses: '200': description: Response @@ -132074,10 +132757,10 @@ paths: application/json: schema: oneOf: - - *872 - - *899 + - *875 + - *902 examples: - default-response: &903 + default-response: &906 summary: Default response value: login: octocat @@ -132112,7 +132795,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &904 + response-with-git-hub-plan-information: &907 summary: Response with GitHub plan information value: login: octocat @@ -132169,14 +132852,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &901 + - &904 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *437 + - *438 requestBody: required: true description: Details of the draft item to create in the project. @@ -132210,10 +132893,10 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - draft_issue: *444 - '304': *37 + draft_issue: *445 + '304': *38 '403': *29 '401': *25 x-github: @@ -132235,7 +132918,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *900 + - *903 - *17 responses: '200': @@ -132246,13 +132929,13 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: Link: example: ; rel="next" schema: type: string - '304': *37 + '304': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -132270,8 +132953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *901 - - *437 + - *904 + - *438 requestBody: required: true content: @@ -132342,18 +133025,18 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *902 + schema: *905 examples: table_view: summary: Response for creating a table view - value: *448 + value: *449 board_view: summary: Response for creating a board view with filter - value: *448 + value: *449 roadmap_view: summary: Response for creating a roadmap view - value: *448 - '304': *37 + value: *449 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -132386,7 +133069,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user parameters: - - *151 + - *152 responses: '200': description: Response @@ -132394,11 +133077,11 @@ paths: application/json: schema: oneOf: - - *872 - - *899 + - *875 + - *902 examples: - default-response: *903 - response-with-git-hub-plan-information: *904 + default-response: *906 + response-with-git-hub-plan-information: *907 '404': *6 x-github: githubCloudOnly: false @@ -132422,9 +133105,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *110 - *111 - - *151 + - *112 + - *152 requestBody: required: true content: @@ -132448,8 +133131,8 @@ paths: required: - subject_digests examples: - default: *905 - withPredicateType: *906 + default: *908 + withPredicateType: *909 responses: '200': description: Response @@ -132488,7 +133171,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *907 + default: *910 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -132506,7 +133189,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-in-bulk parameters: - - *151 + - *152 requestBody: required: true content: @@ -132571,7 +133254,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *151 + - *152 - name: subject_digest description: Subject Digest in: path @@ -132602,7 +133285,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-by-id parameters: - - *151 + - *152 - name: attestation_id description: Attestation ID in: path @@ -132638,9 +133321,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#list-attestations parameters: - *17 - - *110 - *111 - - *151 + - *112 + - *152 - name: subject_digest description: Subject Digest in: path @@ -132677,12 +133360,12 @@ paths: initiator: type: string examples: - default: *555 + default: *556 '201': description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -132710,7 +133393,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#list-copilot-spaces-for-a-user parameters: - - *151 + - *152 - name: per_page description: The number of results per page (max 100). in: query @@ -132744,7 +133427,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *343 + items: *344 examples: default: summary: Example response for listing user copilot spaces @@ -132843,7 +133526,7 @@ paths: html_url: https://github.com/copilot/spaces/octocat/2 api_url: https://api.github.com/user/1/copilot-spaces/2 headers: - Link: *47 + Link: *48 '403': *29 '404': *6 x-github: @@ -132865,7 +133548,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#create-a-copilot-space-for-a-user parameters: - - *151 + - *152 requestBody: required: true content: @@ -132956,9 +133639,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: &908 + default: &911 summary: Example response for a user copilot space value: id: 42 @@ -133045,7 +133728,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#get-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133057,9 +133740,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: *908 + default: *911 '403': *29 '404': *6 x-github: @@ -133081,7 +133764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#set-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133180,9 +133863,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: *908 + default: *911 '403': *29 '404': *6 '422': *15 @@ -133205,7 +133888,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/copilot-spaces#delete-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133239,7 +133922,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/collaborators#list-collaborators-for-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133259,7 +133942,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *345 + items: *346 examples: default: value: @@ -133355,7 +134038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/collaborators#add-a-collaborator-to-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133402,7 +134085,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *346 examples: default: value: @@ -133462,7 +134145,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/collaborators#set-a-collaborator-role-for-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133513,7 +134196,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *346 examples: default: value: @@ -133575,7 +134258,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/collaborators#remove-a-collaborator-from-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133623,7 +134306,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#list-resources-for-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133643,7 +134326,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *346 + items: *347 examples: default: value: @@ -133681,7 +134364,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#create-a-resource-for-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133735,7 +134418,7 @@ paths: description: Resource created content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -133751,7 +134434,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -133786,7 +134469,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#get-a-resource-for-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133804,7 +134487,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -133836,7 +134519,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#set-a-resource-for-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133871,7 +134554,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -133904,7 +134587,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot-spaces/resources#delete-a-resource-from-a-copilot-space-for-a-user parameters: - - *151 + - *152 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133940,7 +134623,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *151 + - *152 responses: '200': description: Response @@ -133948,9 +134631,9 @@ paths: application/json: schema: type: array - items: *419 + items: *420 examples: - default: *889 + default: *892 '403': *29 '401': *25 x-github: @@ -133973,7 +134656,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -133983,7 +134666,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: default: value: @@ -134045,8 +134728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *151 - - *89 + - *152 + - *90 - *17 - *19 responses: @@ -134056,7 +134739,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: default: value: @@ -134133,7 +134816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -134143,7 +134826,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: default: value: @@ -134201,7 +134884,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-followers-of-a-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -134213,9 +134896,9 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -134232,7 +134915,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-the-people-a-user-follows parameters: - - *151 + - *152 - *17 - *19 responses: @@ -134244,9 +134927,9 @@ paths: type: array items: *4 examples: - default: *222 + default: *223 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -134263,7 +134946,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *151 + - *152 - name: target_user in: path required: true @@ -134290,8 +134973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - - *151 - - *241 + - *152 + - *242 - *17 - *19 responses: @@ -134301,11 +134984,11 @@ paths: application/json: schema: type: array - items: *242 + items: *243 examples: - default: *243 + default: *244 headers: - Link: *47 + Link: *48 '422': *15 x-github: githubCloudOnly: false @@ -134324,7 +135007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -134334,11 +135017,11 @@ paths: application/json: schema: type: array - items: *879 + items: *882 examples: - default: *909 + default: *912 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -134360,7 +135043,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-contextual-information-for-a-user parameters: - - *151 + - *152 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -134432,7 +135115,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *151 + - *152 responses: '200': description: Response @@ -134440,7 +135123,7 @@ paths: application/json: schema: *22 examples: - default: *393 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -134458,7 +135141,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#list-public-keys-for-a-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -134493,7 +135176,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -134513,7 +135196,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -134523,11 +135206,11 @@ paths: application/json: schema: type: array - items: *75 + items: *76 examples: - default: *265 + default: *266 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -134564,8 +135247,8 @@ paths: - docker - nuget - container - - *888 - - *151 + - *891 + - *152 - *19 - *17 responses: @@ -134575,12 +135258,12 @@ paths: application/json: schema: type: array - items: *419 + items: *420 examples: - default: *889 + default: *892 '403': *29 '401': *25 - '400': *890 + '400': *893 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -134600,17 +135283,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *421 - *422 - - *151 + - *423 + - *152 responses: '200': description: Response content: application/json: - schema: *419 + schema: *420 examples: - default: *910 + default: *913 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -134631,9 +135314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *421 - *422 - - *151 + - *423 + - *152 responses: '204': description: Response @@ -134665,9 +135348,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *421 - *422 - - *151 + - *423 + - *152 - name: token description: package token schema: @@ -134699,9 +135382,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *421 - *422 - - *151 + - *423 + - *152 responses: '200': description: Response @@ -134709,7 +135392,7 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: default: value: @@ -134767,16 +135450,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *421 - *422 - - *424 - - *151 + - *423 + - *425 + - *152 responses: '200': description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -134811,10 +135494,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *421 - *422 - - *151 - - *424 + - *423 + - *152 + - *425 responses: '204': description: Response @@ -134846,10 +135529,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *421 - *422 - - *151 - - *424 + - *423 + - *152 + - *425 responses: '204': description: Response @@ -134873,15 +135556,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#list-projects-for-user parameters: - - *151 + - *152 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *110 - *111 + - *112 - *17 responses: '200': @@ -134890,12 +135573,12 @@ paths: application/json: schema: type: array - items: *435 + items: *436 examples: - default: *436 + default: *437 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -134914,19 +135597,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *437 - - *151 + - *438 + - *152 responses: '200': description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *436 + default: *437 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -134945,11 +135628,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *437 - - *151 + - *438 + - *152 - *17 - - *110 - *111 + - *112 responses: '200': description: Response @@ -134957,12 +135640,12 @@ paths: application/json: schema: type: array - items: *441 + items: *442 examples: - default: *911 + default: *914 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -134980,8 +135663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - - *151 - - *437 + - *152 + - *438 requestBody: required: true content: @@ -135019,7 +135702,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *912 + items: *915 required: - name - data_type @@ -135035,7 +135718,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *913 + iteration_configuration: *916 required: - name - data_type @@ -135057,21 +135740,21 @@ paths: value: name: Due date data_type: date - single_select_field: *914 - iteration_field: *915 + single_select_field: *917 + iteration_field: *918 responses: '201': description: Response content: application/json: - schema: *441 + schema: *442 examples: - text_field: *916 - number_field: *917 - date_field: *918 - single_select_field: *919 - iteration_field: *920 - '304': *37 + text_field: *919 + number_field: *920 + date_field: *921 + single_select_field: *922 + iteration_field: *923 + '304': *38 '403': *29 '401': *25 '422': *15 @@ -135091,20 +135774,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *437 - - *921 - - *151 + - *438 + - *924 + - *152 responses: '200': description: Response content: application/json: - schema: *441 + schema: *442 examples: - default: *922 + default: *925 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -135124,10 +135807,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *437 - - *151 - - *110 + - *438 + - *152 - *111 + - *112 - *17 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -135157,12 +135840,12 @@ paths: application/json: schema: type: array - items: *445 + items: *446 examples: - default: *446 + default: *447 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -135180,8 +135863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - - *151 - - *437 + - *152 + - *438 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -135251,23 +135934,23 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *444 + value: *445 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *444 + value: *445 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *444 + value: *445 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *444 - '304': *37 + value: *445 + '304': *38 '403': *29 '401': *25 x-github: @@ -135286,9 +135969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *437 - - *151 - - *447 + - *438 + - *152 + - *448 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -135308,12 +135991,12 @@ paths: description: Response content: application/json: - schema: *445 + schema: *446 examples: - default: *446 + default: *447 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 x-github: @@ -135331,9 +136014,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *437 - - *151 - - *447 + - *438 + - *152 + - *448 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -135403,13 +136086,13 @@ paths: description: Response content: application/json: - schema: *445 + schema: *446 examples: - text_field: *446 - number_field: *446 - date_field: *446 - single_select_field: *446 - iteration_field: *446 + text_field: *447 + number_field: *447 + date_field: *447 + single_select_field: *447 + iteration_field: *447 '401': *25 '403': *29 '404': *6 @@ -135429,9 +136112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *437 - - *151 - - *447 + - *438 + - *152 + - *448 responses: '204': description: Response @@ -135453,9 +136136,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view parameters: - - *437 - - *151 - - *923 + - *438 + - *152 + - *926 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -135471,8 +136154,8 @@ paths: maxItems: 50 items: type: string - - *110 - *111 + - *112 - *17 responses: '200': @@ -135481,12 +136164,12 @@ paths: application/json: schema: type: array - items: *445 + items: *446 examples: - default: *446 + default: *447 headers: - Link: *47 - '304': *37 + Link: *48 + '304': *38 '403': *29 '401': *25 '404': *6 @@ -135511,7 +136194,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -135521,7 +136204,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: default: value: @@ -135586,7 +136269,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-received-by-a-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -135596,7 +136279,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: default: value: @@ -135659,7 +136342,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repositories-for-a-user parameters: - - *151 + - *152 - name: type description: Limit results to repositories of the specified type. in: query @@ -135702,11 +136385,11 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *432 + default: *433 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -135724,7 +136407,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -135734,11 +136417,11 @@ paths: application/json: schema: type: array - items: *893 + items: *896 examples: - default: *894 + default: *897 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -135756,7 +136439,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -135766,11 +136449,11 @@ paths: application/json: schema: type: array - items: *895 + items: *898 examples: - default: *924 + default: *927 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -135792,9 +136475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *151 - - *925 - - *112 + - *152 + - *928 + - *113 - *17 - *19 responses: @@ -135805,13 +136488,13 @@ paths: schema: anyOf: - type: array - items: *926 + items: *929 - type: array - items: *80 + items: *81 examples: - default-response: *898 + default-response: *901 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -135828,7 +136511,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *151 + - *152 - *17 - *19 responses: @@ -135838,11 +136521,11 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *432 + default: *433 headers: - Link: *47 + Link: *48 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -135968,7 +136651,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &927 + enterprise: &930 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -136026,7 +136709,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &928 + installation: &931 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -136045,7 +136728,7 @@ x-webhooks: required: - id - node_id - organization: &929 + organization: &932 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -136105,13 +136788,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &930 + repository: &933 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &969 + properties: &972 id: description: Unique identifier of the repository example: 42 @@ -136131,8 +136814,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *237 - required: *238 + properties: *238 + required: *239 nullable: true organization: title: Simple User @@ -136795,7 +137478,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &970 + required: &973 - archive_url - assignees_url - blobs_url @@ -136946,10 +137629,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -137025,11 +137708,11 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - rule: &931 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + rule: &934 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -137252,11 +137935,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - rule: *931 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + rule: *934 sender: *4 required: - action @@ -137439,11 +138122,11 @@ x-webhooks: - everyone required: - from - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - rule: *931 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + rule: *934 sender: *4 required: - action @@ -137516,7 +138199,7 @@ x-webhooks: required: true content: application/json: - schema: &953 + schema: &956 title: Exemption request cancellation event type: object properties: @@ -137524,11 +138207,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - exemption_request: &932 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + exemption_request: &935 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -137832,7 +138515,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &933 + items: &936 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -137942,7 +138625,7 @@ x-webhooks: required: true content: application/json: - schema: &954 + schema: &957 title: Exemption request completed event type: object properties: @@ -137950,11 +138633,11 @@ x-webhooks: type: string enum: - completed - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - exemption_request: *932 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + exemption_request: *935 sender: *4 required: - action @@ -138026,7 +138709,7 @@ x-webhooks: required: true content: application/json: - schema: &951 + schema: &954 title: Exemption request created event type: object properties: @@ -138034,11 +138717,11 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - exemption_request: *932 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + exemption_request: *935 sender: *4 required: - action @@ -138110,7 +138793,7 @@ x-webhooks: required: true content: application/json: - schema: &955 + schema: &958 title: Exemption response dismissed event type: object properties: @@ -138118,12 +138801,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - exemption_request: *932 - exemption_response: *933 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + exemption_request: *935 + exemption_response: *936 sender: *4 required: - action @@ -138197,7 +138880,7 @@ x-webhooks: required: true content: application/json: - schema: &952 + schema: &955 title: Exemption response submitted event type: object properties: @@ -138205,12 +138888,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - exemption_request: *932 - exemption_response: *933 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + exemption_request: *935 + exemption_response: *936 sender: *4 required: - action @@ -138294,7 +138977,7 @@ x-webhooks: type: string enum: - completed - check_run: &935 + check_run: &938 title: CheckRun description: A check performed on the code of a given code change type: object @@ -138347,8 +139030,8 @@ x-webhooks: type: string pull_requests: type: array - items: *239 - repository: *295 + items: *240 + repository: *296 status: example: completed type: string @@ -138385,7 +139068,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *934 + deployment: *937 details_url: example: https://example.com type: string @@ -138435,7 +139118,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *239 + items: *240 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -138470,10 +139153,10 @@ x-webhooks: - output - app - pull_requests - installation: *928 - enterprise: *927 - organization: *929 - repository: *930 + installation: *931 + enterprise: *930 + organization: *932 + repository: *933 sender: *4 required: - check_run @@ -138864,11 +139547,11 @@ x-webhooks: type: string enum: - created - check_run: *935 - installation: *928 - enterprise: *927 - organization: *929 - repository: *930 + check_run: *938 + installation: *931 + enterprise: *930 + organization: *932 + repository: *933 sender: *4 required: - check_run @@ -139262,11 +139945,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *935 - installation: *928 - enterprise: *927 - organization: *929 - repository: *930 + check_run: *938 + installation: *931 + enterprise: *930 + organization: *932 + repository: *933 requested_action: description: The action requested by the user. type: object @@ -139669,11 +140352,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *935 - installation: *928 - enterprise: *927 - organization: *929 - repository: *930 + check_run: *938 + installation: *931 + enterprise: *930 + organization: *932 + repository: *933 sender: *4 required: - check_run @@ -140643,10 +141326,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -141345,10 +142028,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -142041,10 +142724,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -142210,7 +142893,7 @@ x-webhooks: required: - login - id - dismissed_comment: *584 + dismissed_comment: *587 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -142355,20 +143038,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &936 + commit_oid: &939 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: *927 - installation: *928 - organization: *929 - ref: &937 + enterprise: *930 + installation: *931 + organization: *932 + ref: &940 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: *930 + repository: *933 sender: *4 required: - action @@ -142533,7 +143216,7 @@ x-webhooks: required: - login - id - dismissed_comment: *584 + dismissed_comment: *587 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -142763,12 +143446,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *936 - enterprise: *927 - installation: *928 - organization: *929 - ref: *937 - repository: *930 + commit_oid: *939 + enterprise: *930 + installation: *931 + organization: *932 + ref: *940 + repository: *933 sender: *4 required: - action @@ -142863,7 +143546,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *584 + dismissed_comment: *587 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -143034,12 +143717,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *936 - enterprise: *927 - installation: *928 - organization: *929 - ref: *937 - repository: *930 + commit_oid: *939 + enterprise: *930 + installation: *931 + organization: *932 + ref: *940 + repository: *933 sender: *4 required: - action @@ -143205,7 +143888,7 @@ x-webhooks: required: - login - id - dismissed_comment: *584 + dismissed_comment: *587 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -143371,12 +144054,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *936 - enterprise: *927 - installation: *928 - organization: *929 - ref: *937 - repository: *930 + commit_oid: *939 + enterprise: *930 + installation: *931 + organization: *932 + ref: *940 + repository: *933 sender: *4 required: - action @@ -143475,7 +144158,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *584 + dismissed_comment: *587 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -143650,16 +144333,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *930 + repository: *933 sender: *4 required: - action @@ -143756,7 +144439,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *584 + dismissed_comment: *587 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -143896,12 +144579,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *936 - enterprise: *927 - installation: *928 - organization: *929 - ref: *937 - repository: *930 + commit_oid: *939 + enterprise: *930 + installation: *931 + organization: *932 + ref: *940 + repository: *933 sender: *4 required: - action @@ -144067,7 +144750,7 @@ x-webhooks: required: - login - id - dismissed_comment: *584 + dismissed_comment: *587 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -144212,10 +144895,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -144470,10 +145153,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -144553,18 +145236,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *929 - pusher_type: &938 + organization: *932 + pusher_type: &941 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &939 + ref: &942 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -144574,7 +145257,7 @@ x-webhooks: enum: - tag - branch - repository: *930 + repository: *933 sender: *4 required: - ref @@ -144656,10 +145339,10 @@ x-webhooks: type: string enum: - created - definition: *164 - enterprise: *927 - installation: *928 - organization: *929 + definition: *165 + enterprise: *930 + installation: *931 + organization: *932 sender: *4 required: - action @@ -144744,9 +145427,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 sender: *4 required: - action @@ -144823,10 +145506,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *164 - enterprise: *927 - installation: *928 - organization: *929 + definition: *165 + enterprise: *930 + installation: *931 + organization: *932 sender: *4 required: - action @@ -144903,10 +145586,10 @@ x-webhooks: type: string enum: - updated - definition: *164 - enterprise: *927 - installation: *928 - organization: *929 + definition: *165 + enterprise: *930 + installation: *931 + organization: *932 sender: *4 required: - action @@ -144983,19 +145666,19 @@ x-webhooks: type: string enum: - updated - enterprise: *927 - installation: *928 - repository: *930 - organization: *929 + enterprise: *930 + installation: *931 + repository: *933 + organization: *932 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *163 + items: *164 old_property_values: type: array description: The old custom property values for the repository. - items: *163 + items: *164 required: - action - repository @@ -145071,18 +145754,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *927 - installation: *928 - organization: *929 - pusher_type: *938 - ref: *939 + enterprise: *930 + installation: *931 + organization: *932 + pusher_type: *941 + ref: *942 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *930 + repository: *933 sender: *4 required: - ref @@ -145162,11 +145845,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *648 - installation: *928 - organization: *929 - enterprise: *927 - repository: *930 + alert: *651 + installation: *931 + organization: *932 + enterprise: *930 + repository: *933 sender: *4 required: - action @@ -145246,11 +145929,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *648 - installation: *928 - organization: *929 - enterprise: *927 - repository: *930 + alert: *651 + installation: *931 + organization: *932 + enterprise: *930 + repository: *933 sender: *4 required: - action @@ -145331,11 +146014,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *648 - installation: *928 - organization: *929 - enterprise: *927 - repository: *930 + alert: *651 + installation: *931 + organization: *932 + enterprise: *930 + repository: *933 sender: *4 required: - action @@ -145416,11 +146099,11 @@ x-webhooks: type: string enum: - created - alert: *648 - installation: *928 - organization: *929 - enterprise: *927 - repository: *930 + alert: *651 + installation: *931 + organization: *932 + enterprise: *930 + repository: *933 sender: *4 required: - action @@ -145499,11 +146182,11 @@ x-webhooks: type: string enum: - dismissed - alert: *648 - installation: *928 - organization: *929 - enterprise: *927 - repository: *930 + alert: *651 + installation: *931 + organization: *932 + enterprise: *930 + repository: *933 sender: *4 required: - action @@ -145582,11 +146265,11 @@ x-webhooks: type: string enum: - fixed - alert: *648 - installation: *928 - organization: *929 - enterprise: *927 - repository: *930 + alert: *651 + installation: *931 + organization: *932 + enterprise: *930 + repository: *933 sender: *4 required: - action @@ -145666,11 +146349,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *648 - installation: *928 - organization: *929 - enterprise: *927 - repository: *930 + alert: *651 + installation: *931 + organization: *932 + enterprise: *930 + repository: *933 sender: *4 required: - action @@ -145749,11 +146432,11 @@ x-webhooks: type: string enum: - reopened - alert: *648 - installation: *928 - organization: *929 - enterprise: *927 - repository: *930 + alert: *651 + installation: *931 + organization: *932 + enterprise: *930 + repository: *933 sender: *4 required: - action @@ -145830,9 +146513,9 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - key: &940 + enterprise: *930 + installation: *931 + key: &943 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -145868,8 +146551,8 @@ x-webhooks: - verified - created_at - read_only - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -145946,11 +146629,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - key: *940 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + key: *943 + organization: *932 + repository: *933 sender: *4 required: - action @@ -146506,12 +147189,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - workflow: &946 + workflow: &949 title: Workflow type: object nullable: true @@ -147252,15 +147935,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *941 - required: *942 + properties: *944 + required: *945 nullable: true pull_requests: type: array - items: *770 - repository: *930 - organization: *929 - installation: *928 + items: *773 + repository: *933 + organization: *932 + installation: *931 sender: *4 responses: '200': @@ -147331,7 +148014,7 @@ x-webhooks: type: string enum: - approved - approver: &943 + approver: &946 type: object properties: avatar_url: @@ -147374,11 +148057,11 @@ x-webhooks: type: string comment: type: string - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - reviewers: &944 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + reviewers: &947 type: array items: type: object @@ -147457,7 +148140,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &945 + workflow_job_run: &948 type: object properties: conclusion: @@ -148188,18 +148871,18 @@ x-webhooks: type: string enum: - rejected - approver: *943 + approver: *946 comment: type: string - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - reviewers: *944 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + reviewers: *947 sender: *4 since: type: string - workflow_job_run: *945 + workflow_job_run: *948 workflow_job_runs: type: array items: @@ -148903,13 +149586,13 @@ x-webhooks: type: string enum: - requested - enterprise: *927 + enterprise: *930 environment: type: string - installation: *928 - organization: *929 - repository: *930 - requestor: &956 + installation: *931 + organization: *932 + repository: *933 + requestor: &959 title: User type: object nullable: true @@ -150798,12 +151481,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - workflow: *946 + workflow: *949 workflow_run: title: Deployment Workflow Run type: object @@ -151483,7 +152166,7 @@ x-webhooks: type: string enum: - answered - answer: &949 + answer: &952 type: object properties: author_association: @@ -151640,11 +152323,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -151771,11 +152454,11 @@ x-webhooks: - from required: - category - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -151858,11 +152541,11 @@ x-webhooks: type: string enum: - closed - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -151944,7 +152627,7 @@ x-webhooks: type: string enum: - created - comment: &948 + comment: &951 type: object properties: author_association: @@ -152101,11 +152784,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -152188,12 +152871,12 @@ x-webhooks: type: string enum: - deleted - comment: *948 - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + comment: *951 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -152288,12 +152971,12 @@ x-webhooks: - from required: - body - comment: *948 - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + comment: *951 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -152377,11 +153060,11 @@ x-webhooks: type: string enum: - created - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -152463,11 +153146,11 @@ x-webhooks: type: string enum: - deleted - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -152567,11 +153250,11 @@ x-webhooks: type: string required: - from - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -152653,10 +153336,10 @@ x-webhooks: type: string enum: - labeled - discussion: *947 - enterprise: *927 - installation: *928 - label: &950 + discussion: *950 + enterprise: *930 + installation: *931 + label: &953 title: Label type: object properties: @@ -152688,8 +153371,8 @@ x-webhooks: - color - default - description - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -152772,11 +153455,11 @@ x-webhooks: type: string enum: - locked - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -152858,11 +153541,11 @@ x-webhooks: type: string enum: - pinned - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -152944,11 +153627,11 @@ x-webhooks: type: string enum: - reopened - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -153033,16 +153716,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *947 - new_repository: *930 + new_discussion: *950 + new_repository: *933 required: - new_discussion - new_repository - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -153125,10 +153808,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *947 - old_answer: *949 - organization: *929 - repository: *930 + discussion: *950 + old_answer: *952 + organization: *932 + repository: *933 sender: *4 required: - action @@ -153210,12 +153893,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *947 - enterprise: *927 - installation: *928 - label: *950 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + label: *953 + organization: *932 + repository: *933 sender: *4 required: - action @@ -153298,11 +153981,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -153384,11 +154067,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *947 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + discussion: *950 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -153457,7 +154140,7 @@ x-webhooks: required: true content: application/json: - schema: *951 + schema: *954 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153520,7 +154203,7 @@ x-webhooks: required: true content: application/json: - schema: *952 + schema: *955 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153583,7 +154266,7 @@ x-webhooks: required: true content: application/json: - schema: *953 + schema: *956 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153646,7 +154329,7 @@ x-webhooks: required: true content: application/json: - schema: *951 + schema: *954 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153709,7 +154392,7 @@ x-webhooks: required: true content: application/json: - schema: *952 + schema: *955 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153775,7 +154458,7 @@ x-webhooks: required: true content: application/json: - schema: *953 + schema: *956 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153841,7 +154524,7 @@ x-webhooks: required: true content: application/json: - schema: *954 + schema: *957 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153907,7 +154590,7 @@ x-webhooks: required: true content: application/json: - schema: *951 + schema: *954 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153973,7 +154656,7 @@ x-webhooks: required: true content: application/json: - schema: *955 + schema: *958 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154039,7 +154722,7 @@ x-webhooks: required: true content: application/json: - schema: *952 + schema: *955 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154104,7 +154787,7 @@ x-webhooks: required: true content: application/json: - schema: *953 + schema: *956 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154169,7 +154852,7 @@ x-webhooks: required: true content: application/json: - schema: *954 + schema: *957 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154234,7 +154917,7 @@ x-webhooks: required: true content: application/json: - schema: *951 + schema: *954 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154299,7 +154982,7 @@ x-webhooks: required: true content: application/json: - schema: *955 + schema: *958 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154365,7 +155048,7 @@ x-webhooks: required: true content: application/json: - schema: *952 + schema: *955 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154432,7 +155115,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *927 + enterprise: *930 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -155092,9 +155775,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *928 - organization: *929 - repository: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - forkee @@ -155240,9 +155923,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 pages: description: The pages that were updated. type: array @@ -155279,7 +155962,7 @@ x-webhooks: - action - sha - html_url - repository: *930 + repository: *933 sender: *4 required: - pages @@ -155355,10 +156038,10 @@ x-webhooks: type: string enum: - created - enterprise: *927 + enterprise: *930 installation: *22 - organization: *929 - repositories: &957 + organization: *932 + repositories: &960 description: An array of repository objects that the installation can access. type: array @@ -155384,8 +156067,8 @@ x-webhooks: - name - full_name - private - repository: *930 - requester: *956 + repository: *933 + requester: *959 sender: *4 required: - action @@ -155460,11 +156143,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 + enterprise: *930 installation: *22 - organization: *929 - repositories: *957 - repository: *930 + organization: *932 + repositories: *960 + repository: *933 requester: nullable: true sender: *4 @@ -155540,11 +156223,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *927 + enterprise: *930 installation: *22 - organization: *929 - repositories: *957 - repository: *930 + organization: *932 + repositories: *960 + repository: *933 requester: nullable: true sender: *4 @@ -155620,10 +156303,10 @@ x-webhooks: type: string enum: - added - enterprise: *927 + enterprise: *930 installation: *22 - organization: *929 - repositories_added: &958 + organization: *932 + repositories_added: &961 description: An array of repository objects, which were added to the installation. type: array @@ -155669,15 +156352,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *930 - repository_selection: &959 + repository: *933 + repository_selection: &962 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *956 + requester: *959 sender: *4 required: - action @@ -155756,10 +156439,10 @@ x-webhooks: type: string enum: - removed - enterprise: *927 + enterprise: *930 installation: *22 - organization: *929 - repositories_added: *958 + organization: *932 + repositories_added: *961 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -155786,9 +156469,9 @@ x-webhooks: - name - full_name - private - repository: *930 - repository_selection: *959 - requester: *956 + repository: *933 + repository_selection: *962 + requester: *959 sender: *4 required: - action @@ -155867,11 +156550,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *927 + enterprise: *930 installation: *22 - organization: *929 - repositories: *957 - repository: *930 + organization: *932 + repositories: *960 + repository: *933 requester: nullable: true sender: *4 @@ -156050,10 +156733,10 @@ x-webhooks: type: string required: - from - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 target_type: type: string @@ -156132,11 +156815,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *927 + enterprise: *930 installation: *22 - organization: *929 - repositories: *957 - repository: *930 + organization: *932 + repositories: *960 + repository: *933 requester: nullable: true sender: *4 @@ -156260,8 +156943,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *229 - required: *230 + properties: *230 + required: *231 reactions: title: Reactions type: object @@ -156310,15 +156993,15 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *732 - required: *733 + properties: *734 + required: *735 nullable: true minimized: title: Minimized Issue Comment description: Details about why an issue comment was minimized. type: object - properties: *734 - required: *735 + properties: *736 + required: *737 nullable: true user: title: User @@ -156403,8 +157086,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -157193,8 +157876,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157210,7 +157893,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -157543,8 +158226,8 @@ x-webhooks: - state - locked - assignee - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -157624,7 +158307,7 @@ x-webhooks: type: string enum: - deleted - comment: &960 + comment: &963 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -157781,15 +158464,15 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *732 - required: *733 + properties: *734 + required: *735 nullable: true minimized: title: Minimized Issue Comment description: Details about why an issue comment was minimized. type: object - properties: *734 - required: *735 + properties: *736 + required: *737 nullable: true required: - url @@ -157804,8 +158487,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -158590,8 +159273,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158607,7 +159290,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -158942,8 +159625,8 @@ x-webhooks: - state - locked - assignee - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -159023,7 +159706,7 @@ x-webhooks: type: string enum: - edited - changes: &989 + changes: &992 description: The changes to the comment. type: object properties: @@ -159035,9 +159718,9 @@ x-webhooks: type: string required: - from - comment: *960 - enterprise: *927 - installation: *928 + comment: *963 + enterprise: *930 + installation: *931 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -159825,8 +160508,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159842,7 +160525,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -160175,8 +160858,8 @@ x-webhooks: - state - locked - assignee - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -160257,9 +160940,9 @@ x-webhooks: type: string enum: - pinned - comment: *960 - enterprise: *927 - installation: *928 + comment: *963 + enterprise: *930 + installation: *931 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -161049,8 +161732,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161066,7 +161749,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -161401,8 +162084,8 @@ x-webhooks: - state - locked - assignee - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -161482,9 +162165,9 @@ x-webhooks: type: string enum: - unpinned - comment: *960 - enterprise: *927 - installation: *928 + comment: *963 + enterprise: *930 + installation: *931 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -162274,8 +162957,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162291,7 +162974,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -162626,8 +163309,8 @@ x-webhooks: - state - locked - assignee - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -162710,15 +163393,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *234 + blocked_issue: *235 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *234 - blocking_issue_repo: *80 - installation: *928 - organization: *929 - repository: *930 + blocking_issue: *235 + blocking_issue_repo: *81 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -162801,15 +163484,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *234 + blocked_issue: *235 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *234 - blocking_issue_repo: *80 - installation: *928 - organization: *929 - repository: *930 + blocking_issue: *235 + blocking_issue_repo: *81 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -162891,15 +163574,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *234 - blocked_issue_repo: *80 + blocked_issue: *235 + blocked_issue_repo: *81 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *234 - installation: *928 - organization: *929 - repository: *930 + blocking_issue: *235 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -162982,15 +163665,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *234 - blocked_issue_repo: *80 + blocked_issue: *235 + blocked_issue_repo: *81 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *234 - installation: *928 - organization: *929 - repository: *930 + blocking_issue: *235 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -163070,10 +163753,10 @@ x-webhooks: type: string enum: - assigned - assignee: *956 - enterprise: *927 - installation: *928 - issue: &961 + assignee: *959 + enterprise: *930 + installation: *931 + issue: &964 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -163862,14 +164545,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163885,7 +164568,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -163986,8 +164669,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -164067,8 +164750,8 @@ x-webhooks: type: string enum: - closed - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -164862,14 +165545,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164885,7 +165568,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -165121,8 +165804,8 @@ x-webhooks: required: - state - closed_at - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -165201,8 +165884,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -165987,14 +166670,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166010,7 +166693,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -166110,8 +166793,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -166190,8 +166873,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -166998,14 +167681,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167021,7 +167704,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -167100,7 +167783,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &962 + milestone: &965 title: Milestone description: A collection of related issues and pull requests. type: object @@ -167238,8 +167921,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -167338,8 +168021,8 @@ x-webhooks: type: string required: - from - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -168128,14 +168811,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168148,7 +168831,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *403 + type: *404 title: description: Title of the issue type: string @@ -168252,9 +168935,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *950 - organization: *929 - repository: *930 + label: *953 + organization: *932 + repository: *933 sender: *4 required: - action @@ -168334,9 +169017,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *927 - installation: *928 - issue: *961 + enterprise: *930 + installation: *931 + issue: *964 issue_field: type: object description: The issue field whose value was set or updated on the @@ -168490,8 +169173,8 @@ x-webhooks: - id required: - from - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -168571,9 +169254,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *927 - installation: *928 - issue: *961 + enterprise: *930 + installation: *931 + issue: *964 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -168654,8 +169337,8 @@ x-webhooks: nullable: true required: - id - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -168735,8 +169418,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -169524,14 +170207,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169544,7 +170227,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *403 + type: *404 title: description: Title of the issue type: string @@ -169648,9 +170331,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *950 - organization: *929 - repository: *930 + label: *953 + organization: *932 + repository: *933 sender: *4 required: - action @@ -169730,8 +170413,8 @@ x-webhooks: type: string enum: - locked - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -170543,14 +171226,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -170563,7 +171246,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *403 + type: *404 title: description: Title of the issue type: string @@ -170644,8 +171327,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -170724,8 +171407,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -171531,14 +172214,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171554,7 +172237,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -171632,9 +172315,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *962 - organization: *929 - repository: *930 + milestone: *965 + organization: *932 + repository: *933 sender: *4 required: - action @@ -172497,11 +173180,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172529,8 +173212,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true user: title: User @@ -172602,7 +173285,7 @@ x-webhooks: required: - login - id - type: *403 + type: *404 required: - id - number @@ -173082,8 +173765,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -173867,11 +174550,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173887,7 +174570,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -173900,8 +174583,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true user: title: User @@ -173995,8 +174678,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -174076,9 +174759,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *927 - installation: *928 - issue: &963 + enterprise: *930 + installation: *931 + issue: &966 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -174861,14 +175544,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174884,7 +175567,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -174984,8 +175667,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -175064,8 +175747,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -175875,14 +176558,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175976,9 +176659,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *403 - organization: *929 - repository: *930 + type: *404 + organization: *932 + repository: *933 sender: *4 required: - action @@ -176844,14 +177527,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -176867,7 +177550,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -177446,11 +178129,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *927 - installation: *928 - issue: *963 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + issue: *966 + organization: *932 + repository: *933 sender: *4 required: - action @@ -177530,12 +178213,12 @@ x-webhooks: type: string enum: - typed - enterprise: *927 - installation: *928 - issue: *961 - type: *403 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + issue: *964 + type: *404 + organization: *932 + repository: *933 sender: *4 required: - action @@ -177616,7 +178299,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &992 + assignee: &995 title: User type: object nullable: true @@ -177686,11 +178369,11 @@ x-webhooks: required: - login - id - enterprise: *927 - installation: *928 - issue: *961 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + issue: *964 + organization: *932 + repository: *933 sender: *4 required: - action @@ -177769,12 +178452,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *927 - installation: *928 - issue: *961 - label: *950 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + issue: *964 + label: *953 + organization: *932 + repository: *933 sender: *4 required: - action @@ -177854,8 +178537,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -178665,14 +179348,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *235 - required: *236 + properties: *236 + required: *237 nullable: true - sub_issues_summary: *863 - issue_dependencies_summary: *864 + sub_issues_summary: *866 + issue_dependencies_summary: *867 issue_field_values: type: array - items: *716 + items: *718 state: description: State of the issue; either 'open' or 'closed' type: string @@ -178688,7 +179371,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *404 updated_at: type: string format: date-time @@ -178766,8 +179449,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -178847,11 +179530,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *927 - installation: *928 - issue: *963 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + issue: *966 + organization: *932 + repository: *933 sender: *4 required: - action @@ -178930,12 +179613,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *927 - installation: *928 - issue: *961 - type: *403 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + issue: *964 + type: *404 + organization: *932 + repository: *933 sender: *4 required: - action @@ -179015,11 +179698,11 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - label: *950 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + label: *953 + organization: *932 + repository: *933 sender: *4 required: - action @@ -179097,11 +179780,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - label: *950 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + label: *953 + organization: *932 + repository: *933 sender: *4 required: - action @@ -179211,11 +179894,11 @@ x-webhooks: type: string required: - from - enterprise: *927 - installation: *928 - label: *950 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + label: *953 + organization: *932 + repository: *933 sender: *4 required: - action @@ -179297,9 +179980,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *927 - installation: *928 - marketplace_purchase: &964 + enterprise: *930 + installation: *931 + marketplace_purchase: &967 title: Marketplace Purchase type: object required: @@ -179382,8 +180065,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *929 - previous_marketplace_purchase: &965 + organization: *932 + previous_marketplace_purchase: &968 title: Marketplace Purchase type: object properties: @@ -179463,7 +180146,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *930 + repository: *933 sender: *4 required: - action @@ -179543,10 +180226,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *927 - installation: *928 - marketplace_purchase: *964 - organization: *929 + enterprise: *930 + installation: *931 + marketplace_purchase: *967 + organization: *932 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -179629,7 +180312,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *930 + repository: *933 sender: *4 required: - action @@ -179711,10 +180394,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *927 - installation: *928 - marketplace_purchase: *964 - organization: *929 + enterprise: *930 + installation: *931 + marketplace_purchase: *967 + organization: *932 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -179796,7 +180479,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *930 + repository: *933 sender: *4 required: - action @@ -179877,8 +180560,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 marketplace_purchase: title: Marketplace Purchase type: object @@ -179960,9 +180643,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *929 - previous_marketplace_purchase: *965 - repository: *930 + organization: *932 + previous_marketplace_purchase: *968 + repository: *933 sender: *4 required: - action @@ -180042,12 +180725,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *927 - installation: *928 - marketplace_purchase: *964 - organization: *929 - previous_marketplace_purchase: *965 - repository: *930 + enterprise: *930 + installation: *931 + marketplace_purchase: *967 + organization: *932 + previous_marketplace_purchase: *968 + repository: *933 sender: *4 required: - action @@ -180149,11 +180832,11 @@ x-webhooks: type: string required: - to - enterprise: *927 - installation: *928 - member: *956 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + member: *959 + organization: *932 + repository: *933 sender: *4 required: - action @@ -180253,11 +180936,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *927 - installation: *928 - member: *956 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + member: *959 + organization: *932 + repository: *933 sender: *4 required: - action @@ -180336,11 +181019,11 @@ x-webhooks: type: string enum: - removed - enterprise: *927 - installation: *928 - member: *956 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + member: *959 + organization: *932 + repository: *933 sender: *4 required: - action @@ -180418,11 +181101,11 @@ x-webhooks: type: string enum: - added - enterprise: *927 - installation: *928 - member: *956 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + member: *959 + organization: *932 + repository: *933 scope: description: The scope of the membership. Currently, can only be `team`. @@ -180498,7 +181181,7 @@ x-webhooks: required: - login - id - team: &966 + team: &969 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -180721,11 +181404,11 @@ x-webhooks: type: string enum: - removed - enterprise: *927 - installation: *928 - member: *956 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + member: *959 + organization: *932 + repository: *933 scope: description: The scope of the membership. Currently, can only be `team`. @@ -180802,7 +181485,7 @@ x-webhooks: required: - login - id - team: *966 + team: *969 required: - action - scope @@ -180884,8 +181567,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *928 - merge_group: &968 + installation: *931 + merge_group: &971 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -180904,15 +181587,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *967 + head_commit: *970 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -180998,10 +181681,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *928 - merge_group: *968 - organization: *929 - repository: *930 + installation: *931 + merge_group: *971 + organization: *932 + repository: *933 sender: *4 required: - action @@ -181074,7 +181757,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 + enterprise: *930 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -181183,16 +181866,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *928 - organization: *929 + installation: *931 + organization: *932 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *969 - required: *970 + properties: *972 + required: *973 nullable: true sender: *4 required: @@ -181273,11 +181956,11 @@ x-webhooks: type: string enum: - closed - enterprise: *927 - installation: *928 - milestone: *962 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + milestone: *965 + organization: *932 + repository: *933 sender: *4 required: - action @@ -181356,9 +182039,9 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - milestone: &971 + enterprise: *930 + installation: *931 + milestone: &974 title: Milestone description: A collection of related issues and pull requests. type: object @@ -181495,8 +182178,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -181575,11 +182258,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - milestone: *962 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + milestone: *965 + organization: *932 + repository: *933 sender: *4 required: - action @@ -181689,11 +182372,11 @@ x-webhooks: type: string required: - from - enterprise: *927 - installation: *928 - milestone: *962 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + milestone: *965 + organization: *932 + repository: *933 sender: *4 required: - action @@ -181773,11 +182456,11 @@ x-webhooks: type: string enum: - opened - enterprise: *927 - installation: *928 - milestone: *971 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + milestone: *974 + organization: *932 + repository: *933 sender: *4 required: - action @@ -181856,11 +182539,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *956 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + blocked_user: *959 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -181939,11 +182622,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *956 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + blocked_user: *959 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -182018,8 +182701,8 @@ x-webhooks: type: string enum: - created - definition: *159 - enterprise: *927 + definition: *160 + enterprise: *930 sender: *4 required: - action @@ -182099,8 +182782,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 sender: *4 required: - action @@ -182172,9 +182855,9 @@ x-webhooks: type: string enum: - updated - definition: *159 - enterprise: *927 - installation: *928 + definition: *160 + enterprise: *930 + installation: *931 sender: *4 required: - action @@ -182246,18 +182929,18 @@ x-webhooks: type: string enum: - updated - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 sender: *4 new_property_values: type: array description: The new custom property values. - items: *163 + items: *164 old_property_values: type: array description: The old custom property values. - items: *163 + items: *164 required: - action - organization @@ -182336,9 +183019,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - membership: &972 + enterprise: *930 + installation: *931 + membership: &975 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -182445,8 +183128,8 @@ x-webhooks: - role - organization_url - user - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 required: - action @@ -182524,11 +183207,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *927 - installation: *928 - membership: *972 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + membership: *975 + organization: *932 + repository: *933 sender: *4 required: - action @@ -182607,8 +183290,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -182724,10 +183407,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 - user: *956 + user: *959 required: - action - invitation @@ -182805,11 +183488,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *927 - installation: *928 - membership: *972 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + membership: *975 + organization: *932 + repository: *933 sender: *4 required: - action @@ -182896,11 +183579,11 @@ x-webhooks: properties: from: type: string - enterprise: *927 - installation: *928 - membership: *972 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + membership: *975 + organization: *932 + repository: *933 sender: *4 required: - action @@ -182978,9 +183661,9 @@ x-webhooks: type: string enum: - published - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 package: description: Information about the package. type: object @@ -183479,7 +184162,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &973 + items: &976 title: Ruby Gems metadata type: object properties: @@ -183574,7 +184257,7 @@ x-webhooks: - owner - package_version - registry - repository: *930 + repository: *933 sender: *4 required: - action @@ -183651,9 +184334,9 @@ x-webhooks: type: string enum: - updated - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 package: description: Information about the package. type: object @@ -184006,7 +184689,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *973 + items: *976 source_url: type: string format: uri @@ -184076,7 +184759,7 @@ x-webhooks: - owner - package_version - registry - repository: *930 + repository: *933 sender: *4 required: - action @@ -184252,12 +184935,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *927 + enterprise: *930 id: type: integer - installation: *928 - organization: *929 - repository: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - id @@ -184334,7 +185017,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &974 + personal_access_token_request: &977 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -184480,10 +185163,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *927 - organization: *929 + enterprise: *930 + organization: *932 sender: *4 - installation: *928 + installation: *931 required: - action - personal_access_token_request @@ -184560,11 +185243,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *974 - enterprise: *927 - organization: *929 + personal_access_token_request: *977 + enterprise: *930 + organization: *932 sender: *4 - installation: *928 + installation: *931 required: - action - personal_access_token_request @@ -184640,11 +185323,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *974 - enterprise: *927 - organization: *929 + personal_access_token_request: *977 + enterprise: *930 + organization: *932 sender: *4 - installation: *928 + installation: *931 required: - action - personal_access_token_request @@ -184719,11 +185402,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *974 - organization: *929 - enterprise: *927 + personal_access_token_request: *977 + organization: *932 + enterprise: *930 sender: *4 - installation: *928 + installation: *931 required: - action - personal_access_token_request @@ -184828,7 +185511,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *975 + last_response: *978 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -184860,8 +185543,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 zen: description: Random string of GitHub zen. @@ -185106,10 +185789,10 @@ x-webhooks: - from required: - note - enterprise: *927 - installation: *928 - organization: *929 - project_card: &976 + enterprise: *930 + installation: *931 + organization: *932 + project_card: &979 title: Project Card type: object properties: @@ -185228,7 +185911,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *930 + repository: *933 sender: *4 required: - action @@ -185309,11 +185992,11 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - project_card: *976 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + project_card: *979 + repository: *933 sender: *4 required: - action @@ -185393,9 +186076,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 project_card: title: Project Card type: object @@ -185523,8 +186206,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *969 - required: *970 + properties: *972 + required: *973 nullable: true sender: *4 required: @@ -185618,11 +186301,11 @@ x-webhooks: - from required: - note - enterprise: *927 - installation: *928 - organization: *929 - project_card: *976 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + project_card: *979 + repository: *933 sender: *4 required: - action @@ -185716,9 +186399,9 @@ x-webhooks: - from required: - column_id - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 project_card: allOf: - title: Project Card @@ -185908,7 +186591,7 @@ x-webhooks: type: string required: - after_id - repository: *930 + repository: *933 sender: *4 required: - action @@ -185988,10 +186671,10 @@ x-webhooks: type: string enum: - closed - enterprise: *927 - installation: *928 - organization: *929 - project: &978 + enterprise: *930 + installation: *931 + organization: *932 + project: &981 title: Project type: object properties: @@ -186115,7 +186798,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *930 + repository: *933 sender: *4 required: - action @@ -186195,10 +186878,10 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - project_column: &977 + enterprise: *930 + installation: *931 + organization: *932 + project_column: &980 title: Project Column type: object properties: @@ -186237,7 +186920,7 @@ x-webhooks: - name - created_at - updated_at - repository: *930 + repository: *933 sender: *4 required: - action @@ -186316,18 +186999,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - organization: *929 - project_column: *977 + enterprise: *930 + installation: *931 + organization: *932 + project_column: *980 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *969 - required: *970 + properties: *972 + required: *973 nullable: true sender: *4 required: @@ -186417,11 +187100,11 @@ x-webhooks: type: string required: - from - enterprise: *927 - installation: *928 - organization: *929 - project_column: *977 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + project_column: *980 + repository: *933 sender: *4 required: - action @@ -186501,11 +187184,11 @@ x-webhooks: type: string enum: - moved - enterprise: *927 - installation: *928 - organization: *929 - project_column: *977 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + project_column: *980 + repository: *933 sender: *4 required: - action @@ -186585,11 +187268,11 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - project: *978 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + project: *981 + repository: *933 sender: *4 required: - action @@ -186669,18 +187352,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - organization: *929 - project: *978 + enterprise: *930 + installation: *931 + organization: *932 + project: *981 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *969 - required: *970 + properties: *972 + required: *973 nullable: true sender: *4 required: @@ -186782,11 +187465,11 @@ x-webhooks: type: string required: - from - enterprise: *927 - installation: *928 - organization: *929 - project: *978 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + project: *981 + repository: *933 sender: *4 required: - action @@ -186865,11 +187548,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *927 - installation: *928 - organization: *929 - project: *978 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + project: *981 + repository: *933 sender: *4 required: - action @@ -186950,9 +187633,9 @@ x-webhooks: type: string enum: - closed - installation: *928 - organization: *929 - projects_v2: *435 + installation: *931 + organization: *932 + projects_v2: *436 sender: *4 required: - action @@ -187033,9 +187716,9 @@ x-webhooks: type: string enum: - created - installation: *928 - organization: *929 - projects_v2: *435 + installation: *931 + organization: *932 + projects_v2: *436 sender: *4 required: - action @@ -187116,9 +187799,9 @@ x-webhooks: type: string enum: - deleted - installation: *928 - organization: *929 - projects_v2: *435 + installation: *931 + organization: *932 + projects_v2: *436 sender: *4 required: - action @@ -187235,9 +187918,9 @@ x-webhooks: type: string to: type: string - installation: *928 - organization: *929 - projects_v2: *435 + installation: *931 + organization: *932 + projects_v2: *436 sender: *4 required: - action @@ -187320,7 +188003,7 @@ x-webhooks: type: string enum: - archived - changes: &982 + changes: &985 type: object properties: archived_at: @@ -187334,9 +188017,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *928 - organization: *929 - projects_v2_item: &979 + installation: *931 + organization: *932 + projects_v2_item: &982 title: Projects v2 Item description: An item belonging to a project type: object @@ -187354,7 +188037,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *442 + content_type: *443 creator: *4 created_at: type: string @@ -187471,9 +188154,9 @@ x-webhooks: nullable: true to: type: string - installation: *928 - organization: *929 - projects_v2_item: *979 + installation: *931 + organization: *932 + projects_v2_item: *982 sender: *4 required: - action @@ -187555,9 +188238,9 @@ x-webhooks: type: string enum: - created - installation: *928 - organization: *929 - projects_v2_item: *979 + installation: *931 + organization: *932 + projects_v2_item: *982 sender: *4 required: - action @@ -187638,9 +188321,9 @@ x-webhooks: type: string enum: - deleted - installation: *928 - organization: *929 - projects_v2_item: *979 + installation: *931 + organization: *932 + projects_v2_item: *982 sender: *4 required: - action @@ -187746,7 +188429,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &980 + - &983 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -187768,7 +188451,7 @@ x-webhooks: required: - id - name - - &981 + - &984 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -187802,8 +188485,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *980 - - *981 + - *983 + - *984 required: - field_value - type: object @@ -187819,9 +188502,9 @@ x-webhooks: nullable: true required: - body - installation: *928 - organization: *929 - projects_v2_item: *979 + installation: *931 + organization: *932 + projects_v2_item: *982 sender: *4 required: - action @@ -187916,9 +188599,9 @@ x-webhooks: to: type: string nullable: true - installation: *928 - organization: *929 - projects_v2_item: *979 + installation: *931 + organization: *932 + projects_v2_item: *982 sender: *4 required: - action @@ -188001,10 +188684,10 @@ x-webhooks: type: string enum: - restored - changes: *982 - installation: *928 - organization: *929 - projects_v2_item: *979 + changes: *985 + installation: *931 + organization: *932 + projects_v2_item: *982 sender: *4 required: - action @@ -188086,9 +188769,9 @@ x-webhooks: type: string enum: - reopened - installation: *928 - organization: *929 - projects_v2: *435 + installation: *931 + organization: *932 + projects_v2: *436 sender: *4 required: - action @@ -188169,14 +188852,14 @@ x-webhooks: type: string enum: - created - installation: *928 - organization: *929 - projects_v2_status_update: &985 + installation: *931 + organization: *932 + projects_v2_status_update: &988 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *983 - required: *984 + properties: *986 + required: *987 sender: *4 required: - action @@ -188257,9 +188940,9 @@ x-webhooks: type: string enum: - deleted - installation: *928 - organization: *929 - projects_v2_status_update: *985 + installation: *931 + organization: *932 + projects_v2_status_update: *988 sender: *4 required: - action @@ -188395,9 +189078,9 @@ x-webhooks: type: string format: date nullable: true - installation: *928 - organization: *929 - projects_v2_status_update: *985 + installation: *931 + organization: *932 + projects_v2_status_update: *988 sender: *4 required: - action @@ -188468,10 +189151,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - repository @@ -188548,13 +189231,13 @@ x-webhooks: type: string enum: - assigned - assignee: *956 - enterprise: *927 - installation: *928 - number: &986 + assignee: *959 + enterprise: *930 + installation: *931 + number: &989 description: The pull request number. type: integer - organization: *929 + organization: *932 pull_request: title: Pull Request type: object @@ -190716,6 +191399,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -190841,7 +191525,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -190923,11 +191607,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 number: type: integer - organization: *929 + organization: *932 pull_request: title: Pull Request type: object @@ -193082,6 +193766,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -193209,7 +193894,7 @@ x-webhooks: - draft reason: type: string - repository: *930 + repository: *933 sender: *4 required: - action @@ -193291,11 +193976,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 number: type: integer - organization: *929 + organization: *932 pull_request: title: Pull Request type: object @@ -195450,6 +196135,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -195577,7 +196263,7 @@ x-webhooks: - draft reason: type: string - repository: *930 + repository: *933 sender: *4 required: - action @@ -195659,13 +196345,13 @@ x-webhooks: type: string enum: - closed - enterprise: *927 - installation: *928 - number: *986 - organization: *929 - pull_request: &987 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 + pull_request: &990 allOf: - - *770 + - *773 - type: object properties: allow_auto_merge: @@ -195727,7 +196413,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *930 + repository: *933 sender: *4 required: - action @@ -195808,12 +196494,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *927 - installation: *928 - number: *986 - organization: *929 - pull_request: *987 - repository: *930 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 + pull_request: *990 + repository: *933 sender: *4 required: - action @@ -195893,11 +196579,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *927 - milestone: *752 - number: *986 - organization: *929 - pull_request: &988 + enterprise: *930 + milestone: *754 + number: *989 + organization: *932 + pull_request: &991 title: Pull Request type: object properties: @@ -198053,6 +198739,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -198178,7 +198865,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -198257,11 +198944,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 number: type: integer - organization: *929 + organization: *932 pull_request: title: Pull Request type: object @@ -200421,6 +201108,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -200561,7 +201249,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *930 + repository: *933 sender: *4 required: - action @@ -200685,12 +201373,12 @@ x-webhooks: type: string required: - from - enterprise: *927 - installation: *928 - number: *986 - organization: *929 - pull_request: *987 - repository: *930 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 + pull_request: *990 + repository: *933 sender: *4 required: - action @@ -200770,11 +201458,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 number: type: integer - organization: *929 + organization: *932 pull_request: title: Pull Request type: object @@ -202934,6 +203622,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -203059,7 +203748,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -203139,11 +203828,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *927 - installation: *928 - label: *950 - number: *986 - organization: *929 + enterprise: *930 + installation: *931 + label: *953 + number: *989 + organization: *932 pull_request: title: Pull Request type: object @@ -205304,6 +205993,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -205429,7 +206119,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -205510,10 +206200,10 @@ x-webhooks: type: string enum: - locked - enterprise: *927 - installation: *928 - number: *986 - organization: *929 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 pull_request: title: Pull Request type: object @@ -207672,6 +208362,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -207797,7 +208488,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -207877,12 +208568,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *927 - milestone: *752 - number: *986 - organization: *929 - pull_request: *988 - repository: *930 + enterprise: *930 + milestone: *754 + number: *989 + organization: *932 + pull_request: *991 + repository: *933 sender: *4 required: - action @@ -207961,12 +208652,12 @@ x-webhooks: type: string enum: - opened - enterprise: *927 - installation: *928 - number: *986 - organization: *929 - pull_request: *987 - repository: *930 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 + pull_request: *990 + repository: *933 sender: *4 required: - action @@ -208047,12 +208738,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *927 - installation: *928 - number: *986 - organization: *929 - pull_request: *987 - repository: *930 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 + pull_request: *990 + repository: *933 sender: *4 required: - action @@ -208132,12 +208823,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *927 - installation: *928 - number: *986 - organization: *929 - pull_request: *987 - repository: *930 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 + pull_request: *990 + repository: *933 sender: *4 required: - action @@ -208503,9 +209194,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 pull_request: type: object properties: @@ -210559,6 +211250,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: type: string enum: @@ -210679,7 +211371,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *930 + repository: *933 sender: *4 required: - action @@ -210759,7 +211451,7 @@ x-webhooks: type: string enum: - deleted - comment: &990 + comment: &993 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -211044,9 +211736,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 pull_request: type: object properties: @@ -213088,6 +213780,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: type: string enum: @@ -213208,7 +213901,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *930 + repository: *933 sender: *4 required: - action @@ -213288,11 +213981,11 @@ x-webhooks: type: string enum: - edited - changes: *989 - comment: *990 - enterprise: *927 - installation: *928 - organization: *929 + changes: *992 + comment: *993 + enterprise: *930 + installation: *931 + organization: *932 pull_request: type: object properties: @@ -215337,6 +216030,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: type: string enum: @@ -215457,7 +216151,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *930 + repository: *933 sender: *4 required: - action @@ -215538,9 +216232,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 pull_request: title: Simple Pull Request type: object @@ -217595,6 +218289,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: type: string enum: @@ -217717,7 +218412,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *930 + repository: *933 review: description: The review that was affected. type: object @@ -217964,9 +218659,9 @@ x-webhooks: type: string required: - from - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 pull_request: title: Simple Pull Request type: object @@ -220016,8 +220711,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *930 - review: &991 + repository: *933 + review: &994 description: The review that was affected. type: object properties: @@ -220250,12 +220945,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 number: description: The pull request number. type: integer - organization: *929 + organization: *932 pull_request: title: Pull Request type: object @@ -222417,6 +223112,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. @@ -222542,7 +223238,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 requested_reviewer: title: User type: object @@ -222626,12 +223322,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 number: description: The pull request number. type: integer - organization: *929 + organization: *932 pull_request: title: Pull Request type: object @@ -224800,6 +225496,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. @@ -224925,7 +225622,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 requested_team: title: Team description: Groups of organization members that gives permissions @@ -225117,12 +225814,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 number: description: The pull request number. type: integer - organization: *929 + organization: *932 pull_request: title: Pull Request type: object @@ -227285,6 +227982,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. @@ -227411,7 +228109,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 requested_reviewer: title: User type: object @@ -227496,12 +228194,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *927 - installation: *928 + enterprise: *930 + installation: *931 number: description: The pull request number. type: integer - organization: *929 + organization: *932 pull_request: title: Pull Request type: object @@ -229655,6 +230353,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. @@ -229781,7 +230480,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 requested_team: title: Team description: Groups of organization members that gives permissions @@ -229962,9 +230661,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 pull_request: title: Simple Pull Request type: object @@ -232021,6 +232720,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: type: string enum: @@ -232143,8 +232843,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *930 - review: *991 + repository: *933 + review: *994 sender: *4 required: - action @@ -232224,9 +232924,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 pull_request: title: Simple Pull Request type: object @@ -234192,6 +234892,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: type: string enum: @@ -234314,7 +235015,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *930 + repository: *933 sender: *4 thread: type: object @@ -234701,9 +235402,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 pull_request: title: Simple Pull Request type: object @@ -236656,6 +237357,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: type: string enum: @@ -236777,7 +237479,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *930 + repository: *933 sender: *4 thread: type: object @@ -237161,10 +237863,11 @@ x-webhooks: type: string enum: - stacked - enterprise: *927 - installation: *928 - number: *986 - organization: *929 + enterprise: *930 + installation: *931 + stack: *770 + number: *989 + organization: *932 pull_request: title: Pull Request type: object @@ -239325,6 +240028,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -239450,7 +240154,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -239536,10 +240240,10 @@ x-webhooks: type: string before: type: string - enterprise: *927 - installation: *928 - number: *986 - organization: *929 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 pull_request: title: Pull Request type: object @@ -241689,6 +242393,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -241814,7 +242519,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -241896,11 +242601,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *992 - enterprise: *927 - installation: *928 - number: *986 - organization: *929 + assignee: *995 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 pull_request: title: Pull Request type: object @@ -244062,6 +244767,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -244187,7 +244893,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -244266,11 +244972,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *927 - installation: *928 - label: *950 - number: *986 - organization: *929 + enterprise: *930 + installation: *931 + label: *953 + number: *989 + organization: *932 pull_request: title: Pull Request type: object @@ -246422,6 +247128,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -246547,7 +247254,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -246628,10 +247335,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *927 - installation: *928 - number: *986 - organization: *929 + enterprise: *930 + installation: *931 + number: *989 + organization: *932 pull_request: title: Pull Request type: object @@ -248776,6 +249483,7 @@ x-webhooks: review_comments_url: type: string format: uri + stack: *770 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -248900,7 +249608,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *930 + repository: *933 sender: *4 required: - action @@ -249100,7 +249808,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *927 + enterprise: *930 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -249192,8 +249900,8 @@ x-webhooks: - url - author - committer - installation: *928 - organization: *929 + installation: *931 + organization: *932 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -249779,9 +250487,9 @@ x-webhooks: type: string enum: - published - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 registry_package: type: object properties: @@ -250227,7 +250935,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *973 + items: *976 summary: type: string tag_name: @@ -250281,7 +250989,7 @@ x-webhooks: - owner - package_version - registry - repository: *930 + repository: *933 sender: *4 required: - action @@ -250359,9 +251067,9 @@ x-webhooks: type: string enum: - updated - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 registry_package: type: object properties: @@ -250669,7 +251377,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *973 + items: *976 summary: type: string tag_name: @@ -250718,7 +251426,7 @@ x-webhooks: - owner - package_version - registry - repository: *930 + repository: *933 sender: *4 required: - action @@ -250795,10 +251503,10 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - release: &993 + enterprise: *930 + installation: *931 + organization: *932 + release: &996 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -251116,7 +251824,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *930 + repository: *933 sender: *4 required: - action @@ -251193,11 +251901,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - organization: *929 - release: *993 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + release: *996 + repository: *933 sender: *4 required: - action @@ -251314,11 +252022,11 @@ x-webhooks: type: boolean required: - to - enterprise: *927 - installation: *928 - organization: *929 - release: *993 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + release: *996 + repository: *933 sender: *4 required: - action @@ -251396,9 +252104,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -251720,7 +252428,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *930 + repository: *933 sender: *4 required: - action @@ -251796,10 +252504,10 @@ x-webhooks: type: string enum: - published - enterprise: *927 - installation: *928 - organization: *929 - release: &994 + enterprise: *930 + installation: *931 + organization: *932 + release: &997 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -252118,7 +252826,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *930 + repository: *933 sender: *4 required: - action @@ -252194,11 +252902,11 @@ x-webhooks: type: string enum: - released - enterprise: *927 - installation: *928 - organization: *929 - release: *993 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + release: *996 + repository: *933 sender: *4 required: - action @@ -252274,11 +252982,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *927 - installation: *928 - organization: *929 - release: *994 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + release: *997 + repository: *933 sender: *4 required: - action @@ -252354,11 +253062,11 @@ x-webhooks: type: string enum: - published - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - repository_advisory: *824 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + repository_advisory: *827 sender: *4 required: - action @@ -252434,11 +253142,11 @@ x-webhooks: type: string enum: - reported - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - repository_advisory: *824 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + repository_advisory: *827 sender: *4 required: - action @@ -252514,10 +253222,10 @@ x-webhooks: type: string enum: - archived - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -252594,10 +253302,10 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -252675,10 +253383,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -252762,10 +253470,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -252877,10 +253585,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -252952,10 +253660,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 status: type: string @@ -253036,10 +253744,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -253116,10 +253824,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -253213,10 +253921,10 @@ x-webhooks: - name required: - repository - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -253296,11 +254004,11 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - repository_ruleset: *198 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + repository_ruleset: *199 sender: *4 required: - action @@ -253378,11 +254086,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - repository_ruleset: *198 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + repository_ruleset: *199 sender: *4 required: - action @@ -253460,11 +254168,11 @@ x-webhooks: type: string enum: - edited - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - repository_ruleset: *198 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + repository_ruleset: *199 changes: type: object properties: @@ -253483,16 +254191,16 @@ x-webhooks: properties: added: type: array - items: *169 + items: *170 deleted: type: array - items: *169 + items: *170 updated: type: array items: type: object properties: - condition: *169 + condition: *170 changes: type: object properties: @@ -253525,16 +254233,16 @@ x-webhooks: properties: added: type: array - items: *791 + items: *794 deleted: type: array - items: *791 + items: *794 updated: type: array items: type: object properties: - rule: *791 + rule: *794 changes: type: object properties: @@ -253768,10 +254476,10 @@ x-webhooks: - from required: - owner - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -253849,10 +254557,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -253930,7 +254638,7 @@ x-webhooks: type: string enum: - create - alert: &995 + alert: &998 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -254052,10 +254760,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -254261,10 +254969,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -254342,11 +255050,11 @@ x-webhooks: type: string enum: - reopen - alert: *995 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + alert: *998 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -254545,10 +255253,10 @@ x-webhooks: enum: - fixed - open - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -254626,11 +255334,11 @@ x-webhooks: type: string enum: - assigned - alert: &997 + alert: &1000 type: object properties: - number: *134 - created_at: *141 + number: *135 + created_at: *142 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -254638,8 +255346,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *139 - html_url: *140 + url: *140 + html_url: *141 locations_url: type: string format: uri @@ -254690,6 +255398,14 @@ x-webhooks: description: The slug identifier for the provider of the secret that was detected. nullable: true + 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. @@ -254768,12 +255484,12 @@ x-webhooks: properties: *20 required: *21 nullable: true - metadata: *996 + metadata: *999 assignee: *4 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -254851,11 +255567,11 @@ x-webhooks: type: string enum: - created - alert: *997 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + alert: *1000 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -254936,11 +255652,11 @@ x-webhooks: type: string enum: - created - alert: *997 - installation: *928 - location: *998 - organization: *929 - repository: *930 + alert: *1000 + installation: *931 + location: *1001 + organization: *932 + repository: *933 sender: *4 required: - location @@ -255178,11 +255894,11 @@ x-webhooks: type: string enum: - metadata_created - alert: *997 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + alert: *1000 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -255259,11 +255975,11 @@ x-webhooks: type: string enum: - metadata_removed - alert: *997 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + alert: *1000 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -255340,11 +256056,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *997 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + alert: *1000 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -255422,11 +256138,11 @@ x-webhooks: type: string enum: - reopened - alert: *997 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + alert: *1000 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -255504,11 +256220,11 @@ x-webhooks: type: string enum: - resolved - alert: *997 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + alert: *1000 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -255586,12 +256302,12 @@ x-webhooks: type: string enum: - unassigned - alert: *997 + alert: *1000 assignee: *4 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -255669,11 +256385,11 @@ x-webhooks: type: string enum: - validated - alert: *997 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + alert: *1000 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -255799,10 +256515,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *930 - enterprise: *927 - installation: *928 - organization: *929 + repository: *933 + enterprise: *930 + installation: *931 + organization: *932 sender: *4 required: - action @@ -255880,16 +256596,16 @@ x-webhooks: type: string enum: - published - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - security_advisory: &999 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + security_advisory: &1002 description: The details of the security advisory, including summary, description, and severity. type: object properties: - cvss_severities: *136 + cvss_severities: *137 cwes: type: array items: @@ -256055,11 +256771,11 @@ x-webhooks: type: string enum: - updated - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 - security_advisory: *999 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 + security_advisory: *1002 sender: *4 required: - action @@ -256132,16 +256848,16 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 security_advisory: description: The details of the security advisory, including summary, description, and severity. type: object properties: - cvss_severities: *136 + cvss_severities: *137 cwes: type: array items: @@ -256307,11 +257023,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *452 - enterprise: *927 - installation: *928 - organization: *929 - repository: *514 + security_and_analysis: *453 + enterprise: *930 + installation: *931 + organization: *932 + repository: *515 sender: *4 required: - changes @@ -256389,12 +257105,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - sponsorship: &1000 + sponsorship: &1003 type: object properties: created_at: @@ -256695,12 +257411,12 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - sponsorship: *1000 + sponsorship: *1003 required: - action - sponsorship @@ -256788,12 +257504,12 @@ x-webhooks: type: string required: - from - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - sponsorship: *1000 + sponsorship: *1003 required: - action - changes @@ -256870,17 +257586,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &1001 + effective_date: &1004 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: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - sponsorship: *1000 + sponsorship: *1003 required: - action - sponsorship @@ -256954,7 +257670,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &1002 + changes: &1005 type: object properties: tier: @@ -256998,13 +257714,13 @@ x-webhooks: - from required: - tier - effective_date: *1001 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + effective_date: *1004 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - sponsorship: *1000 + sponsorship: *1003 required: - action - changes @@ -257081,13 +257797,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *1002 - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + changes: *1005 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - sponsorship: *1000 + sponsorship: *1003 required: - action - changes @@ -257161,10 +257877,10 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -257247,10 +257963,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -257670,15 +258386,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *927 + enterprise: *930 id: description: The unique identifier of the status. type: integer - installation: *928 + installation: *931 name: type: string - organization: *929 - repository: *930 + organization: *932 + repository: *933 sender: *4 sha: description: The Commit SHA. @@ -257787,15 +258503,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *234 - parent_issue_repo: *80 + parent_issue: *235 + parent_issue_repo: *81 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *234 - installation: *928 - organization: *929 - repository: *930 + sub_issue: *235 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -257878,15 +258594,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *234 - parent_issue_repo: *80 + parent_issue: *235 + parent_issue_repo: *81 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *234 - installation: *928 - organization: *929 - repository: *930 + sub_issue: *235 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -257969,15 +258685,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *234 - sub_issue_repo: *80 + sub_issue: *235 + sub_issue_repo: *81 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *234 - installation: *928 - organization: *929 - repository: *930 + parent_issue: *235 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -258060,15 +258776,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *234 - sub_issue_repo: *80 + sub_issue: *235 + sub_issue_repo: *81 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *234 - installation: *928 - organization: *929 - repository: *930 + parent_issue: *235 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -258144,12 +258860,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - team: &1003 + team: &1006 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -258372,9 +259088,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 repository: title: Repository description: A git repository @@ -258832,7 +259548,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1003 + team: *1006 required: - action - team @@ -258908,9 +259624,9 @@ x-webhooks: type: string enum: - created - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 repository: title: Repository description: A git repository @@ -259368,7 +260084,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1003 + team: *1006 required: - action - team @@ -259445,9 +260161,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 repository: title: Repository description: A git repository @@ -259905,7 +260621,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1003 + team: *1006 required: - action - team @@ -260049,9 +260765,9 @@ x-webhooks: - from required: - permissions - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 repository: title: Repository description: A git repository @@ -260509,7 +261225,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1003 + team: *1006 required: - action - changes @@ -260587,9 +261303,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *927 - installation: *928 - organization: *929 + enterprise: *930 + installation: *931 + organization: *932 repository: title: Repository description: A git repository @@ -261047,7 +261763,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *1003 + team: *1006 required: - action - team @@ -261123,10 +261839,10 @@ x-webhooks: type: string enum: - started - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 required: - action @@ -261199,16 +261915,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *927 + enterprise: *930 inputs: type: object nullable: true additionalProperties: true - installation: *928 - organization: *929 + installation: *931 + organization: *932 ref: type: string - repository: *930 + repository: *933 sender: *4 workflow: type: string @@ -261290,10 +262006,10 @@ x-webhooks: type: string enum: - completed - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 workflow_job: allOf: @@ -261530,7 +262246,7 @@ x-webhooks: type: string required: - conclusion - deployment: *655 + deployment: *658 required: - action - repository @@ -261609,10 +262325,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 workflow_job: allOf: @@ -261872,7 +262588,7 @@ x-webhooks: required: - status - steps - deployment: *655 + deployment: *658 required: - action - repository @@ -261951,10 +262667,10 @@ x-webhooks: type: string enum: - queued - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 workflow_job: type: object @@ -262089,7 +262805,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *655 + deployment: *658 required: - action - repository @@ -262168,10 +262884,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 workflow_job: type: object @@ -262307,7 +263023,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *655 + deployment: *658 required: - action - repository @@ -262387,12 +263103,12 @@ x-webhooks: type: string enum: - completed - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - workflow: *946 + workflow: *949 workflow_run: title: Workflow Run type: object @@ -263391,12 +264107,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 sender: *4 - workflow: *946 + workflow: *949 workflow_run: title: Workflow Run type: object @@ -264380,12 +265096,12 @@ x-webhooks: type: string enum: - requested - enterprise: *927 - installation: *928 - organization: *929 - repository: *930 + enterprise: *930 + installation: *931 + organization: *932 + repository: *933 {"code":"deadline_exceeded","msg":"operation timed out"}