diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index ca43924952..635753a963 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -53019,6 +53019,364 @@ } } }, + "/enterprises/{enterprise}/copilot/usage-records": { + "get": { + "summary": "Get Copilot usage records for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUse this endpoint to retrieve Copilot agent session activity records for a specific enterprise. The endpoint provides comprehensive observability into Copilot session data across your enterprise.\n\nThe response includes detailed usage records aggregated and forwarded from all Copilot clients where your end users operate under enterprise-paid Copilot licenses. This includes cloud agents operating on github.com and data resident deployments on ghe.com, Copilot CLI, VS Code, Visual Studio, and partner IDEs such as those provided by JetBrains and Eclipse.\n\nOnly EMU (GHEC and GHEC with Data Residency) enterprise owners can access this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-usage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage#get-copilot-usage-records-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "phrase", + "description": "A search phrase to filter usage records. Supported qualifiers: `type` (request/response), `user_id`, `created`.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 25). Values are clamped to the range `[1, 25]`.", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "default": 25 + } + }, + { + "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.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "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.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "order", + "description": "The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`.\n\nThe default is `desc`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "desc", + "asc" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true, + "properties": { + "type": { + "type": "string", + "description": "The record type (request or response)." + }, + "user_id": { + "type": "integer", + "description": "The ID of the user who made the request." + }, + "enterprise_id": { + "type": "integer", + "description": "The ID of the enterprise." + }, + "github_request_id": { + "type": "string", + "description": "The GitHub request ID." + }, + "endpoint": { + "type": "string", + "description": "The API endpoint called." + }, + "body": { + "type": "string", + "description": "The request or response body." + }, + "@timestamp": { + "type": "integer", + "description": "Milliseconds since Unix epoch." + }, + "event_id": { + "type": "string", + "description": "The source-assigned event ID." + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "type": "request", + "user_id": 12345, + "enterprise_id": 1, + "github_request_id": "req-abc-123", + "endpoint": "/chat/completions", + "body": "{\"messages\":[{\"role\":\"user\",\"content\":\"Hello\"}]}", + "@timestamp": 1719600000000 + }, + { + "type": "response", + "user_id": 12345, + "enterprise_id": 1, + "github_request_id": "req-abc-123", + "endpoint": "/chat/completions", + "body": "{\"choices\":[{\"message\":{\"content\":\"Hi there!\"}}]}", + "@timestamp": 1719600000500 + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage" + } + } + }, "/enterprises/{enterprise}/credential-authorizations/revoke-all": { "post": { "summary": "Revoke all credential authorizations for an enterprise", diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index ae86889706..37de9a09b9 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -712,7 +712,7 @@ paths: required: - vector_string - score - cvss_severities: &129 + cvss_severities: &132 type: - object - 'null' @@ -759,7 +759,7 @@ paths: required: - vector_string - score - epss: &130 + epss: &133 type: - object - 'null' @@ -1055,7 +1055,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &253 + schema: &256 title: Validation Error Simple description: Validation Error Simple type: object @@ -4392,7 +4392,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &252 + schema: &255 title: Validation Error description: Validation Error type: object @@ -4803,7 +4803,7 @@ paths: parameters: - *17 - *19 - - &223 + - &226 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) @@ -5650,7 +5650,7 @@ paths: license: anyOf: - type: 'null' - - &220 + - &223 title: License Simple description: License Simple type: object @@ -10575,7 +10575,7 @@ paths: description: Response content: application/json: - schema: &254 + schema: &257 type: object properties: total_active_caches_count: @@ -10590,7 +10590,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &255 + default: &258 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -10805,7 +10805,7 @@ paths: - public_ip_enabled - platform examples: - default: &256 + default: &259 value: total_count: 2 runners: @@ -11109,7 +11109,7 @@ paths: application/json: schema: *47 examples: - default: &257 + default: &260 value: id: 1 platform: linux-x64 @@ -11254,7 +11254,7 @@ paths: application/json: schema: *50 examples: - default: &258 + default: &261 value: version: 1.0.0 size_gb: 75 @@ -11422,7 +11422,7 @@ paths: description: Response content: application/json: - schema: &259 + schema: &262 type: object properties: public_ips: @@ -11449,7 +11449,7 @@ paths: required: - public_ips examples: - default: &260 + default: &263 value: public_ips: current_usage: 17 @@ -11489,7 +11489,7 @@ paths: type: array items: *54 examples: - default: &261 + default: &264 value: id: 4-core cpu_cores: 4 @@ -11807,7 +11807,7 @@ paths: required: true content: application/json: - schema: &262 + schema: &265 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -11918,7 +11918,7 @@ paths: - all - local_only - selected - selected_actions_url: &264 + selected_actions_url: &267 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -11998,7 +11998,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &266 + schema: &269 type: object properties: days: @@ -12044,7 +12044,7 @@ paths: required: true content: application/json: - schema: &267 + schema: &270 type: object properties: days: @@ -12093,7 +12093,7 @@ paths: required: - approval_policy examples: - default: &268 + default: &271 value: approval_policy: first_time_contributors '404': *6 @@ -12151,7 +12151,7 @@ paths: description: Response content: application/json: - schema: &269 + schema: &272 type: object required: - run_workflows_from_fork_pull_requests @@ -12205,7 +12205,7 @@ paths: required: true content: application/json: - schema: &270 + schema: &273 type: object required: - run_workflows_from_fork_pull_requests @@ -12641,7 +12641,7 @@ paths: description: Success response content: application/json: - schema: &273 + schema: &276 type: object properties: default_workflow_permissions: &67 @@ -12689,7 +12689,7 @@ paths: required: true content: application/json: - schema: &274 + schema: &277 type: object properties: default_workflow_permissions: *67 @@ -13545,7 +13545,7 @@ paths: application/json: schema: type: array - items: &278 + items: &281 title: Runner Application description: Runner Application type: object @@ -13570,7 +13570,7 @@ paths: - download_url - filename examples: - default: &279 + default: &282 value: - os: osx architecture: x64 @@ -13654,7 +13654,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &280 + '201': &283 description: Response content: application/json: @@ -13773,7 +13773,7 @@ paths: - token - expires_at examples: - default: &281 + default: &284 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -13813,7 +13813,7 @@ paths: application/json: schema: *79 examples: - default: &282 + default: &285 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13845,7 +13845,7 @@ paths: application/json: schema: *76 examples: - default: &283 + default: &286 value: id: 23 name: MBP @@ -14062,7 +14062,7 @@ paths: - *39 - *75 responses: - '200': &284 + '200': &287 description: Response content: application/json: @@ -14118,7 +14118,7 @@ paths: parameters: - *39 - *75 - - &285 + - &288 name: name description: The name of a self-hosted runner's custom label. in: path @@ -14215,7 +14215,7 @@ paths: required: true content: application/json: - schema: &299 + schema: &302 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14866,7 +14866,7 @@ paths: required: false schema: type: string - - &302 + - &305 name: include description: |- The event types to include: @@ -14884,7 +14884,7 @@ paths: - web - git - all - - &303 + - &127 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. @@ -14892,7 +14892,7 @@ paths: required: false schema: type: string - - &304 + - &128 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. @@ -14900,7 +14900,7 @@ paths: required: false schema: type: string - - &305 + - &129 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -16275,28 +16275,28 @@ paths: items: &320 type: object properties: - number: &127 + number: &130 type: integer description: The security alert number. readOnly: true - created_at: &134 + created_at: &137 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: &135 + updated_at: &138 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: &132 + url: &135 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &133 + html_url: &136 type: string description: The GitHub URL of the alert resource. format: uri @@ -16317,7 +16317,7 @@ paths: - dismissed - fixed - - fixed_at: &137 + fixed_at: &140 type: - string - 'null' @@ -16329,7 +16329,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &136 + dismissed_at: &139 type: - string - 'null' @@ -17074,7 +17074,7 @@ paths: headers: Link: *45 '404': *6 - '503': &192 + '503': &195 description: Service unavailable content: application/json: @@ -18810,7 +18810,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &143 + items: &146 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -19035,7 +19035,7 @@ paths: - slug - parent - type - - &142 + - &145 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -19167,7 +19167,7 @@ paths: - created_at additionalProperties: false examples: - default: &144 + default: &147 value: total_seats: 2 seats: @@ -20525,6 +20525,109 @@ paths: enabledForGitHubApps: false category: copilot subcategory: copilot-coding-agent-management + "/enterprises/{enterprise}/copilot/usage-records": + get: + summary: Get Copilot usage records for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Use this endpoint to retrieve Copilot agent session activity records for a specific enterprise. The endpoint provides comprehensive observability into Copilot session data across your enterprise. + + The response includes detailed usage records aggregated and forwarded from all Copilot clients where your end users operate under enterprise-paid Copilot licenses. This includes cloud agents operating on github.com and data resident deployments on ghe.com, Copilot CLI, VS Code, Visual Studio, and partner IDEs such as those provided by JetBrains and Eclipse. + + Only EMU (GHEC and GHEC with Data Residency) enterprise owners can access this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-usage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage#get-copilot-usage-records-for-an-enterprise + parameters: + - *39 + - name: phrase + description: 'A search phrase to filter usage records. Supported qualifiers: + `type` (request/response), `user_id`, `created`.' + in: query + required: false + schema: + type: string + - name: per_page + description: The number of results per page (max 25). Values are clamped to + the range `[1, 25]`. + in: query + required: false + schema: + type: integer + default: 25 + - *127 + - *128 + - *129 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + additionalProperties: true + properties: + type: + type: string + description: The record type (request or response). + user_id: + type: integer + description: The ID of the user who made the request. + enterprise_id: + type: integer + description: The ID of the enterprise. + github_request_id: + type: string + description: The GitHub request ID. + endpoint: + type: string + description: The API endpoint called. + body: + type: string + description: The request or response body. + "@timestamp": + type: integer + description: Milliseconds since Unix epoch. + event_id: + type: string + description: The source-assigned event ID. + examples: + default: + value: + - type: request + user_id: 12345 + enterprise_id: 1 + github_request_id: req-abc-123 + endpoint: "/chat/completions" + body: '{"messages":[{"role":"user","content":"Hello"}]}' + "@timestamp": 1719600000000 + - type: response + user_id: 12345 + enterprise_id: 1 + github_request_id: req-abc-123 + endpoint: "/chat/completions" + body: '{"choices":[{"message":{"content":"Hi there!"}}]}' + "@timestamp": 1719600000500 + headers: + Link: *45 + '400': *14 + '422': *15 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage "/enterprises/{enterprise}/credential-authorizations/revoke-all": post: summary: Revoke all credential authorizations for an enterprise @@ -20650,7 +20753,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/credential-authorizations#revoke-credential-authorizations-for-a-user-in-an-enterprise parameters: - *39 - - &140 + - &143 name: username description: The handle for the GitHub user account. in: path @@ -20879,7 +20982,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *127 + number: *130 state: type: string description: The state of the Dependabot alert. @@ -20894,7 +20997,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &128 + package: &131 type: object description: Details for the vulnerable package. readOnly: true @@ -20974,13 +21077,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &131 + items: &134 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *128 + package: *131 severity: type: string description: The severity of the vulnerability. @@ -21055,8 +21158,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *129 - epss: *130 + cvss_severities: *132 + epss: *133 cwes: type: array description: Details for the advisory pertaining to Common @@ -21156,12 +21259,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *131 - url: *132 - html_url: *133 - created_at: *134 - updated_at: *135 - dismissed_at: *136 + security_vulnerability: *134 + url: *135 + html_url: *136 + created_at: *137 + updated_at: *138 + dismissed_at: *139 dismissed_by: anyOf: - type: 'null' @@ -21185,7 +21288,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *137 + fixed_at: *140 auto_dismissed_at: &604 type: - string @@ -22145,7 +22248,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &141 + items: &144 title: Enterprise Role description: Enterprise custom roles type: object @@ -22273,7 +22376,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *39 - - &138 + - &141 name: team_slug description: The slug of the enterprise team name. in: path @@ -22316,8 +22419,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *39 - - *138 - - &139 + - *141 + - &142 name: role_id description: The unique identifier of the role. in: path @@ -22359,8 +22462,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *39 - - *138 - - *139 + - *141 + - *142 responses: '204': description: Response @@ -22394,7 +22497,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user parameters: - *39 - - *140 + - *143 responses: '204': description: Response @@ -22428,8 +22531,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user parameters: - *39 - - *140 - - *139 + - *143 + - *142 responses: '204': description: Response @@ -22462,8 +22565,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment parameters: - *39 - - *140 - - *139 + - *143 + - *142 responses: '204': description: Response @@ -22497,13 +22600,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *39 - - *139 + - *142 responses: '200': description: Response content: application/json: - schema: *141 + schema: *144 examples: default: value: @@ -22557,7 +22660,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#list-teams-that-are-assigned-to-an-enterprise-role parameters: - *39 - - *139 + - *142 - *17 - *19 responses: @@ -22567,9 +22670,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: &207 + default: &210 value: - id: 1 name: Justice League @@ -22608,7 +22711,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#list-users-that-are-assigned-to-an-enterprise-role parameters: - *39 - - *139 + - *142 - *17 - *19 responses: @@ -22641,7 +22744,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *142 + items: *145 examples: default: value: @@ -22874,7 +22977,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *39 - - *140 + - *143 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -22890,9 +22993,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *143 + items: *146 examples: - default: *144 + default: *147 '500': *38 '401': *23 '403': *27 @@ -22935,7 +23038,7 @@ paths: type: integer network_configurations: type: array - items: &145 + items: &148 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -23086,9 +23189,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: &146 + default: &149 value: id: 123456789ABCDEF name: My network configuration @@ -23115,7 +23218,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - &147 + - &150 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -23127,9 +23230,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *146 + default: *149 headers: Link: *45 x-github: @@ -23149,7 +23252,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - *147 + - *150 requestBody: required: true content: @@ -23202,9 +23305,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *146 + default: *149 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23222,7 +23325,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *39 - - *147 + - *150 responses: '204': description: Response @@ -23335,7 +23438,7 @@ paths: application/json: schema: type: array - items: &148 + items: &151 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -23413,7 +23516,7 @@ paths: - property_name - value_type examples: - default: &149 + default: &152 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23473,7 +23576,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *148 + items: *151 minItems: 1 maxItems: 100 required: @@ -23506,9 +23609,9 @@ paths: application/json: schema: type: array - items: *148 + items: *151 examples: - default: *149 + default: *152 '403': *27 '404': *6 '422': *7 @@ -23535,7 +23638,7 @@ paths: 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: - *39 - - &150 + - &153 name: custom_property_name description: The custom property name in: path @@ -23547,9 +23650,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *151 examples: - default: &151 + default: &154 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23586,7 +23689,7 @@ paths: 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: - *39 - - *150 + - *153 requestBody: required: true content: @@ -23664,9 +23767,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *151 examples: - default: *151 + default: *154 '403': *27 '404': *6 '422': *7 @@ -23692,7 +23795,7 @@ paths: 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: - *39 - - *150 + - *153 responses: '204': *126 '403': *27 @@ -23745,7 +23848,7 @@ paths: - Hello-World properties: type: array - items: &152 + items: &155 title: Custom Property Value description: Custom property name and associated value type: object @@ -23831,7 +23934,7 @@ paths: type: array description: List of custom property names and associated values to apply to the organizations. - items: *152 + items: *155 required: - organization_logins - properties @@ -23881,7 +23984,7 @@ paths: application/json: schema: type: array - items: &153 + items: &156 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -23959,7 +24062,7 @@ paths: - property_name - value_type examples: - default: &154 + default: &157 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -24017,7 +24120,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *153 + items: *156 minItems: 1 maxItems: 100 required: @@ -24047,9 +24150,9 @@ paths: application/json: schema: type: array - items: *153 + items: *156 examples: - default: *154 + default: *157 '403': *27 '404': *6 x-github: @@ -24073,15 +24176,15 @@ paths: parameters: - *39 - *87 - - *150 + - *153 responses: '200': description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: &155 + default: &158 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -24114,15 +24217,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *39 - - *150 + - *153 responses: '200': description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -24144,7 +24247,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *39 - - *150 + - *153 requestBody: required: true content: @@ -24224,9 +24327,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -24248,7 +24351,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *39 - - *150 + - *153 responses: '204': *126 '403': *27 @@ -24290,7 +24393,7 @@ paths: - push - repository default: branch - enforcement: &164 + enforcement: &167 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -24303,7 +24406,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &165 + items: &168 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -24347,7 +24450,7 @@ paths: - pull_request - exempt default: always - conditions: &189 + conditions: &192 title: Enterprise ruleset conditions type: object description: |- @@ -24360,7 +24463,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &156 + - &159 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -24386,7 +24489,7 @@ paths: type: string required: - organization_name - - &159 + - &162 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -24415,7 +24518,7 @@ paths: is prevented. required: - repository_name - - &158 + - &161 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -24443,8 +24546,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *156 - - &161 + - *159 + - &164 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -24457,7 +24560,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &157 + items: &160 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -24488,16 +24591,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *157 + items: *160 required: - repository_property - - *158 + - *161 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &160 + - &163 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -24514,22 +24617,22 @@ paths: type: integer required: - organization_id - - *159 - - *158 + - *162 + - *161 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *160 + - *163 + - *164 - *161 - - *158 - type: object title: organization_property_and_repository_name description: Conditions to target organizations by property and all repositories allOf: - - &163 + - &166 title: Repository ruleset conditions for organization properties type: object description: Parameters for a organization property condition @@ -24542,7 +24645,7 @@ paths: description: The organization properties and values to include. All of these properties must match for the condition to pass. - items: &162 + items: &165 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a organization @@ -24566,28 +24669,28 @@ paths: description: The organization properties and values to exclude. The condition will not pass if any of these properties match. - items: *162 + items: *165 required: - organization_property - - *159 - - *158 + - *162 + - *161 - type: object title: organization_property_and_repository_property description: Conditions to target organizations by property and repositories by property allOf: - - *163 + - *166 + - *164 - *161 - - *158 rules: type: array description: An array of rules within the ruleset. - items: &190 + items: &193 title: Repository Rule type: object description: A repository rule. oneOf: - - &166 + - &169 title: creation description: Only allow users with bypass permission to create matching refs. @@ -24599,7 +24702,7 @@ paths: type: string enum: - creation - - &167 + - &170 title: update description: Only allow users with bypass permission to update matching refs. @@ -24620,7 +24723,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &168 + - &171 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -24632,7 +24735,7 @@ paths: type: string enum: - deletion - - &169 + - &172 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -24644,7 +24747,7 @@ paths: type: string enum: - required_linear_history - - &170 + - &173 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -24668,7 +24771,7 @@ paths: type: string required: - required_deployment_environments - - &171 + - &174 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -24680,7 +24783,7 @@ paths: type: string enum: - required_signatures - - &172 + - &175 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. @@ -24783,7 +24886,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &173 + - &176 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -24830,7 +24933,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &174 + - &177 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -24842,7 +24945,7 @@ paths: type: string enum: - non_fast_forward - - &175 + - &178 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -24879,7 +24982,7 @@ paths: required: - operator - pattern - - &176 + - &179 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -24916,7 +25019,7 @@ paths: required: - operator - pattern - - &177 + - &180 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -24953,7 +25056,7 @@ paths: required: - operator - pattern - - &178 + - &181 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -24990,7 +25093,7 @@ paths: required: - operator - pattern - - &179 + - &182 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -25027,7 +25130,7 @@ paths: required: - operator - pattern - - &183 + - &186 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -25051,7 +25154,7 @@ paths: type: string required: - restricted_file_paths - - &184 + - &187 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -25075,7 +25178,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &185 + - &188 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -25098,7 +25201,7 @@ paths: type: string required: - restricted_file_extensions - - &186 + - &189 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -25122,7 +25225,7 @@ paths: maximum: 100 required: - max_file_size - - &180 + - &183 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -25171,7 +25274,7 @@ paths: - repository_id required: - workflows - - &181 + - &184 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -25231,7 +25334,7 @@ paths: - tool required: - code_scanning_tools - - &182 + - &185 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review @@ -25281,7 +25384,7 @@ paths: description: Response content: application/json: - schema: &187 + schema: &190 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -25316,11 +25419,11 @@ paths: source: type: string description: The name of the source - enforcement: *164 + enforcement: *167 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *165 + items: *168 current_user_can_bypass: type: string description: |- @@ -25352,7 +25455,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - *158 + - *161 - &434 title: Organization ruleset conditions type: object @@ -25367,14 +25470,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *158 - - *159 + - *161 + - *162 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *158 + - *161 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -25396,8 +25499,8 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *158 - *161 + - *164 type: - 'null' - object @@ -25408,10 +25511,10 @@ paths: type: object description: A repository rule. oneOf: - - *166 - - *167 - - *168 - *169 + - *170 + - *171 + - *172 - &739 title: merge_queue description: Merges must be performed via a merge queue. @@ -25490,9 +25593,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *170 - - *171 - - *172 - *173 - *174 - *175 @@ -25507,6 +25607,9 @@ paths: - *184 - *185 - *186 + - *187 + - *188 + - *189 created_at: type: string format: date-time @@ -25514,7 +25617,7 @@ paths: type: string format: date-time examples: - default: &188 + default: &191 value: id: 21 name: super cool ruleset @@ -25573,9 +25676,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: - default: *188 + default: *191 '404': *6 '500': *38 x-github: @@ -25619,16 +25722,16 @@ paths: - tag - push - repository - enforcement: *164 + enforcement: *167 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *165 - conditions: *189 + items: *168 + conditions: *192 rules: description: An array of rules within the ruleset. type: array - items: *190 + items: *193 examples: default: value: @@ -25652,9 +25755,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: - default: *188 + default: *191 '404': *6 '500': *38 x-github: @@ -25716,7 +25819,7 @@ paths: application/json: schema: type: array - items: &191 + items: &194 title: Ruleset version type: object description: The historical version of a ruleset @@ -25795,7 +25898,7 @@ paths: application/json: schema: &438 allOf: - - *191 + - *194 - type: object required: - state @@ -26003,14 +26106,14 @@ paths: items: &452 type: object properties: - number: *127 - created_at: *134 + number: *130 + created_at: *137 updated_at: anyOf: - type: 'null' - - *135 - url: *132 - html_url: *133 + - *138 + url: *135 + html_url: *136 locations_url: type: string format: uri @@ -26697,7 +26800,7 @@ paths: headers: Link: *45 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -26734,7 +26837,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &194 + pattern_config_version: &197 type: - string - 'null' @@ -26744,7 +26847,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &193 + items: &196 type: object properties: token_type: @@ -26813,7 +26916,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *193 + items: *196 examples: default: &455 value: @@ -26870,7 +26973,7 @@ paths: schema: type: object properties: - pattern_config_version: *194 + pattern_config_version: *197 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -26896,7 +26999,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *194 + custom_pattern_version: *197 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -27076,7 +27179,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-enterprise parameters: - *39 - - &198 + - &201 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, @@ -27085,7 +27188,7 @@ paths: required: false schema: type: integer - - &199 + - &202 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 @@ -27094,7 +27197,7 @@ paths: required: false schema: type: integer - - &200 + - &203 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 @@ -27103,7 +27206,7 @@ paths: required: false schema: type: integer - - &201 + - &204 name: organization description: The organization name to query usage for. The name is not case sensitive. @@ -27111,21 +27214,21 @@ paths: required: false schema: type: string - - &202 + - &205 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &203 + - &206 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &204 + - &207 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -27264,7 +27367,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27786,7 +27889,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-a-budget-by-id parameters: - *39 - - &195 + - &198 name: budget_id description: The ID corresponding to the budget. in: path @@ -27898,7 +28001,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28180,7 +28283,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#delete-a-budget parameters: - *39 - - *195 + - *198 responses: '200': description: Response when deleting a budget @@ -28207,7 +28310,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28226,7 +28329,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-user-states-for-a-multi-user-budget parameters: - *39 - - *195 + - *198 - name: page description: The page number of results to fetch. in: query @@ -28321,7 +28424,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28425,7 +28528,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28561,7 +28664,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#get-a-cost-center-by-id parameters: - *39 - - &197 + - &200 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -28619,7 +28722,7 @@ paths: - name - resources examples: - default: &196 + default: &199 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -28633,7 +28736,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28728,13 +28831,13 @@ paths: - name - resources examples: - default: *196 + default: *199 '400': *14 '403': *27 '404': *6 '409': *119 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28752,7 +28855,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#delete-a-cost-center parameters: - *39 - - *197 + - *200 responses: '200': description: Response when deleting a cost center @@ -28791,7 +28894,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28812,7 +28915,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - *39 - - *197 + - *200 requestBody: required: true content: @@ -28893,7 +28996,7 @@ paths: '403': *27 '409': *119 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28913,7 +29016,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - *39 - - *197 + - *200 requestBody: required: true content: @@ -28965,7 +29068,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28986,13 +29089,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *39 - - *198 - - *199 - - *200 - *201 - *202 - *203 - *204 + - *205 + - *206 + - *207 - 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. @@ -29125,7 +29228,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29155,7 +29258,7 @@ paths: usage_report_exports: type: array description: List of usage report exports - items: &205 + items: &208 type: object properties: id: @@ -29253,7 +29356,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29319,9 +29422,9 @@ paths: description: Report export request accepted content: application/json: - schema: *205 + schema: *208 examples: - usage-report-export: &206 + usage-report-export: &209 value: id: a1b2c3d4-e5f6-7890-abcd-ef1234567890 report_type: detailed @@ -29337,7 +29440,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29368,14 +29471,14 @@ paths: description: Usage report export details content: application/json: - schema: *205 + schema: *208 examples: - usage-report-export: *206 + usage-report-export: *209 '401': *23 '403': *27 '404': *6 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29396,7 +29499,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - *39 - - *198 + - *201 - 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 @@ -29405,7 +29508,7 @@ paths: required: false schema: type: integer - - *200 + - *203 - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -29488,7 +29591,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29509,17 +29612,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - *39 - - *198 - - *199 - - *200 - *201 + - *202 + - *203 + - *204 - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *204 + - *207 - name: sku description: The SKU to query for usage. in: query @@ -29652,7 +29755,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29679,9 +29782,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: *207 + default: *210 headers: Link: *45 '403': *27 @@ -29770,9 +29873,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *145 examples: - default: &212 + default: &215 value: id: 1 name: Justice League @@ -29801,7 +29904,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *39 - - &208 + - &211 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -29820,7 +29923,7 @@ paths: type: array items: *4 examples: - default: &209 + default: &212 value: - login: octocat id: 1 @@ -29859,7 +29962,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *39 - - *208 + - *211 requestBody: required: true content: @@ -29890,7 +29993,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29908,7 +30011,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *39 - - *208 + - *211 requestBody: required: true content: @@ -29939,7 +30042,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29957,8 +30060,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *39 - - *208 - - *140 + - *211 + - *143 responses: '200': description: User is a member of the enterprise team. @@ -29966,7 +30069,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &210 + exampleKey1: &213 value: login: octocat id: 1 @@ -30002,8 +30105,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *39 - - *208 - - *140 + - *211 + - *143 responses: '201': description: Successfully added team member @@ -30011,7 +30114,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *210 + exampleKey1: *213 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30029,8 +30132,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *39 - - *208 - - *140 + - *211 + - *143 responses: '204': description: Response @@ -30052,7 +30155,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *39 - - *208 + - *211 - *17 - *19 responses: @@ -30064,7 +30167,7 @@ paths: type: array items: *73 examples: - default: &211 + default: &214 value: login: github id: 1 @@ -30095,7 +30198,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *39 - - *208 + - *211 requestBody: required: true content: @@ -30125,7 +30228,7 @@ paths: type: array items: *73 examples: - default: &247 + default: &250 value: - login: github id: 1 @@ -30156,7 +30259,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *39 - - *208 + - *211 requestBody: required: true content: @@ -30197,7 +30300,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *39 - - *208 + - *211 - *87 responses: '200': @@ -30206,7 +30309,7 @@ paths: application/json: schema: *73 examples: - default: *211 + default: *214 '404': description: The team is not assigned to the organization x-github: @@ -30225,7 +30328,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *39 - - *208 + - *211 - *87 responses: '201': @@ -30234,7 +30337,7 @@ paths: application/json: schema: *73 examples: - default: *211 + default: *214 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30251,7 +30354,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *39 - - *208 + - *211 - *87 responses: '204': @@ -30276,7 +30379,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *39 - - &213 + - &216 name: team_slug description: The slug of the team name. in: path @@ -30288,9 +30391,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *145 examples: - default: *212 + default: *215 headers: Link: *45 '403': *27 @@ -30310,7 +30413,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *39 - - *213 + - *216 requestBody: required: true content: @@ -30378,9 +30481,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *145 examples: - default: *212 + default: *215 headers: Link: *45 '403': *27 @@ -30403,7 +30506,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *39 - - *213 + - *216 responses: '204': description: Response @@ -30502,7 +30605,7 @@ paths: application/json: schema: type: array - items: &242 + items: &245 title: Event description: Event type: object @@ -30513,7 +30616,7 @@ paths: type: - string - 'null' - actor: &214 + actor: &217 title: Actor description: Actor type: object @@ -30554,7 +30657,7 @@ paths: - id - name - url - org: *214 + org: *217 payload: oneOf: - title: CreateEvent @@ -30898,7 +31001,7 @@ paths: - id labels: type: array - items: &217 + items: &220 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -30981,7 +31084,7 @@ paths: properties: action: type: string - issue: &218 + issue: &221 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -31335,7 +31438,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &215 + author_association: &218 title: author_association type: string description: How the author is associated with the @@ -31351,7 +31454,7 @@ paths: - OWNER examples: - OWNER - reactions: &216 + reactions: &219 title: Reaction Rollup type: object properties: @@ -31411,7 +31514,7 @@ paths: pinned_comment: anyOf: - type: 'null' - - &219 + - &222 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -31462,12 +31565,12 @@ paths: issue_url: type: string format: uri - author_association: *215 + author_association: *218 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *216 + reactions: *219 pin: anyOf: - type: 'null' @@ -31672,10 +31775,10 @@ paths: assignees: type: array items: *4 - label: *217 + label: *220 labels: type: array - items: *217 + items: *220 required: - action - issue @@ -31684,8 +31787,8 @@ paths: properties: action: type: string - issue: *218 - comment: *219 + issue: *221 + comment: *222 required: - action - issue @@ -31864,7 +31967,7 @@ paths: license: anyOf: - type: 'null' - - *220 + - *223 allow_forking: type: boolean is_template: @@ -31955,7 +32058,7 @@ paths: type: string number: type: integer - pull_request: &221 + pull_request: &224 title: Pull Request Minimal type: object properties: @@ -32026,10 +32129,10 @@ paths: assignees: type: array items: *4 - label: *217 + label: *220 labels: type: array - items: *217 + items: *220 required: - action - number @@ -32039,7 +32142,7 @@ paths: properties: action: type: string - pull_request: *221 + pull_request: *224 comment: type: object properties: @@ -32293,7 +32396,7 @@ paths: - pull_request updated_at: type: string - pull_request: *221 + pull_request: *224 required: - action - review @@ -32342,7 +32445,7 @@ paths: updated_at: type: string format: date-time - reactions: *216 + reactions: *219 required: - action - comment @@ -32510,7 +32613,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *216 + reactions: *219 required: - assets_url - upload_url @@ -32603,7 +32706,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32693,7 +32796,7 @@ paths: _links: type: object properties: - timeline: &222 + timeline: &225 title: Link With Type description: Hypermedia Link with Type type: object @@ -32705,17 +32808,17 @@ paths: required: - href - type - user: *222 - security_advisories: *222 - current_user: *222 - current_user_public: *222 - current_user_actor: *222 - current_user_organization: *222 + user: *225 + security_advisories: *225 + current_user: *225 + current_user_public: *225 + current_user_actor: *225 + current_user_organization: *225 current_user_organizations: type: array - items: *222 - repository_discussions: *222 - repository_discussions_category: *222 + items: *225 + repository_discussions: *225 + repository_discussions_category: *225 required: - timeline - user @@ -32777,7 +32880,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *223 + - *226 - *17 - *19 responses: @@ -32787,7 +32890,7 @@ paths: application/json: schema: type: array - items: &224 + items: &227 title: Base Gist description: Base Gist type: object @@ -32884,7 +32987,7 @@ paths: - created_at - updated_at examples: - default: &225 + default: &228 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -33008,7 +33111,7 @@ paths: description: Response content: application/json: - schema: &226 + schema: &229 title: Gist Simple description: Gist Simple type: object @@ -33400,7 +33503,7 @@ paths: truncated: type: boolean examples: - default: &227 + default: &230 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -33504,7 +33607,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *223 + - *226 - *17 - *19 responses: @@ -33514,9 +33617,9 @@ paths: application/json: schema: type: array - items: *224 + items: *227 examples: - default: *225 + default: *228 headers: Link: *45 '422': *15 @@ -33538,7 +33641,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *223 + - *226 - *17 - *19 responses: @@ -33548,9 +33651,9 @@ paths: application/json: schema: type: array - items: *224 + items: *227 examples: - default: *225 + default: *228 headers: Link: *45 '401': *23 @@ -33577,7 +33680,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &228 + - &231 name: gist_id description: The unique identifier of the gist. in: path @@ -33589,10 +33692,10 @@ paths: description: Response content: application/json: - schema: *226 + schema: *229 examples: - default: *227 - '403': &231 + default: *230 + '403': &234 description: Forbidden Gist content: application/json: @@ -33640,7 +33743,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *228 + - *231 requestBody: required: true content: @@ -33704,9 +33807,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *229 examples: - updateGist: *227 + updateGist: *230 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -33864,7 +33967,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *228 + - *231 responses: '204': description: Response @@ -33892,7 +33995,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *228 + - *231 - *17 - *19 responses: @@ -33902,7 +34005,7 @@ paths: application/json: schema: type: array - items: &229 + items: &232 title: Gist Comment description: A comment made to a gist. type: object @@ -33940,7 +34043,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *215 + author_association: *218 required: - url - id @@ -34004,7 +34107,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *228 + - *231 requestBody: required: true content: @@ -34030,9 +34133,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: &230 + default: &233 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -34089,8 +34192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *228 - - &232 + - *231 + - &235 name: comment_id description: The unique identifier of the comment. in: path @@ -34103,12 +34206,12 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 + default: *233 '304': *35 '404': *6 - '403': *231 + '403': *234 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34129,8 +34232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *228 - - *232 + - *231 + - *235 requestBody: required: true content: @@ -34156,9 +34259,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 + default: *233 '404': *6 x-github: githubCloudOnly: false @@ -34175,8 +34278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *228 - - *232 + - *231 + - *235 responses: '204': description: Response @@ -34199,7 +34302,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *228 + - *231 - *17 - *19 responses: @@ -34300,7 +34403,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *228 + - *231 - *17 - *19 responses: @@ -34310,7 +34413,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: default: value: @@ -34375,13 +34478,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *228 + - *231 responses: '201': description: Response content: application/json: - schema: *224 + schema: *227 examples: default: value: @@ -34452,7 +34555,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *228 + - *231 responses: '204': description: Response if gist is starred @@ -34482,7 +34585,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *228 + - *231 responses: '204': description: Response @@ -34504,7 +34607,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *228 + - *231 responses: '204': description: Response @@ -34532,7 +34635,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *228 + - *231 - name: sha in: path required: true @@ -34543,9 +34646,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *229 examples: - default: *227 + default: *230 '422': *15 '404': *6 '403': *27 @@ -34947,7 +35050,7 @@ paths: - comments default: created - *110 - - *223 + - *226 - name: collab in: query required: false @@ -34977,7 +35080,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: &390 value: @@ -35259,7 +35362,7 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: default: value: @@ -35557,7 +35660,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &233 + X-CommonMarker-Version: &236 example: 0.17.4 schema: type: string @@ -35612,7 +35715,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *233 + X-CommonMarker-Version: *236 content: text/html: schema: @@ -35641,7 +35744,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: - - &236 + - &239 name: account_id description: account_id parameter in: path @@ -35653,7 +35756,7 @@ paths: description: Response content: application/json: - schema: &235 + schema: &238 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -35687,7 +35790,7 @@ paths: - 'null' id: type: integer - plan: &234 + plan: &237 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -35790,7 +35893,7 @@ paths: - 'null' updated_at: type: string - plan: *234 + plan: *237 required: - url - id @@ -35798,7 +35901,7 @@ paths: - login - marketplace_purchase examples: - default: &237 + default: &240 value: url: https://api.github.com/orgs/github type: Organization @@ -35883,9 +35986,9 @@ paths: application/json: schema: type: array - items: *234 + items: *237 examples: - default: &238 + default: &241 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -35925,14 +36028,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &239 + - &242 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &240 + - &243 name: sort description: The property to sort the results by. in: query @@ -35962,9 +36065,9 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: - default: &241 + default: &244 value: - url: https://api.github.com/orgs/github type: Organization @@ -36038,15 +36141,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: - - *236 + - *239 responses: '200': description: Response content: application/json: - schema: *235 + schema: *238 examples: - default: *237 + default: *240 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -36078,9 +36181,9 @@ paths: application/json: schema: type: array - items: *234 + items: *237 examples: - default: *238 + default: *241 headers: Link: *45 '401': *23 @@ -36103,8 +36206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *239 - - *240 + - *242 + - *243 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -36124,9 +36227,9 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: - default: *241 + default: *244 headers: Link: *45 '401': *23 @@ -36415,7 +36518,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: default: value: @@ -36499,7 +36602,7 @@ paths: schema: type: boolean default: false - - *223 + - *226 - &708 name: before description: 'Only show notifications updated before the given time. This @@ -36525,14 +36628,14 @@ paths: application/json: schema: type: array - items: &243 + items: &246 title: Thread description: Thread type: object properties: id: type: string - repository: &277 + repository: &280 title: Minimal Repository description: Minimal Repository type: object @@ -37267,7 +37370,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &244 + - &247 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 @@ -37281,7 +37384,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *246 examples: default: value: @@ -37384,7 +37487,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *244 + - *247 responses: '205': description: Reset Content @@ -37407,7 +37510,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *244 + - *247 responses: '204': description: No content @@ -37430,13 +37533,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: - - *244 + - *247 responses: '200': description: Response content: application/json: - schema: &245 + schema: &248 title: Thread Subscription description: Thread Subscription type: object @@ -37480,7 +37583,7 @@ paths: - url - subscribed examples: - default: &246 + default: &249 value: subscribed: true ignored: false @@ -37511,7 +37614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *244 + - *247 requestBody: required: false content: @@ -37532,9 +37635,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *248 examples: - default: *246 + default: *249 '304': *35 '403': *27 '401': *23 @@ -37557,7 +37660,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *244 + - *247 responses: '204': description: Response @@ -37654,7 +37757,7 @@ paths: type: array items: *73 examples: - default: *247 + default: *250 headers: Link: example: ; rel="next" @@ -37808,7 +37911,7 @@ paths: description: Response content: application/json: - schema: &248 + schema: &251 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -37847,7 +37950,7 @@ paths: required: true content: application/json: - schema: *248 + schema: *251 examples: selected_actions: *42 responses: @@ -37882,7 +37985,7 @@ paths: description: Response content: application/json: - schema: &249 + schema: &252 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -37921,7 +38024,7 @@ paths: required: true content: application/json: - schema: *249 + schema: *252 examples: selected_actions: *44 responses: @@ -37962,7 +38065,7 @@ paths: application/json: schema: type: array - items: *152 + items: *155 examples: default: &715 value: @@ -38010,7 +38113,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *152 + items: *155 required: - properties examples: @@ -38061,7 +38164,7 @@ paths: description: Response content: application/json: - schema: &250 + schema: &253 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -38471,7 +38574,7 @@ paths: - updated_at - archived_at examples: - default-response: &251 + default-response: &254 value: login: github id: 1 @@ -38797,17 +38900,17 @@ paths: description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: *251 + default: *254 '422': description: Validation failed content: application/json: schema: oneOf: - - *252 - - *253 + - *255 + - *256 '409': *119 x-github: githubCloudOnly: false @@ -38862,9 +38965,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *257 examples: - default: *255 + default: *258 headers: Link: *45 x-github: @@ -38983,7 +39086,7 @@ paths: type: array items: *46 examples: - default: *256 + default: *259 headers: Link: *45 x-github: @@ -39150,7 +39253,7 @@ paths: application/json: schema: *47 examples: - default: *257 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39242,7 +39345,7 @@ paths: application/json: schema: *50 examples: - default: *258 + default: *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39361,9 +39464,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *262 examples: - default: *260 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39399,7 +39502,7 @@ paths: type: array items: *54 examples: - default: *261 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39643,7 +39746,7 @@ paths: required: true content: application/json: - schema: *262 + schema: *265 examples: default: *58 responses: @@ -39736,7 +39839,7 @@ paths: required: - include_claim_keys examples: - default: &263 + default: &266 value: include_claim_keys: - repo @@ -39781,13 +39884,13 @@ paths: format. type: boolean examples: - default: *263 + default: *266 responses: '201': description: Empty response content: application/json: - schema: &288 + schema: &291 title: Empty Object description: An object without any properties. type: object @@ -39826,7 +39929,7 @@ paths: schema: type: object properties: - enabled_repositories: &265 + enabled_repositories: &268 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -39840,7 +39943,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *60 - selected_actions_url: *264 + selected_actions_url: *267 sha_pinning_required: *61 required: - enabled_repositories @@ -39882,7 +39985,7 @@ paths: schema: type: object properties: - enabled_repositories: *265 + enabled_repositories: *268 allowed_actions: *60 sha_pinning_required: *61 required: @@ -39918,7 +40021,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: response: summary: Example response @@ -39949,7 +40052,7 @@ paths: required: true content: application/json: - schema: *267 + schema: *270 examples: application/json: value: @@ -39987,7 +40090,7 @@ paths: application/json: schema: *62 examples: - default: *268 + default: *271 '404': *6 x-github: enabledForGitHubApps: true @@ -40044,7 +40147,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: default: *63 '403': *27 @@ -40069,7 +40172,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *273 examples: default: *63 responses: @@ -40121,7 +40224,7 @@ paths: type: array items: *78 examples: - default: &272 + default: &275 value: total_count: 1 repositories: @@ -40306,7 +40409,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *87 - - &271 + - &274 name: repository_id description: The unique identifier of the repository. in: path @@ -40335,7 +40438,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *87 - - *271 + - *274 responses: '204': description: Response @@ -40531,7 +40634,7 @@ paths: type: array items: *78 examples: - default: *272 + default: *275 '403': *27 '404': *6 x-github: @@ -40600,7 +40703,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *87 - - *271 + - *274 responses: '204': description: No content @@ -40627,7 +40730,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *87 - - *271 + - *274 responses: '204': description: No content @@ -40661,7 +40764,7 @@ paths: description: Response content: application/json: - schema: *273 + schema: *276 examples: default: *69 x-github: @@ -40695,7 +40798,7 @@ paths: required: false content: application/json: - schema: *274 + schema: *277 examples: default: *69 x-github: @@ -40742,7 +40845,7 @@ paths: type: number runner_groups: type: array - items: &275 + items: &278 type: object properties: id: @@ -40932,9 +41035,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *278 examples: - default: &276 + default: &279 value: id: 2 name: octo-runner-group @@ -40976,7 +41079,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *278 examples: default: value: @@ -41069,9 +41172,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *278 examples: - default: *276 + default: *279 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -41135,7 +41238,7 @@ paths: type: array items: *46 examples: - default: *256 + default: *259 headers: Link: *45 x-github: @@ -41176,7 +41279,7 @@ paths: type: number repositories: type: array - items: *277 + items: *280 examples: default: &332 value: @@ -41477,7 +41580,7 @@ paths: parameters: - *87 - *72 - - *271 + - *274 responses: '204': description: Response @@ -41501,7 +41604,7 @@ paths: parameters: - *87 - *72 - - *271 + - *274 responses: '204': description: Response @@ -41719,9 +41822,9 @@ paths: application/json: schema: type: array - items: *278 + items: *281 examples: - default: *279 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41786,7 +41889,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *280 + '201': *283 '404': *6 '422': *7 '409': *119 @@ -41825,7 +41928,7 @@ paths: application/json: schema: *79 examples: - default: *281 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41861,7 +41964,7 @@ paths: application/json: schema: *79 examples: - default: *282 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41892,7 +41995,7 @@ paths: application/json: schema: *76 examples: - default: *283 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42067,7 +42170,7 @@ paths: - *87 - *75 responses: - '200': *284 + '200': *287 '404': *6 x-github: githubCloudOnly: false @@ -42096,7 +42199,7 @@ paths: parameters: - *87 - *75 - - *285 + - *288 responses: '200': *81 '404': *6 @@ -42141,7 +42244,7 @@ paths: type: integer secrets: type: array - items: &286 + items: &289 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -42175,7 +42278,7 @@ paths: - updated_at - visibility examples: - default: &292 + default: &295 value: total_count: 3 secrets: @@ -42222,7 +42325,7 @@ paths: description: Response content: application/json: - schema: &293 + schema: &296 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -42257,7 +42360,7 @@ paths: - key_id - key examples: - default: &294 + default: &297 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42283,7 +42386,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - *87 - - &287 + - &290 name: secret_name description: The name of the secret. in: path @@ -42295,9 +42398,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *289 examples: - default: &295 + default: &298 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -42326,7 +42429,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -42383,7 +42486,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -42410,7 +42513,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '204': description: Response @@ -42437,7 +42540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 - *19 - *17 responses: @@ -42455,9 +42558,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: &291 + default: &294 value: total_count: 1 repositories: @@ -42550,7 +42653,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -42603,7 +42706,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -42637,7 +42740,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -42670,7 +42773,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - *87 - - &296 + - &299 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)." @@ -42694,7 +42797,7 @@ paths: type: integer variables: type: array - items: &289 + items: &292 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -42742,7 +42845,7 @@ paths: - updated_at - visibility examples: - default: &297 + default: &300 value: total_count: 3 variables: @@ -42832,7 +42935,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -42858,7 +42961,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - *87 - - &290 + - &293 name: name description: The name of the variable. in: path @@ -42870,9 +42973,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *292 examples: - default: &298 + default: &301 value: name: USERNAME value: octocat @@ -42901,7 +43004,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - *87 - - *290 + - *293 requestBody: required: true content: @@ -42964,7 +43067,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - *87 - - *290 + - *293 responses: '204': description: Response @@ -42991,7 +43094,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *87 - - *290 + - *293 - *19 - *17 responses: @@ -43009,9 +43112,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 '409': description: Response when the visibility of the variable is not set to `selected` @@ -43038,7 +43141,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *87 - - *290 + - *293 requestBody: required: true content: @@ -43088,7 +43191,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *87 - - *290 + - *293 - name: repository_id in: path required: true @@ -43123,7 +43226,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *87 - - *290 + - *293 - name: repository_id in: path required: true @@ -43175,9 +43278,9 @@ paths: type: integer secrets: type: array - items: *286 + items: *289 examples: - default: *292 + default: *295 headers: Link: *45 x-github: @@ -43208,9 +43311,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *296 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43233,15 +43336,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '200': description: Response content: application/json: - schema: *286 + schema: *289 examples: - default: *295 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43264,7 +43367,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -43321,7 +43424,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -43348,7 +43451,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '204': description: Response @@ -43375,7 +43478,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 - *19 - *17 responses: @@ -43393,9 +43496,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43419,7 +43522,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -43472,7 +43575,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -43506,7 +43609,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -43540,7 +43643,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *87 - - *296 + - *299 - *19 responses: '200': @@ -43557,9 +43660,9 @@ paths: type: integer variables: type: array - items: *289 + items: *292 examples: - default: *297 + default: *300 headers: Link: *45 x-github: @@ -43630,7 +43733,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -43656,15 +43759,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *87 - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *289 + schema: *292 examples: - default: *298 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43686,7 +43789,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *87 - - *290 + - *293 requestBody: required: true content: @@ -43749,7 +43852,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *87 - - *290 + - *293 responses: '204': description: Response @@ -43776,7 +43879,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *87 - - *290 + - *293 - *19 - *17 responses: @@ -43794,9 +43897,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 '409': description: Response when the visibility of the variable is not set to `selected` @@ -43823,7 +43926,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *87 - - *290 + - *293 requestBody: required: true content: @@ -43873,7 +43976,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *87 - - *290 + - *293 - name: repository_id in: path required: true @@ -43908,7 +44011,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *87 - - *290 + - *293 - name: repository_id in: path required: true @@ -43966,7 +44069,7 @@ paths: required: true content: application/json: - schema: *299 + schema: *302 examples: default: *85 parameters: @@ -44153,7 +44256,7 @@ paths: type: integer deployment_records: type: array - items: &300 + items: &303 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -44200,7 +44303,7 @@ paths: required: - total_count examples: - default: &301 + default: &304 value: total_count: 1 deployment_records: @@ -44382,11 +44485,11 @@ paths: type: integer deployment_records: type: array - items: *300 + items: *303 required: - total_count examples: - default: *301 + default: *304 '403': description: Forbidden content: @@ -44638,9 +44741,9 @@ paths: - 3 deployment_records: type: array - items: *300 + items: *303 examples: - default: *301 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45311,10 +45414,10 @@ paths: required: false schema: type: string - - *302 - - *303 - - *304 - *305 + - *127 + - *128 + - *129 - *17 responses: '200': @@ -45354,7 +45457,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45374,7 +45477,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *87 - - *140 + - *143 responses: '204': description: If the user is blocked @@ -45400,7 +45503,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#block-a-user-from-an-organization parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -45421,7 +45524,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -45710,7 +45813,7 @@ paths: headers: Link: *45 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45886,7 +45989,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45929,7 +46032,7 @@ paths: content: application/json: schema: *3 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46024,7 +46127,7 @@ paths: content: application/json: schema: *3 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46056,7 +46159,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46139,7 +46242,7 @@ paths: headers: Link: *45 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47204,7 +47307,7 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *277 + repository: *280 machine: anyOf: - type: 'null' @@ -48257,7 +48360,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '200': description: Response @@ -48293,7 +48396,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -48348,7 +48451,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -48375,7 +48478,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '204': description: Response @@ -48401,7 +48504,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 - *19 - *17 responses: @@ -48419,9 +48522,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 '404': *6 x-github: githubCloudOnly: false @@ -48444,7 +48547,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -48495,7 +48598,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -48529,7 +48632,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -50351,9 +50454,9 @@ paths: currently being billed. seats: type: array - items: *143 + items: *146 examples: - default: *144 + default: *147 headers: Link: *45 '500': *38 @@ -50837,7 +50940,7 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 required: - total_count - repositories @@ -50928,7 +51031,7 @@ paths: 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: - *87 - - *271 + - *274 responses: '204': description: No Content @@ -50962,7 +51065,7 @@ paths: 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: - *87 - - *271 + - *274 responses: '204': description: No Content @@ -51727,7 +51830,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *87 - - *139 + - *142 responses: '200': description: Response @@ -51758,7 +51861,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *87 - - *139 + - *142 requestBody: required: true content: @@ -51829,7 +51932,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *87 - - *139 + - *142 responses: '204': description: Response @@ -51909,7 +52012,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *87 - - *139 + - *142 responses: '200': description: Response @@ -51946,7 +52049,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *87 - - *139 + - *142 requestBody: required: true content: @@ -51999,7 +52102,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *87 - - *139 + - *142 responses: '204': description: Response @@ -52424,7 +52527,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '200': description: Response @@ -52459,7 +52562,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -52516,7 +52619,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -52541,7 +52644,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '204': description: Response @@ -52566,7 +52669,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 - *19 - *17 responses: @@ -52584,9 +52687,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52608,7 +52711,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -52659,7 +52762,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -52691,7 +52794,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -53356,7 +53459,7 @@ paths: repository: anyOf: - type: 'null' - - *277 + - *280 created_at: type: string format: date-time @@ -53462,7 +53565,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: 200-response: value: @@ -56371,7 +56474,7 @@ paths: - comments default: created - *110 - - *223 + - *226 - *17 - *19 responses: @@ -56381,7 +56484,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: *390 headers: @@ -56443,7 +56546,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 '422': *15 @@ -56464,7 +56567,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#check-organization-membership-for-a-user parameters: - *87 - - *140 + - *143 responses: '204': description: Response if requester is an organization member and user is @@ -56499,7 +56602,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-an-organization-member parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -56526,7 +56629,7 @@ paths: - *17 - *19 - *87 - - *140 + - *143 responses: '200': description: Response @@ -56570,7 +56673,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *87 - - *140 + - *143 - &393 name: codespace_name in: path @@ -56605,7 +56708,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *87 - - *140 + - *143 - *393 responses: '200': @@ -56788,13 +56891,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *87 - - *140 + - *143 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *143 + schema: *146 examples: default: value: @@ -56864,7 +56967,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#get-organization-membership-for-a-user parameters: - *87 - - *140 + - *143 responses: '200': description: Response @@ -57012,7 +57115,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#set-organization-membership-for-a-user parameters: - *87 - - *140 + - *143 requestBody: required: false content: @@ -57067,7 +57170,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-organization-membership-for-a-user parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -57914,7 +58017,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: &407 value: @@ -58388,7 +58491,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *87 - - *213 + - *216 responses: '204': description: Response @@ -58414,8 +58517,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *87 - - *213 - - *139 + - *216 + - *142 responses: '204': description: Response @@ -58445,8 +58548,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *87 - - *213 - - *139 + - *216 + - *142 responses: '204': description: Response @@ -58472,7 +58575,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -58498,8 +58601,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *87 - - *140 - - *139 + - *143 + - *142 responses: '204': description: Response @@ -58530,8 +58633,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *87 - - *140 - - *139 + - *143 + - *142 responses: '204': description: Response @@ -58560,7 +58663,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#get-an-organization-role parameters: - *87 - - *139 + - *142 responses: '200': description: Response @@ -58624,7 +58727,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *87 - - *139 + - *142 requestBody: required: true content: @@ -58717,7 +58820,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *87 - - *139 + - *142 responses: '204': description: Response @@ -58743,7 +58846,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *87 - - *139 + - *142 - *17 - *19 responses: @@ -58885,7 +58988,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *87 - - *139 + - *142 - *17 - *19 responses: @@ -59031,7 +59134,7 @@ paths: - type - url examples: - default: *209 + default: *212 headers: Link: *45 '404': @@ -59082,7 +59185,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 x-github: @@ -59108,7 +59211,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *87 - - *140 + - *143 requestBody: required: false content: @@ -59166,7 +59269,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -60092,7 +60195,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *407 headers: @@ -60409,7 +60512,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *407 headers: @@ -61062,7 +61165,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *87 - - *287 + - *290 responses: '200': description: The specified private registry configuration for the organization @@ -61093,7 +61196,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -61282,7 +61385,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *87 - - *287 + - *290 responses: '204': description: Response @@ -61669,7 +61772,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *218 + - *221 - &589 title: Pull Request Simple description: Pull Request Simple @@ -61908,7 +62011,7 @@ paths: - review_comments - review_comment - self - author_association: *215 + author_association: *218 auto_merge: &718 title: Auto merge description: The status of auto merging a pull request. @@ -64194,9 +64297,9 @@ paths: application/json: schema: type: array - items: *153 + items: *156 examples: - default: *154 + default: *157 '403': *27 '404': *6 x-github: @@ -64234,7 +64337,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *153 + items: *156 minItems: 1 maxItems: 100 required: @@ -64264,9 +64367,9 @@ paths: application/json: schema: type: array - items: *153 + items: *156 examples: - default: *154 + default: *157 '403': *27 '404': *6 x-github: @@ -64288,15 +64391,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *87 - - *150 + - *153 responses: '200': description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -64320,7 +64423,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *87 - - *150 + - *153 requestBody: required: true content: @@ -64341,9 +64444,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -64367,7 +64470,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *87 - - *150 + - *153 responses: '204': *126 '403': *27 @@ -64431,7 +64534,7 @@ paths: - octocat/Hello-World properties: type: array - items: *152 + items: *155 description: List of custom property names and associated values required: - repository_id @@ -64500,7 +64603,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *152 + items: *155 required: - repository_names - properties @@ -64553,7 +64656,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 x-github: @@ -64573,7 +64676,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *87 - - *140 + - *143 responses: '204': description: Response if user is a public member @@ -64598,7 +64701,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -64620,7 +64723,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -64691,7 +64794,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *407 headers: @@ -65356,7 +65459,7 @@ paths: license: anyOf: - type: 'null' - - *220 + - *223 organization: anyOf: - type: 'null' @@ -66061,7 +66164,7 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: default: value: @@ -66129,11 +66232,11 @@ paths: - push - repository default: branch - enforcement: *164 + enforcement: *167 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *165 + items: *168 conditions: *434 rules: type: array @@ -66143,9 +66246,6 @@ paths: type: object description: A repository rule. oneOf: - - *166 - - *167 - - *168 - *169 - *170 - *171 @@ -66157,13 +66257,16 @@ paths: - *177 - *178 - *179 - - *183 - - *184 - - *185 - - *186 - *180 - *181 - *182 + - *186 + - *187 + - *188 + - *189 + - *183 + - *184 + - *185 required: - name - enforcement @@ -66201,7 +66304,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: &435 value: @@ -66610,7 +66713,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: *435 '404': *6 @@ -66656,11 +66759,11 @@ paths: - tag - push - repository - enforcement: *164 + enforcement: *167 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *165 + items: *168 conditions: *434 rules: description: An array of rules within the ruleset. @@ -66700,7 +66803,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: *435 '404': *6 @@ -66760,7 +66863,7 @@ paths: application/json: schema: type: array - items: *191 + items: *194 examples: default: *437 '404': *6 @@ -66911,7 +67014,7 @@ paths: headers: Link: *45 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66973,7 +67076,7 @@ paths: schema: type: object properties: - pattern_config_version: *194 + pattern_config_version: *197 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -66999,7 +67102,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *194 + custom_pattern_version: *197 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -67305,7 +67408,7 @@ paths: required: - vector_string - score - cvss_severities: *129 + cvss_severities: *132 cwes: type: - array @@ -67844,7 +67947,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - *87 - - *213 + - *216 responses: '204': description: Response @@ -67870,7 +67973,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *87 - - *213 + - *216 responses: '204': description: Response @@ -68058,9 +68161,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68129,7 +68232,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *87 - - *271 + - *274 responses: '204': description: Response @@ -68152,7 +68255,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *87 - - *271 + - *274 responses: '204': description: Response @@ -68193,7 +68296,7 @@ paths: type: integer network_configurations: type: array - items: *145 + items: *148 examples: default: *460 headers: @@ -68272,9 +68375,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *146 + default: *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68295,15 +68398,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *87 - - *147 + - *150 responses: '200': description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *146 + default: *149 headers: Link: *45 x-github: @@ -68325,7 +68428,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *87 - - *147 + - *150 requestBody: required: true content: @@ -68378,9 +68481,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *146 + default: *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68400,7 +68503,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *87 - - *147 + - *150 responses: '204': description: Response @@ -69143,7 +69246,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - *87 - - *213 + - *216 responses: '200': description: Response @@ -69173,7 +69276,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - *87 - - *213 + - *216 requestBody: required: false content: @@ -69271,7 +69374,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - *87 - - *213 + - *216 responses: '204': description: Response @@ -69298,7 +69401,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *87 - - *213 + - *216 responses: '200': description: Response @@ -69327,7 +69430,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *87 - - *213 + - *216 requestBody: required: true content: @@ -69374,7 +69477,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *87 - - *213 + - *216 responses: '204': description: Response @@ -69400,7 +69503,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - *87 - - *213 + - *216 - *17 - *19 responses: @@ -69436,7 +69539,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - *87 - - *213 + - *216 - name: role description: Filters members returned by their role in the team. in: query @@ -69459,7 +69562,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 x-github: @@ -69490,8 +69593,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - *87 - - *213 - - *140 + - *216 + - *143 responses: '200': description: Response @@ -69562,8 +69665,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *87 - - *213 - - *140 + - *216 + - *143 requestBody: required: false content: @@ -69626,8 +69729,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - *87 - - *213 - - *140 + - *216 + - *143 responses: '204': description: Response @@ -69654,7 +69757,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - *87 - - *213 + - *216 - *17 - *19 responses: @@ -69664,7 +69767,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *407 headers: @@ -69696,7 +69799,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *87 - - *213 + - *216 - *472 - *473 responses: @@ -69730,7 +69833,7 @@ paths: license: anyOf: - type: 'null' - - *220 + - *223 forks: type: integer permissions: @@ -70346,7 +70449,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *87 - - *213 + - *216 - *472 - *473 requestBody: @@ -70394,7 +70497,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - *87 - - *213 + - *216 - *472 - *473 responses: @@ -70423,7 +70526,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *87 - - *213 + - *216 responses: '200': description: Response @@ -70455,7 +70558,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *87 - - *213 + - *216 requestBody: required: true content: @@ -70532,7 +70635,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - *87 - - *213 + - *216 - *17 - *19 responses: @@ -73099,7 +73202,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -73223,7 +73326,7 @@ paths: description: Empty response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -73327,7 +73430,7 @@ paths: parameters: - *472 - *473 - - *296 + - *299 - *19 responses: '200': @@ -73425,7 +73528,7 @@ paths: type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 - selected_actions_url: *264 + selected_actions_url: *267 sha_pinning_required: *61 required: - enabled @@ -73590,7 +73693,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: default: value: @@ -73625,7 +73728,7 @@ paths: required: true content: application/json: - schema: *267 + schema: *270 examples: default: summary: Set retention days @@ -73658,7 +73761,7 @@ paths: application/json: schema: *62 examples: - default: *268 + default: *271 '404': *6 x-github: enabledForGitHubApps: true @@ -73719,7 +73822,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: default: *63 '403': *27 @@ -73747,7 +73850,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *273 examples: default: *63 responses: @@ -73845,7 +73948,7 @@ paths: description: Response content: application/json: - schema: *273 + schema: *276 examples: default: *69 x-github: @@ -73880,7 +73983,7 @@ paths: required: true content: application/json: - schema: *274 + schema: *277 examples: default: *69 x-github: @@ -73963,9 +74066,9 @@ paths: application/json: schema: type: array - items: *278 + items: *281 examples: - default: *279 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74031,7 +74134,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *280 + '201': *283 '404': *6 '422': *7 '409': *119 @@ -74071,7 +74174,7 @@ paths: application/json: schema: *79 examples: - default: *281 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74108,7 +74211,7 @@ paths: application/json: schema: *79 examples: - default: *282 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74140,7 +74243,7 @@ paths: application/json: schema: *76 examples: - default: *283 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74320,7 +74423,7 @@ paths: - *473 - *75 responses: - '200': *284 + '200': *287 '404': *6 x-github: githubCloudOnly: false @@ -74350,7 +74453,7 @@ paths: - *472 - *473 - *75 - - *285 + - *288 responses: '200': *81 '404': *6 @@ -74596,7 +74699,7 @@ paths: type: - array - 'null' - items: *221 + items: *224 created_at: type: string format: date-time @@ -74731,8 +74834,8 @@ paths: - timestamp - author - committer - repository: *277 - head_repository: *277 + repository: *280 + head_repository: *280 head_repository_id: type: integer examples: @@ -75429,7 +75532,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -75720,7 +75823,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -76016,7 +76119,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -76561,7 +76664,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -76608,7 +76711,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -76833,9 +76936,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *296 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76859,7 +76962,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '200': description: Response @@ -76895,7 +76998,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 requestBody: required: true content: @@ -76926,7 +77029,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -76954,7 +77057,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '204': description: Response @@ -76981,7 +77084,7 @@ paths: parameters: - *472 - *473 - - *296 + - *299 - *19 responses: '200': @@ -77051,7 +77154,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -77078,7 +77181,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 responses: '200': description: Response @@ -77114,7 +77217,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 requestBody: required: true content: @@ -77158,7 +77261,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 responses: '204': description: Response @@ -77862,7 +77965,7 @@ paths: parameters: - *472 - *473 - - *296 + - *299 - *19 responses: '200': @@ -77959,9 +78062,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *296 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77985,7 +78088,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '200': description: Response @@ -78017,7 +78120,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 requestBody: required: true content: @@ -78048,7 +78151,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -78076,7 +78179,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '204': description: Response @@ -78103,7 +78206,7 @@ paths: parameters: - *472 - *473 - - *296 + - *299 - *19 responses: '200': @@ -78173,7 +78276,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -78200,7 +78303,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 responses: '200': description: Response @@ -78231,7 +78334,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 requestBody: required: true content: @@ -78275,7 +78378,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 responses: '204': description: Response @@ -78309,7 +78412,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 '404': *6 @@ -79477,14 +79580,14 @@ paths: author: oneOf: - *4 - - *288 + - *291 type: - 'null' - object committer: oneOf: - *4 - - *288 + - *291 type: - 'null' - object @@ -81917,7 +82020,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 '404': *6 x-github: githubCloudOnly: false @@ -81976,7 +82079,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -82036,7 +82139,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -82096,7 +82199,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -83005,7 +83108,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *221 + items: *224 deployment: &881 title: Deployment description: A deployment created as the result of an Actions @@ -83793,7 +83896,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -83936,12 +84039,12 @@ paths: type: - array - 'null' - items: *221 + items: *224 app: anyOf: - type: 'null' - *5 - repository: *277 + repository: *280 created_at: type: - string @@ -84354,7 +84457,7 @@ paths: required: - app_id - setting - repository: *277 + repository: *280 examples: default: value: @@ -84802,7 +84905,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -84893,19 +84996,19 @@ paths: items: type: object properties: - number: *127 - created_at: *134 - updated_at: *135 - url: *132 - html_url: *133 + number: *130 + created_at: *137 + updated_at: *138 + url: *135 + html_url: *136 instances_url: *544 state: *113 - fixed_at: *137 + fixed_at: *140 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *136 + dismissed_at: *139 dismissed_reason: *545 dismissed_comment: *546 rule: *547 @@ -85040,7 +85143,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85070,7 +85173,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *127 + schema: *130 responses: '200': description: Response @@ -85079,19 +85182,19 @@ paths: schema: &552 type: object properties: - number: *127 - created_at: *134 - updated_at: *135 - url: *132 - html_url: *133 + number: *130 + created_at: *137 + updated_at: *138 + url: *135 + html_url: *136 instances_url: *544 state: *113 - fixed_at: *137 + fixed_at: *140 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *136 + dismissed_at: *139 dismissed_reason: *545 dismissed_comment: *546 rule: @@ -85254,7 +85357,7 @@ paths: '304': *35 '403': *550 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85401,7 +85504,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -85605,7 +85708,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85709,7 +85812,7 @@ paths: - source '403': *550 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85887,7 +85990,7 @@ paths: warning: '' '403': *550 '404': *6 - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -85996,7 +86099,7 @@ paths: content: application/json: schema: *3 - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -86135,7 +86238,7 @@ paths: '400': *14 '403': *556 '404': *6 - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -86278,7 +86381,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *550 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86354,7 +86457,7 @@ paths: description: Found '403': *550 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86387,7 +86490,7 @@ paths: description: Response '403': *556 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86846,7 +86949,7 @@ paths: content: application/json: schema: *3 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86884,7 +86987,7 @@ paths: examples: default: *570 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87044,7 +87147,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87161,7 +87264,7 @@ paths: schedule: weekly '403': *550 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87250,7 +87353,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -87289,7 +87392,7 @@ paths: content: application/json: schema: *3 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87433,7 +87536,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87504,7 +87607,7 @@ paths: '403': *550 '404': description: Not Found if the sarif id does not match any upload - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -88132,7 +88235,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -88438,7 +88541,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88553,7 +88656,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '200': description: Response @@ -88583,7 +88686,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 requestBody: required: true content: @@ -88611,7 +88714,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -88637,7 +88740,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '204': description: Response @@ -88899,7 +89002,7 @@ paths: parameters: - *472 - *473 - - *140 + - *143 responses: '204': description: Response if user is a collaborator @@ -88947,7 +89050,7 @@ paths: parameters: - *472 - *473 - - *140 + - *143 requestBody: required: false content: @@ -88985,7 +89088,7 @@ paths: format: int64 examples: - 42 - repository: *277 + repository: *280 invitee: anyOf: - type: 'null' @@ -89161,7 +89264,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *252 + schema: *255 '403': *27 x-github: triggersNotification: true @@ -89203,7 +89306,7 @@ paths: parameters: - *472 - *473 - - *140 + - *143 responses: '204': description: No Content when collaborator was removed from the repository. @@ -89236,7 +89339,7 @@ paths: parameters: - *472 - *473 - - *140 + - *143 responses: '200': description: if user has admin permissions @@ -89362,8 +89465,8 @@ paths: updated_at: type: string format: date-time - author_association: *215 - reactions: *216 + author_association: *218 + reactions: *219 required: - url - html_url @@ -89440,7 +89543,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '200': description: Response @@ -89507,7 +89610,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 requestBody: required: true content: @@ -89582,7 +89685,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '204': description: Response @@ -89605,7 +89708,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 - 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. @@ -89722,7 +89825,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 requestBody: required: true content: @@ -89811,7 +89914,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 - &662 name: reaction_id description: The unique identifier of the reaction. @@ -90903,7 +91006,7 @@ paths: '422': *15 '404': *6 '500': *38 - '503': *192 + '503': *195 '409': *119 x-github: githubCloudOnly: false @@ -91295,7 +91398,7 @@ paths: type: string total_count: type: integer - repository: *277 + repository: *280 commit_url: type: string format: uri @@ -91601,7 +91704,7 @@ paths: license: anyOf: - type: 'null' - - *220 + - *223 contributing: anyOf: - type: 'null' @@ -92077,7 +92180,7 @@ paths: default: *598 '404': *6 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93193,7 +93296,7 @@ paths: '422': *15 '404': *6 '409': *119 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93511,7 +93614,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *127 + number: *130 state: type: string description: The state of the Dependabot alert. @@ -93526,7 +93629,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *128 + package: *131 manifest_path: type: string description: The full path to the dependency manifest file, @@ -93559,12 +93662,12 @@ paths: - inconclusive - security_advisory: *603 - security_vulnerability: *131 - url: *132 - html_url: *133 - created_at: *134 - updated_at: *135 - dismissed_at: *136 + security_vulnerability: *134 + url: *135 + html_url: *136 + created_at: *137 + updated_at: *138 + dismissed_at: *139 dismissed_by: anyOf: - type: 'null' @@ -93588,7 +93691,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *137 + fixed_at: *140 auto_dismissed_at: *604 dismissal_request: *605 assignees: @@ -93856,7 +93959,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *127 + schema: *130 responses: '200': description: Response @@ -94303,7 +94406,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '200': description: Response @@ -94337,7 +94440,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 requestBody: required: true content: @@ -94365,7 +94468,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -94391,7 +94494,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '204': description: Response @@ -94574,7 +94677,7 @@ paths: schema: *3 '400': *14 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: false category: dependency-graph @@ -97782,9 +97885,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *296 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97809,7 +97912,7 @@ paths: - *472 - *473 - *628 - - *287 + - *290 responses: '200': description: Response @@ -97842,7 +97945,7 @@ paths: - *472 - *473 - *628 - - *287 + - *290 requestBody: required: true content: @@ -97873,7 +97976,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -97902,7 +98005,7 @@ paths: - *472 - *473 - *628 - - *287 + - *290 responses: '204': description: Default response @@ -97930,7 +98033,7 @@ paths: - *472 - *473 - *628 - - *296 + - *299 - *19 responses: '200': @@ -98001,7 +98104,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -98029,7 +98132,7 @@ paths: - *472 - *473 - *628 - - *290 + - *293 responses: '200': description: Response @@ -98060,7 +98163,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 - *628 requestBody: required: true @@ -98105,7 +98208,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 - *628 responses: '204': @@ -98139,7 +98242,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: 200-response: value: @@ -98220,7 +98323,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: value: @@ -98474,7 +98577,7 @@ paths: application/json: schema: oneOf: - - *252 + - *255 - *639 x-github: githubCloudOnly: false @@ -102013,7 +102116,7 @@ paths: - comments default: created - *110 - - *223 + - *226 - *17 - *19 responses: @@ -102023,7 +102126,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: &669 value: @@ -102319,7 +102422,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: &666 value: @@ -102476,7 +102579,7 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *192 + '503': *195 '404': *6 '410': *659 x-github: @@ -102508,7 +102611,7 @@ paths: parameters: - *472 - *473 - - *240 + - *243 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -102518,7 +102621,7 @@ paths: enum: - asc - desc - - *223 + - *226 - *17 - *19 responses: @@ -102528,7 +102631,7 @@ paths: application/json: schema: type: array - items: *219 + items: *222 examples: default: &668 value: @@ -102591,13 +102694,13 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '200': description: Response content: application/json: - schema: *219 + schema: *222 examples: default: &660 value: @@ -102657,7 +102760,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 requestBody: required: true content: @@ -102679,7 +102782,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *222 examples: default: *660 '422': *15 @@ -102701,7 +102804,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '204': description: Response @@ -102731,13 +102834,13 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '200': description: Response content: application/json: - schema: *219 + schema: *222 examples: default: value: @@ -102812,7 +102915,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '204': description: Response @@ -102820,7 +102923,7 @@ paths: '403': *27 '404': *6 '410': *659 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102839,7 +102942,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 - 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. @@ -102890,7 +102993,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 requestBody: required: true content: @@ -102955,7 +103058,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 - *662 responses: '204': @@ -103034,7 +103137,7 @@ paths: issue: anyOf: - type: 'null' - - *218 + - *221 label: title: Issue Event Label description: Issue Event Label @@ -103236,7 +103339,7 @@ paths: anyOf: - type: 'null' - *664 - author_association: *215 + author_association: *218 lock_reason: type: - string @@ -103682,7 +103785,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: summary: Issue @@ -104064,13 +104167,13 @@ paths: application/json: schema: allOf: - - *218 + - *221 - type: object properties: {} examples: default: *666 '422': *15 - '503': *192 + '503': *195 '403': *27 '301': *478 '404': *6 @@ -104120,7 +104223,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 x-github: @@ -104165,7 +104268,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 x-github: @@ -104234,7 +104337,7 @@ paths: - *472 - *473 - *667 - - *223 + - *226 - *17 - *19 responses: @@ -104244,7 +104347,7 @@ paths: application/json: schema: type: array - items: *219 + items: *222 examples: default: *668 headers: @@ -104303,7 +104406,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *222 examples: default: *660 headers: @@ -104352,7 +104455,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: *669 headers: @@ -104411,7 +104514,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 headers: @@ -104466,7 +104569,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 '301': *478 @@ -104512,7 +104615,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: *669 headers: @@ -105980,7 +106083,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *192 + '503': *195 x-github: triggersNotification: true githubCloudOnly: false @@ -106087,7 +106190,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *192 + '503': *195 x-github: triggersNotification: true githubCloudOnly: false @@ -106123,7 +106226,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *192 + '503': *195 x-github: triggersNotification: true githubCloudOnly: false @@ -106153,7 +106256,7 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: default: &672 value: @@ -106236,7 +106339,7 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: default: *672 '301': *478 @@ -106320,7 +106423,7 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: default: *672 '301': *478 @@ -106384,7 +106487,7 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: default: value: @@ -106506,7 +106609,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 '301': *478 @@ -106701,7 +106804,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 headers: @@ -106748,7 +106851,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: *669 headers: @@ -106811,7 +106914,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 headers: @@ -106873,13 +106976,13 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 '403': *27 '404': *6 '422': *7 - '503': *192 + '503': *195 x-github: triggersNotification: true githubCloudOnly: false @@ -106974,12 +107077,12 @@ paths: issue_url: type: string format: uri - author_association: *215 + author_association: *218 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *216 + reactions: *219 pin: anyOf: - type: 'null' @@ -107018,7 +107121,7 @@ paths: properties: type: type: string - issue: *218 + issue: *221 required: - event - created_at @@ -107240,7 +107343,7 @@ paths: type: string body_text: type: string - author_association: *215 + author_association: *218 required: - event - id @@ -107371,7 +107474,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *215 + author_association: *218 _links: type: object properties: @@ -107466,7 +107569,7 @@ paths: enum: - line - file - reactions: *216 + reactions: *219 body_html: type: string examples: @@ -108027,7 +108130,7 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: default: *672 headers: @@ -108087,7 +108190,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *220 examples: default: &702 value: @@ -108133,7 +108236,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *220 examples: default: *702 '404': *6 @@ -108192,7 +108295,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *220 examples: default: value: @@ -108406,7 +108509,7 @@ paths: license: anyOf: - type: 'null' - - *220 + - *223 required: - _links - git_url @@ -108941,7 +109044,7 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: default: *672 headers: @@ -108966,7 +109069,7 @@ paths: - *473 - *706 - *707 - - *223 + - *226 - *708 - *17 - *19 @@ -108977,7 +109080,7 @@ paths: application/json: schema: type: array - items: *243 + items: *246 examples: default: *709 headers: @@ -110180,7 +110283,7 @@ paths: description: Empty response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -110299,7 +110402,7 @@ paths: application/json: schema: type: array - items: *152 + items: *155 examples: default: *715 '403': *27 @@ -110336,7 +110439,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *152 + items: *155 required: - properties examples: @@ -110774,7 +110877,7 @@ paths: - review_comments - review_comment - self - author_association: *215 + author_association: *218 auto_merge: *718 draft: description: Indicates whether or not the pull request is a draft. @@ -111424,7 +111527,7 @@ paths: enum: - asc - desc - - *223 + - *226 - *17 - *19 responses: @@ -111515,7 +111618,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '200': description: Response @@ -111600,7 +111703,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 requestBody: required: true content: @@ -111642,7 +111745,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '204': description: Response @@ -111665,7 +111768,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 - 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. @@ -111716,7 +111819,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 requestBody: required: true content: @@ -111781,7 +111884,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 - *662 responses: '204': @@ -111851,7 +111954,7 @@ paths: application/json: schema: *3 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112022,7 +112125,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112051,7 +112154,7 @@ paths: - *472 - *473 - *723 - - *240 + - *243 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -112061,7 +112164,7 @@ paths: enum: - asc - desc - - *223 + - *226 - *17 - *19 responses: @@ -112305,7 +112408,7 @@ paths: - *472 - *473 - *723 - - *232 + - *235 requestBody: required: true content: @@ -112488,7 +112591,7 @@ paths: Link: *45 '422': *15 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113925,7 +114028,7 @@ paths: type: string body_text: type: string - author_association: *215 + author_association: *218 required: - id - node_id @@ -114463,7 +114566,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *215 + author_association: *218 _links: type: object properties: @@ -114478,7 +114581,7 @@ paths: type: string body_html: type: string - reactions: *216 + reactions: *219 side: description: The side of the first line of the range for a multi-line comment. @@ -116019,7 +116122,7 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *166 + - *169 - &738 title: repository ruleset data for rule description: User-defined metadata to store domain-specific @@ -116039,18 +116142,6 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *167 - - *738 - - allOf: - - *168 - - *738 - - allOf: - - *169 - - *738 - - allOf: - - *739 - - *738 - allOf: - *170 - *738 @@ -116060,6 +116151,9 @@ paths: - allOf: - *172 - *738 + - allOf: + - *739 + - *738 - allOf: - *173 - *738 @@ -116102,6 +116196,15 @@ paths: - allOf: - *186 - *738 + - allOf: + - *187 + - *738 + - allOf: + - *188 + - *738 + - allOf: + - *189 + - *738 examples: default: value: @@ -116160,7 +116263,7 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: default: value: @@ -116228,12 +116331,12 @@ paths: - tag - push default: branch - enforcement: *164 + enforcement: *167 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *165 - conditions: *158 + items: *168 + conditions: *161 rules: type: array description: An array of rules within the ruleset. @@ -116268,7 +116371,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: &751 value: @@ -116414,7 +116517,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: *751 '404': *6 @@ -116460,12 +116563,12 @@ paths: - branch - tag - push - enforcement: *164 + enforcement: *167 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *165 - conditions: *158 + items: *168 + conditions: *161 rules: description: An array of rules within the ruleset. type: array @@ -116497,7 +116600,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: *751 '404': *6 @@ -116559,7 +116662,7 @@ paths: application/json: schema: type: array - items: *191 + items: *194 examples: default: *437 '404': *6 @@ -116684,14 +116787,14 @@ paths: items: &757 type: object properties: - number: *127 - created_at: *134 + number: *130 + created_at: *137 updated_at: anyOf: - type: 'null' - - *135 - url: *132 - html_url: *133 + - *138 + url: *135 + html_url: *136 locations_url: type: string format: uri @@ -116941,7 +117044,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117003,7 +117106,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117162,7 +117265,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': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -117300,7 +117403,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117379,7 +117482,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -117408,7 +117511,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *192 + '503': *195 '200': description: Response content: @@ -118491,7 +118594,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *252 + schema: *255 examples: invalid_state_transition: value: @@ -119224,7 +119327,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 x-github: @@ -120067,7 +120170,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -120515,7 +120618,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: value: @@ -122812,7 +122915,7 @@ paths: html_url: type: string format: uri - repository: *277 + repository: *280 score: type: number file_size: @@ -122946,7 +123049,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *192 + '503': *195 '422': *15 '403': *27 x-github: @@ -123110,7 +123213,7 @@ paths: type: string sha: type: string - repository: *277 + repository: *280 score: type: number node_id: @@ -123492,7 +123595,7 @@ paths: type: string score: type: number - author_association: *215 + author_association: *218 draft: type: boolean repository: *78 @@ -123511,8 +123614,8 @@ paths: pinned_comment: anyOf: - type: 'null' - - *219 - reactions: *216 + - *222 + reactions: *219 required: - assignee - closed_at @@ -123676,7 +123779,7 @@ paths: - quoted_text items: - "..." - '503': *192 + '503': *195 '422': *15 '304': *35 '403': *27 @@ -124089,7 +124192,7 @@ paths: license: anyOf: - type: 'null' - - *220 + - *223 permissions: type: object properties: @@ -124310,7 +124413,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *192 + '503': *195 '422': *15 '304': *35 x-github: @@ -124783,7 +124886,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *192 + '503': *195 '422': *15 x-github: githubCloudOnly: false @@ -125035,7 +125138,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 '404': *6 @@ -125064,7 +125167,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - *815 - - *140 + - *143 responses: '204': description: if user is a member @@ -125101,7 +125204,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - *815 - - *140 + - *143 responses: '204': description: Response @@ -125141,7 +125244,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - *815 - - *140 + - *143 responses: '204': description: Response @@ -125178,7 +125281,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *815 - - *140 + - *143 responses: '200': description: Response @@ -125220,7 +125323,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *815 - - *140 + - *143 requestBody: required: false content: @@ -125282,7 +125385,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *815 - - *140 + - *143 responses: '204': description: Response @@ -125319,7 +125422,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *407 headers: @@ -126254,7 +126357,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 '304': *35 '404': *6 '403': *27 @@ -126277,7 +126380,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: - - *140 + - *143 responses: '204': description: If the user is blocked @@ -126305,7 +126408,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#block-a-user parameters: - - *140 + - *143 responses: '204': description: Response @@ -126329,7 +126432,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#unblock-a-user parameters: - - *140 + - *143 responses: '204': description: Response @@ -126533,7 +126636,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -126687,7 +126790,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *287 + - *290 responses: '200': description: Response @@ -126723,7 +126826,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *287 + - *290 requestBody: required: true content: @@ -126768,7 +126871,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -126796,7 +126899,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *287 + - *290 responses: '204': description: Response @@ -126821,7 +126924,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *287 + - *290 responses: '200': description: Response @@ -126837,7 +126940,7 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: default: *332 '401': *23 @@ -126864,7 +126967,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *287 + - *290 requestBody: required: true content: @@ -126918,7 +127021,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *287 + - *290 - name: repository_id in: path required: true @@ -126951,7 +127054,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *287 + - *290 - name: repository_id in: path required: true @@ -128573,7 +128676,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 '304': *35 @@ -128606,7 +128709,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 '304': *35 @@ -128628,7 +128731,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: - - *140 + - *143 responses: '204': description: if the person is followed by the authenticated user @@ -128658,7 +128761,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#follow-a-user parameters: - - *140 + - *143 responses: '204': description: Response @@ -128683,7 +128786,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#unfollow-a-user parameters: - - *140 + - *143 responses: '204': description: Response @@ -129247,7 +129350,7 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *272 + default: *275 headers: Link: *45 '404': *6 @@ -129273,7 +129376,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *271 + - *274 responses: '204': description: Response @@ -129299,7 +129402,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *271 + - *274 responses: '204': description: Response @@ -129467,7 +129570,7 @@ paths: - comments default: created - *110 - - *223 + - *226 - *17 - *19 responses: @@ -129477,7 +129580,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: *390 headers: @@ -129782,7 +129885,7 @@ paths: - id - type - login - plan: *234 + plan: *237 required: - billing_cycle - next_billing_date @@ -130917,7 +131020,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *407 headers: @@ -130956,7 +131059,7 @@ paths: type: array items: *73 examples: - default: *247 + default: *250 headers: Link: *45 '304': *35 @@ -132582,7 +132685,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *407 headers: @@ -132699,7 +132802,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *236 + - *239 responses: '200': description: Response @@ -132879,7 +132982,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: example: ; rel="next" @@ -133022,7 +133125,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user parameters: - - *140 + - *143 responses: '200': description: Response @@ -133060,7 +133163,7 @@ paths: - *17 - *108 - *109 - - *140 + - *143 requestBody: required: true content: @@ -133157,7 +133260,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-in-bulk parameters: - - *140 + - *143 requestBody: required: true content: @@ -133222,7 +133325,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *140 + - *143 - name: subject_digest description: Subject Digest in: path @@ -133253,7 +133356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-by-id parameters: - - *140 + - *143 - name: attestation_id description: Attestation ID in: path @@ -133291,7 +133394,7 @@ paths: - *17 - *108 - *109 - - *140 + - *143 - name: subject_digest description: Subject Digest in: path @@ -133349,7 +133452,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -133377,7 +133480,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: - - *140 + - *143 - name: per_page description: The number of results per page (max 100). in: query @@ -133532,7 +133635,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: - - *140 + - *143 requestBody: required: true content: @@ -133715,7 +133818,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133751,7 +133854,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133878,7 +133981,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133912,7 +134015,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134028,7 +134131,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134135,7 +134238,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134248,7 +134351,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134296,7 +134399,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134354,7 +134457,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134459,7 +134562,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134509,7 +134612,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134577,7 +134680,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134613,7 +134716,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: - - *140 + - *143 responses: '200': description: Response @@ -134646,7 +134749,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *140 + - *143 - *17 - *19 responses: @@ -134656,7 +134759,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: default: value: @@ -134718,7 +134821,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *140 + - *143 - *87 - *17 - *19 @@ -134729,7 +134832,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: default: value: @@ -134806,7 +134909,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-user parameters: - - *140 + - *143 - *17 - *19 responses: @@ -134816,7 +134919,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: default: value: @@ -134874,7 +134977,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-followers-of-a-user parameters: - - *140 + - *143 - *17 - *19 responses: @@ -134886,7 +134989,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 x-github: @@ -134905,7 +135008,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-the-people-a-user-follows parameters: - - *140 + - *143 - *17 - *19 responses: @@ -134917,7 +135020,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 x-github: @@ -134936,7 +135039,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: - - *140 + - *143 - name: target_user in: path required: true @@ -134963,8 +135066,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - - *140 - - *223 + - *143 + - *226 - *17 - *19 responses: @@ -134974,9 +135077,9 @@ paths: application/json: schema: type: array - items: *224 + items: *227 examples: - default: *225 + default: *228 headers: Link: *45 '422': *15 @@ -134997,7 +135100,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: - - *140 + - *143 - *17 - *19 responses: @@ -135033,7 +135136,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-contextual-information-for-a-user parameters: - - *140 + - *143 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -135105,7 +135208,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: - - *140 + - *143 responses: '200': description: Response @@ -135131,7 +135234,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#list-public-keys-for-a-user parameters: - - *140 + - *143 - *17 - *19 responses: @@ -135187,7 +135290,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *140 + - *143 - *17 - *19 responses: @@ -135199,7 +135302,7 @@ paths: type: array items: *73 examples: - default: *247 + default: *250 headers: Link: *45 x-github: @@ -135239,7 +135342,7 @@ paths: - nuget - container - *836 - - *140 + - *143 - *19 - *17 responses: @@ -135276,7 +135379,7 @@ paths: parameters: - *403 - *404 - - *140 + - *143 responses: '200': description: Response @@ -135307,7 +135410,7 @@ paths: parameters: - *403 - *404 - - *140 + - *143 responses: '204': description: Response @@ -135341,7 +135444,7 @@ paths: parameters: - *403 - *404 - - *140 + - *143 - name: token description: package token schema: @@ -135375,7 +135478,7 @@ paths: parameters: - *403 - *404 - - *140 + - *143 responses: '200': description: Response @@ -135444,7 +135547,7 @@ paths: - *403 - *404 - *406 - - *140 + - *143 responses: '200': description: Response @@ -135487,7 +135590,7 @@ paths: parameters: - *403 - *404 - - *140 + - *143 - *406 responses: '204': @@ -135522,7 +135625,7 @@ paths: parameters: - *403 - *404 - - *140 + - *143 - *406 responses: '204': @@ -135547,7 +135650,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#list-projects-for-user parameters: - - *140 + - *143 - name: q description: Limit results to projects of the specified type. in: query @@ -135589,7 +135692,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - *419 - - *140 + - *143 responses: '200': description: Response @@ -135620,7 +135723,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - *419 - - *140 + - *143 - *17 - *108 - *109 @@ -135654,7 +135757,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - - *140 + - *143 - *419 requestBody: required: true @@ -135767,7 +135870,7 @@ paths: parameters: - *419 - *868 - - *140 + - *143 responses: '200': description: Response @@ -135799,7 +135902,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project parameters: - *419 - - *140 + - *143 - *108 - *109 - *17 @@ -135854,7 +135957,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - - *140 + - *143 - *419 requestBody: required: true @@ -135961,7 +136064,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *419 - - *140 + - *143 - *428 - name: fields description: |- @@ -136006,7 +136109,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - *419 - - *140 + - *143 - *428 requestBody: required: true @@ -136107,7 +136210,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - *419 - - *140 + - *143 - *428 responses: '204': @@ -136131,7 +136234,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view parameters: - *419 - - *140 + - *143 - *870 - name: fields description: |- @@ -136188,7 +136291,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: - - *140 + - *143 - *17 - *19 responses: @@ -136198,7 +136301,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: default: value: @@ -136263,7 +136366,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: - - *140 + - *143 - *17 - *19 responses: @@ -136273,7 +136376,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: default: value: @@ -136336,7 +136439,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repositories-for-a-user parameters: - - *140 + - *143 - name: type description: Limit results to repositories of the specified type. in: query @@ -136379,7 +136482,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *407 headers: @@ -136401,7 +136504,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: - - *140 + - *143 - *17 - *19 responses: @@ -136433,7 +136536,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: - - *140 + - *143 - *17 - *19 responses: @@ -136469,7 +136572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *140 + - *143 - *872 - *110 - *17 @@ -136505,7 +136608,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *140 + - *143 - *17 - *19 responses: @@ -136515,7 +136618,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *407 headers: @@ -136838,7 +136941,7 @@ webhooks: license: anyOf: - type: 'null' - - *220 + - *223 organization: anyOf: - type: 'null' @@ -139160,8 +139263,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *221 - repository: *277 + items: *224 + repository: *280 status: type: string enum: @@ -139265,7 +139368,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *221 + items: *224 started_at: type: string format: date-time @@ -145630,7 +145733,7 @@ webhooks: type: string enum: - created - definition: *153 + definition: *156 enterprise: *874 installation: *875 organization: *876 @@ -145797,7 +145900,7 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *153 + definition: *156 enterprise: *874 installation: *875 organization: *876 @@ -145877,7 +145980,7 @@ webhooks: type: string enum: - updated - definition: *153 + definition: *156 enterprise: *874 installation: *875 organization: *876 @@ -145965,11 +146068,11 @@ webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *152 + items: *155 old_property_values: type: array description: The old custom property values for the repository. - items: *152 + items: *155 required: - action - repository @@ -163981,11 +164084,11 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *218 + blocked_issue: *221 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *218 + blocking_issue: *221 blocking_issue_repo: *78 installation: *875 organization: *876 @@ -164072,11 +164175,11 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *218 + blocked_issue: *221 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *218 + blocking_issue: *221 blocking_issue_repo: *78 installation: *875 organization: *876 @@ -164162,12 +164265,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *218 + blocked_issue: *221 blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *218 + blocking_issue: *221 installation: *875 organization: *876 repository: *877 @@ -164253,12 +164356,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *218 + blocked_issue: *221 blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *218 + blocking_issue: *221 installation: *875 organization: *876 repository: *877 @@ -165154,7 +165257,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -166176,7 +166279,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -167331,7 +167434,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -168365,7 +168468,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -169522,7 +169625,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -170958,7 +171061,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -172000,7 +172103,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -173011,7 +173114,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -174033,7 +174136,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 user: title: User type: @@ -175438,7 +175541,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 user: title: User type: @@ -176420,7 +176523,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -177457,7 +177560,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -178448,7 +178551,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -180306,7 +180409,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -183695,7 +183798,7 @@ webhooks: type: string enum: - created - definition: *148 + definition: *151 enterprise: *874 sender: *4 required: @@ -183849,7 +183952,7 @@ webhooks: type: string enum: - updated - definition: *148 + definition: *151 enterprise: *874 installation: *875 sender: *4 @@ -183930,11 +184033,11 @@ webhooks: new_property_values: type: array description: The new custom property values. - items: *152 + items: *155 old_property_values: type: array description: The old custom property values. - items: *152 + items: *155 required: - action - organization @@ -254719,7 +254822,7 @@ webhooks: installation: *875 organization: *876 repository: *877 - repository_ruleset: *187 + repository_ruleset: *190 sender: *4 required: - action @@ -254801,7 +254904,7 @@ webhooks: installation: *875 organization: *876 repository: *877 - repository_ruleset: *187 + repository_ruleset: *190 sender: *4 required: - action @@ -254883,7 +254986,7 @@ webhooks: installation: *875 organization: *876 repository: *877 - repository_ruleset: *187 + repository_ruleset: *190 changes: type: object properties: @@ -254902,16 +255005,16 @@ webhooks: properties: added: type: array - items: *158 + items: *161 deleted: type: array - items: *158 + items: *161 updated: type: array items: type: object properties: - condition: *158 + condition: *161 changes: type: object properties: @@ -256061,14 +256164,14 @@ webhooks: alert: &936 type: object properties: - number: *127 - created_at: *134 + number: *130 + created_at: *137 updated_at: anyOf: - type: 'null' - - *135 - url: *132 - html_url: *133 + - *138 + url: *135 + html_url: *136 locations_url: type: string format: uri @@ -257171,7 +257274,7 @@ webhooks: required: - vector_string - score - cvss_severities: *129 + cvss_severities: *132 cwes: type: array items: @@ -257438,7 +257541,7 @@ webhooks: required: - vector_string - score - cvss_severities: *129 + cvss_severities: *132 cwes: type: array items: @@ -259106,12 +259209,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *218 + parent_issue: *221 parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *218 + sub_issue: *221 installation: *875 organization: *876 repository: *877 @@ -259197,12 +259300,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *218 + parent_issue: *221 parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *218 + sub_issue: *221 installation: *875 organization: *876 repository: *877 @@ -259288,12 +259391,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *218 + sub_issue: *221 sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *218 + parent_issue: *221 installation: *875 organization: *876 repository: *877 @@ -259379,12 +259482,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *218 + sub_issue: *221 sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *218 + parent_issue: *221 installation: *875 organization: *876 repository: *877 diff --git a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json index 9313f0c179..52214e0486 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -52886,6 +52886,364 @@ } } }, + "/enterprises/{enterprise}/copilot/usage-records": { + "get": { + "summary": "Get Copilot usage records for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUse this endpoint to retrieve Copilot agent session activity records for a specific enterprise. The endpoint provides comprehensive observability into Copilot session data across your enterprise.\n\nThe response includes detailed usage records aggregated and forwarded from all Copilot clients where your end users operate under enterprise-paid Copilot licenses. This includes cloud agents operating on github.com and data resident deployments on ghe.com, Copilot CLI, VS Code, Visual Studio, and partner IDEs such as those provided by JetBrains and Eclipse.\n\nOnly EMU (GHEC and GHEC with Data Residency) enterprise owners can access this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-usage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage#get-copilot-usage-records-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "phrase", + "description": "A search phrase to filter usage records. Supported qualifiers: `type` (request/response), `user_id`, `created`.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 25). Values are clamped to the range `[1, 25]`.", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "default": 25 + } + }, + { + "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.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "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.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "order", + "description": "The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`.\n\nThe default is `desc`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "desc", + "asc" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true, + "properties": { + "type": { + "type": "string", + "description": "The record type (request or response)." + }, + "user_id": { + "type": "integer", + "description": "The ID of the user who made the request." + }, + "enterprise_id": { + "type": "integer", + "description": "The ID of the enterprise." + }, + "github_request_id": { + "type": "string", + "description": "The GitHub request ID." + }, + "endpoint": { + "type": "string", + "description": "The API endpoint called." + }, + "body": { + "type": "string", + "description": "The request or response body." + }, + "@timestamp": { + "type": "integer", + "description": "Milliseconds since Unix epoch." + }, + "event_id": { + "type": "string", + "description": "The source-assigned event ID." + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "type": "request", + "user_id": 12345, + "enterprise_id": 1, + "github_request_id": "req-abc-123", + "endpoint": "/chat/completions", + "body": "{\"messages\":[{\"role\":\"user\",\"content\":\"Hello\"}]}", + "@timestamp": 1719600000000 + }, + { + "type": "response", + "user_id": 12345, + "enterprise_id": 1, + "github_request_id": "req-abc-123", + "endpoint": "/chat/completions", + "body": "{\"choices\":[{\"message\":{\"content\":\"Hi there!\"}}]}", + "@timestamp": 1719600000500 + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage" + } + } + }, "/enterprises/{enterprise}/credential-authorizations/revoke-all": { "post": { "summary": "Revoke all credential authorizations for an enterprise", diff --git a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml index 1eb36c6929..eacfb711a0 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml @@ -681,7 +681,7 @@ paths: - vulnerable_version_range - first_patched_version - vulnerable_functions - cvss_severities: &129 + cvss_severities: &132 type: - object - 'null' @@ -728,7 +728,7 @@ paths: required: - vector_string - score - epss: &130 + epss: &133 type: - object - 'null' @@ -1023,7 +1023,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &253 + schema: &256 title: Validation Error Simple description: Validation Error Simple type: object @@ -4357,7 +4357,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &252 + schema: &255 title: Validation Error description: Validation Error type: object @@ -4768,7 +4768,7 @@ paths: parameters: - *17 - *19 - - &223 + - &226 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) @@ -5615,7 +5615,7 @@ paths: license: anyOf: - type: 'null' - - &220 + - &223 title: License Simple description: License Simple type: object @@ -10523,7 +10523,7 @@ paths: description: Response content: application/json: - schema: &254 + schema: &257 type: object properties: total_active_caches_count: @@ -10538,7 +10538,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &255 + default: &258 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -10753,7 +10753,7 @@ paths: - public_ip_enabled - platform examples: - default: &256 + default: &259 value: total_count: 2 runners: @@ -11057,7 +11057,7 @@ paths: application/json: schema: *47 examples: - default: &257 + default: &260 value: id: 1 platform: linux-x64 @@ -11202,7 +11202,7 @@ paths: application/json: schema: *50 examples: - default: &258 + default: &261 value: version: 1.0.0 size_gb: 75 @@ -11370,7 +11370,7 @@ paths: description: Response content: application/json: - schema: &259 + schema: &262 type: object properties: public_ips: @@ -11397,7 +11397,7 @@ paths: required: - public_ips examples: - default: &260 + default: &263 value: public_ips: current_usage: 17 @@ -11437,7 +11437,7 @@ paths: type: array items: *54 examples: - default: &261 + default: &264 value: id: 4-core cpu_cores: 4 @@ -11755,7 +11755,7 @@ paths: required: true content: application/json: - schema: &262 + schema: &265 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -11866,7 +11866,7 @@ paths: - all - local_only - selected - selected_actions_url: &264 + selected_actions_url: &267 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -11946,7 +11946,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &266 + schema: &269 type: object properties: days: @@ -11992,7 +11992,7 @@ paths: required: true content: application/json: - schema: &267 + schema: &270 type: object properties: days: @@ -12041,7 +12041,7 @@ paths: required: - approval_policy examples: - default: &268 + default: &271 value: approval_policy: first_time_contributors '404': *6 @@ -12099,7 +12099,7 @@ paths: description: Response content: application/json: - schema: &269 + schema: &272 type: object required: - run_workflows_from_fork_pull_requests @@ -12153,7 +12153,7 @@ paths: required: true content: application/json: - schema: &270 + schema: &273 type: object required: - run_workflows_from_fork_pull_requests @@ -12589,7 +12589,7 @@ paths: description: Success response content: application/json: - schema: &273 + schema: &276 type: object properties: default_workflow_permissions: &67 @@ -12637,7 +12637,7 @@ paths: required: true content: application/json: - schema: &274 + schema: &277 type: object properties: default_workflow_permissions: *67 @@ -13493,7 +13493,7 @@ paths: application/json: schema: type: array - items: &278 + items: &281 title: Runner Application description: Runner Application type: object @@ -13518,7 +13518,7 @@ paths: - download_url - filename examples: - default: &279 + default: &282 value: - os: osx architecture: x64 @@ -13602,7 +13602,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &280 + '201': &283 description: Response content: application/json: @@ -13721,7 +13721,7 @@ paths: - token - expires_at examples: - default: &281 + default: &284 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -13761,7 +13761,7 @@ paths: application/json: schema: *79 examples: - default: &282 + default: &285 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13793,7 +13793,7 @@ paths: application/json: schema: *76 examples: - default: &283 + default: &286 value: id: 23 name: MBP @@ -14010,7 +14010,7 @@ paths: - *39 - *75 responses: - '200': &284 + '200': &287 description: Response content: application/json: @@ -14066,7 +14066,7 @@ paths: parameters: - *39 - *75 - - &285 + - &288 name: name description: The name of a self-hosted runner's custom label. in: path @@ -14163,7 +14163,7 @@ paths: required: true content: application/json: - schema: &299 + schema: &302 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14814,7 +14814,7 @@ paths: required: false schema: type: string - - &302 + - &305 name: include description: |- The event types to include: @@ -14832,7 +14832,7 @@ paths: - web - git - all - - &303 + - &127 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. @@ -14840,7 +14840,7 @@ paths: required: false schema: type: string - - &304 + - &128 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. @@ -14848,7 +14848,7 @@ paths: required: false schema: type: string - - &305 + - &129 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -16223,28 +16223,28 @@ paths: items: &320 type: object properties: - number: &127 + number: &130 type: integer description: The security alert number. readOnly: true - created_at: &134 + created_at: &137 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: &135 + updated_at: &138 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: &132 + url: &135 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &133 + html_url: &136 type: string description: The GitHub URL of the alert resource. format: uri @@ -16265,7 +16265,7 @@ paths: - dismissed - fixed - - fixed_at: &137 + fixed_at: &140 type: - string - 'null' @@ -16277,7 +16277,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &136 + dismissed_at: &139 type: - string - 'null' @@ -17022,7 +17022,7 @@ paths: headers: Link: *45 '404': *6 - '503': &192 + '503': &195 description: Service unavailable content: application/json: @@ -18758,7 +18758,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &143 + items: &146 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -18983,7 +18983,7 @@ paths: - slug - parent - type - - &142 + - &145 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -19115,7 +19115,7 @@ paths: - created_at additionalProperties: false examples: - default: &144 + default: &147 value: total_seats: 2 seats: @@ -20473,6 +20473,109 @@ paths: enabledForGitHubApps: false category: copilot subcategory: copilot-coding-agent-management + "/enterprises/{enterprise}/copilot/usage-records": + get: + summary: Get Copilot usage records for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Use this endpoint to retrieve Copilot agent session activity records for a specific enterprise. The endpoint provides comprehensive observability into Copilot session data across your enterprise. + + The response includes detailed usage records aggregated and forwarded from all Copilot clients where your end users operate under enterprise-paid Copilot licenses. This includes cloud agents operating on github.com and data resident deployments on ghe.com, Copilot CLI, VS Code, Visual Studio, and partner IDEs such as those provided by JetBrains and Eclipse. + + Only EMU (GHEC and GHEC with Data Residency) enterprise owners can access this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-usage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage#get-copilot-usage-records-for-an-enterprise + parameters: + - *39 + - name: phrase + description: 'A search phrase to filter usage records. Supported qualifiers: + `type` (request/response), `user_id`, `created`.' + in: query + required: false + schema: + type: string + - name: per_page + description: The number of results per page (max 25). Values are clamped to + the range `[1, 25]`. + in: query + required: false + schema: + type: integer + default: 25 + - *127 + - *128 + - *129 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + additionalProperties: true + properties: + type: + type: string + description: The record type (request or response). + user_id: + type: integer + description: The ID of the user who made the request. + enterprise_id: + type: integer + description: The ID of the enterprise. + github_request_id: + type: string + description: The GitHub request ID. + endpoint: + type: string + description: The API endpoint called. + body: + type: string + description: The request or response body. + "@timestamp": + type: integer + description: Milliseconds since Unix epoch. + event_id: + type: string + description: The source-assigned event ID. + examples: + default: + value: + - type: request + user_id: 12345 + enterprise_id: 1 + github_request_id: req-abc-123 + endpoint: "/chat/completions" + body: '{"messages":[{"role":"user","content":"Hello"}]}' + "@timestamp": 1719600000000 + - type: response + user_id: 12345 + enterprise_id: 1 + github_request_id: req-abc-123 + endpoint: "/chat/completions" + body: '{"choices":[{"message":{"content":"Hi there!"}}]}' + "@timestamp": 1719600000500 + headers: + Link: *45 + '400': *14 + '422': *15 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage "/enterprises/{enterprise}/credential-authorizations/revoke-all": post: summary: Revoke all credential authorizations for an enterprise @@ -20598,7 +20701,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/credential-authorizations#revoke-credential-authorizations-for-a-user-in-an-enterprise parameters: - *39 - - &140 + - &143 name: username description: The handle for the GitHub user account. in: path @@ -20827,7 +20930,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *127 + number: *130 state: type: string description: The state of the Dependabot alert. @@ -20842,7 +20945,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &128 + package: &131 type: object description: Details for the vulnerable package. readOnly: true @@ -20922,13 +21025,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &131 + items: &134 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *128 + package: *131 severity: type: string description: The severity of the vulnerability. @@ -20981,8 +21084,8 @@ paths: enum: - general - malware - cvss_severities: *129 - epss: *130 + cvss_severities: *132 + epss: *133 cwes: type: array description: Details for the advisory pertaining to Common @@ -21081,12 +21184,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *131 - url: *132 - html_url: *133 - created_at: *134 - updated_at: *135 - dismissed_at: *136 + security_vulnerability: *134 + url: *135 + html_url: *136 + created_at: *137 + updated_at: *138 + dismissed_at: *139 dismissed_by: anyOf: - type: 'null' @@ -21110,7 +21213,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *137 + fixed_at: *140 auto_dismissed_at: &604 type: - string @@ -22070,7 +22173,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &141 + items: &144 title: Enterprise Role description: Enterprise custom roles type: object @@ -22198,7 +22301,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *39 - - &138 + - &141 name: team_slug description: The slug of the enterprise team name. in: path @@ -22241,8 +22344,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *39 - - *138 - - &139 + - *141 + - &142 name: role_id description: The unique identifier of the role. in: path @@ -22284,8 +22387,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *39 - - *138 - - *139 + - *141 + - *142 responses: '204': description: Response @@ -22319,7 +22422,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user parameters: - *39 - - *140 + - *143 responses: '204': description: Response @@ -22353,8 +22456,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user parameters: - *39 - - *140 - - *139 + - *143 + - *142 responses: '204': description: Response @@ -22387,8 +22490,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment parameters: - *39 - - *140 - - *139 + - *143 + - *142 responses: '204': description: Response @@ -22422,13 +22525,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *39 - - *139 + - *142 responses: '200': description: Response content: application/json: - schema: *141 + schema: *144 examples: default: value: @@ -22482,7 +22585,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#list-teams-that-are-assigned-to-an-enterprise-role parameters: - *39 - - *139 + - *142 - *17 - *19 responses: @@ -22492,9 +22595,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: &207 + default: &210 value: - id: 1 name: Justice League @@ -22533,7 +22636,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#list-users-that-are-assigned-to-an-enterprise-role parameters: - *39 - - *139 + - *142 - *17 - *19 responses: @@ -22566,7 +22669,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *142 + items: *145 examples: default: value: @@ -22799,7 +22902,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *39 - - *140 + - *143 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -22815,9 +22918,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *143 + items: *146 examples: - default: *144 + default: *147 '500': *38 '401': *23 '403': *27 @@ -22860,7 +22963,7 @@ paths: type: integer network_configurations: type: array - items: &145 + items: &148 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -23011,9 +23114,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: &146 + default: &149 value: id: 123456789ABCDEF name: My network configuration @@ -23040,7 +23143,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - &147 + - &150 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -23052,9 +23155,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *146 + default: *149 headers: Link: *45 x-github: @@ -23074,7 +23177,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - *147 + - *150 requestBody: required: true content: @@ -23127,9 +23230,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *146 + default: *149 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23147,7 +23250,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *39 - - *147 + - *150 responses: '204': description: Response @@ -23260,7 +23363,7 @@ paths: application/json: schema: type: array - items: &148 + items: &151 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -23338,7 +23441,7 @@ paths: - property_name - value_type examples: - default: &149 + default: &152 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23398,7 +23501,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *148 + items: *151 minItems: 1 maxItems: 100 required: @@ -23431,9 +23534,9 @@ paths: application/json: schema: type: array - items: *148 + items: *151 examples: - default: *149 + default: *152 '403': *27 '404': *6 '422': *7 @@ -23460,7 +23563,7 @@ paths: 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: - *39 - - &150 + - &153 name: custom_property_name description: The custom property name in: path @@ -23472,9 +23575,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *151 examples: - default: &151 + default: &154 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23511,7 +23614,7 @@ paths: 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: - *39 - - *150 + - *153 requestBody: required: true content: @@ -23589,9 +23692,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *151 examples: - default: *151 + default: *154 '403': *27 '404': *6 '422': *7 @@ -23617,7 +23720,7 @@ paths: 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: - *39 - - *150 + - *153 responses: '204': *126 '403': *27 @@ -23670,7 +23773,7 @@ paths: - Hello-World properties: type: array - items: &152 + items: &155 title: Custom Property Value description: Custom property name and associated value type: object @@ -23756,7 +23859,7 @@ paths: type: array description: List of custom property names and associated values to apply to the organizations. - items: *152 + items: *155 required: - organization_logins - properties @@ -23806,7 +23909,7 @@ paths: application/json: schema: type: array - items: &153 + items: &156 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -23884,7 +23987,7 @@ paths: - property_name - value_type examples: - default: &154 + default: &157 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -23942,7 +24045,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *153 + items: *156 minItems: 1 maxItems: 100 required: @@ -23972,9 +24075,9 @@ paths: application/json: schema: type: array - items: *153 + items: *156 examples: - default: *154 + default: *157 '403': *27 '404': *6 x-github: @@ -23998,15 +24101,15 @@ paths: parameters: - *39 - *87 - - *150 + - *153 responses: '200': description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: &155 + default: &158 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -24039,15 +24142,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *39 - - *150 + - *153 responses: '200': description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -24069,7 +24172,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *39 - - *150 + - *153 requestBody: required: true content: @@ -24149,9 +24252,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -24173,7 +24276,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *39 - - *150 + - *153 responses: '204': *126 '403': *27 @@ -24215,7 +24318,7 @@ paths: - push - repository default: branch - enforcement: &164 + enforcement: &167 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -24228,7 +24331,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &165 + items: &168 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -24272,7 +24375,7 @@ paths: - pull_request - exempt default: always - conditions: &189 + conditions: &192 title: Enterprise ruleset conditions type: object description: |- @@ -24285,7 +24388,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &156 + - &159 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -24311,7 +24414,7 @@ paths: type: string required: - organization_name - - &159 + - &162 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -24340,7 +24443,7 @@ paths: is prevented. required: - repository_name - - &158 + - &161 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -24368,8 +24471,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *156 - - &161 + - *159 + - &164 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -24382,7 +24485,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &157 + items: &160 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -24413,16 +24516,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *157 + items: *160 required: - repository_property - - *158 + - *161 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &160 + - &163 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -24439,22 +24542,22 @@ paths: type: integer required: - organization_id - - *159 - - *158 + - *162 + - *161 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *160 + - *163 + - *164 - *161 - - *158 - type: object title: organization_property_and_repository_name description: Conditions to target organizations by property and all repositories allOf: - - &163 + - &166 title: Repository ruleset conditions for organization properties type: object description: Parameters for a organization property condition @@ -24467,7 +24570,7 @@ paths: description: The organization properties and values to include. All of these properties must match for the condition to pass. - items: &162 + items: &165 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a organization @@ -24491,28 +24594,28 @@ paths: description: The organization properties and values to exclude. The condition will not pass if any of these properties match. - items: *162 + items: *165 required: - organization_property - - *159 - - *158 + - *162 + - *161 - type: object title: organization_property_and_repository_property description: Conditions to target organizations by property and repositories by property allOf: - - *163 + - *166 + - *164 - *161 - - *158 rules: type: array description: An array of rules within the ruleset. - items: &190 + items: &193 title: Repository Rule type: object description: A repository rule. oneOf: - - &166 + - &169 title: creation description: Only allow users with bypass permission to create matching refs. @@ -24524,7 +24627,7 @@ paths: type: string enum: - creation - - &167 + - &170 title: update description: Only allow users with bypass permission to update matching refs. @@ -24545,7 +24648,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &168 + - &171 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -24557,7 +24660,7 @@ paths: type: string enum: - deletion - - &169 + - &172 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -24569,7 +24672,7 @@ paths: type: string enum: - required_linear_history - - &170 + - &173 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -24593,7 +24696,7 @@ paths: type: string required: - required_deployment_environments - - &171 + - &174 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -24605,7 +24708,7 @@ paths: type: string enum: - required_signatures - - &172 + - &175 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. @@ -24708,7 +24811,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &173 + - &176 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -24755,7 +24858,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &174 + - &177 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -24767,7 +24870,7 @@ paths: type: string enum: - non_fast_forward - - &175 + - &178 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -24804,7 +24907,7 @@ paths: required: - operator - pattern - - &176 + - &179 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -24841,7 +24944,7 @@ paths: required: - operator - pattern - - &177 + - &180 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -24878,7 +24981,7 @@ paths: required: - operator - pattern - - &178 + - &181 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -24915,7 +25018,7 @@ paths: required: - operator - pattern - - &179 + - &182 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -24952,7 +25055,7 @@ paths: required: - operator - pattern - - &183 + - &186 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -24976,7 +25079,7 @@ paths: type: string required: - restricted_file_paths - - &184 + - &187 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -25000,7 +25103,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &185 + - &188 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -25023,7 +25126,7 @@ paths: type: string required: - restricted_file_extensions - - &186 + - &189 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -25047,7 +25150,7 @@ paths: maximum: 100 required: - max_file_size - - &180 + - &183 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -25096,7 +25199,7 @@ paths: - repository_id required: - workflows - - &181 + - &184 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -25156,7 +25259,7 @@ paths: - tool required: - code_scanning_tools - - &182 + - &185 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review @@ -25206,7 +25309,7 @@ paths: description: Response content: application/json: - schema: &187 + schema: &190 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -25241,11 +25344,11 @@ paths: source: type: string description: The name of the source - enforcement: *164 + enforcement: *167 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *165 + items: *168 current_user_can_bypass: type: string description: |- @@ -25277,7 +25380,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - *158 + - *161 - &434 title: Organization ruleset conditions type: object @@ -25292,14 +25395,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *158 - - *159 + - *161 + - *162 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *158 + - *161 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -25321,8 +25424,8 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *158 - *161 + - *164 type: - 'null' - object @@ -25333,10 +25436,10 @@ paths: type: object description: A repository rule. oneOf: - - *166 - - *167 - - *168 - *169 + - *170 + - *171 + - *172 - &739 title: merge_queue description: Merges must be performed via a merge queue. @@ -25415,9 +25518,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *170 - - *171 - - *172 - *173 - *174 - *175 @@ -25432,6 +25532,9 @@ paths: - *184 - *185 - *186 + - *187 + - *188 + - *189 created_at: type: string format: date-time @@ -25439,7 +25542,7 @@ paths: type: string format: date-time examples: - default: &188 + default: &191 value: id: 21 name: super cool ruleset @@ -25498,9 +25601,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: - default: *188 + default: *191 '404': *6 '500': *38 x-github: @@ -25544,16 +25647,16 @@ paths: - tag - push - repository - enforcement: *164 + enforcement: *167 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *165 - conditions: *189 + items: *168 + conditions: *192 rules: description: An array of rules within the ruleset. type: array - items: *190 + items: *193 examples: default: value: @@ -25577,9 +25680,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: - default: *188 + default: *191 '404': *6 '500': *38 x-github: @@ -25641,7 +25744,7 @@ paths: application/json: schema: type: array - items: &191 + items: &194 title: Ruleset version type: object description: The historical version of a ruleset @@ -25720,7 +25823,7 @@ paths: application/json: schema: &438 allOf: - - *191 + - *194 - type: object required: - state @@ -25928,14 +26031,14 @@ paths: items: &452 type: object properties: - number: *127 - created_at: *134 + number: *130 + created_at: *137 updated_at: anyOf: - type: 'null' - - *135 - url: *132 - html_url: *133 + - *138 + url: *135 + html_url: *136 locations_url: type: string format: uri @@ -26622,7 +26725,7 @@ paths: headers: Link: *45 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -26659,7 +26762,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &194 + pattern_config_version: &197 type: - string - 'null' @@ -26669,7 +26772,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &193 + items: &196 type: object properties: token_type: @@ -26738,7 +26841,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *193 + items: *196 examples: default: &455 value: @@ -26795,7 +26898,7 @@ paths: schema: type: object properties: - pattern_config_version: *194 + pattern_config_version: *197 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -26821,7 +26924,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *194 + custom_pattern_version: *197 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -27001,7 +27104,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-enterprise parameters: - *39 - - &198 + - &201 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, @@ -27010,7 +27113,7 @@ paths: required: false schema: type: integer - - &199 + - &202 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 @@ -27019,7 +27122,7 @@ paths: required: false schema: type: integer - - &200 + - &203 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 @@ -27028,7 +27131,7 @@ paths: required: false schema: type: integer - - &201 + - &204 name: organization description: The organization name to query usage for. The name is not case sensitive. @@ -27036,21 +27139,21 @@ paths: required: false schema: type: string - - &202 + - &205 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &203 + - &206 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &204 + - &207 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -27189,7 +27292,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27711,7 +27814,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-a-budget-by-id parameters: - *39 - - &195 + - &198 name: budget_id description: The ID corresponding to the budget. in: path @@ -27823,7 +27926,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28105,7 +28208,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#delete-a-budget parameters: - *39 - - *195 + - *198 responses: '200': description: Response when deleting a budget @@ -28132,7 +28235,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28151,7 +28254,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-user-states-for-a-multi-user-budget parameters: - *39 - - *195 + - *198 - name: page description: The page number of results to fetch. in: query @@ -28246,7 +28349,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28350,7 +28453,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28486,7 +28589,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#get-a-cost-center-by-id parameters: - *39 - - &197 + - &200 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -28544,7 +28647,7 @@ paths: - name - resources examples: - default: &196 + default: &199 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -28558,7 +28661,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28653,13 +28756,13 @@ paths: - name - resources examples: - default: *196 + default: *199 '400': *14 '403': *27 '404': *6 '409': *119 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28677,7 +28780,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#delete-a-cost-center parameters: - *39 - - *197 + - *200 responses: '200': description: Response when deleting a cost center @@ -28716,7 +28819,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28737,7 +28840,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - *39 - - *197 + - *200 requestBody: required: true content: @@ -28818,7 +28921,7 @@ paths: '403': *27 '409': *119 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28838,7 +28941,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - *39 - - *197 + - *200 requestBody: required: true content: @@ -28890,7 +28993,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28911,13 +29014,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *39 - - *198 - - *199 - - *200 - *201 - *202 - *203 - *204 + - *205 + - *206 + - *207 - 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. @@ -29050,7 +29153,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29080,7 +29183,7 @@ paths: usage_report_exports: type: array description: List of usage report exports - items: &205 + items: &208 type: object properties: id: @@ -29178,7 +29281,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29244,9 +29347,9 @@ paths: description: Report export request accepted content: application/json: - schema: *205 + schema: *208 examples: - usage-report-export: &206 + usage-report-export: &209 value: id: a1b2c3d4-e5f6-7890-abcd-ef1234567890 report_type: detailed @@ -29262,7 +29365,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29293,14 +29396,14 @@ paths: description: Usage report export details content: application/json: - schema: *205 + schema: *208 examples: - usage-report-export: *206 + usage-report-export: *209 '401': *23 '403': *27 '404': *6 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29321,7 +29424,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - *39 - - *198 + - *201 - 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 @@ -29330,7 +29433,7 @@ paths: required: false schema: type: integer - - *200 + - *203 - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -29413,7 +29516,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29434,17 +29537,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - *39 - - *198 - - *199 - - *200 - *201 + - *202 + - *203 + - *204 - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *204 + - *207 - name: sku description: The SKU to query for usage. in: query @@ -29577,7 +29680,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29604,9 +29707,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: *207 + default: *210 headers: Link: *45 '403': *27 @@ -29695,9 +29798,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *145 examples: - default: &212 + default: &215 value: id: 1 name: Justice League @@ -29726,7 +29829,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *39 - - &208 + - &211 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -29745,7 +29848,7 @@ paths: type: array items: *4 examples: - default: &209 + default: &212 value: - login: octocat id: 1 @@ -29784,7 +29887,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *39 - - *208 + - *211 requestBody: required: true content: @@ -29815,7 +29918,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29833,7 +29936,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *39 - - *208 + - *211 requestBody: required: true content: @@ -29864,7 +29967,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29882,8 +29985,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *39 - - *208 - - *140 + - *211 + - *143 responses: '200': description: User is a member of the enterprise team. @@ -29891,7 +29994,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &210 + exampleKey1: &213 value: login: octocat id: 1 @@ -29927,8 +30030,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *39 - - *208 - - *140 + - *211 + - *143 responses: '201': description: Successfully added team member @@ -29936,7 +30039,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *210 + exampleKey1: *213 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29954,8 +30057,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *39 - - *208 - - *140 + - *211 + - *143 responses: '204': description: Response @@ -29977,7 +30080,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *39 - - *208 + - *211 - *17 - *19 responses: @@ -29989,7 +30092,7 @@ paths: type: array items: *73 examples: - default: &211 + default: &214 value: login: github id: 1 @@ -30020,7 +30123,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *39 - - *208 + - *211 requestBody: required: true content: @@ -30050,7 +30153,7 @@ paths: type: array items: *73 examples: - default: &247 + default: &250 value: - login: github id: 1 @@ -30081,7 +30184,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *39 - - *208 + - *211 requestBody: required: true content: @@ -30122,7 +30225,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *39 - - *208 + - *211 - *87 responses: '200': @@ -30131,7 +30234,7 @@ paths: application/json: schema: *73 examples: - default: *211 + default: *214 '404': description: The team is not assigned to the organization x-github: @@ -30150,7 +30253,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *39 - - *208 + - *211 - *87 responses: '201': @@ -30159,7 +30262,7 @@ paths: application/json: schema: *73 examples: - default: *211 + default: *214 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30176,7 +30279,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *39 - - *208 + - *211 - *87 responses: '204': @@ -30201,7 +30304,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *39 - - &213 + - &216 name: team_slug description: The slug of the team name. in: path @@ -30213,9 +30316,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *145 examples: - default: *212 + default: *215 headers: Link: *45 '403': *27 @@ -30235,7 +30338,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *39 - - *213 + - *216 requestBody: required: true content: @@ -30303,9 +30406,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *145 examples: - default: *212 + default: *215 headers: Link: *45 '403': *27 @@ -30328,7 +30431,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *39 - - *213 + - *216 responses: '204': description: Response @@ -30427,7 +30530,7 @@ paths: application/json: schema: type: array - items: &242 + items: &245 title: Event description: Event type: object @@ -30438,7 +30541,7 @@ paths: type: - string - 'null' - actor: &214 + actor: &217 title: Actor description: Actor type: object @@ -30479,7 +30582,7 @@ paths: - id - name - url - org: *214 + org: *217 payload: oneOf: - title: CreateEvent @@ -30823,7 +30926,7 @@ paths: - id labels: type: array - items: &217 + items: &220 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -30906,7 +31009,7 @@ paths: properties: action: type: string - issue: &218 + issue: &221 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -31261,7 +31364,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &215 + author_association: &218 title: author_association type: string description: How the author is associated with the @@ -31277,7 +31380,7 @@ paths: - OWNER examples: - OWNER - reactions: &216 + reactions: &219 title: Reaction Rollup type: object properties: @@ -31337,7 +31440,7 @@ paths: pinned_comment: anyOf: - type: 'null' - - &219 + - &222 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -31388,12 +31491,12 @@ paths: issue_url: type: string format: uri - author_association: *215 + author_association: *218 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *216 + reactions: *219 pin: anyOf: - type: 'null' @@ -31597,10 +31700,10 @@ paths: assignees: type: array items: *4 - label: *217 + label: *220 labels: type: array - items: *217 + items: *220 required: - action - issue @@ -31609,8 +31712,8 @@ paths: properties: action: type: string - issue: *218 - comment: *219 + issue: *221 + comment: *222 required: - action - issue @@ -31789,7 +31892,7 @@ paths: license: anyOf: - type: 'null' - - *220 + - *223 allow_forking: type: boolean is_template: @@ -31880,7 +31983,7 @@ paths: type: string number: type: integer - pull_request: &221 + pull_request: &224 title: Pull Request Minimal type: object properties: @@ -31951,10 +32054,10 @@ paths: assignees: type: array items: *4 - label: *217 + label: *220 labels: type: array - items: *217 + items: *220 required: - action - number @@ -31964,7 +32067,7 @@ paths: properties: action: type: string - pull_request: *221 + pull_request: *224 comment: type: object properties: @@ -32218,7 +32321,7 @@ paths: - pull_request updated_at: type: string - pull_request: *221 + pull_request: *224 required: - action - review @@ -32267,7 +32370,7 @@ paths: updated_at: type: string format: date-time - reactions: *216 + reactions: *219 required: - action - comment @@ -32435,7 +32538,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *216 + reactions: *219 required: - assets_url - upload_url @@ -32528,7 +32631,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32618,7 +32721,7 @@ paths: _links: type: object properties: - timeline: &222 + timeline: &225 title: Link With Type description: Hypermedia Link with Type type: object @@ -32630,17 +32733,17 @@ paths: required: - href - type - user: *222 - security_advisories: *222 - current_user: *222 - current_user_public: *222 - current_user_actor: *222 - current_user_organization: *222 + user: *225 + security_advisories: *225 + current_user: *225 + current_user_public: *225 + current_user_actor: *225 + current_user_organization: *225 current_user_organizations: type: array - items: *222 - repository_discussions: *222 - repository_discussions_category: *222 + items: *225 + repository_discussions: *225 + repository_discussions_category: *225 required: - timeline - user @@ -32702,7 +32805,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *223 + - *226 - *17 - *19 responses: @@ -32712,7 +32815,7 @@ paths: application/json: schema: type: array - items: &224 + items: &227 title: Base Gist description: Base Gist type: object @@ -32798,7 +32901,7 @@ paths: - created_at - updated_at examples: - default: &225 + default: &228 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -32922,7 +33025,7 @@ paths: description: Response content: application/json: - schema: &226 + schema: &229 title: Gist Simple description: Gist Simple type: object @@ -33089,7 +33192,7 @@ paths: truncated: type: boolean examples: - default: &227 + default: &230 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -33193,7 +33296,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *223 + - *226 - *17 - *19 responses: @@ -33203,9 +33306,9 @@ paths: application/json: schema: type: array - items: *224 + items: *227 examples: - default: *225 + default: *228 headers: Link: *45 '422': *15 @@ -33227,7 +33330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *223 + - *226 - *17 - *19 responses: @@ -33237,9 +33340,9 @@ paths: application/json: schema: type: array - items: *224 + items: *227 examples: - default: *225 + default: *228 headers: Link: *45 '401': *23 @@ -33266,7 +33369,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &228 + - &231 name: gist_id description: The unique identifier of the gist. in: path @@ -33278,10 +33381,10 @@ paths: description: Response content: application/json: - schema: *226 + schema: *229 examples: - default: *227 - '403': &231 + default: *230 + '403': &234 description: Forbidden Gist content: application/json: @@ -33329,7 +33432,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *228 + - *231 requestBody: required: true content: @@ -33393,9 +33496,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *229 examples: - updateGist: *227 + updateGist: *230 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -33553,7 +33656,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *228 + - *231 responses: '204': description: Response @@ -33581,7 +33684,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *228 + - *231 - *17 - *19 responses: @@ -33591,7 +33694,7 @@ paths: application/json: schema: type: array - items: &229 + items: &232 title: Gist Comment description: A comment made to a gist. type: object @@ -33629,7 +33732,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *215 + author_association: *218 required: - url - id @@ -33693,7 +33796,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *228 + - *231 requestBody: required: true content: @@ -33719,9 +33822,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: &230 + default: &233 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -33778,8 +33881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *228 - - &232 + - *231 + - &235 name: comment_id description: The unique identifier of the comment. in: path @@ -33792,12 +33895,12 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 + default: *233 '304': *35 '404': *6 - '403': *231 + '403': *234 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33818,8 +33921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *228 - - *232 + - *231 + - *235 requestBody: required: true content: @@ -33845,9 +33948,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 + default: *233 '404': *6 x-github: githubCloudOnly: false @@ -33864,8 +33967,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *228 - - *232 + - *231 + - *235 responses: '204': description: Response @@ -33888,7 +33991,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *228 + - *231 - *17 - *19 responses: @@ -33989,7 +34092,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *228 + - *231 - *17 - *19 responses: @@ -33999,7 +34102,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: default: value: @@ -34064,13 +34167,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *228 + - *231 responses: '201': description: Response content: application/json: - schema: *224 + schema: *227 examples: default: value: @@ -34140,7 +34243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *228 + - *231 responses: '204': description: Response if gist is starred @@ -34170,7 +34273,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *228 + - *231 responses: '204': description: Response @@ -34192,7 +34295,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *228 + - *231 responses: '204': description: Response @@ -34220,7 +34323,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *228 + - *231 - name: sha in: path required: true @@ -34231,9 +34334,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *229 examples: - default: *227 + default: *230 '422': *15 '404': *6 '403': *27 @@ -34635,7 +34738,7 @@ paths: - comments default: created - *110 - - *223 + - *226 - name: collab in: query required: false @@ -34665,7 +34768,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: &390 value: @@ -34947,7 +35050,7 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: default: value: @@ -35245,7 +35348,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &233 + X-CommonMarker-Version: &236 example: 0.17.4 schema: type: string @@ -35300,7 +35403,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *233 + X-CommonMarker-Version: *236 content: text/html: schema: @@ -35329,7 +35432,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: - - &236 + - &239 name: account_id description: account_id parameter in: path @@ -35341,7 +35444,7 @@ paths: description: Response content: application/json: - schema: &235 + schema: &238 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -35375,7 +35478,7 @@ paths: - 'null' id: type: integer - plan: &234 + plan: &237 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -35478,7 +35581,7 @@ paths: - 'null' updated_at: type: string - plan: *234 + plan: *237 required: - url - id @@ -35486,7 +35589,7 @@ paths: - login - marketplace_purchase examples: - default: &237 + default: &240 value: url: https://api.github.com/orgs/github type: Organization @@ -35571,9 +35674,9 @@ paths: application/json: schema: type: array - items: *234 + items: *237 examples: - default: &238 + default: &241 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -35613,14 +35716,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &239 + - &242 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &240 + - &243 name: sort description: The property to sort the results by. in: query @@ -35650,9 +35753,9 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: - default: &241 + default: &244 value: - url: https://api.github.com/orgs/github type: Organization @@ -35726,15 +35829,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: - - *236 + - *239 responses: '200': description: Response content: application/json: - schema: *235 + schema: *238 examples: - default: *237 + default: *240 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -35766,9 +35869,9 @@ paths: application/json: schema: type: array - items: *234 + items: *237 examples: - default: *238 + default: *241 headers: Link: *45 '401': *23 @@ -35791,8 +35894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *239 - - *240 + - *242 + - *243 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -35812,9 +35915,9 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: - default: *241 + default: *244 headers: Link: *45 '401': *23 @@ -36103,7 +36206,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: default: value: @@ -36187,7 +36290,7 @@ paths: schema: type: boolean default: false - - *223 + - *226 - &708 name: before description: 'Only show notifications updated before the given time. This @@ -36213,14 +36316,14 @@ paths: application/json: schema: type: array - items: &243 + items: &246 title: Thread description: Thread type: object properties: id: type: string - repository: &277 + repository: &280 title: Minimal Repository description: Minimal Repository type: object @@ -36953,7 +37056,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &244 + - &247 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 @@ -36967,7 +37070,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *246 examples: default: value: @@ -37070,7 +37173,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *244 + - *247 responses: '205': description: Reset Content @@ -37093,7 +37196,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *244 + - *247 responses: '204': description: No content @@ -37116,13 +37219,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: - - *244 + - *247 responses: '200': description: Response content: application/json: - schema: &245 + schema: &248 title: Thread Subscription description: Thread Subscription type: object @@ -37166,7 +37269,7 @@ paths: - url - subscribed examples: - default: &246 + default: &249 value: subscribed: true ignored: false @@ -37197,7 +37300,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *244 + - *247 requestBody: required: false content: @@ -37218,9 +37321,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *248 examples: - default: *246 + default: *249 '304': *35 '403': *27 '401': *23 @@ -37243,7 +37346,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *244 + - *247 responses: '204': description: Response @@ -37340,7 +37443,7 @@ paths: type: array items: *73 examples: - default: *247 + default: *250 headers: Link: example: ; rel="next" @@ -37412,7 +37515,7 @@ paths: description: Response content: application/json: - schema: &248 + schema: &251 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -37451,7 +37554,7 @@ paths: required: true content: application/json: - schema: *248 + schema: *251 examples: selected_actions: *42 responses: @@ -37486,7 +37589,7 @@ paths: description: Response content: application/json: - schema: &249 + schema: &252 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -37525,7 +37628,7 @@ paths: required: true content: application/json: - schema: *249 + schema: *252 examples: selected_actions: *44 responses: @@ -37566,7 +37669,7 @@ paths: application/json: schema: type: array - items: *152 + items: *155 examples: default: &715 value: @@ -37614,7 +37717,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *152 + items: *155 required: - properties examples: @@ -37665,7 +37768,7 @@ paths: description: Response content: application/json: - schema: &250 + schema: &253 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -38069,7 +38172,7 @@ paths: - updated_at - archived_at examples: - default-response: &251 + default-response: &254 value: login: github id: 1 @@ -38390,17 +38493,17 @@ paths: description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: *251 + default: *254 '422': description: Validation failed content: application/json: schema: oneOf: - - *252 - - *253 + - *255 + - *256 '409': *119 x-github: githubCloudOnly: false @@ -38456,9 +38559,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *257 examples: - default: *255 + default: *258 headers: Link: *45 x-github: @@ -38577,7 +38680,7 @@ paths: type: array items: *46 examples: - default: *256 + default: *259 headers: Link: *45 x-github: @@ -38744,7 +38847,7 @@ paths: application/json: schema: *47 examples: - default: *257 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38836,7 +38939,7 @@ paths: application/json: schema: *50 examples: - default: *258 + default: *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38955,9 +39058,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *262 examples: - default: *260 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38993,7 +39096,7 @@ paths: type: array items: *54 examples: - default: *261 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39237,7 +39340,7 @@ paths: required: true content: application/json: - schema: *262 + schema: *265 examples: default: *58 responses: @@ -39330,7 +39433,7 @@ paths: required: - include_claim_keys examples: - default: &263 + default: &266 value: include_claim_keys: - repo @@ -39375,13 +39478,13 @@ paths: format. type: boolean examples: - default: *263 + default: *266 responses: '201': description: Empty response content: application/json: - schema: &288 + schema: &291 title: Empty Object description: An object without any properties. type: object @@ -39420,7 +39523,7 @@ paths: schema: type: object properties: - enabled_repositories: &265 + enabled_repositories: &268 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -39434,7 +39537,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *60 - selected_actions_url: *264 + selected_actions_url: *267 sha_pinning_required: *61 required: - enabled_repositories @@ -39476,7 +39579,7 @@ paths: schema: type: object properties: - enabled_repositories: *265 + enabled_repositories: *268 allowed_actions: *60 sha_pinning_required: *61 required: @@ -39512,7 +39615,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: response: summary: Example response @@ -39543,7 +39646,7 @@ paths: required: true content: application/json: - schema: *267 + schema: *270 examples: application/json: value: @@ -39581,7 +39684,7 @@ paths: application/json: schema: *62 examples: - default: *268 + default: *271 '404': *6 x-github: enabledForGitHubApps: true @@ -39638,7 +39741,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: default: *63 '403': *27 @@ -39663,7 +39766,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *273 examples: default: *63 responses: @@ -39715,7 +39818,7 @@ paths: type: array items: *78 examples: - default: &272 + default: &275 value: total_count: 1 repositories: @@ -39900,7 +40003,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *87 - - &271 + - &274 name: repository_id description: The unique identifier of the repository. in: path @@ -39929,7 +40032,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *87 - - *271 + - *274 responses: '204': description: Response @@ -40125,7 +40228,7 @@ paths: type: array items: *78 examples: - default: *272 + default: *275 '403': *27 '404': *6 x-github: @@ -40194,7 +40297,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *87 - - *271 + - *274 responses: '204': description: No content @@ -40221,7 +40324,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *87 - - *271 + - *274 responses: '204': description: No content @@ -40255,7 +40358,7 @@ paths: description: Response content: application/json: - schema: *273 + schema: *276 examples: default: *69 x-github: @@ -40289,7 +40392,7 @@ paths: required: false content: application/json: - schema: *274 + schema: *277 examples: default: *69 x-github: @@ -40336,7 +40439,7 @@ paths: type: number runner_groups: type: array - items: &275 + items: &278 type: object properties: id: @@ -40526,9 +40629,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *278 examples: - default: &276 + default: &279 value: id: 2 name: octo-runner-group @@ -40570,7 +40673,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *278 examples: default: value: @@ -40663,9 +40766,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *278 examples: - default: *276 + default: *279 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -40729,7 +40832,7 @@ paths: type: array items: *46 examples: - default: *256 + default: *259 headers: Link: *45 x-github: @@ -40770,7 +40873,7 @@ paths: type: number repositories: type: array - items: *277 + items: *280 examples: default: &332 value: @@ -41071,7 +41174,7 @@ paths: parameters: - *87 - *72 - - *271 + - *274 responses: '204': description: Response @@ -41095,7 +41198,7 @@ paths: parameters: - *87 - *72 - - *271 + - *274 responses: '204': description: Response @@ -41313,9 +41416,9 @@ paths: application/json: schema: type: array - items: *278 + items: *281 examples: - default: *279 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41380,7 +41483,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *280 + '201': *283 '404': *6 '422': *7 '409': *119 @@ -41419,7 +41522,7 @@ paths: application/json: schema: *79 examples: - default: *281 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41455,7 +41558,7 @@ paths: application/json: schema: *79 examples: - default: *282 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41486,7 +41589,7 @@ paths: application/json: schema: *76 examples: - default: *283 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41661,7 +41764,7 @@ paths: - *87 - *75 responses: - '200': *284 + '200': *287 '404': *6 x-github: githubCloudOnly: false @@ -41690,7 +41793,7 @@ paths: parameters: - *87 - *75 - - *285 + - *288 responses: '200': *81 '404': *6 @@ -41735,7 +41838,7 @@ paths: type: integer secrets: type: array - items: &286 + items: &289 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -41769,7 +41872,7 @@ paths: - updated_at - visibility examples: - default: &292 + default: &295 value: total_count: 3 secrets: @@ -41816,7 +41919,7 @@ paths: description: Response content: application/json: - schema: &293 + schema: &296 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -41851,7 +41954,7 @@ paths: - key_id - key examples: - default: &294 + default: &297 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41877,7 +41980,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - *87 - - &287 + - &290 name: secret_name description: The name of the secret. in: path @@ -41889,9 +41992,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *289 examples: - default: &295 + default: &298 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -41920,7 +42023,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -41977,7 +42080,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -42004,7 +42107,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '204': description: Response @@ -42031,7 +42134,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 - *19 - *17 responses: @@ -42049,9 +42152,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: &291 + default: &294 value: total_count: 1 repositories: @@ -42144,7 +42247,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -42197,7 +42300,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -42231,7 +42334,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -42264,7 +42367,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - *87 - - &296 + - &299 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)." @@ -42288,7 +42391,7 @@ paths: type: integer variables: type: array - items: &289 + items: &292 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -42336,7 +42439,7 @@ paths: - updated_at - visibility examples: - default: &297 + default: &300 value: total_count: 3 variables: @@ -42426,7 +42529,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -42452,7 +42555,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - *87 - - &290 + - &293 name: name description: The name of the variable. in: path @@ -42464,9 +42567,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *292 examples: - default: &298 + default: &301 value: name: USERNAME value: octocat @@ -42495,7 +42598,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - *87 - - *290 + - *293 requestBody: required: true content: @@ -42558,7 +42661,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - *87 - - *290 + - *293 responses: '204': description: Response @@ -42585,7 +42688,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *87 - - *290 + - *293 - *19 - *17 responses: @@ -42603,9 +42706,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 '409': description: Response when the visibility of the variable is not set to `selected` @@ -42632,7 +42735,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *87 - - *290 + - *293 requestBody: required: true content: @@ -42682,7 +42785,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *87 - - *290 + - *293 - name: repository_id in: path required: true @@ -42717,7 +42820,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *87 - - *290 + - *293 - name: repository_id in: path required: true @@ -42769,9 +42872,9 @@ paths: type: integer secrets: type: array - items: *286 + items: *289 examples: - default: *292 + default: *295 headers: Link: *45 x-github: @@ -42802,9 +42905,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *296 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42827,15 +42930,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '200': description: Response content: application/json: - schema: *286 + schema: *289 examples: - default: *295 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42858,7 +42961,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -42915,7 +43018,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -42942,7 +43045,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '204': description: Response @@ -42969,7 +43072,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 - *19 - *17 responses: @@ -42987,9 +43090,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43013,7 +43116,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -43066,7 +43169,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -43100,7 +43203,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -43134,7 +43237,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *87 - - *296 + - *299 - *19 responses: '200': @@ -43151,9 +43254,9 @@ paths: type: integer variables: type: array - items: *289 + items: *292 examples: - default: *297 + default: *300 headers: Link: *45 x-github: @@ -43224,7 +43327,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -43250,15 +43353,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *87 - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *289 + schema: *292 examples: - default: *298 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43280,7 +43383,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *87 - - *290 + - *293 requestBody: required: true content: @@ -43343,7 +43446,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *87 - - *290 + - *293 responses: '204': description: Response @@ -43370,7 +43473,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *87 - - *290 + - *293 - *19 - *17 responses: @@ -43388,9 +43491,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 '409': description: Response when the visibility of the variable is not set to `selected` @@ -43417,7 +43520,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *87 - - *290 + - *293 requestBody: required: true content: @@ -43467,7 +43570,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *87 - - *290 + - *293 - name: repository_id in: path required: true @@ -43502,7 +43605,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *87 - - *290 + - *293 - name: repository_id in: path required: true @@ -43560,7 +43663,7 @@ paths: required: true content: application/json: - schema: *299 + schema: *302 examples: default: *85 parameters: @@ -43747,7 +43850,7 @@ paths: type: integer deployment_records: type: array - items: &300 + items: &303 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -43794,7 +43897,7 @@ paths: required: - total_count examples: - default: &301 + default: &304 value: total_count: 1 deployment_records: @@ -43976,11 +44079,11 @@ paths: type: integer deployment_records: type: array - items: *300 + items: *303 required: - total_count examples: - default: *301 + default: *304 '403': description: Forbidden content: @@ -44232,9 +44335,9 @@ paths: - 3 deployment_records: type: array - items: *300 + items: *303 examples: - default: *301 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44873,10 +44976,10 @@ paths: required: false schema: type: string - - *302 - - *303 - - *304 - *305 + - *127 + - *128 + - *129 - *17 responses: '200': @@ -44916,7 +45019,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44936,7 +45039,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *87 - - *140 + - *143 responses: '204': description: If the user is blocked @@ -44962,7 +45065,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#block-a-user-from-an-organization parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -44983,7 +45086,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -45272,7 +45375,7 @@ paths: headers: Link: *45 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45448,7 +45551,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45491,7 +45594,7 @@ paths: content: application/json: schema: *3 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45586,7 +45689,7 @@ paths: content: application/json: schema: *3 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45618,7 +45721,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45701,7 +45804,7 @@ paths: headers: Link: *45 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46766,7 +46869,7 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *277 + repository: *280 machine: anyOf: - type: 'null' @@ -47819,7 +47922,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '200': description: Response @@ -47855,7 +47958,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -47910,7 +48013,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -47937,7 +48040,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '204': description: Response @@ -47963,7 +48066,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 - *19 - *17 responses: @@ -47981,9 +48084,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 '404': *6 x-github: githubCloudOnly: false @@ -48006,7 +48109,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -48057,7 +48160,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -48091,7 +48194,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -49913,9 +50016,9 @@ paths: currently being billed. seats: type: array - items: *143 + items: *146 examples: - default: *144 + default: *147 headers: Link: *45 '500': *38 @@ -50399,7 +50502,7 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 required: - total_count - repositories @@ -50490,7 +50593,7 @@ paths: 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: - *87 - - *271 + - *274 responses: '204': description: No Content @@ -50524,7 +50627,7 @@ paths: 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: - *87 - - *271 + - *274 responses: '204': description: No Content @@ -51359,7 +51462,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *87 - - *139 + - *142 responses: '200': description: Response @@ -51390,7 +51493,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *87 - - *139 + - *142 requestBody: required: true content: @@ -51461,7 +51564,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *87 - - *139 + - *142 responses: '204': description: Response @@ -51541,7 +51644,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *87 - - *139 + - *142 responses: '200': description: Response @@ -51578,7 +51681,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *87 - - *139 + - *142 requestBody: required: true content: @@ -51631,7 +51734,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *87 - - *139 + - *142 responses: '204': description: Response @@ -52056,7 +52159,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '200': description: Response @@ -52091,7 +52194,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -52146,7 +52249,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -52171,7 +52274,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '204': description: Response @@ -52196,7 +52299,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 - *19 - *17 responses: @@ -52214,9 +52317,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52238,7 +52341,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -52289,7 +52392,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -52321,7 +52424,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -52986,7 +53089,7 @@ paths: repository: anyOf: - type: 'null' - - *277 + - *280 created_at: type: string format: date-time @@ -53092,7 +53195,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: 200-response: value: @@ -56001,7 +56104,7 @@ paths: - comments default: created - *110 - - *223 + - *226 - *17 - *19 responses: @@ -56011,7 +56114,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: *390 headers: @@ -56073,7 +56176,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 '422': *15 @@ -56094,7 +56197,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#check-organization-membership-for-a-user parameters: - *87 - - *140 + - *143 responses: '204': description: Response if requester is an organization member and user is @@ -56129,7 +56232,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-an-organization-member parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -56157,7 +56260,7 @@ paths: - *17 - *19 - *87 - - *140 + - *143 responses: '200': description: Response @@ -56201,7 +56304,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *87 - - *140 + - *143 - &393 name: codespace_name in: path @@ -56236,7 +56339,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *87 - - *140 + - *143 - *393 responses: '200': @@ -56419,13 +56522,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *87 - - *140 + - *143 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *143 + schema: *146 examples: default: value: @@ -56495,7 +56598,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#get-organization-membership-for-a-user parameters: - *87 - - *140 + - *143 responses: '200': description: Response @@ -56643,7 +56746,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#set-organization-membership-for-a-user parameters: - *87 - - *140 + - *143 requestBody: required: false content: @@ -56699,7 +56802,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-organization-membership-for-a-user parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -57907,7 +58010,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *87 - - *213 + - *216 responses: '204': description: Response @@ -57933,8 +58036,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *87 - - *213 - - *139 + - *216 + - *142 responses: '204': description: Response @@ -57964,8 +58067,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *87 - - *213 - - *139 + - *216 + - *142 responses: '204': description: Response @@ -57991,7 +58094,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -58017,8 +58120,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *87 - - *140 - - *139 + - *143 + - *142 responses: '204': description: Response @@ -58049,8 +58152,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *87 - - *140 - - *139 + - *143 + - *142 responses: '204': description: Response @@ -58079,7 +58182,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#get-an-organization-role parameters: - *87 - - *139 + - *142 responses: '200': description: Response @@ -58143,7 +58246,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *87 - - *139 + - *142 requestBody: required: true content: @@ -58236,7 +58339,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *87 - - *139 + - *142 responses: '204': description: Response @@ -58262,7 +58365,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *87 - - *139 + - *142 - *17 - *19 responses: @@ -58404,7 +58507,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *87 - - *139 + - *142 - *17 - *19 responses: @@ -58550,7 +58653,7 @@ paths: - type - url examples: - default: *209 + default: *212 headers: Link: *45 '404': @@ -58601,7 +58704,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 x-github: @@ -58627,7 +58730,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *87 - - *140 + - *143 requestBody: required: false content: @@ -58685,7 +58788,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -59611,7 +59714,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: &414 value: @@ -60039,7 +60142,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *414 headers: @@ -60692,7 +60795,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *87 - - *287 + - *290 responses: '200': description: The specified private registry configuration for the organization @@ -60723,7 +60826,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -60912,7 +61015,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *87 - - *287 + - *290 responses: '204': description: Response @@ -61299,7 +61402,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *218 + - *221 - &589 title: Pull Request Simple description: Pull Request Simple @@ -61528,7 +61631,7 @@ paths: - review_comments - review_comment - self - author_association: *215 + author_association: *218 auto_merge: &718 title: Auto merge description: The status of auto merging a pull request. @@ -63812,9 +63915,9 @@ paths: application/json: schema: type: array - items: *153 + items: *156 examples: - default: *154 + default: *157 '403': *27 '404': *6 x-github: @@ -63852,7 +63955,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *153 + items: *156 minItems: 1 maxItems: 100 required: @@ -63882,9 +63985,9 @@ paths: application/json: schema: type: array - items: *153 + items: *156 examples: - default: *154 + default: *157 '403': *27 '404': *6 x-github: @@ -63906,15 +64009,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *87 - - *150 + - *153 responses: '200': description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -63938,7 +64041,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *87 - - *150 + - *153 requestBody: required: true content: @@ -63959,9 +64062,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -63985,7 +64088,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *87 - - *150 + - *153 responses: '204': *126 '403': *27 @@ -64049,7 +64152,7 @@ paths: - octocat/Hello-World properties: type: array - items: *152 + items: *155 description: List of custom property names and associated values required: - repository_id @@ -64118,7 +64221,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *152 + items: *155 required: - repository_names - properties @@ -64171,7 +64274,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 x-github: @@ -64191,7 +64294,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *87 - - *140 + - *143 responses: '204': description: Response if user is a public member @@ -64216,7 +64319,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -64238,7 +64341,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -64309,7 +64412,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *414 headers: @@ -64966,7 +65069,7 @@ paths: license: anyOf: - type: 'null' - - *220 + - *223 organization: anyOf: - type: 'null' @@ -65671,7 +65774,7 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: default: value: @@ -65739,11 +65842,11 @@ paths: - push - repository default: branch - enforcement: *164 + enforcement: *167 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *165 + items: *168 conditions: *434 rules: type: array @@ -65753,9 +65856,6 @@ paths: type: object description: A repository rule. oneOf: - - *166 - - *167 - - *168 - *169 - *170 - *171 @@ -65767,13 +65867,16 @@ paths: - *177 - *178 - *179 - - *183 - - *184 - - *185 - - *186 - *180 - *181 - *182 + - *186 + - *187 + - *188 + - *189 + - *183 + - *184 + - *185 required: - name - enforcement @@ -65811,7 +65914,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: &435 value: @@ -66220,7 +66323,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: *435 '404': *6 @@ -66266,11 +66369,11 @@ paths: - tag - push - repository - enforcement: *164 + enforcement: *167 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *165 + items: *168 conditions: *434 rules: description: An array of rules within the ruleset. @@ -66310,7 +66413,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: *435 '404': *6 @@ -66370,7 +66473,7 @@ paths: application/json: schema: type: array - items: *191 + items: *194 examples: default: *437 '404': *6 @@ -66521,7 +66624,7 @@ paths: headers: Link: *45 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66583,7 +66686,7 @@ paths: schema: type: object properties: - pattern_config_version: *194 + pattern_config_version: *197 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -66609,7 +66712,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *194 + custom_pattern_version: *197 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -66894,7 +66997,7 @@ paths: - patched_versions - vulnerable_functions additionalProperties: false - cvss_severities: *129 + cvss_severities: *132 cwes: type: - array @@ -67432,7 +67535,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - *87 - - *213 + - *216 responses: '204': description: Response @@ -67458,7 +67561,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *87 - - *213 + - *216 responses: '204': description: Response @@ -67646,9 +67749,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67717,7 +67820,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *87 - - *271 + - *274 responses: '204': description: Response @@ -67740,7 +67843,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *87 - - *271 + - *274 responses: '204': description: Response @@ -67781,7 +67884,7 @@ paths: type: integer network_configurations: type: array - items: *145 + items: *148 examples: default: *460 headers: @@ -67860,9 +67963,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *146 + default: *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67883,15 +67986,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *87 - - *147 + - *150 responses: '200': description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *146 + default: *149 headers: Link: *45 x-github: @@ -67913,7 +68016,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *87 - - *147 + - *150 requestBody: required: true content: @@ -67966,9 +68069,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *146 + default: *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67988,7 +68091,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *87 - - *147 + - *150 responses: '204': description: Response @@ -68723,7 +68826,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - *87 - - *213 + - *216 responses: '200': description: Response @@ -68753,7 +68856,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - *87 - - *213 + - *216 requestBody: required: false content: @@ -68851,7 +68954,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - *87 - - *213 + - *216 responses: '204': description: Response @@ -68878,7 +68981,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *87 - - *213 + - *216 responses: '200': description: Response @@ -68907,7 +69010,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *87 - - *213 + - *216 requestBody: required: true content: @@ -68954,7 +69057,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *87 - - *213 + - *216 responses: '204': description: Response @@ -68980,7 +69083,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - *87 - - *213 + - *216 - *17 - *19 responses: @@ -69016,7 +69119,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - *87 - - *213 + - *216 - name: role description: Filters members returned by their role in the team. in: query @@ -69039,7 +69142,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 x-github: @@ -69070,8 +69173,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - *87 - - *213 - - *140 + - *216 + - *143 responses: '200': description: Response @@ -69142,8 +69245,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *87 - - *213 - - *140 + - *216 + - *143 requestBody: required: false content: @@ -69206,8 +69309,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - *87 - - *213 - - *140 + - *216 + - *143 responses: '204': description: Response @@ -69234,7 +69337,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - *87 - - *213 + - *216 - *17 - *19 responses: @@ -69244,7 +69347,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *414 headers: @@ -69276,7 +69379,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *87 - - *213 + - *216 - *472 - *473 responses: @@ -69310,7 +69413,7 @@ paths: license: anyOf: - type: 'null' - - *220 + - *223 forks: type: integer permissions: @@ -69918,7 +70021,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *87 - - *213 + - *216 - *472 - *473 requestBody: @@ -69966,7 +70069,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - *87 - - *213 + - *216 - *472 - *473 responses: @@ -69995,7 +70098,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *87 - - *213 + - *216 responses: '200': description: Response @@ -70027,7 +70130,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *87 - - *213 + - *216 requestBody: required: true content: @@ -70104,7 +70207,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - *87 - - *213 + - *216 - *17 - *19 responses: @@ -72663,7 +72766,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -72787,7 +72890,7 @@ paths: description: Empty response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -72891,7 +72994,7 @@ paths: parameters: - *472 - *473 - - *296 + - *299 - *19 responses: '200': @@ -72989,7 +73092,7 @@ paths: type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 - selected_actions_url: *264 + selected_actions_url: *267 sha_pinning_required: *61 required: - enabled @@ -73154,7 +73257,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: default: value: @@ -73189,7 +73292,7 @@ paths: required: true content: application/json: - schema: *267 + schema: *270 examples: default: summary: Set retention days @@ -73222,7 +73325,7 @@ paths: application/json: schema: *62 examples: - default: *268 + default: *271 '404': *6 x-github: enabledForGitHubApps: true @@ -73283,7 +73386,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: default: *63 '403': *27 @@ -73311,7 +73414,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *273 examples: default: *63 responses: @@ -73409,7 +73512,7 @@ paths: description: Response content: application/json: - schema: *273 + schema: *276 examples: default: *69 x-github: @@ -73444,7 +73547,7 @@ paths: required: true content: application/json: - schema: *274 + schema: *277 examples: default: *69 x-github: @@ -73527,9 +73630,9 @@ paths: application/json: schema: type: array - items: *278 + items: *281 examples: - default: *279 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73595,7 +73698,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *280 + '201': *283 '404': *6 '422': *7 '409': *119 @@ -73635,7 +73738,7 @@ paths: application/json: schema: *79 examples: - default: *281 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73672,7 +73775,7 @@ paths: application/json: schema: *79 examples: - default: *282 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73704,7 +73807,7 @@ paths: application/json: schema: *76 examples: - default: *283 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73884,7 +73987,7 @@ paths: - *473 - *75 responses: - '200': *284 + '200': *287 '404': *6 x-github: githubCloudOnly: false @@ -73914,7 +74017,7 @@ paths: - *472 - *473 - *75 - - *285 + - *288 responses: '200': *81 '404': *6 @@ -74160,7 +74263,7 @@ paths: type: - array - 'null' - items: *221 + items: *224 created_at: type: string format: date-time @@ -74295,8 +74398,8 @@ paths: - timestamp - author - committer - repository: *277 - head_repository: *277 + repository: *280 + head_repository: *280 head_repository_id: type: integer examples: @@ -74993,7 +75096,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -75284,7 +75387,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -75580,7 +75683,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -76125,7 +76228,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -76172,7 +76275,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -76397,9 +76500,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *296 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76423,7 +76526,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '200': description: Response @@ -76459,7 +76562,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 requestBody: required: true content: @@ -76490,7 +76593,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -76518,7 +76621,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '204': description: Response @@ -76545,7 +76648,7 @@ paths: parameters: - *472 - *473 - - *296 + - *299 - *19 responses: '200': @@ -76615,7 +76718,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -76642,7 +76745,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 responses: '200': description: Response @@ -76678,7 +76781,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 requestBody: required: true content: @@ -76722,7 +76825,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 responses: '204': description: Response @@ -77419,7 +77522,7 @@ paths: parameters: - *472 - *473 - - *296 + - *299 - *19 responses: '200': @@ -77516,9 +77619,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *296 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77542,7 +77645,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '200': description: Response @@ -77574,7 +77677,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 requestBody: required: true content: @@ -77605,7 +77708,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -77633,7 +77736,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '204': description: Response @@ -77660,7 +77763,7 @@ paths: parameters: - *472 - *473 - - *296 + - *299 - *19 responses: '200': @@ -77730,7 +77833,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -77757,7 +77860,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 responses: '200': description: Response @@ -77788,7 +77891,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 requestBody: required: true content: @@ -77832,7 +77935,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 responses: '204': description: Response @@ -77866,7 +77969,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 '404': *6 @@ -79018,14 +79121,14 @@ paths: author: oneOf: - *4 - - *288 + - *291 type: - 'null' - object committer: oneOf: - *4 - - *288 + - *291 type: - 'null' - object @@ -81458,7 +81561,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 '404': *6 x-github: githubCloudOnly: false @@ -81517,7 +81620,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -81577,7 +81680,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -81637,7 +81740,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -82546,7 +82649,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *221 + items: *224 deployment: &881 title: Deployment description: A deployment created as the result of an Actions @@ -83334,7 +83437,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -83477,12 +83580,12 @@ paths: type: - array - 'null' - items: *221 + items: *224 app: anyOf: - type: 'null' - *5 - repository: *277 + repository: *280 created_at: type: - string @@ -83895,7 +83998,7 @@ paths: required: - app_id - setting - repository: *277 + repository: *280 examples: default: value: @@ -84343,7 +84446,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -84434,19 +84537,19 @@ paths: items: type: object properties: - number: *127 - created_at: *134 - updated_at: *135 - url: *132 - html_url: *133 + number: *130 + created_at: *137 + updated_at: *138 + url: *135 + html_url: *136 instances_url: *544 state: *113 - fixed_at: *137 + fixed_at: *140 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *136 + dismissed_at: *139 dismissed_reason: *545 dismissed_comment: *546 rule: *547 @@ -84581,7 +84684,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84611,7 +84714,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *127 + schema: *130 responses: '200': description: Response @@ -84620,19 +84723,19 @@ paths: schema: &552 type: object properties: - number: *127 - created_at: *134 - updated_at: *135 - url: *132 - html_url: *133 + number: *130 + created_at: *137 + updated_at: *138 + url: *135 + html_url: *136 instances_url: *544 state: *113 - fixed_at: *137 + fixed_at: *140 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *136 + dismissed_at: *139 dismissed_reason: *545 dismissed_comment: *546 rule: @@ -84795,7 +84898,7 @@ paths: '304': *35 '403': *550 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84942,7 +85045,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -85146,7 +85249,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85250,7 +85353,7 @@ paths: - source '403': *550 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85428,7 +85531,7 @@ paths: warning: '' '403': *550 '404': *6 - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -85537,7 +85640,7 @@ paths: content: application/json: schema: *3 - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -85676,7 +85779,7 @@ paths: '400': *14 '403': *556 '404': *6 - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -85819,7 +85922,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *550 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85895,7 +85998,7 @@ paths: description: Found '403': *550 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85928,7 +86031,7 @@ paths: description: Response '403': *556 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86387,7 +86490,7 @@ paths: content: application/json: schema: *3 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86425,7 +86528,7 @@ paths: examples: default: *570 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86585,7 +86688,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86700,7 +86803,7 @@ paths: schedule: weekly '403': *550 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86789,7 +86892,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -86828,7 +86931,7 @@ paths: content: application/json: schema: *3 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86972,7 +87075,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87043,7 +87146,7 @@ paths: '403': *550 '404': description: Not Found if the sarif id does not match any upload - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87671,7 +87774,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87977,7 +88080,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88092,7 +88195,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '200': description: Response @@ -88122,7 +88225,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 requestBody: required: true content: @@ -88150,7 +88253,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -88176,7 +88279,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '204': description: Response @@ -88438,7 +88541,7 @@ paths: parameters: - *472 - *473 - - *140 + - *143 responses: '204': description: Response if user is a collaborator @@ -88486,7 +88589,7 @@ paths: parameters: - *472 - *473 - - *140 + - *143 requestBody: required: false content: @@ -88524,7 +88627,7 @@ paths: format: int64 examples: - 42 - repository: *277 + repository: *280 invitee: anyOf: - type: 'null' @@ -88700,7 +88803,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *252 + schema: *255 '403': *27 x-github: triggersNotification: true @@ -88742,7 +88845,7 @@ paths: parameters: - *472 - *473 - - *140 + - *143 responses: '204': description: No Content when collaborator was removed from the repository. @@ -88775,7 +88878,7 @@ paths: parameters: - *472 - *473 - - *140 + - *143 responses: '200': description: if user has admin permissions @@ -88901,8 +89004,8 @@ paths: updated_at: type: string format: date-time - author_association: *215 - reactions: *216 + author_association: *218 + reactions: *219 required: - url - html_url @@ -88979,7 +89082,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '200': description: Response @@ -89046,7 +89149,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 requestBody: required: true content: @@ -89121,7 +89224,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '204': description: Response @@ -89144,7 +89247,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 - 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. @@ -89261,7 +89364,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 requestBody: required: true content: @@ -89350,7 +89453,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 - &662 name: reaction_id description: The unique identifier of the reaction. @@ -90442,7 +90545,7 @@ paths: '422': *15 '404': *6 '500': *38 - '503': *192 + '503': *195 '409': *119 x-github: githubCloudOnly: false @@ -90834,7 +90937,7 @@ paths: type: string total_count: type: integer - repository: *277 + repository: *280 commit_url: type: string format: uri @@ -91140,7 +91243,7 @@ paths: license: anyOf: - type: 'null' - - *220 + - *223 contributing: anyOf: - type: 'null' @@ -91616,7 +91719,7 @@ paths: default: *598 '404': *6 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92732,7 +92835,7 @@ paths: '422': *15 '404': *6 '409': *119 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93050,7 +93153,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *127 + number: *130 state: type: string description: The state of the Dependabot alert. @@ -93065,7 +93168,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *128 + package: *131 manifest_path: type: string description: The full path to the dependency manifest file, @@ -93098,12 +93201,12 @@ paths: - inconclusive - security_advisory: *603 - security_vulnerability: *131 - url: *132 - html_url: *133 - created_at: *134 - updated_at: *135 - dismissed_at: *136 + security_vulnerability: *134 + url: *135 + html_url: *136 + created_at: *137 + updated_at: *138 + dismissed_at: *139 dismissed_by: anyOf: - type: 'null' @@ -93127,7 +93230,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *137 + fixed_at: *140 auto_dismissed_at: *604 dismissal_request: *605 assignees: @@ -93395,7 +93498,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *127 + schema: *130 responses: '200': description: Response @@ -93842,7 +93945,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '200': description: Response @@ -93876,7 +93979,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 requestBody: required: true content: @@ -93904,7 +94007,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -93930,7 +94033,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '204': description: Response @@ -94113,7 +94216,7 @@ paths: schema: *3 '400': *14 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: false category: dependency-graph @@ -97321,9 +97424,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *296 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97348,7 +97451,7 @@ paths: - *472 - *473 - *628 - - *287 + - *290 responses: '200': description: Response @@ -97381,7 +97484,7 @@ paths: - *472 - *473 - *628 - - *287 + - *290 requestBody: required: true content: @@ -97412,7 +97515,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -97441,7 +97544,7 @@ paths: - *472 - *473 - *628 - - *287 + - *290 responses: '204': description: Default response @@ -97469,7 +97572,7 @@ paths: - *472 - *473 - *628 - - *296 + - *299 - *19 responses: '200': @@ -97540,7 +97643,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -97568,7 +97671,7 @@ paths: - *472 - *473 - *628 - - *290 + - *293 responses: '200': description: Response @@ -97599,7 +97702,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 - *628 requestBody: required: true @@ -97644,7 +97747,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 - *628 responses: '204': @@ -97678,7 +97781,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: 200-response: value: @@ -97759,7 +97862,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: value: @@ -98013,7 +98116,7 @@ paths: application/json: schema: oneOf: - - *252 + - *255 - *639 x-github: githubCloudOnly: false @@ -101552,7 +101655,7 @@ paths: - comments default: created - *110 - - *223 + - *226 - *17 - *19 responses: @@ -101562,7 +101665,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: &669 value: @@ -101850,7 +101953,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: &666 value: @@ -101988,7 +102091,7 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *192 + '503': *195 '404': *6 '410': *659 x-github: @@ -102020,7 +102123,7 @@ paths: parameters: - *472 - *473 - - *240 + - *243 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -102030,7 +102133,7 @@ paths: enum: - asc - desc - - *223 + - *226 - *17 - *19 responses: @@ -102040,7 +102143,7 @@ paths: application/json: schema: type: array - items: *219 + items: *222 examples: default: &668 value: @@ -102103,13 +102206,13 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '200': description: Response content: application/json: - schema: *219 + schema: *222 examples: default: &660 value: @@ -102169,7 +102272,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 requestBody: required: true content: @@ -102191,7 +102294,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *222 examples: default: *660 '422': *15 @@ -102213,7 +102316,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '204': description: Response @@ -102243,13 +102346,13 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '200': description: Response content: application/json: - schema: *219 + schema: *222 examples: default: value: @@ -102324,7 +102427,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '204': description: Response @@ -102332,7 +102435,7 @@ paths: '403': *27 '404': *6 '410': *659 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102351,7 +102454,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 - 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. @@ -102402,7 +102505,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 requestBody: required: true content: @@ -102467,7 +102570,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 - *662 responses: '204': @@ -102546,7 +102649,7 @@ paths: issue: anyOf: - type: 'null' - - *218 + - *221 label: title: Issue Event Label description: Issue Event Label @@ -102748,7 +102851,7 @@ paths: anyOf: - type: 'null' - *664 - author_association: *215 + author_association: *218 lock_reason: type: - string @@ -103194,7 +103297,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: summary: Issue @@ -103551,13 +103654,13 @@ paths: application/json: schema: allOf: - - *218 + - *221 - type: object properties: {} examples: default: *666 '422': *15 - '503': *192 + '503': *195 '403': *27 '301': *478 '404': *6 @@ -103607,7 +103710,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 x-github: @@ -103652,7 +103755,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 x-github: @@ -103721,7 +103824,7 @@ paths: - *472 - *473 - *667 - - *223 + - *226 - *17 - *19 responses: @@ -103731,7 +103834,7 @@ paths: application/json: schema: type: array - items: *219 + items: *222 examples: default: *668 headers: @@ -103790,7 +103893,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *222 examples: default: *660 headers: @@ -103839,7 +103942,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: *669 headers: @@ -103898,7 +104001,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 headers: @@ -103953,7 +104056,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 '301': *478 @@ -103999,7 +104102,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: *669 headers: @@ -105467,7 +105570,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *192 + '503': *195 x-github: triggersNotification: true githubCloudOnly: false @@ -105574,7 +105677,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *192 + '503': *195 x-github: triggersNotification: true githubCloudOnly: false @@ -105610,7 +105713,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *192 + '503': *195 x-github: triggersNotification: true githubCloudOnly: false @@ -105640,7 +105743,7 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: default: &672 value: @@ -105723,7 +105826,7 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: default: *672 '301': *478 @@ -105807,7 +105910,7 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: default: *672 '301': *478 @@ -105871,7 +105974,7 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: default: value: @@ -105993,7 +106096,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 '301': *478 @@ -106188,7 +106291,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 headers: @@ -106235,7 +106338,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: *669 headers: @@ -106298,7 +106401,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 headers: @@ -106360,13 +106463,13 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 '403': *27 '404': *6 '422': *7 - '503': *192 + '503': *195 x-github: triggersNotification: true githubCloudOnly: false @@ -106461,12 +106564,12 @@ paths: issue_url: type: string format: uri - author_association: *215 + author_association: *218 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *216 + reactions: *219 pin: anyOf: - type: 'null' @@ -106505,7 +106608,7 @@ paths: properties: type: type: string - issue: *218 + issue: *221 required: - event - created_at @@ -106727,7 +106830,7 @@ paths: type: string body_text: type: string - author_association: *215 + author_association: *218 required: - event - id @@ -106858,7 +106961,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *215 + author_association: *218 _links: type: object properties: @@ -106953,7 +107056,7 @@ paths: enum: - line - file - reactions: *216 + reactions: *219 body_html: type: string examples: @@ -107514,7 +107617,7 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: default: *672 headers: @@ -107574,7 +107677,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *220 examples: default: &702 value: @@ -107620,7 +107723,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *220 examples: default: *702 '404': *6 @@ -107679,7 +107782,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *220 examples: default: value: @@ -107893,7 +107996,7 @@ paths: license: anyOf: - type: 'null' - - *220 + - *223 required: - _links - git_url @@ -108428,7 +108531,7 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: default: *672 headers: @@ -108453,7 +108556,7 @@ paths: - *473 - *706 - *707 - - *223 + - *226 - *708 - *17 - *19 @@ -108464,7 +108567,7 @@ paths: application/json: schema: type: array - items: *243 + items: *246 examples: default: *709 headers: @@ -109667,7 +109770,7 @@ paths: description: Empty response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -109786,7 +109889,7 @@ paths: application/json: schema: type: array - items: *152 + items: *155 examples: default: *715 '403': *27 @@ -109823,7 +109926,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *152 + items: *155 required: - properties examples: @@ -110251,7 +110354,7 @@ paths: - review_comments - review_comment - self - author_association: *215 + author_association: *218 auto_merge: *718 draft: description: Indicates whether or not the pull request is a draft. @@ -110879,7 +110982,7 @@ paths: enum: - asc - desc - - *223 + - *226 - *17 - *19 responses: @@ -110970,7 +111073,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '200': description: Response @@ -111055,7 +111158,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 requestBody: required: true content: @@ -111097,7 +111200,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '204': description: Response @@ -111120,7 +111223,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 - 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. @@ -111171,7 +111274,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 requestBody: required: true content: @@ -111236,7 +111339,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 - *662 responses: '204': @@ -111306,7 +111409,7 @@ paths: application/json: schema: *3 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111477,7 +111580,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111506,7 +111609,7 @@ paths: - *472 - *473 - *723 - - *240 + - *243 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -111516,7 +111619,7 @@ paths: enum: - asc - desc - - *223 + - *226 - *17 - *19 responses: @@ -111760,7 +111863,7 @@ paths: - *472 - *473 - *723 - - *232 + - *235 requestBody: required: true content: @@ -111943,7 +112046,7 @@ paths: Link: *45 '422': *15 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113360,7 +113463,7 @@ paths: type: string body_text: type: string - author_association: *215 + author_association: *218 required: - id - node_id @@ -113898,7 +114001,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *215 + author_association: *218 _links: type: object properties: @@ -113913,7 +114016,7 @@ paths: type: string body_html: type: string - reactions: *216 + reactions: *219 side: description: The side of the first line of the range for a multi-line comment. @@ -115454,7 +115557,7 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *166 + - *169 - &738 title: repository ruleset data for rule description: User-defined metadata to store domain-specific @@ -115474,18 +115577,6 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *167 - - *738 - - allOf: - - *168 - - *738 - - allOf: - - *169 - - *738 - - allOf: - - *739 - - *738 - allOf: - *170 - *738 @@ -115495,6 +115586,9 @@ paths: - allOf: - *172 - *738 + - allOf: + - *739 + - *738 - allOf: - *173 - *738 @@ -115537,6 +115631,15 @@ paths: - allOf: - *186 - *738 + - allOf: + - *187 + - *738 + - allOf: + - *188 + - *738 + - allOf: + - *189 + - *738 examples: default: value: @@ -115595,7 +115698,7 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: default: value: @@ -115663,12 +115766,12 @@ paths: - tag - push default: branch - enforcement: *164 + enforcement: *167 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *165 - conditions: *158 + items: *168 + conditions: *161 rules: type: array description: An array of rules within the ruleset. @@ -115703,7 +115806,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: &751 value: @@ -115849,7 +115952,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: *751 '404': *6 @@ -115895,12 +115998,12 @@ paths: - branch - tag - push - enforcement: *164 + enforcement: *167 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *165 - conditions: *158 + items: *168 + conditions: *161 rules: description: An array of rules within the ruleset. type: array @@ -115932,7 +116035,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: *751 '404': *6 @@ -115994,7 +116097,7 @@ paths: application/json: schema: type: array - items: *191 + items: *194 examples: default: *437 '404': *6 @@ -116119,14 +116222,14 @@ paths: items: &757 type: object properties: - number: *127 - created_at: *134 + number: *130 + created_at: *137 updated_at: anyOf: - type: 'null' - - *135 - url: *132 - html_url: *133 + - *138 + url: *135 + html_url: *136 locations_url: type: string format: uri @@ -116376,7 +116479,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116438,7 +116541,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116597,7 +116700,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': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -116735,7 +116838,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116814,7 +116917,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -116843,7 +116946,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *192 + '503': *195 '200': description: Response content: @@ -117922,7 +118025,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *252 + schema: *255 examples: invalid_state_transition: value: @@ -118655,7 +118758,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 x-github: @@ -119498,7 +119601,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -119945,7 +120048,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: value: @@ -122242,7 +122345,7 @@ paths: html_url: type: string format: uri - repository: *277 + repository: *280 score: type: number file_size: @@ -122376,7 +122479,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *192 + '503': *195 '422': *15 '403': *27 x-github: @@ -122540,7 +122643,7 @@ paths: type: string sha: type: string - repository: *277 + repository: *280 score: type: number node_id: @@ -122918,7 +123021,7 @@ paths: type: string score: type: number - author_association: *215 + author_association: *218 draft: type: boolean repository: *78 @@ -122937,8 +123040,8 @@ paths: pinned_comment: anyOf: - type: 'null' - - *219 - reactions: *216 + - *222 + reactions: *219 required: - closed_at - comments @@ -123100,7 +123203,7 @@ paths: - quoted_text items: - "..." - '503': *192 + '503': *195 '422': *15 '304': *35 '403': *27 @@ -123513,7 +123616,7 @@ paths: license: anyOf: - type: 'null' - - *220 + - *223 permissions: type: object properties: @@ -123734,7 +123837,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *192 + '503': *195 '422': *15 '304': *35 x-github: @@ -124207,7 +124310,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *192 + '503': *195 '422': *15 x-github: githubCloudOnly: false @@ -124459,7 +124562,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 '404': *6 @@ -124488,7 +124591,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - *815 - - *140 + - *143 responses: '204': description: if user is a member @@ -124525,7 +124628,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - *815 - - *140 + - *143 responses: '204': description: Response @@ -124565,7 +124668,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - *815 - - *140 + - *143 responses: '204': description: Response @@ -124602,7 +124705,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *815 - - *140 + - *143 responses: '200': description: Response @@ -124644,7 +124747,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *815 - - *140 + - *143 requestBody: required: false content: @@ -124706,7 +124809,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *815 - - *140 + - *143 responses: '204': description: Response @@ -124743,7 +124846,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *414 headers: @@ -125851,7 +125954,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 '304': *35 '404': *6 '403': *27 @@ -125874,7 +125977,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: - - *140 + - *143 responses: '204': description: If the user is blocked @@ -125902,7 +126005,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#block-a-user parameters: - - *140 + - *143 responses: '204': description: Response @@ -125926,7 +126029,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#unblock-a-user parameters: - - *140 + - *143 responses: '204': description: Response @@ -126130,7 +126233,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -126284,7 +126387,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *287 + - *290 responses: '200': description: Response @@ -126320,7 +126423,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *287 + - *290 requestBody: required: true content: @@ -126365,7 +126468,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -126393,7 +126496,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *287 + - *290 responses: '204': description: Response @@ -126418,7 +126521,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *287 + - *290 responses: '200': description: Response @@ -126434,7 +126537,7 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: default: *332 '401': *23 @@ -126461,7 +126564,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *287 + - *290 requestBody: required: true content: @@ -126515,7 +126618,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *287 + - *290 - name: repository_id in: path required: true @@ -126548,7 +126651,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *287 + - *290 - name: repository_id in: path required: true @@ -128170,7 +128273,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 '304': *35 @@ -128203,7 +128306,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 '304': *35 @@ -128225,7 +128328,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: - - *140 + - *143 responses: '204': description: if the person is followed by the authenticated user @@ -128255,7 +128358,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#follow-a-user parameters: - - *140 + - *143 responses: '204': description: Response @@ -128280,7 +128383,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#unfollow-a-user parameters: - - *140 + - *143 responses: '204': description: Response @@ -128844,7 +128947,7 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *272 + default: *275 headers: Link: *45 '404': *6 @@ -128870,7 +128973,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *271 + - *274 responses: '204': description: Response @@ -128896,7 +128999,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *271 + - *274 responses: '204': description: Response @@ -129064,7 +129167,7 @@ paths: - comments default: created - *110 - - *223 + - *226 - *17 - *19 responses: @@ -129074,7 +129177,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: *390 headers: @@ -129379,7 +129482,7 @@ paths: - id - type - login - plan: *234 + plan: *237 required: - billing_cycle - next_billing_date @@ -130551,7 +130654,7 @@ paths: type: array items: *73 examples: - default: *247 + default: *250 headers: Link: *45 '304': *35 @@ -132179,7 +132282,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *414 headers: @@ -132296,7 +132399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *236 + - *239 responses: '200': description: Response @@ -132476,7 +132579,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: example: ; rel="next" @@ -132619,7 +132722,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user parameters: - - *140 + - *143 responses: '200': description: Response @@ -132657,7 +132760,7 @@ paths: - *17 - *108 - *109 - - *140 + - *143 requestBody: required: true content: @@ -132740,7 +132843,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-in-bulk parameters: - - *140 + - *143 requestBody: required: true content: @@ -132805,7 +132908,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *140 + - *143 - name: subject_digest description: Subject Digest in: path @@ -132836,7 +132939,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-by-id parameters: - - *140 + - *143 - name: attestation_id description: Attestation ID in: path @@ -132874,7 +132977,7 @@ paths: - *17 - *108 - *109 - - *140 + - *143 - name: subject_digest description: Subject Digest in: path @@ -132916,7 +133019,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -132944,7 +133047,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: - - *140 + - *143 - name: per_page description: The number of results per page (max 100). in: query @@ -133099,7 +133202,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: - - *140 + - *143 requestBody: required: true content: @@ -133282,7 +133385,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133318,7 +133421,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133445,7 +133548,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133479,7 +133582,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133595,7 +133698,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133702,7 +133805,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133815,7 +133918,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133863,7 +133966,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133921,7 +134024,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134026,7 +134129,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134076,7 +134179,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134144,7 +134247,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134180,7 +134283,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: - - *140 + - *143 responses: '200': description: Response @@ -134213,7 +134316,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *140 + - *143 - *17 - *19 responses: @@ -134223,7 +134326,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: default: value: @@ -134285,7 +134388,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *140 + - *143 - *87 - *17 - *19 @@ -134296,7 +134399,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: default: value: @@ -134373,7 +134476,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-user parameters: - - *140 + - *143 - *17 - *19 responses: @@ -134383,7 +134486,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: default: value: @@ -134441,7 +134544,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-followers-of-a-user parameters: - - *140 + - *143 - *17 - *19 responses: @@ -134453,7 +134556,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 x-github: @@ -134472,7 +134575,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-the-people-a-user-follows parameters: - - *140 + - *143 - *17 - *19 responses: @@ -134484,7 +134587,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 x-github: @@ -134503,7 +134606,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: - - *140 + - *143 - name: target_user in: path required: true @@ -134530,8 +134633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - - *140 - - *223 + - *143 + - *226 - *17 - *19 responses: @@ -134541,9 +134644,9 @@ paths: application/json: schema: type: array - items: *224 + items: *227 examples: - default: *225 + default: *228 headers: Link: *45 '422': *15 @@ -134564,7 +134667,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: - - *140 + - *143 - *17 - *19 responses: @@ -134600,7 +134703,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-contextual-information-for-a-user parameters: - - *140 + - *143 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -134672,7 +134775,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: - - *140 + - *143 responses: '200': description: Response @@ -134698,7 +134801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#list-public-keys-for-a-user parameters: - - *140 + - *143 - *17 - *19 responses: @@ -134754,7 +134857,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *140 + - *143 - *17 - *19 responses: @@ -134766,7 +134869,7 @@ paths: type: array items: *73 examples: - default: *247 + default: *250 headers: Link: *45 x-github: @@ -134806,7 +134909,7 @@ paths: - nuget - container - *835 - - *140 + - *143 - *19 - *17 responses: @@ -134843,7 +134946,7 @@ paths: parameters: - *403 - *404 - - *140 + - *143 responses: '200': description: Response @@ -134874,7 +134977,7 @@ paths: parameters: - *403 - *404 - - *140 + - *143 responses: '204': description: Response @@ -134908,7 +135011,7 @@ paths: parameters: - *403 - *404 - - *140 + - *143 - name: token description: package token schema: @@ -134942,7 +135045,7 @@ paths: parameters: - *403 - *404 - - *140 + - *143 responses: '200': description: Response @@ -135011,7 +135114,7 @@ paths: - *403 - *404 - *406 - - *140 + - *143 responses: '200': description: Response @@ -135054,7 +135157,7 @@ paths: parameters: - *403 - *404 - - *140 + - *143 - *406 responses: '204': @@ -135089,7 +135192,7 @@ paths: parameters: - *403 - *404 - - *140 + - *143 - *406 responses: '204': @@ -135114,7 +135217,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#list-projects-for-user parameters: - - *140 + - *143 - name: q description: Limit results to projects of the specified type. in: query @@ -135156,7 +135259,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - *419 - - *140 + - *143 responses: '200': description: Response @@ -135187,7 +135290,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - *419 - - *140 + - *143 - *17 - *108 - *109 @@ -135221,7 +135324,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - - *140 + - *143 - *419 requestBody: required: true @@ -135334,7 +135437,7 @@ paths: parameters: - *419 - *868 - - *140 + - *143 responses: '200': description: Response @@ -135366,7 +135469,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project parameters: - *419 - - *140 + - *143 - *108 - *109 - *17 @@ -135421,7 +135524,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - - *140 + - *143 - *419 requestBody: required: true @@ -135528,7 +135631,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *419 - - *140 + - *143 - *428 - name: fields description: |- @@ -135573,7 +135676,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - *419 - - *140 + - *143 - *428 requestBody: required: true @@ -135674,7 +135777,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - *419 - - *140 + - *143 - *428 responses: '204': @@ -135698,7 +135801,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view parameters: - *419 - - *140 + - *143 - *870 - name: fields description: |- @@ -135755,7 +135858,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: - - *140 + - *143 - *17 - *19 responses: @@ -135765,7 +135868,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: default: value: @@ -135830,7 +135933,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: - - *140 + - *143 - *17 - *19 responses: @@ -135840,7 +135943,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: default: value: @@ -135903,7 +136006,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repositories-for-a-user parameters: - - *140 + - *143 - name: type description: Limit results to repositories of the specified type. in: query @@ -135946,7 +136049,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *414 headers: @@ -135968,7 +136071,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: - - *140 + - *143 - *17 - *19 responses: @@ -136000,7 +136103,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: - - *140 + - *143 - *17 - *19 responses: @@ -136036,7 +136139,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *140 + - *143 - *872 - *110 - *17 @@ -136072,7 +136175,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *140 + - *143 - *17 - *19 responses: @@ -136082,7 +136185,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *414 headers: @@ -136405,7 +136508,7 @@ webhooks: license: anyOf: - type: 'null' - - *220 + - *223 organization: anyOf: - type: 'null' @@ -138716,8 +138819,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *221 - repository: *277 + items: *224 + repository: *280 status: type: string enum: @@ -138821,7 +138924,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *221 + items: *224 started_at: type: string format: date-time @@ -145186,7 +145289,7 @@ webhooks: type: string enum: - created - definition: *153 + definition: *156 enterprise: *874 installation: *875 organization: *876 @@ -145353,7 +145456,7 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *153 + definition: *156 enterprise: *874 installation: *875 organization: *876 @@ -145433,7 +145536,7 @@ webhooks: type: string enum: - updated - definition: *153 + definition: *156 enterprise: *874 installation: *875 organization: *876 @@ -145521,11 +145624,11 @@ webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *152 + items: *155 old_property_values: type: array description: The old custom property values for the repository. - items: *152 + items: *155 required: - action - repository @@ -163537,11 +163640,11 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *218 + blocked_issue: *221 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *218 + blocking_issue: *221 blocking_issue_repo: *78 installation: *875 organization: *876 @@ -163628,11 +163731,11 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *218 + blocked_issue: *221 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *218 + blocking_issue: *221 blocking_issue_repo: *78 installation: *875 organization: *876 @@ -163718,12 +163821,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *218 + blocked_issue: *221 blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *218 + blocking_issue: *221 installation: *875 organization: *876 repository: *877 @@ -163809,12 +163912,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *218 + blocked_issue: *221 blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *218 + blocking_issue: *221 installation: *875 organization: *876 repository: *877 @@ -164710,7 +164813,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -165732,7 +165835,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -166887,7 +166990,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -167921,7 +168024,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -169078,7 +169181,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -170514,7 +170617,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -171556,7 +171659,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -172567,7 +172670,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -173589,7 +173692,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 user: title: User type: @@ -174994,7 +175097,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 user: title: User type: @@ -175976,7 +176079,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -177013,7 +177116,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -178004,7 +178107,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -179862,7 +179965,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -183251,7 +183354,7 @@ webhooks: type: string enum: - created - definition: *148 + definition: *151 enterprise: *874 sender: *4 required: @@ -183405,7 +183508,7 @@ webhooks: type: string enum: - updated - definition: *148 + definition: *151 enterprise: *874 installation: *875 sender: *4 @@ -183486,11 +183589,11 @@ webhooks: new_property_values: type: array description: The new custom property values. - items: *152 + items: *155 old_property_values: type: array description: The old custom property values. - items: *152 + items: *155 required: - action - organization @@ -253903,7 +254006,7 @@ webhooks: installation: *875 organization: *876 repository: *877 - repository_ruleset: *187 + repository_ruleset: *190 sender: *4 required: - action @@ -253985,7 +254088,7 @@ webhooks: installation: *875 organization: *876 repository: *877 - repository_ruleset: *187 + repository_ruleset: *190 sender: *4 required: - action @@ -254067,7 +254170,7 @@ webhooks: installation: *875 organization: *876 repository: *877 - repository_ruleset: *187 + repository_ruleset: *190 changes: type: object properties: @@ -254086,16 +254189,16 @@ webhooks: properties: added: type: array - items: *158 + items: *161 deleted: type: array - items: *158 + items: *161 updated: type: array items: type: object properties: - condition: *158 + condition: *161 changes: type: object properties: @@ -255245,14 +255348,14 @@ webhooks: alert: &936 type: object properties: - number: *127 - created_at: *134 + number: *130 + created_at: *137 updated_at: anyOf: - type: 'null' - - *135 - url: *132 - html_url: *133 + - *138 + url: *135 + html_url: *136 locations_url: type: string format: uri @@ -256343,7 +256446,7 @@ webhooks: description, and severity. type: object properties: - cvss_severities: *129 + cvss_severities: *132 cwes: type: array items: @@ -256597,7 +256700,7 @@ webhooks: description, and severity. type: object properties: - cvss_severities: *129 + cvss_severities: *132 cwes: type: array items: @@ -258264,12 +258367,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *218 + parent_issue: *221 parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *218 + sub_issue: *221 installation: *875 organization: *876 repository: *877 @@ -258355,12 +258458,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *218 + parent_issue: *221 parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *218 + sub_issue: *221 installation: *875 organization: *876 repository: *877 @@ -258446,12 +258549,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *218 + sub_issue: *221 sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *218 + parent_issue: *221 installation: *875 organization: *876 repository: *877 @@ -258537,12 +258640,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *218 + sub_issue: *221 sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *218 + parent_issue: *221 installation: *875 organization: *876 repository: *877 diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index b388f51e60..3684b635a4 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -53466,6 +53466,364 @@ } } }, + "/enterprises/{enterprise}/copilot/usage-records": { + "get": { + "summary": "Get Copilot usage records for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUse this endpoint to retrieve Copilot agent session activity records for a specific enterprise. The endpoint provides comprehensive observability into Copilot session data across your enterprise.\n\nThe response includes detailed usage records aggregated and forwarded from all Copilot clients where your end users operate under enterprise-paid Copilot licenses. This includes cloud agents operating on github.com and data resident deployments on ghe.com, Copilot CLI, VS Code, Visual Studio, and partner IDEs such as those provided by JetBrains and Eclipse.\n\nOnly EMU (GHEC and GHEC with Data Residency) enterprise owners can access this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-usage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage#get-copilot-usage-records-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "phrase", + "description": "A search phrase to filter usage records. Supported qualifiers: `type` (request/response), `user_id`, `created`.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 25). Values are clamped to the range `[1, 25]`.", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "default": 25 + } + }, + { + "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.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "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.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "order", + "description": "The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`.\n\nThe default is `desc`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "desc", + "asc" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true, + "properties": { + "type": { + "type": "string", + "description": "The record type (request or response)." + }, + "user_id": { + "type": "integer", + "description": "The ID of the user who made the request." + }, + "enterprise_id": { + "type": "integer", + "description": "The ID of the enterprise." + }, + "github_request_id": { + "type": "string", + "description": "The GitHub request ID." + }, + "endpoint": { + "type": "string", + "description": "The API endpoint called." + }, + "body": { + "type": "string", + "description": "The request or response body." + }, + "@timestamp": { + "type": "integer", + "description": "Milliseconds since Unix epoch." + }, + "event_id": { + "type": "string", + "description": "The source-assigned event ID." + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "type": "request", + "user_id": 12345, + "enterprise_id": 1, + "github_request_id": "req-abc-123", + "endpoint": "/chat/completions", + "body": "{\"messages\":[{\"role\":\"user\",\"content\":\"Hello\"}]}", + "@timestamp": 1719600000000 + }, + { + "type": "response", + "user_id": 12345, + "enterprise_id": 1, + "github_request_id": "req-abc-123", + "endpoint": "/chat/completions", + "body": "{\"choices\":[{\"message\":{\"content\":\"Hi there!\"}}]}", + "@timestamp": 1719600000500 + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage" + } + } + }, "/enterprises/{enterprise}/credential-authorizations/revoke-all": { "post": { "summary": "Revoke all credential authorizations for an enterprise", diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index f2b1a197b1..27096e6fa5 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -736,7 +736,7 @@ paths: required: - vector_string - score - cvss_severities: &129 + cvss_severities: &132 type: - object - 'null' @@ -783,7 +783,7 @@ paths: required: - vector_string - score - epss: &130 + epss: &133 type: - object - 'null' @@ -1106,7 +1106,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &253 + schema: &256 title: Validation Error Simple description: Validation Error Simple type: object @@ -4449,7 +4449,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &252 + schema: &255 title: Validation Error description: Validation Error type: object @@ -4860,7 +4860,7 @@ paths: parameters: - *17 - *19 - - &223 + - &226 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) @@ -5715,7 +5715,7 @@ paths: license: anyOf: - type: 'null' - - &220 + - &223 title: License Simple description: License Simple type: object @@ -10729,7 +10729,7 @@ paths: description: Response content: application/json: - schema: &254 + schema: &257 type: object properties: total_active_caches_count: @@ -10744,7 +10744,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &255 + default: &258 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -10959,7 +10959,7 @@ paths: - public_ip_enabled - platform examples: - default: &256 + default: &259 value: total_count: 2 runners: @@ -11263,7 +11263,7 @@ paths: application/json: schema: *47 examples: - default: &257 + default: &260 value: id: 1 platform: linux-x64 @@ -11408,7 +11408,7 @@ paths: application/json: schema: *50 examples: - default: &258 + default: &261 value: version: 1.0.0 size_gb: 75 @@ -11576,7 +11576,7 @@ paths: description: Response content: application/json: - schema: &259 + schema: &262 type: object properties: public_ips: @@ -11603,7 +11603,7 @@ paths: required: - public_ips examples: - default: &260 + default: &263 value: public_ips: current_usage: 17 @@ -11643,7 +11643,7 @@ paths: type: array items: *54 examples: - default: &261 + default: &264 value: id: 4-core cpu_cores: 4 @@ -11961,7 +11961,7 @@ paths: required: true content: application/json: - schema: &262 + schema: &265 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -12072,7 +12072,7 @@ paths: - all - local_only - selected - selected_actions_url: &264 + selected_actions_url: &267 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -12152,7 +12152,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &266 + schema: &269 type: object properties: days: @@ -12198,7 +12198,7 @@ paths: required: true content: application/json: - schema: &267 + schema: &270 type: object properties: days: @@ -12247,7 +12247,7 @@ paths: required: - approval_policy examples: - default: &268 + default: &271 value: approval_policy: first_time_contributors '404': *6 @@ -12305,7 +12305,7 @@ paths: description: Response content: application/json: - schema: &269 + schema: &272 type: object required: - run_workflows_from_fork_pull_requests @@ -12359,7 +12359,7 @@ paths: required: true content: application/json: - schema: &270 + schema: &273 type: object required: - run_workflows_from_fork_pull_requests @@ -12795,7 +12795,7 @@ paths: description: Success response content: application/json: - schema: &273 + schema: &276 type: object properties: default_workflow_permissions: &67 @@ -12843,7 +12843,7 @@ paths: required: true content: application/json: - schema: &274 + schema: &277 type: object properties: default_workflow_permissions: *67 @@ -13699,7 +13699,7 @@ paths: application/json: schema: type: array - items: &278 + items: &281 title: Runner Application description: Runner Application type: object @@ -13724,7 +13724,7 @@ paths: - download_url - filename examples: - default: &279 + default: &282 value: - os: osx architecture: x64 @@ -13808,7 +13808,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &280 + '201': &283 description: Response content: application/json: @@ -13927,7 +13927,7 @@ paths: - token - expires_at examples: - default: &281 + default: &284 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -13967,7 +13967,7 @@ paths: application/json: schema: *79 examples: - default: &282 + default: &285 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13999,7 +13999,7 @@ paths: application/json: schema: *76 examples: - default: &283 + default: &286 value: id: 23 name: MBP @@ -14216,7 +14216,7 @@ paths: - *39 - *75 responses: - '200': &284 + '200': &287 description: Response content: application/json: @@ -14272,7 +14272,7 @@ paths: parameters: - *39 - *75 - - &285 + - &288 name: name description: The name of a self-hosted runner's custom label. in: path @@ -14369,7 +14369,7 @@ paths: required: true content: application/json: - schema: &299 + schema: &302 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -15020,7 +15020,7 @@ paths: required: false schema: type: string - - &302 + - &305 name: include description: |- The event types to include: @@ -15038,7 +15038,7 @@ paths: - web - git - all - - &303 + - &127 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. @@ -15046,7 +15046,7 @@ paths: required: false schema: type: string - - &304 + - &128 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. @@ -15054,7 +15054,7 @@ paths: required: false schema: type: string - - &305 + - &129 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -16429,28 +16429,28 @@ paths: items: &320 type: object properties: - number: &127 + number: &130 type: integer description: The security alert number. readOnly: true - created_at: &134 + created_at: &137 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: &135 + updated_at: &138 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: &132 + url: &135 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &133 + html_url: &136 type: string description: The GitHub URL of the alert resource. format: uri @@ -16471,7 +16471,7 @@ paths: - dismissed - fixed - - fixed_at: &137 + fixed_at: &140 type: - string - 'null' @@ -16483,7 +16483,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &136 + dismissed_at: &139 type: - string - 'null' @@ -17228,7 +17228,7 @@ paths: headers: Link: *45 '404': *6 - '503': &192 + '503': &195 description: Service unavailable content: application/json: @@ -18964,7 +18964,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &143 + items: &146 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -19189,7 +19189,7 @@ paths: - slug - parent - type - - &142 + - &145 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -19321,7 +19321,7 @@ paths: - created_at additionalProperties: false examples: - default: &144 + default: &147 value: total_seats: 2 seats: @@ -20679,6 +20679,109 @@ paths: enabledForGitHubApps: false category: copilot subcategory: copilot-coding-agent-management + "/enterprises/{enterprise}/copilot/usage-records": + get: + summary: Get Copilot usage records for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Use this endpoint to retrieve Copilot agent session activity records for a specific enterprise. The endpoint provides comprehensive observability into Copilot session data across your enterprise. + + The response includes detailed usage records aggregated and forwarded from all Copilot clients where your end users operate under enterprise-paid Copilot licenses. This includes cloud agents operating on github.com and data resident deployments on ghe.com, Copilot CLI, VS Code, Visual Studio, and partner IDEs such as those provided by JetBrains and Eclipse. + + Only EMU (GHEC and GHEC with Data Residency) enterprise owners can access this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-usage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage#get-copilot-usage-records-for-an-enterprise + parameters: + - *39 + - name: phrase + description: 'A search phrase to filter usage records. Supported qualifiers: + `type` (request/response), `user_id`, `created`.' + in: query + required: false + schema: + type: string + - name: per_page + description: The number of results per page (max 25). Values are clamped to + the range `[1, 25]`. + in: query + required: false + schema: + type: integer + default: 25 + - *127 + - *128 + - *129 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + additionalProperties: true + properties: + type: + type: string + description: The record type (request or response). + user_id: + type: integer + description: The ID of the user who made the request. + enterprise_id: + type: integer + description: The ID of the enterprise. + github_request_id: + type: string + description: The GitHub request ID. + endpoint: + type: string + description: The API endpoint called. + body: + type: string + description: The request or response body. + "@timestamp": + type: integer + description: Milliseconds since Unix epoch. + event_id: + type: string + description: The source-assigned event ID. + examples: + default: + value: + - type: request + user_id: 12345 + enterprise_id: 1 + github_request_id: req-abc-123 + endpoint: "/chat/completions" + body: '{"messages":[{"role":"user","content":"Hello"}]}' + "@timestamp": 1719600000000 + - type: response + user_id: 12345 + enterprise_id: 1 + github_request_id: req-abc-123 + endpoint: "/chat/completions" + body: '{"choices":[{"message":{"content":"Hi there!"}}]}' + "@timestamp": 1719600000500 + headers: + Link: *45 + '400': *14 + '422': *15 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage "/enterprises/{enterprise}/credential-authorizations/revoke-all": post: summary: Revoke all credential authorizations for an enterprise @@ -20804,7 +20907,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/credential-authorizations#revoke-credential-authorizations-for-a-user-in-an-enterprise parameters: - *39 - - &140 + - &143 name: username description: The handle for the GitHub user account. in: path @@ -21033,7 +21136,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *127 + number: *130 state: type: string description: The state of the Dependabot alert. @@ -21048,7 +21151,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &128 + package: &131 type: object description: Details for the vulnerable package. readOnly: true @@ -21128,13 +21231,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &131 + items: &134 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *128 + package: *131 severity: type: string description: The severity of the vulnerability. @@ -21209,8 +21312,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *129 - epss: *130 + cvss_severities: *132 + epss: *133 cwes: type: array description: Details for the advisory pertaining to Common @@ -21329,12 +21432,12 @@ paths: - updated_at - withdrawn_at version: '2026-03-10' - security_vulnerability: *131 - url: *132 - html_url: *133 - created_at: *134 - updated_at: *135 - dismissed_at: *136 + security_vulnerability: *134 + url: *135 + html_url: *136 + created_at: *137 + updated_at: *138 + dismissed_at: *139 dismissed_by: anyOf: - type: 'null' @@ -21358,7 +21461,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *137 + fixed_at: *140 auto_dismissed_at: &604 type: - string @@ -22318,7 +22421,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &141 + items: &144 title: Enterprise Role description: Enterprise custom roles type: object @@ -22446,7 +22549,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *39 - - &138 + - &141 name: team_slug description: The slug of the enterprise team name. in: path @@ -22489,8 +22592,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *39 - - *138 - - &139 + - *141 + - &142 name: role_id description: The unique identifier of the role. in: path @@ -22532,8 +22635,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *39 - - *138 - - *139 + - *141 + - *142 responses: '204': description: Response @@ -22567,7 +22670,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user parameters: - *39 - - *140 + - *143 responses: '204': description: Response @@ -22601,8 +22704,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user parameters: - *39 - - *140 - - *139 + - *143 + - *142 responses: '204': description: Response @@ -22635,8 +22738,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment parameters: - *39 - - *140 - - *139 + - *143 + - *142 responses: '204': description: Response @@ -22670,13 +22773,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *39 - - *139 + - *142 responses: '200': description: Response content: application/json: - schema: *141 + schema: *144 examples: default: value: @@ -22730,7 +22833,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#list-teams-that-are-assigned-to-an-enterprise-role parameters: - *39 - - *139 + - *142 - *17 - *19 responses: @@ -22740,9 +22843,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: &207 + default: &210 value: - id: 1 name: Justice League @@ -22781,7 +22884,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#list-users-that-are-assigned-to-an-enterprise-role parameters: - *39 - - *139 + - *142 - *17 - *19 responses: @@ -22814,7 +22917,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *142 + items: *145 examples: default: value: @@ -23047,7 +23150,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *39 - - *140 + - *143 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -23063,9 +23166,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *143 + items: *146 examples: - default: *144 + default: *147 '500': *38 '401': *23 '403': *27 @@ -23108,7 +23211,7 @@ paths: type: integer network_configurations: type: array - items: &145 + items: &148 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -23259,9 +23362,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: &146 + default: &149 value: id: 123456789ABCDEF name: My network configuration @@ -23288,7 +23391,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - &147 + - &150 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -23300,9 +23403,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *146 + default: *149 headers: Link: *45 x-github: @@ -23322,7 +23425,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - *147 + - *150 requestBody: required: true content: @@ -23375,9 +23478,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *146 + default: *149 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23395,7 +23498,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *39 - - *147 + - *150 responses: '204': description: Response @@ -23508,7 +23611,7 @@ paths: application/json: schema: type: array - items: &148 + items: &151 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -23586,7 +23689,7 @@ paths: - property_name - value_type examples: - default: &149 + default: &152 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23646,7 +23749,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *148 + items: *151 minItems: 1 maxItems: 100 required: @@ -23679,9 +23782,9 @@ paths: application/json: schema: type: array - items: *148 + items: *151 examples: - default: *149 + default: *152 '403': *27 '404': *6 '422': *7 @@ -23708,7 +23811,7 @@ paths: 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: - *39 - - &150 + - &153 name: custom_property_name description: The custom property name in: path @@ -23720,9 +23823,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *151 examples: - default: &151 + default: &154 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23759,7 +23862,7 @@ paths: 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: - *39 - - *150 + - *153 requestBody: required: true content: @@ -23837,9 +23940,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *151 examples: - default: *151 + default: *154 '403': *27 '404': *6 '422': *7 @@ -23865,7 +23968,7 @@ paths: 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: - *39 - - *150 + - *153 responses: '204': *126 '403': *27 @@ -23918,7 +24021,7 @@ paths: - Hello-World properties: type: array - items: &152 + items: &155 title: Custom Property Value description: Custom property name and associated value type: object @@ -24004,7 +24107,7 @@ paths: type: array description: List of custom property names and associated values to apply to the organizations. - items: *152 + items: *155 required: - organization_logins - properties @@ -24054,7 +24157,7 @@ paths: application/json: schema: type: array - items: &153 + items: &156 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -24132,7 +24235,7 @@ paths: - property_name - value_type examples: - default: &154 + default: &157 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -24190,7 +24293,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *153 + items: *156 minItems: 1 maxItems: 100 required: @@ -24220,9 +24323,9 @@ paths: application/json: schema: type: array - items: *153 + items: *156 examples: - default: *154 + default: *157 '403': *27 '404': *6 x-github: @@ -24246,15 +24349,15 @@ paths: parameters: - *39 - *87 - - *150 + - *153 responses: '200': description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: &155 + default: &158 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -24287,15 +24390,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *39 - - *150 + - *153 responses: '200': description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -24317,7 +24420,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *39 - - *150 + - *153 requestBody: required: true content: @@ -24397,9 +24500,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -24421,7 +24524,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *39 - - *150 + - *153 responses: '204': *126 '403': *27 @@ -24463,7 +24566,7 @@ paths: - push - repository default: branch - enforcement: &164 + enforcement: &167 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -24476,7 +24579,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &165 + items: &168 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -24520,7 +24623,7 @@ paths: - pull_request - exempt default: always - conditions: &189 + conditions: &192 title: Enterprise ruleset conditions type: object description: |- @@ -24533,7 +24636,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &156 + - &159 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -24559,7 +24662,7 @@ paths: type: string required: - organization_name - - &159 + - &162 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -24588,7 +24691,7 @@ paths: is prevented. required: - repository_name - - &158 + - &161 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -24616,8 +24719,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *156 - - &161 + - *159 + - &164 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -24630,7 +24733,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &157 + items: &160 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -24661,16 +24764,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *157 + items: *160 required: - repository_property - - *158 + - *161 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &160 + - &163 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -24687,22 +24790,22 @@ paths: type: integer required: - organization_id - - *159 - - *158 + - *162 + - *161 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *160 + - *163 + - *164 - *161 - - *158 - type: object title: organization_property_and_repository_name description: Conditions to target organizations by property and all repositories allOf: - - &163 + - &166 title: Repository ruleset conditions for organization properties type: object description: Parameters for a organization property condition @@ -24715,7 +24818,7 @@ paths: description: The organization properties and values to include. All of these properties must match for the condition to pass. - items: &162 + items: &165 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a organization @@ -24739,28 +24842,28 @@ paths: description: The organization properties and values to exclude. The condition will not pass if any of these properties match. - items: *162 + items: *165 required: - organization_property - - *159 - - *158 + - *162 + - *161 - type: object title: organization_property_and_repository_property description: Conditions to target organizations by property and repositories by property allOf: - - *163 + - *166 + - *164 - *161 - - *158 rules: type: array description: An array of rules within the ruleset. - items: &190 + items: &193 title: Repository Rule type: object description: A repository rule. oneOf: - - &166 + - &169 title: creation description: Only allow users with bypass permission to create matching refs. @@ -24772,7 +24875,7 @@ paths: type: string enum: - creation - - &167 + - &170 title: update description: Only allow users with bypass permission to update matching refs. @@ -24793,7 +24896,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &168 + - &171 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -24805,7 +24908,7 @@ paths: type: string enum: - deletion - - &169 + - &172 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -24817,7 +24920,7 @@ paths: type: string enum: - required_linear_history - - &170 + - &173 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -24841,7 +24944,7 @@ paths: type: string required: - required_deployment_environments - - &171 + - &174 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -24853,7 +24956,7 @@ paths: type: string enum: - required_signatures - - &172 + - &175 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. @@ -24956,7 +25059,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &173 + - &176 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -25003,7 +25106,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &174 + - &177 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -25015,7 +25118,7 @@ paths: type: string enum: - non_fast_forward - - &175 + - &178 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -25052,7 +25155,7 @@ paths: required: - operator - pattern - - &176 + - &179 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -25089,7 +25192,7 @@ paths: required: - operator - pattern - - &177 + - &180 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -25126,7 +25229,7 @@ paths: required: - operator - pattern - - &178 + - &181 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -25163,7 +25266,7 @@ paths: required: - operator - pattern - - &179 + - &182 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -25200,7 +25303,7 @@ paths: required: - operator - pattern - - &183 + - &186 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -25224,7 +25327,7 @@ paths: type: string required: - restricted_file_paths - - &184 + - &187 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -25248,7 +25351,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &185 + - &188 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -25271,7 +25374,7 @@ paths: type: string required: - restricted_file_extensions - - &186 + - &189 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -25295,7 +25398,7 @@ paths: maximum: 100 required: - max_file_size - - &180 + - &183 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -25344,7 +25447,7 @@ paths: - repository_id required: - workflows - - &181 + - &184 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -25404,7 +25507,7 @@ paths: - tool required: - code_scanning_tools - - &182 + - &185 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review @@ -25454,7 +25557,7 @@ paths: description: Response content: application/json: - schema: &187 + schema: &190 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -25489,11 +25592,11 @@ paths: source: type: string description: The name of the source - enforcement: *164 + enforcement: *167 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *165 + items: *168 current_user_can_bypass: type: string description: |- @@ -25525,7 +25628,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - *158 + - *161 - &434 title: Organization ruleset conditions type: object @@ -25540,14 +25643,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *158 - - *159 + - *161 + - *162 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *158 + - *161 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -25569,8 +25672,8 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *158 - *161 + - *164 type: - 'null' - object @@ -25581,10 +25684,10 @@ paths: type: object description: A repository rule. oneOf: - - *166 - - *167 - - *168 - *169 + - *170 + - *171 + - *172 - &739 title: merge_queue description: Merges must be performed via a merge queue. @@ -25663,9 +25766,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *170 - - *171 - - *172 - *173 - *174 - *175 @@ -25680,6 +25780,9 @@ paths: - *184 - *185 - *186 + - *187 + - *188 + - *189 created_at: type: string format: date-time @@ -25687,7 +25790,7 @@ paths: type: string format: date-time examples: - default: &188 + default: &191 value: id: 21 name: super cool ruleset @@ -25746,9 +25849,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: - default: *188 + default: *191 '404': *6 '500': *38 x-github: @@ -25792,16 +25895,16 @@ paths: - tag - push - repository - enforcement: *164 + enforcement: *167 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *165 - conditions: *189 + items: *168 + conditions: *192 rules: description: An array of rules within the ruleset. type: array - items: *190 + items: *193 examples: default: value: @@ -25825,9 +25928,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: - default: *188 + default: *191 '404': *6 '500': *38 x-github: @@ -25889,7 +25992,7 @@ paths: application/json: schema: type: array - items: &191 + items: &194 title: Ruleset version type: object description: The historical version of a ruleset @@ -25968,7 +26071,7 @@ paths: application/json: schema: &438 allOf: - - *191 + - *194 - type: object required: - state @@ -26176,14 +26279,14 @@ paths: items: &452 type: object properties: - number: *127 - created_at: *134 + number: *130 + created_at: *137 updated_at: anyOf: - type: 'null' - - *135 - url: *132 - html_url: *133 + - *138 + url: *135 + html_url: *136 locations_url: type: string format: uri @@ -26870,7 +26973,7 @@ paths: headers: Link: *45 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -26907,7 +27010,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &194 + pattern_config_version: &197 type: - string - 'null' @@ -26917,7 +27020,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &193 + items: &196 type: object properties: token_type: @@ -26986,7 +27089,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *193 + items: *196 examples: default: &455 value: @@ -27043,7 +27146,7 @@ paths: schema: type: object properties: - pattern_config_version: *194 + pattern_config_version: *197 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -27069,7 +27172,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *194 + custom_pattern_version: *197 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -27249,7 +27352,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-enterprise parameters: - *39 - - &198 + - &201 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, @@ -27258,7 +27361,7 @@ paths: required: false schema: type: integer - - &199 + - &202 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 @@ -27267,7 +27370,7 @@ paths: required: false schema: type: integer - - &200 + - &203 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 @@ -27276,7 +27379,7 @@ paths: required: false schema: type: integer - - &201 + - &204 name: organization description: The organization name to query usage for. The name is not case sensitive. @@ -27284,21 +27387,21 @@ paths: required: false schema: type: string - - &202 + - &205 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &203 + - &206 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &204 + - &207 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -27437,7 +27540,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27959,7 +28062,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-a-budget-by-id parameters: - *39 - - &195 + - &198 name: budget_id description: The ID corresponding to the budget. in: path @@ -28071,7 +28174,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28353,7 +28456,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#delete-a-budget parameters: - *39 - - *195 + - *198 responses: '200': description: Response when deleting a budget @@ -28380,7 +28483,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28399,7 +28502,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-user-states-for-a-multi-user-budget parameters: - *39 - - *195 + - *198 - name: page description: The page number of results to fetch. in: query @@ -28494,7 +28597,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28598,7 +28701,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28734,7 +28837,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#get-a-cost-center-by-id parameters: - *39 - - &197 + - &200 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -28792,7 +28895,7 @@ paths: - name - resources examples: - default: &196 + default: &199 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -28806,7 +28909,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28901,13 +29004,13 @@ paths: - name - resources examples: - default: *196 + default: *199 '400': *14 '403': *27 '404': *6 '409': *119 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28925,7 +29028,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#delete-a-cost-center parameters: - *39 - - *197 + - *200 responses: '200': description: Response when deleting a cost center @@ -28964,7 +29067,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28985,7 +29088,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - *39 - - *197 + - *200 requestBody: required: true content: @@ -29066,7 +29169,7 @@ paths: '403': *27 '409': *119 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29086,7 +29189,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - *39 - - *197 + - *200 requestBody: required: true content: @@ -29138,7 +29241,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29159,13 +29262,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *39 - - *198 - - *199 - - *200 - *201 - *202 - *203 - *204 + - *205 + - *206 + - *207 - 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. @@ -29298,7 +29401,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29328,7 +29431,7 @@ paths: usage_report_exports: type: array description: List of usage report exports - items: &205 + items: &208 type: object properties: id: @@ -29426,7 +29529,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29492,9 +29595,9 @@ paths: description: Report export request accepted content: application/json: - schema: *205 + schema: *208 examples: - usage-report-export: &206 + usage-report-export: &209 value: id: a1b2c3d4-e5f6-7890-abcd-ef1234567890 report_type: detailed @@ -29510,7 +29613,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29541,14 +29644,14 @@ paths: description: Usage report export details content: application/json: - schema: *205 + schema: *208 examples: - usage-report-export: *206 + usage-report-export: *209 '401': *23 '403': *27 '404': *6 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29569,7 +29672,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - *39 - - *198 + - *201 - 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 @@ -29578,7 +29681,7 @@ paths: required: false schema: type: integer - - *200 + - *203 - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -29661,7 +29764,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29682,17 +29785,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - *39 - - *198 - - *199 - - *200 - *201 + - *202 + - *203 + - *204 - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *204 + - *207 - name: sku description: The SKU to query for usage. in: query @@ -29825,7 +29928,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29852,9 +29955,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: *207 + default: *210 headers: Link: *45 '403': *27 @@ -29943,9 +30046,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *145 examples: - default: &212 + default: &215 value: id: 1 name: Justice League @@ -29974,7 +30077,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *39 - - &208 + - &211 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -29993,7 +30096,7 @@ paths: type: array items: *4 examples: - default: &209 + default: &212 value: - login: octocat id: 1 @@ -30032,7 +30135,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *39 - - *208 + - *211 requestBody: required: true content: @@ -30063,7 +30166,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30081,7 +30184,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *39 - - *208 + - *211 requestBody: required: true content: @@ -30112,7 +30215,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30130,8 +30233,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *39 - - *208 - - *140 + - *211 + - *143 responses: '200': description: User is a member of the enterprise team. @@ -30139,7 +30242,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &210 + exampleKey1: &213 value: login: octocat id: 1 @@ -30175,8 +30278,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *39 - - *208 - - *140 + - *211 + - *143 responses: '201': description: Successfully added team member @@ -30184,7 +30287,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *210 + exampleKey1: *213 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30202,8 +30305,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *39 - - *208 - - *140 + - *211 + - *143 responses: '204': description: Response @@ -30225,7 +30328,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *39 - - *208 + - *211 - *17 - *19 responses: @@ -30237,7 +30340,7 @@ paths: type: array items: *73 examples: - default: &211 + default: &214 value: login: github id: 1 @@ -30268,7 +30371,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *39 - - *208 + - *211 requestBody: required: true content: @@ -30298,7 +30401,7 @@ paths: type: array items: *73 examples: - default: &247 + default: &250 value: - login: github id: 1 @@ -30329,7 +30432,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *39 - - *208 + - *211 requestBody: required: true content: @@ -30370,7 +30473,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *39 - - *208 + - *211 - *87 responses: '200': @@ -30379,7 +30482,7 @@ paths: application/json: schema: *73 examples: - default: *211 + default: *214 '404': description: The team is not assigned to the organization x-github: @@ -30398,7 +30501,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *39 - - *208 + - *211 - *87 responses: '201': @@ -30407,7 +30510,7 @@ paths: application/json: schema: *73 examples: - default: *211 + default: *214 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30424,7 +30527,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *39 - - *208 + - *211 - *87 responses: '204': @@ -30449,7 +30552,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *39 - - &213 + - &216 name: team_slug description: The slug of the team name. in: path @@ -30461,9 +30564,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *145 examples: - default: *212 + default: *215 headers: Link: *45 '403': *27 @@ -30483,7 +30586,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *39 - - *213 + - *216 requestBody: required: true content: @@ -30551,9 +30654,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *145 examples: - default: *212 + default: *215 headers: Link: *45 '403': *27 @@ -30576,7 +30679,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *39 - - *213 + - *216 responses: '204': description: Response @@ -30675,7 +30778,7 @@ paths: application/json: schema: type: array - items: &242 + items: &245 title: Event description: Event type: object @@ -30686,7 +30789,7 @@ paths: type: - string - 'null' - actor: &214 + actor: &217 title: Actor description: Actor type: object @@ -30727,7 +30830,7 @@ paths: - id - name - url - org: *214 + org: *217 payload: oneOf: - title: CreateEvent @@ -31071,7 +31174,7 @@ paths: - id labels: type: array - items: &217 + items: &220 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -31154,7 +31257,7 @@ paths: properties: action: type: string - issue: &218 + issue: &221 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -31508,7 +31611,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &215 + author_association: &218 title: author_association type: string description: How the author is associated with the @@ -31524,7 +31627,7 @@ paths: - OWNER examples: - OWNER - reactions: &216 + reactions: &219 title: Reaction Rollup type: object properties: @@ -31584,7 +31687,7 @@ paths: pinned_comment: anyOf: - type: 'null' - - &219 + - &222 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -31635,12 +31738,12 @@ paths: issue_url: type: string format: uri - author_association: *215 + author_association: *218 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *216 + reactions: *219 pin: anyOf: - type: 'null' @@ -31888,10 +31991,10 @@ paths: assignees: type: array items: *4 - label: *217 + label: *220 labels: type: array - items: *217 + items: *220 required: - action - issue @@ -31900,8 +32003,8 @@ paths: properties: action: type: string - issue: *218 - comment: *219 + issue: *221 + comment: *222 required: - action - issue @@ -32080,7 +32183,7 @@ paths: license: anyOf: - type: 'null' - - *220 + - *223 allow_forking: type: boolean is_template: @@ -32171,7 +32274,7 @@ paths: type: string number: type: integer - pull_request: &221 + pull_request: &224 title: Pull Request Minimal type: object properties: @@ -32242,10 +32345,10 @@ paths: assignees: type: array items: *4 - label: *217 + label: *220 labels: type: array - items: *217 + items: *220 required: - action - number @@ -32255,7 +32358,7 @@ paths: properties: action: type: string - pull_request: *221 + pull_request: *224 comment: type: object properties: @@ -32509,7 +32612,7 @@ paths: - pull_request updated_at: type: string - pull_request: *221 + pull_request: *224 required: - action - review @@ -32558,7 +32661,7 @@ paths: updated_at: type: string format: date-time - reactions: *216 + reactions: *219 required: - action - comment @@ -32726,7 +32829,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *216 + reactions: *219 required: - assets_url - upload_url @@ -32819,7 +32922,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32909,7 +33012,7 @@ paths: _links: type: object properties: - timeline: &222 + timeline: &225 title: Link With Type description: Hypermedia Link with Type type: object @@ -32921,17 +33024,17 @@ paths: required: - href - type - user: *222 - security_advisories: *222 - current_user: *222 - current_user_public: *222 - current_user_actor: *222 - current_user_organization: *222 + user: *225 + security_advisories: *225 + current_user: *225 + current_user_public: *225 + current_user_actor: *225 + current_user_organization: *225 current_user_organizations: type: array - items: *222 - repository_discussions: *222 - repository_discussions_category: *222 + items: *225 + repository_discussions: *225 + repository_discussions_category: *225 required: - timeline - user @@ -32993,7 +33096,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *223 + - *226 - *17 - *19 responses: @@ -33003,7 +33106,7 @@ paths: application/json: schema: type: array - items: &224 + items: &227 title: Base Gist description: Base Gist type: object @@ -33129,7 +33232,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &225 + default: &228 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -33253,7 +33356,7 @@ paths: description: Response content: application/json: - schema: &226 + schema: &229 title: Gist Simple description: Gist Simple type: object @@ -33653,7 +33756,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &227 + default: &230 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -33757,7 +33860,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *223 + - *226 - *17 - *19 responses: @@ -33767,9 +33870,9 @@ paths: application/json: schema: type: array - items: *224 + items: *227 examples: - default: *225 + default: *228 headers: Link: *45 '422': *15 @@ -33791,7 +33894,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *223 + - *226 - *17 - *19 responses: @@ -33801,9 +33904,9 @@ paths: application/json: schema: type: array - items: *224 + items: *227 examples: - default: *225 + default: *228 headers: Link: *45 '401': *23 @@ -33830,7 +33933,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &228 + - &231 name: gist_id description: The unique identifier of the gist. in: path @@ -33842,10 +33945,10 @@ paths: description: Response content: application/json: - schema: *226 + schema: *229 examples: - default: *227 - '403': &231 + default: *230 + '403': &234 description: Forbidden Gist content: application/json: @@ -33893,7 +33996,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *228 + - *231 requestBody: required: true content: @@ -33957,9 +34060,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *229 examples: - updateGist: *227 + updateGist: *230 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -34117,7 +34220,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *228 + - *231 responses: '204': description: Response @@ -34145,7 +34248,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *228 + - *231 - *17 - *19 responses: @@ -34155,7 +34258,7 @@ paths: application/json: schema: type: array - items: &229 + items: &232 title: Gist Comment description: A comment made to a gist. type: object @@ -34193,7 +34296,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *215 + author_association: *218 required: - url - id @@ -34257,7 +34360,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *228 + - *231 requestBody: required: true content: @@ -34283,9 +34386,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: &230 + default: &233 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -34342,8 +34445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *228 - - &232 + - *231 + - &235 name: comment_id description: The unique identifier of the comment. in: path @@ -34356,12 +34459,12 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 + default: *233 '304': *35 '404': *6 - '403': *231 + '403': *234 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34382,8 +34485,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *228 - - *232 + - *231 + - *235 requestBody: required: true content: @@ -34409,9 +34512,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 + default: *233 '404': *6 x-github: githubCloudOnly: false @@ -34428,8 +34531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *228 - - *232 + - *231 + - *235 responses: '204': description: Response @@ -34452,7 +34555,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *228 + - *231 - *17 - *19 responses: @@ -34553,7 +34656,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *228 + - *231 - *17 - *19 responses: @@ -34563,7 +34666,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: default: value: @@ -34628,13 +34731,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *228 + - *231 responses: '201': description: Response content: application/json: - schema: *224 + schema: *227 examples: default: value: @@ -34711,7 +34814,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *228 + - *231 responses: '204': description: Response if gist is starred @@ -34741,7 +34844,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *228 + - *231 responses: '204': description: Response @@ -34763,7 +34866,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *228 + - *231 responses: '204': description: Response @@ -34791,7 +34894,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *228 + - *231 - name: sha in: path required: true @@ -34802,9 +34905,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *229 examples: - default: *227 + default: *230 '422': *15 '404': *6 '403': *27 @@ -35206,7 +35309,7 @@ paths: - comments default: created - *110 - - *223 + - *226 - name: collab in: query required: false @@ -35236,7 +35339,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: &390 value: @@ -35518,7 +35621,7 @@ paths: application/json: schema: type: array - items: *220 + items: *223 examples: default: value: @@ -35816,7 +35919,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &233 + X-CommonMarker-Version: &236 example: 0.17.4 schema: type: string @@ -35871,7 +35974,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *233 + X-CommonMarker-Version: *236 content: text/html: schema: @@ -35900,7 +36003,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: - - &236 + - &239 name: account_id description: account_id parameter in: path @@ -35912,7 +36015,7 @@ paths: description: Response content: application/json: - schema: &235 + schema: &238 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -35946,7 +36049,7 @@ paths: - 'null' id: type: integer - plan: &234 + plan: &237 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -36049,7 +36152,7 @@ paths: - 'null' updated_at: type: string - plan: *234 + plan: *237 required: - url - id @@ -36057,7 +36160,7 @@ paths: - login - marketplace_purchase examples: - default: &237 + default: &240 value: url: https://api.github.com/orgs/github type: Organization @@ -36142,9 +36245,9 @@ paths: application/json: schema: type: array - items: *234 + items: *237 examples: - default: &238 + default: &241 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -36184,14 +36287,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &239 + - &242 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &240 + - &243 name: sort description: The property to sort the results by. in: query @@ -36221,9 +36324,9 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: - default: &241 + default: &244 value: - url: https://api.github.com/orgs/github type: Organization @@ -36297,15 +36400,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: - - *236 + - *239 responses: '200': description: Response content: application/json: - schema: *235 + schema: *238 examples: - default: *237 + default: *240 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -36337,9 +36440,9 @@ paths: application/json: schema: type: array - items: *234 + items: *237 examples: - default: *238 + default: *241 headers: Link: *45 '401': *23 @@ -36362,8 +36465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *239 - - *240 + - *242 + - *243 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -36383,9 +36486,9 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: - default: *241 + default: *244 headers: Link: *45 '401': *23 @@ -36674,7 +36777,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: default: value: @@ -36758,7 +36861,7 @@ paths: schema: type: boolean default: false - - *223 + - *226 - &708 name: before description: 'Only show notifications updated before the given time. This @@ -36784,14 +36887,14 @@ paths: application/json: schema: type: array - items: &243 + items: &246 title: Thread description: Thread type: object properties: id: type: string - repository: &277 + repository: &280 title: Minimal Repository description: Minimal Repository type: object @@ -37532,7 +37635,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &244 + - &247 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 @@ -37546,7 +37649,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *246 examples: default: value: @@ -37649,7 +37752,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *244 + - *247 responses: '205': description: Reset Content @@ -37672,7 +37775,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *244 + - *247 responses: '204': description: No content @@ -37695,13 +37798,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: - - *244 + - *247 responses: '200': description: Response content: application/json: - schema: &245 + schema: &248 title: Thread Subscription description: Thread Subscription type: object @@ -37745,7 +37848,7 @@ paths: - url - subscribed examples: - default: &246 + default: &249 value: subscribed: true ignored: false @@ -37776,7 +37879,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *244 + - *247 requestBody: required: false content: @@ -37797,9 +37900,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *248 examples: - default: *246 + default: *249 '304': *35 '403': *27 '401': *23 @@ -37822,7 +37925,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *244 + - *247 responses: '204': description: Response @@ -37919,7 +38022,7 @@ paths: type: array items: *73 examples: - default: *247 + default: *250 headers: Link: example: ; rel="next" @@ -38086,7 +38189,7 @@ paths: description: Response content: application/json: - schema: &248 + schema: &251 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -38125,7 +38228,7 @@ paths: required: true content: application/json: - schema: *248 + schema: *251 examples: selected_actions: *42 responses: @@ -38160,7 +38263,7 @@ paths: description: Response content: application/json: - schema: &249 + schema: &252 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -38199,7 +38302,7 @@ paths: required: true content: application/json: - schema: *249 + schema: *252 examples: selected_actions: *44 responses: @@ -38240,7 +38343,7 @@ paths: application/json: schema: type: array - items: *152 + items: *155 examples: default: &715 value: @@ -38288,7 +38391,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *152 + items: *155 required: - properties examples: @@ -38339,7 +38442,7 @@ paths: description: Response content: application/json: - schema: &250 + schema: &253 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -38755,7 +38858,7 @@ paths: path: "/properties/secret_scanning_push_protection_custom_link_enabled" version: '2026-03-10' examples: - default-response: &251 + default-response: &254 value: login: github id: 1 @@ -39087,17 +39190,17 @@ paths: description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: *251 + default: *254 '422': description: Validation failed content: application/json: schema: oneOf: - - *252 - - *253 + - *255 + - *256 '409': *119 x-github: githubCloudOnly: false @@ -39168,9 +39271,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *257 examples: - default: *255 + default: *258 headers: Link: *45 x-github: @@ -39289,7 +39392,7 @@ paths: type: array items: *46 examples: - default: *256 + default: *259 headers: Link: *45 x-github: @@ -39456,7 +39559,7 @@ paths: application/json: schema: *47 examples: - default: *257 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39548,7 +39651,7 @@ paths: application/json: schema: *50 examples: - default: *258 + default: *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39667,9 +39770,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *262 examples: - default: *260 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39705,7 +39808,7 @@ paths: type: array items: *54 examples: - default: *261 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39949,7 +40052,7 @@ paths: required: true content: application/json: - schema: *262 + schema: *265 examples: default: *58 responses: @@ -40042,7 +40145,7 @@ paths: required: - include_claim_keys examples: - default: &263 + default: &266 value: include_claim_keys: - repo @@ -40087,13 +40190,13 @@ paths: format. type: boolean examples: - default: *263 + default: *266 responses: '201': description: Empty response content: application/json: - schema: &288 + schema: &291 title: Empty Object description: An object without any properties. type: object @@ -40132,7 +40235,7 @@ paths: schema: type: object properties: - enabled_repositories: &265 + enabled_repositories: &268 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -40146,7 +40249,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *60 - selected_actions_url: *264 + selected_actions_url: *267 sha_pinning_required: *61 required: - enabled_repositories @@ -40188,7 +40291,7 @@ paths: schema: type: object properties: - enabled_repositories: *265 + enabled_repositories: *268 allowed_actions: *60 sha_pinning_required: *61 required: @@ -40224,7 +40327,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: response: summary: Example response @@ -40255,7 +40358,7 @@ paths: required: true content: application/json: - schema: *267 + schema: *270 examples: application/json: value: @@ -40293,7 +40396,7 @@ paths: application/json: schema: *62 examples: - default: *268 + default: *271 '404': *6 x-github: enabledForGitHubApps: true @@ -40350,7 +40453,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: default: *63 '403': *27 @@ -40375,7 +40478,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *273 examples: default: *63 responses: @@ -40427,7 +40530,7 @@ paths: type: array items: *78 examples: - default: &272 + default: &275 value: total_count: 1 repositories: @@ -40612,7 +40715,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *87 - - &271 + - &274 name: repository_id description: The unique identifier of the repository. in: path @@ -40641,7 +40744,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *87 - - *271 + - *274 responses: '204': description: Response @@ -40837,7 +40940,7 @@ paths: type: array items: *78 examples: - default: *272 + default: *275 '403': *27 '404': *6 x-github: @@ -40906,7 +41009,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *87 - - *271 + - *274 responses: '204': description: No content @@ -40933,7 +41036,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *87 - - *271 + - *274 responses: '204': description: No content @@ -40967,7 +41070,7 @@ paths: description: Response content: application/json: - schema: *273 + schema: *276 examples: default: *69 x-github: @@ -41001,7 +41104,7 @@ paths: required: false content: application/json: - schema: *274 + schema: *277 examples: default: *69 x-github: @@ -41048,7 +41151,7 @@ paths: type: number runner_groups: type: array - items: &275 + items: &278 type: object properties: id: @@ -41238,9 +41341,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *278 examples: - default: &276 + default: &279 value: id: 2 name: octo-runner-group @@ -41282,7 +41385,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *278 examples: default: value: @@ -41375,9 +41478,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *278 examples: - default: *276 + default: *279 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -41441,7 +41544,7 @@ paths: type: array items: *46 examples: - default: *256 + default: *259 headers: Link: *45 x-github: @@ -41482,7 +41585,7 @@ paths: type: number repositories: type: array - items: *277 + items: *280 examples: default: &332 value: @@ -41783,7 +41886,7 @@ paths: parameters: - *87 - *72 - - *271 + - *274 responses: '204': description: Response @@ -41807,7 +41910,7 @@ paths: parameters: - *87 - *72 - - *271 + - *274 responses: '204': description: Response @@ -42025,9 +42128,9 @@ paths: application/json: schema: type: array - items: *278 + items: *281 examples: - default: *279 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42092,7 +42195,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *280 + '201': *283 '404': *6 '422': *7 '409': *119 @@ -42131,7 +42234,7 @@ paths: application/json: schema: *79 examples: - default: *281 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42167,7 +42270,7 @@ paths: application/json: schema: *79 examples: - default: *282 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42198,7 +42301,7 @@ paths: application/json: schema: *76 examples: - default: *283 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42373,7 +42476,7 @@ paths: - *87 - *75 responses: - '200': *284 + '200': *287 '404': *6 x-github: githubCloudOnly: false @@ -42402,7 +42505,7 @@ paths: parameters: - *87 - *75 - - *285 + - *288 responses: '200': *81 '404': *6 @@ -42447,7 +42550,7 @@ paths: type: integer secrets: type: array - items: &286 + items: &289 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -42481,7 +42584,7 @@ paths: - updated_at - visibility examples: - default: &292 + default: &295 value: total_count: 3 secrets: @@ -42528,7 +42631,7 @@ paths: description: Response content: application/json: - schema: &293 + schema: &296 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -42563,7 +42666,7 @@ paths: - key_id - key examples: - default: &294 + default: &297 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42589,7 +42692,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - *87 - - &287 + - &290 name: secret_name description: The name of the secret. in: path @@ -42601,9 +42704,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *289 examples: - default: &295 + default: &298 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -42632,7 +42735,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -42689,7 +42792,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -42716,7 +42819,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '204': description: Response @@ -42743,7 +42846,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 - *19 - *17 responses: @@ -42761,9 +42864,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: &291 + default: &294 value: total_count: 1 repositories: @@ -42856,7 +42959,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -42909,7 +43012,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -42943,7 +43046,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -42976,7 +43079,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - *87 - - &296 + - &299 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)." @@ -43000,7 +43103,7 @@ paths: type: integer variables: type: array - items: &289 + items: &292 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -43048,7 +43151,7 @@ paths: - updated_at - visibility examples: - default: &297 + default: &300 value: total_count: 3 variables: @@ -43138,7 +43241,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -43164,7 +43267,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - *87 - - &290 + - &293 name: name description: The name of the variable. in: path @@ -43176,9 +43279,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *292 examples: - default: &298 + default: &301 value: name: USERNAME value: octocat @@ -43207,7 +43310,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - *87 - - *290 + - *293 requestBody: required: true content: @@ -43270,7 +43373,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - *87 - - *290 + - *293 responses: '204': description: Response @@ -43297,7 +43400,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *87 - - *290 + - *293 - *19 - *17 responses: @@ -43315,9 +43418,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 '409': description: Response when the visibility of the variable is not set to `selected` @@ -43344,7 +43447,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *87 - - *290 + - *293 requestBody: required: true content: @@ -43394,7 +43497,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *87 - - *290 + - *293 - name: repository_id in: path required: true @@ -43429,7 +43532,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *87 - - *290 + - *293 - name: repository_id in: path required: true @@ -43481,9 +43584,9 @@ paths: type: integer secrets: type: array - items: *286 + items: *289 examples: - default: *292 + default: *295 headers: Link: *45 x-github: @@ -43514,9 +43617,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *296 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43539,15 +43642,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '200': description: Response content: application/json: - schema: *286 + schema: *289 examples: - default: *295 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43570,7 +43673,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -43627,7 +43730,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -43654,7 +43757,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '204': description: Response @@ -43681,7 +43784,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 - *19 - *17 responses: @@ -43699,9 +43802,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43725,7 +43828,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -43778,7 +43881,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -43812,7 +43915,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -43846,7 +43949,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *87 - - *296 + - *299 - *19 responses: '200': @@ -43863,9 +43966,9 @@ paths: type: integer variables: type: array - items: *289 + items: *292 examples: - default: *297 + default: *300 headers: Link: *45 x-github: @@ -43936,7 +44039,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -43962,15 +44065,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *87 - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *289 + schema: *292 examples: - default: *298 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43992,7 +44095,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *87 - - *290 + - *293 requestBody: required: true content: @@ -44055,7 +44158,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *87 - - *290 + - *293 responses: '204': description: Response @@ -44082,7 +44185,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *87 - - *290 + - *293 - *19 - *17 responses: @@ -44100,9 +44203,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 '409': description: Response when the visibility of the variable is not set to `selected` @@ -44129,7 +44232,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *87 - - *290 + - *293 requestBody: required: true content: @@ -44179,7 +44282,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *87 - - *290 + - *293 - name: repository_id in: path required: true @@ -44214,7 +44317,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *87 - - *290 + - *293 - name: repository_id in: path required: true @@ -44272,7 +44375,7 @@ paths: required: true content: application/json: - schema: *299 + schema: *302 examples: default: *85 parameters: @@ -44459,7 +44562,7 @@ paths: type: integer deployment_records: type: array - items: &300 + items: &303 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -44506,7 +44609,7 @@ paths: required: - total_count examples: - default: &301 + default: &304 value: total_count: 1 deployment_records: @@ -44688,11 +44791,11 @@ paths: type: integer deployment_records: type: array - items: *300 + items: *303 required: - total_count examples: - default: *301 + default: *304 '403': description: Forbidden content: @@ -44944,9 +45047,9 @@ paths: - 3 deployment_records: type: array - items: *300 + items: *303 examples: - default: *301 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45646,10 +45749,10 @@ paths: required: false schema: type: string - - *302 - - *303 - - *304 - *305 + - *127 + - *128 + - *129 - *17 responses: '200': @@ -45689,7 +45792,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45709,7 +45812,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *87 - - *140 + - *143 responses: '204': description: If the user is blocked @@ -45735,7 +45838,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#block-a-user-from-an-organization parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -45756,7 +45859,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -46045,7 +46148,7 @@ paths: headers: Link: *45 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46221,7 +46324,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46264,7 +46367,7 @@ paths: content: application/json: schema: *3 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46359,7 +46462,7 @@ paths: content: application/json: schema: *3 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46391,7 +46494,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46474,7 +46577,7 @@ paths: headers: Link: *45 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47539,7 +47642,7 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *277 + repository: *280 machine: anyOf: - type: 'null' @@ -48592,7 +48695,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '200': description: Response @@ -48628,7 +48731,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -48683,7 +48786,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -48710,7 +48813,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '204': description: Response @@ -48736,7 +48839,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 - *19 - *17 responses: @@ -48754,9 +48857,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 '404': *6 x-github: githubCloudOnly: false @@ -48779,7 +48882,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -48830,7 +48933,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -48864,7 +48967,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -50686,9 +50789,9 @@ paths: currently being billed. seats: type: array - items: *143 + items: *146 examples: - default: *144 + default: *147 headers: Link: *45 '500': *38 @@ -51172,7 +51275,7 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 required: - total_count - repositories @@ -51263,7 +51366,7 @@ paths: 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: - *87 - - *271 + - *274 responses: '204': description: No Content @@ -51297,7 +51400,7 @@ paths: 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: - *87 - - *271 + - *274 responses: '204': description: No Content @@ -52062,7 +52165,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *87 - - *139 + - *142 responses: '200': description: Response @@ -52093,7 +52196,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *87 - - *139 + - *142 requestBody: required: true content: @@ -52164,7 +52267,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *87 - - *139 + - *142 responses: '204': description: Response @@ -52244,7 +52347,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *87 - - *139 + - *142 responses: '200': description: Response @@ -52281,7 +52384,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *87 - - *139 + - *142 requestBody: required: true content: @@ -52334,7 +52437,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *87 - - *139 + - *142 responses: '204': description: Response @@ -52759,7 +52862,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '200': description: Response @@ -52794,7 +52897,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -52851,7 +52954,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -52884,7 +52987,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - *87 - - *287 + - *290 responses: '204': description: Response @@ -52909,7 +53012,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 - *19 - *17 responses: @@ -52927,9 +53030,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52951,7 +53054,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -53002,7 +53105,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -53034,7 +53137,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *287 + - *290 - name: repository_id in: path required: true @@ -53699,7 +53802,7 @@ paths: repository: anyOf: - type: 'null' - - *277 + - *280 created_at: type: string format: date-time @@ -53805,7 +53908,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: 200-response: value: @@ -56714,7 +56817,7 @@ paths: - comments default: created - *110 - - *223 + - *226 - *17 - *19 responses: @@ -56724,7 +56827,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: *390 headers: @@ -56786,7 +56889,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 '422': *15 @@ -56807,7 +56910,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#check-organization-membership-for-a-user parameters: - *87 - - *140 + - *143 responses: '204': description: Response if requester is an organization member and user is @@ -56842,7 +56945,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-an-organization-member parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -56875,7 +56978,7 @@ paths: - *17 - *19 - *87 - - *140 + - *143 responses: '200': description: Response @@ -56919,7 +57022,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *87 - - *140 + - *143 - &393 name: codespace_name in: path @@ -56954,7 +57057,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *87 - - *140 + - *143 - *393 responses: '200': @@ -57137,13 +57240,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *87 - - *140 + - *143 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *143 + schema: *146 examples: default: value: @@ -57213,7 +57316,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#get-organization-membership-for-a-user parameters: - *87 - - *140 + - *143 responses: '200': description: Response @@ -57361,7 +57464,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#set-organization-membership-for-a-user parameters: - *87 - - *140 + - *143 requestBody: required: false content: @@ -57422,7 +57525,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-organization-membership-for-a-user parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -58280,7 +58383,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: &407 value: @@ -58772,7 +58875,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *87 - - *213 + - *216 responses: '204': description: Response @@ -58798,8 +58901,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *87 - - *213 - - *139 + - *216 + - *142 responses: '204': description: Response @@ -58829,8 +58932,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *87 - - *213 - - *139 + - *216 + - *142 responses: '204': description: Response @@ -58856,7 +58959,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -58882,8 +58985,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *87 - - *140 - - *139 + - *143 + - *142 responses: '204': description: Response @@ -58914,8 +59017,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *87 - - *140 - - *139 + - *143 + - *142 responses: '204': description: Response @@ -58944,7 +59047,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#get-an-organization-role parameters: - *87 - - *139 + - *142 responses: '200': description: Response @@ -59008,7 +59111,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *87 - - *139 + - *142 requestBody: required: true content: @@ -59101,7 +59204,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *87 - - *139 + - *142 responses: '204': description: Response @@ -59127,7 +59230,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *87 - - *139 + - *142 - *17 - *19 responses: @@ -59269,7 +59372,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *87 - - *139 + - *142 - *17 - *19 responses: @@ -59415,7 +59518,7 @@ paths: - type - url examples: - default: *209 + default: *212 headers: Link: *45 '404': @@ -59466,7 +59569,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 x-github: @@ -59492,7 +59595,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *87 - - *140 + - *143 requestBody: required: false content: @@ -59550,7 +59653,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -60476,7 +60579,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *407 headers: @@ -60793,7 +60896,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *407 headers: @@ -61446,7 +61549,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *87 - - *287 + - *290 responses: '200': description: The specified private registry configuration for the organization @@ -61477,7 +61580,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *87 - - *287 + - *290 requestBody: required: true content: @@ -61666,7 +61769,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *87 - - *287 + - *290 responses: '204': description: Response @@ -62053,7 +62156,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *218 + - *221 - &589 title: Pull Request Simple description: Pull Request Simple @@ -62292,7 +62395,7 @@ paths: - review_comments - review_comment - self - author_association: *215 + author_association: *218 auto_merge: &718 title: Auto merge description: The status of auto merging a pull request. @@ -64650,9 +64753,9 @@ paths: application/json: schema: type: array - items: *153 + items: *156 examples: - default: *154 + default: *157 '403': *27 '404': *6 x-github: @@ -64690,7 +64793,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *153 + items: *156 minItems: 1 maxItems: 100 required: @@ -64720,9 +64823,9 @@ paths: application/json: schema: type: array - items: *153 + items: *156 examples: - default: *154 + default: *157 '403': *27 '404': *6 x-github: @@ -64744,15 +64847,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *87 - - *150 + - *153 responses: '200': description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -64776,7 +64879,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *87 - - *150 + - *153 requestBody: required: true content: @@ -64797,9 +64900,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *155 + default: *158 '403': *27 '404': *6 x-github: @@ -64823,7 +64926,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *87 - - *150 + - *153 responses: '204': *126 '403': *27 @@ -64887,7 +64990,7 @@ paths: - octocat/Hello-World properties: type: array - items: *152 + items: *155 description: List of custom property names and associated values required: - repository_id @@ -64956,7 +65059,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *152 + items: *155 required: - repository_names - properties @@ -65009,7 +65112,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 x-github: @@ -65029,7 +65132,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *87 - - *140 + - *143 responses: '204': description: Response if user is a public member @@ -65054,7 +65157,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -65076,7 +65179,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *87 - - *140 + - *143 responses: '204': description: Response @@ -65147,7 +65250,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *407 headers: @@ -65812,7 +65915,7 @@ paths: license: anyOf: - type: 'null' - - *220 + - *223 organization: anyOf: - type: 'null' @@ -66540,7 +66643,7 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: default: value: @@ -66608,11 +66711,11 @@ paths: - push - repository default: branch - enforcement: *164 + enforcement: *167 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *165 + items: *168 conditions: *434 rules: type: array @@ -66622,9 +66725,6 @@ paths: type: object description: A repository rule. oneOf: - - *166 - - *167 - - *168 - *169 - *170 - *171 @@ -66636,13 +66736,16 @@ paths: - *177 - *178 - *179 - - *183 - - *184 - - *185 - - *186 - *180 - *181 - *182 + - *186 + - *187 + - *188 + - *189 + - *183 + - *184 + - *185 required: - name - enforcement @@ -66680,7 +66783,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: &435 value: @@ -67089,7 +67192,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: *435 '404': *6 @@ -67135,11 +67238,11 @@ paths: - tag - push - repository - enforcement: *164 + enforcement: *167 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *165 + items: *168 conditions: *434 rules: description: An array of rules within the ruleset. @@ -67179,7 +67282,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: *435 '404': *6 @@ -67239,7 +67342,7 @@ paths: application/json: schema: type: array - items: *191 + items: *194 examples: default: *437 '404': *6 @@ -67390,7 +67493,7 @@ paths: headers: Link: *45 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67452,7 +67555,7 @@ paths: schema: type: object properties: - pattern_config_version: *194 + pattern_config_version: *197 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -67478,7 +67581,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *194 + custom_pattern_version: *197 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -67784,7 +67887,7 @@ paths: required: - vector_string - score - cvss_severities: *129 + cvss_severities: *132 cwes: type: - array @@ -68355,7 +68458,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - *87 - - *213 + - *216 responses: '204': description: Response @@ -68381,7 +68484,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *87 - - *213 + - *216 responses: '204': description: Response @@ -68569,9 +68672,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68640,7 +68743,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *87 - - *271 + - *274 responses: '204': description: Response @@ -68663,7 +68766,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *87 - - *271 + - *274 responses: '204': description: Response @@ -68704,7 +68807,7 @@ paths: type: integer network_configurations: type: array - items: *145 + items: *148 examples: default: *460 headers: @@ -68783,9 +68886,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *146 + default: *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68806,15 +68909,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *87 - - *147 + - *150 responses: '200': description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *146 + default: *149 headers: Link: *45 x-github: @@ -68836,7 +68939,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *87 - - *147 + - *150 requestBody: required: true content: @@ -68889,9 +68992,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *146 + default: *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68911,7 +69014,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *87 - - *147 + - *150 responses: '204': description: Response @@ -69665,7 +69768,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - *87 - - *213 + - *216 responses: '200': description: Response @@ -69695,7 +69798,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - *87 - - *213 + - *216 requestBody: required: false content: @@ -69793,7 +69896,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - *87 - - *213 + - *216 responses: '204': description: Response @@ -69820,7 +69923,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *87 - - *213 + - *216 responses: '200': description: Response @@ -69849,7 +69952,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *87 - - *213 + - *216 requestBody: required: true content: @@ -69896,7 +69999,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *87 - - *213 + - *216 responses: '204': description: Response @@ -69922,7 +70025,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - *87 - - *213 + - *216 - *17 - *19 responses: @@ -69958,7 +70061,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - *87 - - *213 + - *216 - name: role description: Filters members returned by their role in the team. in: query @@ -69981,7 +70084,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 x-github: @@ -70012,8 +70115,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - *87 - - *213 - - *140 + - *216 + - *143 responses: '200': description: Response @@ -70084,8 +70187,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *87 - - *213 - - *140 + - *216 + - *143 requestBody: required: false content: @@ -70148,8 +70251,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - *87 - - *213 - - *140 + - *216 + - *143 responses: '204': description: Response @@ -70176,7 +70279,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - *87 - - *213 + - *216 - *17 - *19 responses: @@ -70186,7 +70289,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *407 headers: @@ -70218,7 +70321,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *87 - - *213 + - *216 - *472 - *473 responses: @@ -70252,7 +70355,7 @@ paths: license: anyOf: - type: 'null' - - *220 + - *223 forks: type: integer permissions: @@ -70953,7 +71056,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *87 - - *213 + - *216 - *472 - *473 requestBody: @@ -71001,7 +71104,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - *87 - - *213 + - *216 - *472 - *473 responses: @@ -71030,7 +71133,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *87 - - *213 + - *216 responses: '200': description: Response @@ -71062,7 +71165,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *87 - - *213 + - *216 requestBody: required: true content: @@ -71139,7 +71242,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - *87 - - *213 + - *216 - *17 - *19 responses: @@ -73726,7 +73829,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -73850,7 +73953,7 @@ paths: description: Empty response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -73954,7 +74057,7 @@ paths: parameters: - *472 - *473 - - *296 + - *299 - *19 responses: '200': @@ -74052,7 +74155,7 @@ paths: type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 - selected_actions_url: *264 + selected_actions_url: *267 sha_pinning_required: *61 required: - enabled @@ -74217,7 +74320,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: default: value: @@ -74252,7 +74355,7 @@ paths: required: true content: application/json: - schema: *267 + schema: *270 examples: default: summary: Set retention days @@ -74285,7 +74388,7 @@ paths: application/json: schema: *62 examples: - default: *268 + default: *271 '404': *6 x-github: enabledForGitHubApps: true @@ -74346,7 +74449,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: default: *63 '403': *27 @@ -74374,7 +74477,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *273 examples: default: *63 responses: @@ -74472,7 +74575,7 @@ paths: description: Response content: application/json: - schema: *273 + schema: *276 examples: default: *69 x-github: @@ -74507,7 +74610,7 @@ paths: required: true content: application/json: - schema: *274 + schema: *277 examples: default: *69 x-github: @@ -74590,9 +74693,9 @@ paths: application/json: schema: type: array - items: *278 + items: *281 examples: - default: *279 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74658,7 +74761,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *280 + '201': *283 '404': *6 '422': *7 '409': *119 @@ -74698,7 +74801,7 @@ paths: application/json: schema: *79 examples: - default: *281 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74735,7 +74838,7 @@ paths: application/json: schema: *79 examples: - default: *282 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74767,7 +74870,7 @@ paths: application/json: schema: *76 examples: - default: *283 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74947,7 +75050,7 @@ paths: - *473 - *75 responses: - '200': *284 + '200': *287 '404': *6 x-github: githubCloudOnly: false @@ -74977,7 +75080,7 @@ paths: - *472 - *473 - *75 - - *285 + - *288 responses: '200': *81 '404': *6 @@ -75223,7 +75326,7 @@ paths: type: - array - 'null' - items: *221 + items: *224 created_at: type: string format: date-time @@ -75358,8 +75461,8 @@ paths: - timestamp - author - committer - repository: *277 - head_repository: *277 + repository: *280 + head_repository: *280 head_repository_id: type: integer examples: @@ -76056,7 +76159,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -76347,7 +76450,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -76643,7 +76746,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -77188,7 +77291,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -77235,7 +77338,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -77460,9 +77563,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *296 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77486,7 +77589,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '200': description: Response @@ -77522,7 +77625,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 requestBody: required: true content: @@ -77553,7 +77656,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -77581,7 +77684,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '204': description: Response @@ -77608,7 +77711,7 @@ paths: parameters: - *472 - *473 - - *296 + - *299 - *19 responses: '200': @@ -77678,7 +77781,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -77705,7 +77808,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 responses: '200': description: Response @@ -77741,7 +77844,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 requestBody: required: true content: @@ -77785,7 +77888,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 responses: '204': description: Response @@ -78500,7 +78603,7 @@ paths: parameters: - *472 - *473 - - *296 + - *299 - *19 responses: '200': @@ -78597,9 +78700,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *296 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78623,7 +78726,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '200': description: Response @@ -78655,7 +78758,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 requestBody: required: true content: @@ -78686,7 +78789,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -78714,7 +78817,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '204': description: Response @@ -78741,7 +78844,7 @@ paths: parameters: - *472 - *473 - - *296 + - *299 - *19 responses: '200': @@ -78811,7 +78914,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -78838,7 +78941,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 responses: '200': description: Response @@ -78869,7 +78972,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 requestBody: required: true content: @@ -78913,7 +79016,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 responses: '204': description: Response @@ -78947,7 +79050,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 '404': *6 @@ -80129,14 +80232,14 @@ paths: author: oneOf: - *4 - - *288 + - *291 type: - 'null' - object committer: oneOf: - *4 - - *288 + - *291 type: - 'null' - object @@ -82569,7 +82672,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 '404': *6 x-github: githubCloudOnly: false @@ -82628,7 +82731,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -82688,7 +82791,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -82748,7 +82851,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -83657,7 +83760,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *221 + items: *224 deployment: &881 title: Deployment description: A deployment created as the result of an Actions @@ -84445,7 +84548,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -84588,12 +84691,12 @@ paths: type: - array - 'null' - items: *221 + items: *224 app: anyOf: - type: 'null' - *5 - repository: *277 + repository: *280 created_at: type: - string @@ -85006,7 +85109,7 @@ paths: required: - app_id - setting - repository: *277 + repository: *280 examples: default: value: @@ -85454,7 +85557,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -85545,19 +85648,19 @@ paths: items: type: object properties: - number: *127 - created_at: *134 - updated_at: *135 - url: *132 - html_url: *133 + number: *130 + created_at: *137 + updated_at: *138 + url: *135 + html_url: *136 instances_url: *544 state: *113 - fixed_at: *137 + fixed_at: *140 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *136 + dismissed_at: *139 dismissed_reason: *545 dismissed_comment: *546 rule: *547 @@ -85692,7 +85795,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85722,7 +85825,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *127 + schema: *130 responses: '200': description: Response @@ -85731,19 +85834,19 @@ paths: schema: &552 type: object properties: - number: *127 - created_at: *134 - updated_at: *135 - url: *132 - html_url: *133 + number: *130 + created_at: *137 + updated_at: *138 + url: *135 + html_url: *136 instances_url: *544 state: *113 - fixed_at: *137 + fixed_at: *140 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *136 + dismissed_at: *139 dismissed_reason: *545 dismissed_comment: *546 rule: @@ -85906,7 +86009,7 @@ paths: '304': *35 '403': *550 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86053,7 +86156,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -86257,7 +86360,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86361,7 +86464,7 @@ paths: - source '403': *550 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86539,7 +86642,7 @@ paths: warning: '' '403': *550 '404': *6 - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -86648,7 +86751,7 @@ paths: content: application/json: schema: *3 - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -86787,7 +86890,7 @@ paths: '400': *14 '403': *556 '404': *6 - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -86930,7 +87033,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *550 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87006,7 +87109,7 @@ paths: description: Found '403': *550 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87039,7 +87142,7 @@ paths: description: Response '403': *556 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87498,7 +87601,7 @@ paths: content: application/json: schema: *3 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87536,7 +87639,7 @@ paths: examples: default: *570 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87696,7 +87799,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87830,7 +87933,7 @@ paths: schedule: weekly '403': *550 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87919,7 +88022,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -87958,7 +88061,7 @@ paths: content: application/json: schema: *3 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88102,7 +88205,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -88173,7 +88276,7 @@ paths: '403': *550 '404': description: Not Found if the sarif id does not match any upload - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -88801,7 +88904,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -89107,7 +89210,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89222,7 +89325,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '200': description: Response @@ -89252,7 +89355,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 requestBody: required: true content: @@ -89280,7 +89383,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -89306,7 +89409,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '204': description: Response @@ -89568,7 +89671,7 @@ paths: parameters: - *472 - *473 - - *140 + - *143 responses: '204': description: Response if user is a collaborator @@ -89616,7 +89719,7 @@ paths: parameters: - *472 - *473 - - *140 + - *143 requestBody: required: false content: @@ -89654,7 +89757,7 @@ paths: format: int64 examples: - 42 - repository: *277 + repository: *280 invitee: anyOf: - type: 'null' @@ -89830,7 +89933,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *252 + schema: *255 '403': *27 x-github: triggersNotification: true @@ -89872,7 +89975,7 @@ paths: parameters: - *472 - *473 - - *140 + - *143 responses: '204': description: No Content when collaborator was removed from the repository. @@ -89905,7 +90008,7 @@ paths: parameters: - *472 - *473 - - *140 + - *143 responses: '200': description: if user has admin permissions @@ -90031,8 +90134,8 @@ paths: updated_at: type: string format: date-time - author_association: *215 - reactions: *216 + author_association: *218 + reactions: *219 required: - url - html_url @@ -90109,7 +90212,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '200': description: Response @@ -90176,7 +90279,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 requestBody: required: true content: @@ -90251,7 +90354,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '204': description: Response @@ -90274,7 +90377,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 - 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. @@ -90391,7 +90494,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 requestBody: required: true content: @@ -90480,7 +90583,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 - &662 name: reaction_id description: The unique identifier of the reaction. @@ -91572,7 +91675,7 @@ paths: '422': *15 '404': *6 '500': *38 - '503': *192 + '503': *195 '409': *119 x-github: githubCloudOnly: false @@ -91964,7 +92067,7 @@ paths: type: string total_count: type: integer - repository: *277 + repository: *280 commit_url: type: string format: uri @@ -92270,7 +92373,7 @@ paths: license: anyOf: - type: 'null' - - *220 + - *223 contributing: anyOf: - type: 'null' @@ -92746,7 +92849,7 @@ paths: default: *598 '404': *6 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93892,7 +93995,7 @@ paths: '422': *15 '404': *6 '409': *119 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94210,7 +94313,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *127 + number: *130 state: type: string description: The state of the Dependabot alert. @@ -94225,7 +94328,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *128 + package: *131 manifest_path: type: string description: The full path to the dependency manifest file, @@ -94258,12 +94361,12 @@ paths: - inconclusive - security_advisory: *603 - security_vulnerability: *131 - url: *132 - html_url: *133 - created_at: *134 - updated_at: *135 - dismissed_at: *136 + security_vulnerability: *134 + url: *135 + html_url: *136 + created_at: *137 + updated_at: *138 + dismissed_at: *139 dismissed_by: anyOf: - type: 'null' @@ -94287,7 +94390,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *137 + fixed_at: *140 auto_dismissed_at: *604 dismissal_request: *605 assignees: @@ -94555,7 +94658,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *127 + schema: *130 responses: '200': description: Response @@ -95002,7 +95105,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '200': description: Response @@ -95036,7 +95139,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 requestBody: required: true content: @@ -95064,7 +95167,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -95090,7 +95193,7 @@ paths: parameters: - *472 - *473 - - *287 + - *290 responses: '204': description: Response @@ -95273,7 +95376,7 @@ paths: schema: *3 '400': *14 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: false category: dependency-graph @@ -98481,9 +98584,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *296 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98508,7 +98611,7 @@ paths: - *472 - *473 - *628 - - *287 + - *290 responses: '200': description: Response @@ -98541,7 +98644,7 @@ paths: - *472 - *473 - *628 - - *287 + - *290 requestBody: required: true content: @@ -98572,7 +98675,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -98601,7 +98704,7 @@ paths: - *472 - *473 - *628 - - *287 + - *290 responses: '204': description: Default response @@ -98629,7 +98732,7 @@ paths: - *472 - *473 - *628 - - *296 + - *299 - *19 responses: '200': @@ -98700,7 +98803,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -98728,7 +98831,7 @@ paths: - *472 - *473 - *628 - - *290 + - *293 responses: '200': description: Response @@ -98759,7 +98862,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 - *628 requestBody: required: true @@ -98804,7 +98907,7 @@ paths: parameters: - *472 - *473 - - *290 + - *293 - *628 responses: '204': @@ -98838,7 +98941,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: 200-response: value: @@ -98919,7 +99022,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: value: @@ -99173,7 +99276,7 @@ paths: application/json: schema: oneOf: - - *252 + - *255 - *639 x-github: githubCloudOnly: false @@ -102712,7 +102815,7 @@ paths: - comments default: created - *110 - - *223 + - *226 - *17 - *19 responses: @@ -102722,7 +102825,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: &669 value: @@ -103018,7 +103121,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: &666 value: @@ -103181,7 +103284,7 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *192 + '503': *195 '404': *6 '410': *659 x-github: @@ -103223,7 +103326,7 @@ paths: parameters: - *472 - *473 - - *240 + - *243 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -103233,7 +103336,7 @@ paths: enum: - asc - desc - - *223 + - *226 - *17 - *19 responses: @@ -103243,7 +103346,7 @@ paths: application/json: schema: type: array - items: *219 + items: *222 examples: default: &668 value: @@ -103306,13 +103409,13 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '200': description: Response content: application/json: - schema: *219 + schema: *222 examples: default: &660 value: @@ -103372,7 +103475,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 requestBody: required: true content: @@ -103394,7 +103497,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *222 examples: default: *660 '422': *15 @@ -103416,7 +103519,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '204': description: Response @@ -103446,13 +103549,13 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '200': description: Response content: application/json: - schema: *219 + schema: *222 examples: default: value: @@ -103527,7 +103630,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '204': description: Response @@ -103535,7 +103638,7 @@ paths: '403': *27 '404': *6 '410': *659 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103554,7 +103657,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 - 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. @@ -103605,7 +103708,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 requestBody: required: true content: @@ -103670,7 +103773,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 - *662 responses: '204': @@ -103749,7 +103852,7 @@ paths: issue: anyOf: - type: 'null' - - *218 + - *221 label: title: Issue Event Label description: Issue Event Label @@ -103951,7 +104054,7 @@ paths: anyOf: - type: 'null' - *664 - author_association: *215 + author_association: *218 lock_reason: type: - string @@ -104397,7 +104500,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: summary: Issue @@ -104785,13 +104888,13 @@ paths: application/json: schema: allOf: - - *218 + - *221 - type: object properties: {} examples: default: *666 '422': *15 - '503': *192 + '503': *195 '403': *27 '301': *478 '404': *6 @@ -104851,7 +104954,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 x-github: @@ -104896,7 +104999,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 x-github: @@ -104965,7 +105068,7 @@ paths: - *472 - *473 - *667 - - *223 + - *226 - *17 - *19 responses: @@ -104975,7 +105078,7 @@ paths: application/json: schema: type: array - items: *219 + items: *222 examples: default: *668 headers: @@ -105034,7 +105137,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *222 examples: default: *660 headers: @@ -105083,7 +105186,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: *669 headers: @@ -105142,7 +105245,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 headers: @@ -105197,7 +105300,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 '301': *478 @@ -105243,7 +105346,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: *669 headers: @@ -106711,7 +106814,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *192 + '503': *195 x-github: triggersNotification: true githubCloudOnly: false @@ -106818,7 +106921,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *192 + '503': *195 x-github: triggersNotification: true githubCloudOnly: false @@ -106854,7 +106957,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *192 + '503': *195 x-github: triggersNotification: true githubCloudOnly: false @@ -106884,7 +106987,7 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: default: &672 value: @@ -106967,7 +107070,7 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: default: *672 '301': *478 @@ -107051,7 +107154,7 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: default: *672 '301': *478 @@ -107115,7 +107218,7 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: default: value: @@ -107237,7 +107340,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 '301': *478 @@ -107432,7 +107535,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 headers: @@ -107479,7 +107582,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: *669 headers: @@ -107542,7 +107645,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 headers: @@ -107604,13 +107707,13 @@ paths: description: Response content: application/json: - schema: *218 + schema: *221 examples: default: *666 '403': *27 '404': *6 '422': *7 - '503': *192 + '503': *195 x-github: triggersNotification: true githubCloudOnly: false @@ -107705,12 +107808,12 @@ paths: issue_url: type: string format: uri - author_association: *215 + author_association: *218 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *216 + reactions: *219 pin: anyOf: - type: 'null' @@ -107749,7 +107852,7 @@ paths: properties: type: type: string - issue: *218 + issue: *221 required: - event - created_at @@ -107971,7 +108074,7 @@ paths: type: string body_text: type: string - author_association: *215 + author_association: *218 required: - event - id @@ -108102,7 +108205,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *215 + author_association: *218 _links: type: object properties: @@ -108197,7 +108300,7 @@ paths: enum: - line - file - reactions: *216 + reactions: *219 body_html: type: string examples: @@ -108758,7 +108861,7 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: default: *672 headers: @@ -108818,7 +108921,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *220 examples: default: &702 value: @@ -108864,7 +108967,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *220 examples: default: *702 '404': *6 @@ -108923,7 +109026,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *220 examples: default: value: @@ -109137,7 +109240,7 @@ paths: license: anyOf: - type: 'null' - - *220 + - *223 required: - _links - git_url @@ -109672,7 +109775,7 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: default: *672 headers: @@ -109697,7 +109800,7 @@ paths: - *473 - *706 - *707 - - *223 + - *226 - *708 - *17 - *19 @@ -109708,7 +109811,7 @@ paths: application/json: schema: type: array - items: *243 + items: *246 examples: default: *709 headers: @@ -110911,7 +111014,7 @@ paths: description: Empty response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -111030,7 +111133,7 @@ paths: application/json: schema: type: array - items: *152 + items: *155 examples: default: *715 '403': *27 @@ -111067,7 +111170,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *152 + items: *155 required: - properties examples: @@ -111505,7 +111608,7 @@ paths: - review_comments - review_comment - self - author_association: *215 + author_association: *218 auto_merge: *718 draft: description: Indicates whether or not the pull request is a draft. @@ -112260,7 +112363,7 @@ paths: enum: - asc - desc - - *223 + - *226 - *17 - *19 responses: @@ -112351,7 +112454,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '200': description: Response @@ -112436,7 +112539,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 requestBody: required: true content: @@ -112478,7 +112581,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 responses: '204': description: Response @@ -112501,7 +112604,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 - 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. @@ -112552,7 +112655,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 requestBody: required: true content: @@ -112617,7 +112720,7 @@ paths: parameters: - *472 - *473 - - *232 + - *235 - *662 responses: '204': @@ -112687,7 +112790,7 @@ paths: application/json: schema: *3 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112858,7 +112961,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112887,7 +112990,7 @@ paths: - *472 - *473 - *723 - - *240 + - *243 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -112897,7 +113000,7 @@ paths: enum: - asc - desc - - *223 + - *226 - *17 - *19 responses: @@ -113141,7 +113244,7 @@ paths: - *472 - *473 - *723 - - *232 + - *235 requestBody: required: true content: @@ -113324,7 +113427,7 @@ paths: Link: *45 '422': *15 '500': *38 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114772,7 +114875,7 @@ paths: type: string body_text: type: string - author_association: *215 + author_association: *218 required: - id - node_id @@ -115310,7 +115413,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *215 + author_association: *218 _links: type: object properties: @@ -115325,7 +115428,7 @@ paths: type: string body_html: type: string - reactions: *216 + reactions: *219 side: description: The side of the first line of the range for a multi-line comment. @@ -116866,7 +116969,7 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *166 + - *169 - &738 title: repository ruleset data for rule description: User-defined metadata to store domain-specific @@ -116886,18 +116989,6 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *167 - - *738 - - allOf: - - *168 - - *738 - - allOf: - - *169 - - *738 - - allOf: - - *739 - - *738 - allOf: - *170 - *738 @@ -116907,6 +116998,9 @@ paths: - allOf: - *172 - *738 + - allOf: + - *739 + - *738 - allOf: - *173 - *738 @@ -116949,6 +117043,15 @@ paths: - allOf: - *186 - *738 + - allOf: + - *187 + - *738 + - allOf: + - *188 + - *738 + - allOf: + - *189 + - *738 examples: default: value: @@ -117007,7 +117110,7 @@ paths: application/json: schema: type: array - items: *187 + items: *190 examples: default: value: @@ -117075,12 +117178,12 @@ paths: - tag - push default: branch - enforcement: *164 + enforcement: *167 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *165 - conditions: *158 + items: *168 + conditions: *161 rules: type: array description: An array of rules within the ruleset. @@ -117115,7 +117218,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: &751 value: @@ -117261,7 +117364,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: *751 '404': *6 @@ -117307,12 +117410,12 @@ paths: - branch - tag - push - enforcement: *164 + enforcement: *167 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *165 - conditions: *158 + items: *168 + conditions: *161 rules: description: An array of rules within the ruleset. type: array @@ -117344,7 +117447,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: default: *751 '404': *6 @@ -117406,7 +117509,7 @@ paths: application/json: schema: type: array - items: *191 + items: *194 examples: default: *437 '404': *6 @@ -117531,14 +117634,14 @@ paths: items: &757 type: object properties: - number: *127 - created_at: *134 + number: *130 + created_at: *137 updated_at: anyOf: - type: 'null' - - *135 - url: *132 - html_url: *133 + - *138 + url: *135 + html_url: *136 locations_url: type: string format: uri @@ -117788,7 +117891,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117850,7 +117953,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118009,7 +118112,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': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -118147,7 +118250,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118226,7 +118329,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *192 + '503': *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -118255,7 +118358,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *192 + '503': *195 '200': description: Response content: @@ -119350,7 +119453,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *252 + schema: *255 examples: invalid_state_transition: value: @@ -120083,7 +120186,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 x-github: @@ -120926,7 +121029,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -121380,7 +121483,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: value: @@ -123677,7 +123780,7 @@ paths: html_url: type: string format: uri - repository: *277 + repository: *280 score: type: number file_size: @@ -123811,7 +123914,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *192 + '503': *195 '422': *15 '403': *27 x-github: @@ -123975,7 +124078,7 @@ paths: type: string sha: type: string - repository: *277 + repository: *280 score: type: number node_id: @@ -124357,7 +124460,7 @@ paths: type: string score: type: number - author_association: *215 + author_association: *218 draft: type: boolean repository: *78 @@ -124376,8 +124479,8 @@ paths: pinned_comment: anyOf: - type: 'null' - - *219 - reactions: *216 + - *222 + reactions: *219 required: - assignee - closed_at @@ -124575,7 +124678,7 @@ paths: - quoted_text items: - "..." - '503': *192 + '503': *195 '422': *15 '304': *35 '403': *27 @@ -124988,7 +125091,7 @@ paths: license: anyOf: - type: 'null' - - *220 + - *223 permissions: type: object properties: @@ -125209,7 +125312,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *192 + '503': *195 '422': *15 '304': *35 x-github: @@ -125682,7 +125785,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *192 + '503': *195 '422': *15 x-github: githubCloudOnly: false @@ -125934,7 +126037,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 '404': *6 @@ -125963,7 +126066,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - *815 - - *140 + - *143 responses: '204': description: if user is a member @@ -126000,7 +126103,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - *815 - - *140 + - *143 responses: '204': description: Response @@ -126040,7 +126143,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - *815 - - *140 + - *143 responses: '204': description: Response @@ -126077,7 +126180,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *815 - - *140 + - *143 responses: '200': description: Response @@ -126119,7 +126222,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *815 - - *140 + - *143 requestBody: required: false content: @@ -126181,7 +126284,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *815 - - *140 + - *143 responses: '204': description: Response @@ -126218,7 +126321,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *407 headers: @@ -127159,7 +127262,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 '304': *35 '404': *6 '403': *27 @@ -127182,7 +127285,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: - - *140 + - *143 responses: '204': description: If the user is blocked @@ -127210,7 +127313,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#block-a-user parameters: - - *140 + - *143 responses: '204': description: Response @@ -127234,7 +127337,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#unblock-a-user parameters: - - *140 + - *143 responses: '204': description: Response @@ -127438,7 +127541,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *192 + '503': *195 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -127592,7 +127695,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *287 + - *290 responses: '200': description: Response @@ -127628,7 +127731,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *287 + - *290 requestBody: required: true content: @@ -127673,7 +127776,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -127701,7 +127804,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *287 + - *290 responses: '204': description: Response @@ -127726,7 +127829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *287 + - *290 responses: '200': description: Response @@ -127742,7 +127845,7 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: default: *332 '401': *23 @@ -127769,7 +127872,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *287 + - *290 requestBody: required: true content: @@ -127823,7 +127926,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *287 + - *290 - name: repository_id in: path required: true @@ -127856,7 +127959,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *287 + - *290 - name: repository_id in: path required: true @@ -129478,7 +129581,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 '304': *35 @@ -129511,7 +129614,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 '304': *35 @@ -129533,7 +129636,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: - - *140 + - *143 responses: '204': description: if the person is followed by the authenticated user @@ -129563,7 +129666,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#follow-a-user parameters: - - *140 + - *143 responses: '204': description: Response @@ -129588,7 +129691,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#unfollow-a-user parameters: - - *140 + - *143 responses: '204': description: Response @@ -130152,7 +130255,7 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *272 + default: *275 headers: Link: *45 '404': *6 @@ -130178,7 +130281,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *271 + - *274 responses: '204': description: Response @@ -130204,7 +130307,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *271 + - *274 responses: '204': description: Response @@ -130372,7 +130475,7 @@ paths: - comments default: created - *110 - - *223 + - *226 - *17 - *19 responses: @@ -130382,7 +130485,7 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: default: *390 headers: @@ -130687,7 +130790,7 @@ paths: - id - type - login - plan: *234 + plan: *237 required: - billing_cycle - next_billing_date @@ -131822,7 +131925,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *407 headers: @@ -131879,7 +131982,7 @@ paths: type: array items: *73 examples: - default: *247 + default: *250 headers: Link: *45 '304': *35 @@ -133517,7 +133620,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *407 headers: @@ -133634,7 +133737,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *236 + - *239 responses: '200': description: Response @@ -133814,7 +133917,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: example: ; rel="next" @@ -133957,7 +134060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user parameters: - - *140 + - *143 responses: '200': description: Response @@ -133995,7 +134098,7 @@ paths: - *17 - *108 - *109 - - *140 + - *143 requestBody: required: true content: @@ -134107,7 +134210,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-in-bulk parameters: - - *140 + - *143 requestBody: required: true content: @@ -134172,7 +134275,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *140 + - *143 - name: subject_digest description: Subject Digest in: path @@ -134203,7 +134306,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-by-id parameters: - - *140 + - *143 - name: attestation_id description: Attestation ID in: path @@ -134241,7 +134344,7 @@ paths: - *17 - *108 - *109 - - *140 + - *143 - name: subject_digest description: Subject Digest in: path @@ -134299,7 +134402,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -134341,7 +134444,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: - - *140 + - *143 - name: per_page description: The number of results per page (max 100). in: query @@ -134496,7 +134599,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: - - *140 + - *143 requestBody: required: true content: @@ -134679,7 +134782,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134715,7 +134818,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134842,7 +134945,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134876,7 +134979,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -134992,7 +135095,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -135099,7 +135202,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -135212,7 +135315,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -135260,7 +135363,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -135318,7 +135421,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -135423,7 +135526,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -135473,7 +135576,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -135541,7 +135644,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: - - *140 + - *143 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -135577,7 +135680,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: - - *140 + - *143 responses: '200': description: Response @@ -135610,7 +135713,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *140 + - *143 - *17 - *19 responses: @@ -135620,7 +135723,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: default: value: @@ -135682,7 +135785,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *140 + - *143 - *87 - *17 - *19 @@ -135693,7 +135796,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: default: value: @@ -135770,7 +135873,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-user parameters: - - *140 + - *143 - *17 - *19 responses: @@ -135780,7 +135883,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: default: value: @@ -135838,7 +135941,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-followers-of-a-user parameters: - - *140 + - *143 - *17 - *19 responses: @@ -135850,7 +135953,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 x-github: @@ -135869,7 +135972,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-the-people-a-user-follows parameters: - - *140 + - *143 - *17 - *19 responses: @@ -135881,7 +135984,7 @@ paths: type: array items: *4 examples: - default: *209 + default: *212 headers: Link: *45 x-github: @@ -135900,7 +136003,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: - - *140 + - *143 - name: target_user in: path required: true @@ -135927,8 +136030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - - *140 - - *223 + - *143 + - *226 - *17 - *19 responses: @@ -135938,9 +136041,9 @@ paths: application/json: schema: type: array - items: *224 + items: *227 examples: - default: *225 + default: *228 headers: Link: *45 '422': *15 @@ -135961,7 +136064,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: - - *140 + - *143 - *17 - *19 responses: @@ -135997,7 +136100,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-contextual-information-for-a-user parameters: - - *140 + - *143 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -136069,7 +136172,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: - - *140 + - *143 responses: '200': description: Response @@ -136095,7 +136198,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#list-public-keys-for-a-user parameters: - - *140 + - *143 - *17 - *19 responses: @@ -136151,7 +136254,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *140 + - *143 - *17 - *19 responses: @@ -136163,7 +136266,7 @@ paths: type: array items: *73 examples: - default: *247 + default: *250 headers: Link: *45 x-github: @@ -136203,7 +136306,7 @@ paths: - nuget - container - *836 - - *140 + - *143 - *19 - *17 responses: @@ -136240,7 +136343,7 @@ paths: parameters: - *403 - *404 - - *140 + - *143 responses: '200': description: Response @@ -136271,7 +136374,7 @@ paths: parameters: - *403 - *404 - - *140 + - *143 responses: '204': description: Response @@ -136305,7 +136408,7 @@ paths: parameters: - *403 - *404 - - *140 + - *143 - name: token description: package token schema: @@ -136339,7 +136442,7 @@ paths: parameters: - *403 - *404 - - *140 + - *143 responses: '200': description: Response @@ -136408,7 +136511,7 @@ paths: - *403 - *404 - *406 - - *140 + - *143 responses: '200': description: Response @@ -136451,7 +136554,7 @@ paths: parameters: - *403 - *404 - - *140 + - *143 - *406 responses: '204': @@ -136486,7 +136589,7 @@ paths: parameters: - *403 - *404 - - *140 + - *143 - *406 responses: '204': @@ -136511,7 +136614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#list-projects-for-user parameters: - - *140 + - *143 - name: q description: Limit results to projects of the specified type. in: query @@ -136553,7 +136656,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - *419 - - *140 + - *143 responses: '200': description: Response @@ -136584,7 +136687,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - *419 - - *140 + - *143 - *17 - *108 - *109 @@ -136618,7 +136721,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - - *140 + - *143 - *419 requestBody: required: true @@ -136731,7 +136834,7 @@ paths: parameters: - *419 - *868 - - *140 + - *143 responses: '200': description: Response @@ -136763,7 +136866,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project parameters: - *419 - - *140 + - *143 - *108 - *109 - *17 @@ -136818,7 +136921,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - - *140 + - *143 - *419 requestBody: required: true @@ -136925,7 +137028,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *419 - - *140 + - *143 - *428 - name: fields description: |- @@ -136970,7 +137073,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - *419 - - *140 + - *143 - *428 requestBody: required: true @@ -137071,7 +137174,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - *419 - - *140 + - *143 - *428 responses: '204': @@ -137095,7 +137198,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view parameters: - *419 - - *140 + - *143 - *870 - name: fields description: |- @@ -137152,7 +137255,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: - - *140 + - *143 - *17 - *19 responses: @@ -137162,7 +137265,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: default: value: @@ -137227,7 +137330,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: - - *140 + - *143 - *17 - *19 responses: @@ -137237,7 +137340,7 @@ paths: application/json: schema: type: array - items: *242 + items: *245 examples: default: value: @@ -137300,7 +137403,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repositories-for-a-user parameters: - - *140 + - *143 - name: type description: Limit results to repositories of the specified type. in: query @@ -137343,7 +137446,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *407 headers: @@ -137365,7 +137468,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: - - *140 + - *143 - *17 - *19 responses: @@ -137397,7 +137500,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: - - *140 + - *143 - *17 - *19 responses: @@ -137433,7 +137536,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *140 + - *143 - *872 - *110 - *17 @@ -137469,7 +137572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *140 + - *143 - *17 - *19 responses: @@ -137479,7 +137582,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: *407 headers: @@ -137802,7 +137905,7 @@ webhooks: license: anyOf: - type: 'null' - - *220 + - *223 organization: anyOf: - type: 'null' @@ -140138,8 +140241,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *221 - repository: *277 + items: *224 + repository: *280 status: type: string enum: @@ -140243,7 +140346,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *221 + items: *224 started_at: type: string format: date-time @@ -146608,7 +146711,7 @@ webhooks: type: string enum: - created - definition: *153 + definition: *156 enterprise: *874 installation: *875 organization: *876 @@ -146775,7 +146878,7 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *153 + definition: *156 enterprise: *874 installation: *875 organization: *876 @@ -146855,7 +146958,7 @@ webhooks: type: string enum: - updated - definition: *153 + definition: *156 enterprise: *874 installation: *875 organization: *876 @@ -146943,11 +147046,11 @@ webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *152 + items: *155 old_property_values: type: array description: The old custom property values for the repository. - items: *152 + items: *155 required: - action - repository @@ -164959,11 +165062,11 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *218 + blocked_issue: *221 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *218 + blocking_issue: *221 blocking_issue_repo: *78 installation: *875 organization: *876 @@ -165050,11 +165153,11 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *218 + blocked_issue: *221 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *218 + blocking_issue: *221 blocking_issue_repo: *78 installation: *875 organization: *876 @@ -165140,12 +165243,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *218 + blocked_issue: *221 blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *218 + blocking_issue: *221 installation: *875 organization: *876 repository: *877 @@ -165231,12 +165334,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *218 + blocked_issue: *221 blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *218 + blocking_issue: *221 installation: *875 organization: *876 repository: *877 @@ -166132,7 +166235,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -167154,7 +167257,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -168309,7 +168412,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -169343,7 +169446,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -170500,7 +170603,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -171936,7 +172039,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -172978,7 +173081,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -173989,7 +174092,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -175011,7 +175114,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 user: title: User type: @@ -176416,7 +176519,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 user: title: User type: @@ -177398,7 +177501,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -178435,7 +178538,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -179426,7 +179529,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -181284,7 +181387,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *219 + - *222 sub_issues_summary: *813 issue_dependencies_summary: *814 issue_field_values: @@ -184673,7 +184776,7 @@ webhooks: type: string enum: - created - definition: *148 + definition: *151 enterprise: *874 sender: *4 required: @@ -184827,7 +184930,7 @@ webhooks: type: string enum: - updated - definition: *148 + definition: *151 enterprise: *874 installation: *875 sender: *4 @@ -184908,11 +185011,11 @@ webhooks: new_property_values: type: array description: The new custom property values. - items: *152 + items: *155 old_property_values: type: array description: The old custom property values. - items: *152 + items: *155 required: - action - organization @@ -256035,7 +256138,7 @@ webhooks: installation: *875 organization: *876 repository: *877 - repository_ruleset: *187 + repository_ruleset: *190 sender: *4 required: - action @@ -256117,7 +256220,7 @@ webhooks: installation: *875 organization: *876 repository: *877 - repository_ruleset: *187 + repository_ruleset: *190 sender: *4 required: - action @@ -256199,7 +256302,7 @@ webhooks: installation: *875 organization: *876 repository: *877 - repository_ruleset: *187 + repository_ruleset: *190 changes: type: object properties: @@ -256218,16 +256321,16 @@ webhooks: properties: added: type: array - items: *158 + items: *161 deleted: type: array - items: *158 + items: *161 updated: type: array items: type: object properties: - condition: *158 + condition: *161 changes: type: object properties: @@ -257377,14 +257480,14 @@ webhooks: alert: &936 type: object properties: - number: *127 - created_at: *134 + number: *130 + created_at: *137 updated_at: anyOf: - type: 'null' - - *135 - url: *132 - html_url: *133 + - *138 + url: *135 + html_url: *136 locations_url: type: string format: uri @@ -258487,7 +258590,7 @@ webhooks: required: - vector_string - score - cvss_severities: *129 + cvss_severities: *132 cwes: type: array items: @@ -258772,7 +258875,7 @@ webhooks: required: - vector_string - score - cvss_severities: *129 + cvss_severities: *132 cwes: type: array items: @@ -260448,12 +260551,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *218 + parent_issue: *221 parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *218 + sub_issue: *221 installation: *875 organization: *876 repository: *877 @@ -260539,12 +260642,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *218 + parent_issue: *221 parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *218 + sub_issue: *221 installation: *875 organization: *876 repository: *877 @@ -260630,12 +260733,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *218 + sub_issue: *221 sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *218 + parent_issue: *221 installation: *875 organization: *876 repository: *877 @@ -260721,12 +260824,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *218 + sub_issue: *221 sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *218 + parent_issue: *221 installation: *875 organization: *876 repository: *877 diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index cce57d8f11..0da3e42b83 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -13717,6 +13717,131 @@ } } }, + "/enterprises/{enterprise}/copilot/usage-records": { + "get": { + "summary": "Get Copilot usage records for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUse this endpoint to retrieve Copilot agent session activity records for a specific enterprise. The endpoint provides comprehensive observability into Copilot session data across your enterprise.\n\nThe response includes detailed usage records aggregated and forwarded from all Copilot clients where your end users operate under enterprise-paid Copilot licenses. This includes cloud agents operating on github.com and data resident deployments on ghe.com, Copilot CLI, VS Code, Visual Studio, and partner IDEs such as those provided by JetBrains and Eclipse.\n\nOnly EMU (GHEC and GHEC with Data Residency) enterprise owners can access this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-usage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage#get-copilot-usage-records-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "name": "phrase", + "description": "A search phrase to filter usage records. Supported qualifiers: `type` (request/response), `user_id`, `created`.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 25). Values are clamped to the range `[1, 25]`.", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "default": 25 + } + }, + { + "$ref": "#/components/parameters/audit-log-after" + }, + { + "$ref": "#/components/parameters/audit-log-before" + }, + { + "$ref": "#/components/parameters/audit-log-order" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true, + "properties": { + "type": { + "type": "string", + "description": "The record type (request or response)." + }, + "user_id": { + "type": "integer", + "description": "The ID of the user who made the request." + }, + "enterprise_id": { + "type": "integer", + "description": "The ID of the enterprise." + }, + "github_request_id": { + "type": "string", + "description": "The GitHub request ID." + }, + "endpoint": { + "type": "string", + "description": "The API endpoint called." + }, + "body": { + "type": "string", + "description": "The request or response body." + }, + "@timestamp": { + "type": "integer", + "description": "Milliseconds since Unix epoch." + }, + "event_id": { + "type": "string", + "description": "The source-assigned event ID." + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-records" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage" + } + } + }, "/enterprises/{enterprise}/credential-authorizations/revoke-all": { "post": { "summary": "Revoke all credential authorizations for an enterprise", @@ -334344,6 +334469,28 @@ "report_end_day": "2025-07-28" } }, + "copilot-usage-records": { + "value": [ + { + "type": "request", + "user_id": 12345, + "enterprise_id": 1, + "github_request_id": "req-abc-123", + "endpoint": "/chat/completions", + "body": "{\"messages\":[{\"role\":\"user\",\"content\":\"Hello\"}]}", + "@timestamp": 1719600000000 + }, + { + "type": "response", + "user_id": 12345, + "enterprise_id": 1, + "github_request_id": "req-abc-123", + "endpoint": "/chat/completions", + "body": "{\"choices\":[{\"message\":{\"content\":\"Hi there!\"}}]}", + "@timestamp": 1719600000500 + } + ] + }, "dependabot-alerts-for-organization": { "value": [ { diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index f1dd6af36c..c5b7251119 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -10129,6 +10129,100 @@ paths: enabledForGitHubApps: false category: copilot subcategory: copilot-coding-agent-management + "/enterprises/{enterprise}/copilot/usage-records": + get: + summary: Get Copilot usage records for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Use this endpoint to retrieve Copilot agent session activity records for a specific enterprise. The endpoint provides comprehensive observability into Copilot session data across your enterprise. + + The response includes detailed usage records aggregated and forwarded from all Copilot clients where your end users operate under enterprise-paid Copilot licenses. This includes cloud agents operating on github.com and data resident deployments on ghe.com, Copilot CLI, VS Code, Visual Studio, and partner IDEs such as those provided by JetBrains and Eclipse. + + Only EMU (GHEC and GHEC with Data Residency) enterprise owners can access this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-usage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage#get-copilot-usage-records-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - name: phrase + description: 'A search phrase to filter usage records. Supported qualifiers: + `type` (request/response), `user_id`, `created`.' + in: query + required: false + schema: + type: string + - name: per_page + description: The number of results per page (max 25). Values are clamped to + the range `[1, 25]`. + in: query + required: false + schema: + type: integer + default: 25 + - "$ref": "#/components/parameters/audit-log-after" + - "$ref": "#/components/parameters/audit-log-before" + - "$ref": "#/components/parameters/audit-log-order" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + additionalProperties: true + properties: + type: + type: string + description: The record type (request or response). + user_id: + type: integer + description: The ID of the user who made the request. + enterprise_id: + type: integer + description: The ID of the enterprise. + github_request_id: + type: string + description: The GitHub request ID. + endpoint: + type: string + description: The API endpoint called. + body: + type: string + description: The request or response body. + "@timestamp": + type: integer + description: Milliseconds since Unix epoch. + event_id: + type: string + description: The source-assigned event ID. + examples: + default: + "$ref": "#/components/examples/copilot-usage-records" + headers: + Link: + "$ref": "#/components/headers/link" + '400': + "$ref": "#/components/responses/bad_request" + '422': + "$ref": "#/components/responses/validation_failed" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage "/enterprises/{enterprise}/credential-authorizations/revoke-all": post: summary: Revoke all credential authorizations for an enterprise @@ -246035,6 +246129,22 @@ components: - https://example.com/copilot-usage-report-2.ndjson report_start_day: '2025-07-01' report_end_day: '2025-07-28' + copilot-usage-records: + value: + - type: request + user_id: 12345 + enterprise_id: 1 + github_request_id: req-abc-123 + endpoint: "/chat/completions" + body: '{"messages":[{"role":"user","content":"Hello"}]}' + "@timestamp": 1719600000000 + - type: response + user_id: 12345 + enterprise_id: 1 + github_request_id: req-abc-123 + endpoint: "/chat/completions" + body: '{"choices":[{"message":{"content":"Hi there!"}}]}' + "@timestamp": 1719600000500 dependabot-alerts-for-organization: value: - number: 2 diff --git a/descriptions-next/ghec/ghec.2026-03-10.json b/descriptions-next/ghec/ghec.2026-03-10.json index daf2ffef23..2f5a216659 100644 --- a/descriptions-next/ghec/ghec.2026-03-10.json +++ b/descriptions-next/ghec/ghec.2026-03-10.json @@ -13717,6 +13717,131 @@ } } }, + "/enterprises/{enterprise}/copilot/usage-records": { + "get": { + "summary": "Get Copilot usage records for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUse this endpoint to retrieve Copilot agent session activity records for a specific enterprise. The endpoint provides comprehensive observability into Copilot session data across your enterprise.\n\nThe response includes detailed usage records aggregated and forwarded from all Copilot clients where your end users operate under enterprise-paid Copilot licenses. This includes cloud agents operating on github.com and data resident deployments on ghe.com, Copilot CLI, VS Code, Visual Studio, and partner IDEs such as those provided by JetBrains and Eclipse.\n\nOnly EMU (GHEC and GHEC with Data Residency) enterprise owners can access this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-usage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage#get-copilot-usage-records-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "name": "phrase", + "description": "A search phrase to filter usage records. Supported qualifiers: `type` (request/response), `user_id`, `created`.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 25). Values are clamped to the range `[1, 25]`.", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "default": 25 + } + }, + { + "$ref": "#/components/parameters/audit-log-after" + }, + { + "$ref": "#/components/parameters/audit-log-before" + }, + { + "$ref": "#/components/parameters/audit-log-order" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true, + "properties": { + "type": { + "type": "string", + "description": "The record type (request or response)." + }, + "user_id": { + "type": "integer", + "description": "The ID of the user who made the request." + }, + "enterprise_id": { + "type": "integer", + "description": "The ID of the enterprise." + }, + "github_request_id": { + "type": "string", + "description": "The GitHub request ID." + }, + "endpoint": { + "type": "string", + "description": "The API endpoint called." + }, + "body": { + "type": "string", + "description": "The request or response body." + }, + "@timestamp": { + "type": "integer", + "description": "Milliseconds since Unix epoch." + }, + "event_id": { + "type": "string", + "description": "The source-assigned event ID." + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-records" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage" + } + } + }, "/enterprises/{enterprise}/credential-authorizations/revoke-all": { "post": { "summary": "Revoke all credential authorizations for an enterprise", @@ -333485,6 +333610,28 @@ "report_end_day": "2025-07-28" } }, + "copilot-usage-records": { + "value": [ + { + "type": "request", + "user_id": 12345, + "enterprise_id": 1, + "github_request_id": "req-abc-123", + "endpoint": "/chat/completions", + "body": "{\"messages\":[{\"role\":\"user\",\"content\":\"Hello\"}]}", + "@timestamp": 1719600000000 + }, + { + "type": "response", + "user_id": 12345, + "enterprise_id": 1, + "github_request_id": "req-abc-123", + "endpoint": "/chat/completions", + "body": "{\"choices\":[{\"message\":{\"content\":\"Hi there!\"}}]}", + "@timestamp": 1719600000500 + } + ] + }, "dependabot-alerts-for-organization": { "value": [ { diff --git a/descriptions-next/ghec/ghec.2026-03-10.yaml b/descriptions-next/ghec/ghec.2026-03-10.yaml index 1e455c65d4..3c4c012277 100644 --- a/descriptions-next/ghec/ghec.2026-03-10.yaml +++ b/descriptions-next/ghec/ghec.2026-03-10.yaml @@ -10129,6 +10129,100 @@ paths: enabledForGitHubApps: false category: copilot subcategory: copilot-coding-agent-management + "/enterprises/{enterprise}/copilot/usage-records": + get: + summary: Get Copilot usage records for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Use this endpoint to retrieve Copilot agent session activity records for a specific enterprise. The endpoint provides comprehensive observability into Copilot session data across your enterprise. + + The response includes detailed usage records aggregated and forwarded from all Copilot clients where your end users operate under enterprise-paid Copilot licenses. This includes cloud agents operating on github.com and data resident deployments on ghe.com, Copilot CLI, VS Code, Visual Studio, and partner IDEs such as those provided by JetBrains and Eclipse. + + Only EMU (GHEC and GHEC with Data Residency) enterprise owners can access this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-usage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage#get-copilot-usage-records-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - name: phrase + description: 'A search phrase to filter usage records. Supported qualifiers: + `type` (request/response), `user_id`, `created`.' + in: query + required: false + schema: + type: string + - name: per_page + description: The number of results per page (max 25). Values are clamped to + the range `[1, 25]`. + in: query + required: false + schema: + type: integer + default: 25 + - "$ref": "#/components/parameters/audit-log-after" + - "$ref": "#/components/parameters/audit-log-before" + - "$ref": "#/components/parameters/audit-log-order" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + additionalProperties: true + properties: + type: + type: string + description: The record type (request or response). + user_id: + type: integer + description: The ID of the user who made the request. + enterprise_id: + type: integer + description: The ID of the enterprise. + github_request_id: + type: string + description: The GitHub request ID. + endpoint: + type: string + description: The API endpoint called. + body: + type: string + description: The request or response body. + "@timestamp": + type: integer + description: Milliseconds since Unix epoch. + event_id: + type: string + description: The source-assigned event ID. + examples: + default: + "$ref": "#/components/examples/copilot-usage-records" + headers: + Link: + "$ref": "#/components/headers/link" + '400': + "$ref": "#/components/responses/bad_request" + '422': + "$ref": "#/components/responses/validation_failed" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage "/enterprises/{enterprise}/credential-authorizations/revoke-all": post: summary: Revoke all credential authorizations for an enterprise @@ -245329,6 +245423,22 @@ components: - https://example.com/copilot-usage-report-2.ndjson report_start_day: '2025-07-01' report_end_day: '2025-07-28' + copilot-usage-records: + value: + - type: request + user_id: 12345 + enterprise_id: 1 + github_request_id: req-abc-123 + endpoint: "/chat/completions" + body: '{"messages":[{"role":"user","content":"Hello"}]}' + "@timestamp": 1719600000000 + - type: response + user_id: 12345 + enterprise_id: 1 + github_request_id: req-abc-123 + endpoint: "/chat/completions" + body: '{"choices":[{"message":{"content":"Hi there!"}}]}' + "@timestamp": 1719600000500 dependabot-alerts-for-organization: value: - number: 2 diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index c950f91532..59b039e40d 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -13731,6 +13731,131 @@ } } }, + "/enterprises/{enterprise}/copilot/usage-records": { + "get": { + "summary": "Get Copilot usage records for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUse this endpoint to retrieve Copilot agent session activity records for a specific enterprise. The endpoint provides comprehensive observability into Copilot session data across your enterprise.\n\nThe response includes detailed usage records aggregated and forwarded from all Copilot clients where your end users operate under enterprise-paid Copilot licenses. This includes cloud agents operating on github.com and data resident deployments on ghe.com, Copilot CLI, VS Code, Visual Studio, and partner IDEs such as those provided by JetBrains and Eclipse.\n\nOnly EMU (GHEC and GHEC with Data Residency) enterprise owners can access this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-usage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage#get-copilot-usage-records-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "name": "phrase", + "description": "A search phrase to filter usage records. Supported qualifiers: `type` (request/response), `user_id`, `created`.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 25). Values are clamped to the range `[1, 25]`.", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "default": 25 + } + }, + { + "$ref": "#/components/parameters/audit-log-after" + }, + { + "$ref": "#/components/parameters/audit-log-before" + }, + { + "$ref": "#/components/parameters/audit-log-order" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true, + "properties": { + "type": { + "type": "string", + "description": "The record type (request or response)." + }, + "user_id": { + "type": "integer", + "description": "The ID of the user who made the request." + }, + "enterprise_id": { + "type": "integer", + "description": "The ID of the enterprise." + }, + "github_request_id": { + "type": "string", + "description": "The GitHub request ID." + }, + "endpoint": { + "type": "string", + "description": "The API endpoint called." + }, + "body": { + "type": "string", + "description": "The request or response body." + }, + "@timestamp": { + "type": "integer", + "description": "Milliseconds since Unix epoch." + }, + "event_id": { + "type": "string", + "description": "The source-assigned event ID." + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-records" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage" + } + } + }, "/enterprises/{enterprise}/credential-authorizations/revoke-all": { "post": { "summary": "Revoke all credential authorizations for an enterprise", @@ -336283,6 +336408,28 @@ "report_end_day": "2025-07-28" } }, + "copilot-usage-records": { + "value": [ + { + "type": "request", + "user_id": 12345, + "enterprise_id": 1, + "github_request_id": "req-abc-123", + "endpoint": "/chat/completions", + "body": "{\"messages\":[{\"role\":\"user\",\"content\":\"Hello\"}]}", + "@timestamp": 1719600000000 + }, + { + "type": "response", + "user_id": 12345, + "enterprise_id": 1, + "github_request_id": "req-abc-123", + "endpoint": "/chat/completions", + "body": "{\"choices\":[{\"message\":{\"content\":\"Hi there!\"}}]}", + "@timestamp": 1719600000500 + } + ] + }, "dependabot-alerts-for-organization": { "value": [ { diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index d01cfa176e..6b33a782a5 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -10137,6 +10137,100 @@ paths: enabledForGitHubApps: false category: copilot subcategory: copilot-coding-agent-management + "/enterprises/{enterprise}/copilot/usage-records": + get: + summary: Get Copilot usage records for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Use this endpoint to retrieve Copilot agent session activity records for a specific enterprise. The endpoint provides comprehensive observability into Copilot session data across your enterprise. + + The response includes detailed usage records aggregated and forwarded from all Copilot clients where your end users operate under enterprise-paid Copilot licenses. This includes cloud agents operating on github.com and data resident deployments on ghe.com, Copilot CLI, VS Code, Visual Studio, and partner IDEs such as those provided by JetBrains and Eclipse. + + Only EMU (GHEC and GHEC with Data Residency) enterprise owners can access this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-usage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage#get-copilot-usage-records-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - name: phrase + description: 'A search phrase to filter usage records. Supported qualifiers: + `type` (request/response), `user_id`, `created`.' + in: query + required: false + schema: + type: string + - name: per_page + description: The number of results per page (max 25). Values are clamped to{"code":"deadline_exceeded","msg":"operation timed out"}