diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 2ee73898e7..83b354eab5 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -48773,6 +48773,350 @@ } } }, + "/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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 0e472ee095..3a930dd180 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -694,7 +694,7 @@ paths: required: - vector_string - score - cvss_severities: &133 + cvss_severities: &136 type: object nullable: true properties: @@ -734,7 +734,7 @@ paths: required: - vector_string - score - epss: &134 + epss: &137 type: object nullable: true readOnly: true @@ -1005,7 +1005,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &265 + schema: &268 title: Validation Error Simple description: Validation Error Simple type: object @@ -3682,7 +3682,7 @@ paths: GitHub. type: object nullable: true - properties: &223 + properties: &226 id: description: Unique identifier of the GitHub app example: 37 @@ -3704,7 +3704,7 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: &144 + properties: &147 description: description: A short description of the enterprise. type: string @@ -3746,7 +3746,7 @@ paths: avatar_url: type: string format: uri - required: &145 + required: &148 - id - node_id - name @@ -3815,7 +3815,7 @@ paths: about itself. example: 5 type: integer - required: &224 + required: &227 - id - node_id - owner @@ -4288,7 +4288,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &264 + schema: &267 title: Validation Error description: Validation Error type: object @@ -4672,7 +4672,7 @@ paths: parameters: - *17 - *19 - - &235 + - &238 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) @@ -5502,7 +5502,7 @@ paths: title: License Simple description: License Simple type: object - properties: &231 + properties: &234 key: type: string example: mit @@ -5524,7 +5524,7 @@ paths: html_url: type: string format: uri - required: &232 + required: &235 - key - name - url @@ -10249,7 +10249,7 @@ paths: description: Response content: application/json: - schema: &266 + schema: &269 type: object properties: total_active_caches_count: @@ -10264,7 +10264,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &267 + default: &270 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -10457,7 +10457,7 @@ paths: - public_ip_enabled - platform examples: - default: &268 + default: &271 value: total_count: 2 runners: @@ -10752,7 +10752,7 @@ paths: application/json: schema: *49 examples: - default: &269 + default: &272 value: id: 1 platform: linux-x64 @@ -10892,7 +10892,7 @@ paths: application/json: schema: *52 examples: - default: &270 + default: &273 value: version: 1.0.0 size_gb: 75 @@ -11056,7 +11056,7 @@ paths: description: Response content: application/json: - schema: &271 + schema: &274 type: object properties: public_ips: @@ -11081,7 +11081,7 @@ paths: required: - public_ips examples: - default: &272 + default: &275 value: public_ips: current_usage: 17 @@ -11121,7 +11121,7 @@ paths: type: array items: *56 examples: - default: &273 + default: &276 value: id: 4-core cpu_cores: 4 @@ -11436,7 +11436,7 @@ paths: required: true content: application/json: - schema: &274 + schema: &277 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -11547,7 +11547,7 @@ paths: - all - local_only - selected - selected_actions_url: &276 + selected_actions_url: &279 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` @@ -11627,7 +11627,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &278 + schema: &281 type: object properties: days: @@ -11673,7 +11673,7 @@ paths: required: true content: application/json: - schema: &279 + schema: &282 type: object properties: days: @@ -11722,7 +11722,7 @@ paths: required: - approval_policy examples: - default: &280 + default: &283 value: approval_policy: first_time_contributors '404': *6 @@ -11780,7 +11780,7 @@ paths: description: Response content: application/json: - schema: &281 + schema: &284 type: object required: - run_workflows_from_fork_pull_requests @@ -11834,7 +11834,7 @@ paths: required: true content: application/json: - schema: &282 + schema: &285 type: object required: - run_workflows_from_fork_pull_requests @@ -12257,7 +12257,7 @@ paths: description: Success response content: application/json: - schema: &285 + schema: &288 type: object properties: default_workflow_permissions: &69 @@ -12305,7 +12305,7 @@ paths: required: true content: application/json: - schema: &286 + schema: &289 type: object properties: default_workflow_permissions: *69 @@ -13150,7 +13150,7 @@ paths: application/json: schema: type: array - items: &290 + items: &293 title: Runner Application description: Runner Application type: object @@ -13175,7 +13175,7 @@ paths: - download_url - filename examples: - default: &291 + default: &294 value: - os: osx architecture: x64 @@ -13259,7 +13259,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &292 + '201': &295 description: Response content: application/json: @@ -13374,7 +13374,7 @@ paths: - token - expires_at examples: - default: &293 + default: &296 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -13414,7 +13414,7 @@ paths: application/json: schema: *81 examples: - default: &294 + default: &297 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13446,7 +13446,7 @@ paths: application/json: schema: *78 examples: - default: &295 + default: &298 value: id: 23 name: MBP @@ -13663,7 +13663,7 @@ paths: - *41 - *77 responses: - '200': &296 + '200': &299 description: Response content: application/json: @@ -13719,7 +13719,7 @@ paths: parameters: - *41 - *77 - - &297 + - &300 name: name description: The name of a self-hosted runner's custom label. in: path @@ -13810,7 +13810,7 @@ paths: required: true content: application/json: - schema: &311 + schema: &314 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14451,7 +14451,7 @@ paths: required: false schema: type: string - - &314 + - &317 name: include description: |- The event types to include: @@ -14469,7 +14469,7 @@ paths: - web - git - all - - &315 + - &131 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. @@ -14477,7 +14477,7 @@ paths: required: false schema: type: string - - &316 + - &132 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. @@ -14485,7 +14485,7 @@ paths: required: false schema: type: string - - &317 + - &133 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -15840,28 +15840,28 @@ paths: items: &332 type: object properties: - number: &131 + number: &134 type: integer description: The security alert number. readOnly: true - created_at: &138 + created_at: &141 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: &139 + updated_at: &142 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: &136 + url: &139 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &137 + html_url: &140 type: string description: The GitHub URL of the alert resource. format: uri @@ -15880,7 +15880,7 @@ paths: - open - dismissed - fixed - fixed_at: &141 + fixed_at: &144 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -15894,7 +15894,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &140 + dismissed_at: &143 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -16053,7 +16053,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &142 + properties: &145 id: type: integer format: int64 @@ -16280,7 +16280,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &143 + required: &146 - archive_url - assignees_url - blobs_url @@ -16583,7 +16583,7 @@ paths: headers: Link: *47 '404': *6 - '503': &200 + '503': &203 description: Service unavailable content: application/json: @@ -18288,7 +18288,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &151 + items: &154 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -18496,7 +18496,7 @@ paths: - slug - parent - type - - &150 + - &153 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -18614,7 +18614,7 @@ paths: - created_at additionalProperties: false examples: - default: &152 + default: &155 value: total_seats: 2 seats: @@ -19968,6 +19968,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: + - *41 + - 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 + - *131 + - *132 + - *133 + 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: *47 + '400': *14 + '422': *15 + '403': *29 + '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 @@ -20093,7 +20196,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: - *41 - - &148 + - &151 name: username description: The handle for the GitHub user account. in: path @@ -20322,7 +20425,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *131 + number: *134 state: type: string description: The state of the Dependabot alert. @@ -20337,7 +20440,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &132 + package: &135 type: object description: Details for the vulnerable package. readOnly: true @@ -20412,13 +20515,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &135 + items: &138 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *132 + package: *135 severity: type: string description: The severity of the vulnerability. @@ -20491,8 +20594,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *133 - epss: *134 + cvss_severities: *136 + epss: *137 cwes: type: array description: Details for the advisory pertaining to Common @@ -20591,12 +20694,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *135 - url: *136 - html_url: *137 - created_at: *138 - updated_at: *139 - dismissed_at: *140 + security_vulnerability: *138 + url: *139 + html_url: *140 + created_at: *141 + updated_at: *142 + dismissed_at: *143 dismissed_by: title: Simple User description: A GitHub user. @@ -20620,7 +20723,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *141 + fixed_at: *144 auto_dismissed_at: &628 type: string description: 'The time that the alert was auto-dismissed in @@ -21096,8 +21199,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *142 - required: *143 + properties: *145 + required: *146 nullable: true additionalProperties: false examples: @@ -21571,7 +21674,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &149 + items: &152 title: Enterprise Role description: Enterprise custom roles type: object @@ -21605,8 +21708,8 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: *144 - required: *145 + properties: *147 + required: *148 nullable: true created_at: description: The date and time the role was created. @@ -21699,7 +21802,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *41 - - &146 + - &149 name: team_slug description: The slug of the enterprise team name. in: path @@ -21742,8 +21845,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *41 - - *146 - - &147 + - *149 + - &150 name: role_id description: The unique identifier of the role. in: path @@ -21785,8 +21888,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *41 - - *146 - - *147 + - *149 + - *150 responses: '204': description: Response @@ -21820,7 +21923,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user parameters: - *41 - - *148 + - *151 responses: '204': description: Response @@ -21854,8 +21957,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user parameters: - *41 - - *148 - - *147 + - *151 + - *150 responses: '204': description: Response @@ -21888,8 +21991,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment parameters: - *41 - - *148 - - *147 + - *151 + - *150 responses: '204': description: Response @@ -21923,13 +22026,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *41 - - *147 + - *150 responses: '200': description: Response content: application/json: - schema: *149 + schema: *152 examples: default: value: @@ -21983,7 +22086,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: - *41 - - *147 + - *150 - *17 - *19 responses: @@ -21993,9 +22096,9 @@ paths: application/json: schema: type: array - items: *150 + items: *153 examples: - default: &215 + default: &218 value: - id: 1 name: Justice League @@ -22034,7 +22137,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: - *41 - - *147 + - *150 - *17 - *19 responses: @@ -22066,7 +22169,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *150 + items: *153 examples: default: value: @@ -22299,7 +22402,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: - *41 - - *148 + - *151 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -22315,9 +22418,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *151 + items: *154 examples: - default: *152 + default: *155 '500': *40 '401': *25 '403': *29 @@ -22360,7 +22463,7 @@ paths: type: integer network_configurations: type: array - items: &153 + items: &156 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -22504,9 +22607,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: &154 + default: &157 value: id: 123456789ABCDEF name: My network configuration @@ -22533,7 +22636,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: - *41 - - &155 + - &158 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -22545,9 +22648,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *154 + default: *157 headers: Link: *47 x-github: @@ -22567,7 +22670,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: - *41 - - *155 + - *158 requestBody: required: true content: @@ -22620,9 +22723,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *154 + default: *157 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -22640,7 +22743,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: - *41 - - *155 + - *158 responses: '204': description: Response @@ -22748,7 +22851,7 @@ paths: application/json: schema: type: array - items: &156 + items: &159 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -22816,7 +22919,7 @@ paths: - property_name - value_type examples: - default: &157 + default: &160 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -22876,7 +22979,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *156 + items: *159 minItems: 1 maxItems: 100 required: @@ -22909,9 +23012,9 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: - default: *157 + default: *160 '403': *29 '404': *6 '422': *7 @@ -22938,7 +23041,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: - *41 - - &158 + - &161 name: custom_property_name description: The custom property name in: path @@ -22950,9 +23053,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *159 examples: - default: &159 + default: &162 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -22989,7 +23092,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: - *41 - - *158 + - *161 requestBody: required: true content: @@ -23058,9 +23161,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *159 examples: - default: *159 + default: *162 '403': *29 '404': *6 '422': *7 @@ -23086,7 +23189,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: - *41 - - *158 + - *161 responses: '204': *130 '403': *29 @@ -23137,7 +23240,7 @@ paths: example: Hello-World properties: type: array - items: &160 + items: &163 title: Custom Property Value description: Custom property name and associated value type: object @@ -23220,7 +23323,7 @@ paths: type: array description: List of custom property names and associated values to apply to the organizations. - items: *160 + items: *163 required: - organization_logins - properties @@ -23270,7 +23373,7 @@ paths: application/json: schema: type: array - items: &161 + items: &164 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -23338,7 +23441,7 @@ paths: - property_name - value_type examples: - default: &162 + default: &165 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -23396,7 +23499,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *161 + items: *164 minItems: 1 maxItems: 100 required: @@ -23426,9 +23529,9 @@ paths: application/json: schema: type: array - items: *161 + items: *164 examples: - default: *162 + default: *165 '403': *29 '404': *6 x-github: @@ -23452,15 +23555,15 @@ paths: parameters: - *41 - *89 - - *158 + - *161 responses: '200': description: Response content: application/json: - schema: *161 + schema: *164 examples: - default: &163 + default: &166 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -23493,15 +23596,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *41 - - *158 + - *161 responses: '200': description: Response content: application/json: - schema: *161 + schema: *164 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -23523,7 +23626,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: - *41 - - *158 + - *161 requestBody: required: true content: @@ -23594,9 +23697,9 @@ paths: description: Response content: application/json: - schema: *161 + schema: *164 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -23618,7 +23721,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *41 - - *158 + - *161 responses: '204': *130 '403': *29 @@ -23660,7 +23763,7 @@ paths: - push - repository default: branch - enforcement: &172 + enforcement: &175 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -23673,7 +23776,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &173 + items: &176 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -23716,7 +23819,7 @@ paths: - pull_request - exempt default: always - conditions: &197 + conditions: &200 title: Enterprise ruleset conditions type: object description: |- @@ -23729,7 +23832,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &164 + - &167 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -23755,7 +23858,7 @@ paths: type: string required: - organization_name - - &167 + - &170 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -23784,7 +23887,7 @@ paths: is prevented. required: - repository_name - - &166 + - &169 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -23812,8 +23915,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *164 - - &169 + - *167 + - &172 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -23826,7 +23929,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &165 + items: &168 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -23857,16 +23960,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *165 + items: *168 required: - repository_property - - *166 + - *169 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &168 + - &171 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -23883,22 +23986,22 @@ paths: type: integer required: - organization_id - - *167 - - *166 + - *170 + - *169 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *168 + - *171 + - *172 - *169 - - *166 - type: object title: organization_property_and_repository_name description: Conditions to target organizations by property and all repositories allOf: - - &171 + - &174 title: Repository ruleset conditions for organization properties type: object description: Parameters for a organization property condition @@ -23911,7 +24014,7 @@ paths: description: The organization properties and values to include. All of these properties must match for the condition to pass. - items: &170 + items: &173 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a organization @@ -23935,28 +24038,28 @@ paths: description: The organization properties and values to exclude. The condition will not pass if any of these properties match. - items: *170 + items: *173 required: - organization_property - - *167 - - *166 + - *170 + - *169 - type: object title: organization_property_and_repository_property description: Conditions to target organizations by property and repositories by property allOf: - - *171 + - *174 + - *172 - *169 - - *166 rules: type: array description: An array of rules within the ruleset. - items: &198 + items: &201 title: Repository Rule type: object description: A repository rule. oneOf: - - &174 + - &177 title: creation description: Only allow users with bypass permission to create matching refs. @@ -23968,7 +24071,7 @@ paths: type: string enum: - creation - - &175 + - &178 title: update description: Only allow users with bypass permission to update matching refs. @@ -23989,7 +24092,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &176 + - &179 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -24001,7 +24104,7 @@ paths: type: string enum: - deletion - - &177 + - &180 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -24013,7 +24116,7 @@ paths: type: string enum: - required_linear_history - - &178 + - &181 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -24037,7 +24140,7 @@ paths: type: string required: - required_deployment_environments - - &179 + - &182 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -24049,7 +24152,7 @@ paths: type: string enum: - required_signatures - - &180 + - &183 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. @@ -24152,7 +24255,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &181 + - &184 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -24199,7 +24302,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &182 + - &185 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -24211,7 +24314,7 @@ paths: type: string enum: - non_fast_forward - - &183 + - &186 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -24248,7 +24351,7 @@ paths: required: - operator - pattern - - &184 + - &187 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -24285,7 +24388,7 @@ paths: required: - operator - pattern - - &185 + - &188 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -24322,7 +24425,7 @@ paths: required: - operator - pattern - - &186 + - &189 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -24359,7 +24462,7 @@ paths: required: - operator - pattern - - &187 + - &190 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -24396,7 +24499,7 @@ paths: required: - operator - pattern - - &191 + - &194 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -24420,7 +24523,7 @@ paths: type: string required: - restricted_file_paths - - &192 + - &195 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -24444,7 +24547,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &193 + - &196 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -24467,7 +24570,7 @@ paths: type: string required: - restricted_file_extensions - - &194 + - &197 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -24491,7 +24594,7 @@ paths: maximum: 100 required: - max_file_size - - &188 + - &191 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -24540,7 +24643,7 @@ paths: - repository_id required: - workflows - - &189 + - &192 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -24600,7 +24703,7 @@ paths: - tool required: - code_scanning_tools - - &190 + - &193 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review @@ -24650,7 +24753,7 @@ paths: description: Response content: application/json: - schema: &195 + schema: &198 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -24685,11 +24788,11 @@ paths: source: type: string description: The name of the source - enforcement: *172 + enforcement: *175 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *173 + items: *176 current_user_can_bypass: type: string description: |- @@ -24721,7 +24824,7 @@ paths: conditions: nullable: true anyOf: - - *166 + - *169 - &452 title: Organization ruleset conditions type: object @@ -24736,14 +24839,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *166 - - *167 + - *169 + - *170 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *166 + - *169 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -24765,8 +24868,8 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *166 - *169 + - *172 rules: type: array items: &772 @@ -24774,10 +24877,10 @@ paths: type: object description: A repository rule. oneOf: - - *174 - - *175 - - *176 - *177 + - *178 + - *179 + - *180 - &770 title: merge_queue description: Merges must be performed via a merge queue. @@ -24856,9 +24959,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *178 - - *179 - - *180 - *181 - *182 - *183 @@ -24873,6 +24973,9 @@ paths: - *192 - *193 - *194 + - *195 + - *196 + - *197 created_at: type: string format: date-time @@ -24880,7 +24983,7 @@ paths: type: string format: date-time examples: - default: &196 + default: &199 value: id: 21 name: super cool ruleset @@ -24939,9 +25042,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: - default: *196 + default: *199 '404': *6 '500': *40 x-github: @@ -24985,16 +25088,16 @@ paths: - tag - push - repository - enforcement: *172 + enforcement: *175 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *173 - conditions: *197 + items: *176 + conditions: *200 rules: description: An array of rules within the ruleset. type: array - items: *198 + items: *201 examples: default: value: @@ -25018,9 +25121,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: - default: *196 + default: *199 '404': *6 '500': *40 x-github: @@ -25082,7 +25185,7 @@ paths: application/json: schema: type: array - items: &199 + items: &202 title: Ruleset version type: object description: The historical version of a ruleset @@ -25161,7 +25264,7 @@ paths: application/json: schema: &456 allOf: - - *199 + - *202 - type: object required: - state @@ -25369,8 +25472,8 @@ paths: items: &470 type: object properties: - number: *131 - created_at: *138 + number: *134 + created_at: *141 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -25378,8 +25481,8 @@ paths: format: date-time readOnly: true nullable: true - url: *136 - html_url: *137 + url: *139 + html_url: *140 locations_url: type: string format: uri @@ -26031,7 +26134,7 @@ paths: headers: Link: *47 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -26068,7 +26171,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &202 + pattern_config_version: &205 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -26077,7 +26180,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &201 + items: &204 type: object properties: token_type: @@ -26143,7 +26246,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *201 + items: *204 examples: default: &473 value: @@ -26200,7 +26303,7 @@ paths: schema: type: object properties: - pattern_config_version: *202 + pattern_config_version: *205 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -26226,7 +26329,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *202 + custom_pattern_version: *205 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -26398,7 +26501,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-enterprise parameters: - *41 - - &206 + - &209 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, @@ -26407,7 +26510,7 @@ paths: required: false schema: type: integer - - &207 + - &210 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 @@ -26416,7 +26519,7 @@ paths: required: false schema: type: integer - - &208 + - &211 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 @@ -26425,7 +26528,7 @@ paths: required: false schema: type: integer - - &209 + - &212 name: organization description: The organization name to query usage for. The name is not case sensitive. @@ -26433,21 +26536,21 @@ paths: required: false schema: type: string - - &210 + - &213 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &211 + - &214 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &212 + - &215 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -26586,7 +26689,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27094,7 +27197,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-a-budget-by-id parameters: - *41 - - &203 + - &206 name: budget_id description: The ID corresponding to the budget. in: path @@ -27199,7 +27302,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27472,7 +27575,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#delete-a-budget parameters: - *41 - - *203 + - *206 responses: '200': description: Response when deleting a budget @@ -27499,7 +27602,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27518,7 +27621,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-user-states-for-a-multi-user-budget parameters: - *41 - - *203 + - *206 - name: page description: The page number of results to fetch. in: query @@ -27613,7 +27716,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27716,7 +27819,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27851,7 +27954,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#get-a-cost-center-by-id parameters: - *41 - - &205 + - &208 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -27908,7 +28011,7 @@ paths: - name - resources examples: - default: &204 + default: &207 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -27922,7 +28025,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28016,13 +28119,13 @@ paths: - name - resources examples: - default: *204 + default: *207 '400': *14 '403': *29 '404': *6 '409': *121 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28040,7 +28143,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#delete-a-cost-center parameters: - *41 - - *205 + - *208 responses: '200': description: Response when deleting a cost center @@ -28079,7 +28182,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28100,7 +28203,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - *41 - - *205 + - *208 requestBody: required: true content: @@ -28180,7 +28283,7 @@ paths: '403': *29 '409': *121 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28200,7 +28303,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - *41 - - *205 + - *208 requestBody: required: true content: @@ -28252,7 +28355,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28273,13 +28376,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *41 - - *206 - - *207 - - *208 - *209 - *210 - *211 - *212 + - *213 + - *214 + - *215 - 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. @@ -28412,7 +28515,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28442,7 +28545,7 @@ paths: usage_report_exports: type: array description: List of usage report exports - items: &213 + items: &216 type: object properties: id: @@ -28533,7 +28636,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28597,9 +28700,9 @@ paths: description: Report export request accepted content: application/json: - schema: *213 + schema: *216 examples: - usage-report-export: &214 + usage-report-export: &217 value: id: a1b2c3d4-e5f6-7890-abcd-ef1234567890 report_type: detailed @@ -28615,7 +28718,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28646,14 +28749,14 @@ paths: description: Usage report export details content: application/json: - schema: *213 + schema: *216 examples: - usage-report-export: *214 + usage-report-export: *217 '401': *25 '403': *29 '404': *6 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28674,7 +28777,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - *41 - - *206 + - *209 - 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 @@ -28683,7 +28786,7 @@ paths: required: false schema: type: integer - - *208 + - *211 - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -28766,7 +28869,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28787,17 +28890,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - *41 - - *206 - - *207 - - *208 - *209 + - *210 + - *211 + - *212 - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *212 + - *215 - name: sku description: The SKU to query for usage. in: query @@ -28930,7 +29033,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28957,9 +29060,9 @@ paths: application/json: schema: type: array - items: *150 + items: *153 examples: - default: *215 + default: *218 headers: Link: *47 '403': *29 @@ -29046,9 +29149,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - default: &220 + default: &223 value: id: 1 name: Justice League @@ -29077,7 +29180,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *41 - - &216 + - &219 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -29096,7 +29199,7 @@ paths: type: array items: *4 examples: - default: &217 + default: &220 value: - login: octocat id: 1 @@ -29135,7 +29238,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *41 - - *216 + - *219 requestBody: required: true content: @@ -29166,7 +29269,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29184,7 +29287,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *41 - - *216 + - *219 requestBody: required: true content: @@ -29215,7 +29318,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29233,8 +29336,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *41 - - *216 - - *148 + - *219 + - *151 responses: '200': description: User is a member of the enterprise team. @@ -29242,7 +29345,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &218 + exampleKey1: &221 value: login: octocat id: 1 @@ -29278,8 +29381,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *41 - - *216 - - *148 + - *219 + - *151 responses: '201': description: Successfully added team member @@ -29287,7 +29390,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *218 + exampleKey1: *221 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29305,8 +29408,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *41 - - *216 - - *148 + - *219 + - *151 responses: '204': description: Response @@ -29328,7 +29431,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *41 - - *216 + - *219 - *17 - *19 responses: @@ -29340,7 +29443,7 @@ paths: type: array items: *75 examples: - default: &219 + default: &222 value: login: github id: 1 @@ -29371,7 +29474,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *41 - - *216 + - *219 requestBody: required: true content: @@ -29401,7 +29504,7 @@ paths: type: array items: *75 examples: - default: &259 + default: &262 value: - login: github id: 1 @@ -29432,7 +29535,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *41 - - *216 + - *219 requestBody: required: true content: @@ -29473,7 +29576,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *41 - - *216 + - *219 - *89 responses: '200': @@ -29482,7 +29585,7 @@ paths: application/json: schema: *75 examples: - default: *219 + default: *222 '404': description: The team is not assigned to the organization x-github: @@ -29501,7 +29604,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *41 - - *216 + - *219 - *89 responses: '201': @@ -29510,7 +29613,7 @@ paths: application/json: schema: *75 examples: - default: *219 + default: *222 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29527,7 +29630,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *41 - - *216 + - *219 - *89 responses: '204': @@ -29552,7 +29655,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *41 - - &221 + - &224 name: team_slug description: The slug of the team name. in: path @@ -29564,9 +29667,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - default: *220 + default: *223 headers: Link: *47 '403': *29 @@ -29586,7 +29689,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *41 - - *221 + - *224 requestBody: required: true content: @@ -29651,9 +29754,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - default: *220 + default: *223 headers: Link: *47 '403': *29 @@ -29676,7 +29779,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *41 - - *221 + - *224 responses: '204': description: Response @@ -29775,7 +29878,7 @@ paths: application/json: schema: type: array - items: &254 + items: &257 title: Event description: Event type: object @@ -29785,7 +29888,7 @@ paths: type: type: string nullable: true - actor: &222 + actor: &225 title: Actor description: Actor type: object @@ -29825,7 +29928,7 @@ paths: - id - name - url - org: *222 + org: *225 payload: oneOf: - title: CreateEvent @@ -30158,7 +30261,7 @@ paths: - id labels: type: array - items: &227 + items: &230 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -30233,7 +30336,7 @@ paths: properties: action: type: string - issue: &228 + issue: &231 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -30563,9 +30666,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *223 - required: *224 - author_association: &225 + properties: *226 + required: *227 + author_association: &228 title: author_association type: string example: OWNER @@ -30580,7 +30683,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &226 + reactions: &229 title: Reaction Rollup type: object properties: @@ -30641,7 +30744,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &229 + properties: &232 id: description: Unique identifier of the issue comment example: 42 @@ -30684,7 +30787,7 @@ paths: issue_url: type: string format: uri - author_association: *225 + author_association: *228 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -30695,9 +30798,9 @@ paths: class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 - reactions: *226 + properties: *226 + required: *227 + reactions: *229 pin: title: Pinned Issue Comment description: Context around who pinned an issue @@ -30733,7 +30836,7 @@ paths: required: &717 - reason nullable: true - required: &230 + required: &233 - id - node_id - html_url @@ -30879,10 +30982,10 @@ paths: assignees: type: array items: *4 - label: *227 + label: *230 labels: type: array - items: *227 + items: *230 required: - action - issue @@ -30891,14 +30994,14 @@ paths: properties: action: type: string - issue: *228 + issue: *231 comment: &684 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 required: - action - issue @@ -31071,8 +31174,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true allow_forking: type: boolean @@ -31161,7 +31264,7 @@ paths: type: string number: type: integer - pull_request: &233 + pull_request: &236 title: Pull Request Minimal type: object properties: @@ -31232,10 +31335,10 @@ paths: assignees: type: array items: *4 - label: *227 + label: *230 labels: type: array - items: *227 + items: *230 required: - action - number @@ -31245,7 +31348,7 @@ paths: properties: action: type: string - pull_request: *233 + pull_request: *236 comment: type: object properties: @@ -31496,7 +31599,7 @@ paths: - pull_request updated_at: type: string - pull_request: *233 + pull_request: *236 required: - action - review @@ -31545,7 +31648,7 @@ paths: updated_at: type: string format: date-time - reactions: *226 + reactions: *229 required: - action - comment @@ -31702,7 +31805,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *226 + reactions: *229 required: - assets_url - upload_url @@ -31794,7 +31897,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31875,7 +31978,7 @@ paths: _links: type: object properties: - timeline: &234 + timeline: &237 title: Link With Type description: Hypermedia Link with Type type: object @@ -31887,17 +31990,17 @@ paths: required: - href - type - user: *234 - security_advisories: *234 - current_user: *234 - current_user_public: *234 - current_user_actor: *234 - current_user_organization: *234 + user: *237 + security_advisories: *237 + current_user: *237 + current_user_public: *237 + current_user_actor: *237 + current_user_organization: *237 current_user_organizations: type: array - items: *234 - repository_discussions: *234 - repository_discussions_category: *234 + items: *237 + repository_discussions: *237 + repository_discussions_category: *237 required: - timeline - user @@ -31959,7 +32062,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *235 + - *238 - *17 - *19 responses: @@ -31969,7 +32072,7 @@ paths: application/json: schema: type: array - items: &236 + items: &239 title: Base Gist description: Base Gist type: object @@ -32068,7 +32171,7 @@ paths: - created_at - updated_at examples: - default: &237 + default: &240 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -32189,7 +32292,7 @@ paths: description: Response content: application/json: - schema: &238 + schema: &241 title: Gist Simple description: Gist Simple type: object @@ -32568,7 +32671,7 @@ paths: truncated: type: boolean examples: - default: &239 + default: &242 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -32672,7 +32775,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *235 + - *238 - *17 - *19 responses: @@ -32682,9 +32785,9 @@ paths: application/json: schema: type: array - items: *236 + items: *239 examples: - default: *237 + default: *240 headers: Link: *47 '422': *15 @@ -32706,7 +32809,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *235 + - *238 - *17 - *19 responses: @@ -32716,9 +32819,9 @@ paths: application/json: schema: type: array - items: *236 + items: *239 examples: - default: *237 + default: *240 headers: Link: *47 '401': *25 @@ -32745,7 +32848,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &240 + - &243 name: gist_id description: The unique identifier of the gist. in: path @@ -32757,10 +32860,10 @@ paths: description: Response content: application/json: - schema: *238 + schema: *241 examples: - default: *239 - '403': &243 + default: *242 + '403': &246 description: Forbidden Gist content: application/json: @@ -32807,7 +32910,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *240 + - *243 requestBody: required: true content: @@ -32867,9 +32970,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *241 examples: - updateGist: *239 + updateGist: *242 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -33027,7 +33130,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *240 + - *243 responses: '204': description: Response @@ -33055,7 +33158,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *240 + - *243 - *17 - *19 responses: @@ -33065,7 +33168,7 @@ paths: application/json: schema: type: array - items: &241 + items: &244 title: Gist Comment description: A comment made to a gist. type: object @@ -33100,7 +33203,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *225 + author_association: *228 required: - url - id @@ -33164,7 +33267,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *240 + - *243 requestBody: required: true content: @@ -33189,9 +33292,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: &242 + default: &245 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -33248,8 +33351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *240 - - &244 + - *243 + - &247 name: comment_id description: The unique identifier of the comment. in: path @@ -33262,12 +33365,12 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *242 + default: *245 '304': *37 '404': *6 - '403': *243 + '403': *246 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33288,8 +33391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *240 - - *244 + - *243 + - *247 requestBody: required: true content: @@ -33314,9 +33417,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *242 + default: *245 '404': *6 x-github: githubCloudOnly: false @@ -33333,8 +33436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *240 - - *244 + - *243 + - *247 responses: '204': description: Response @@ -33357,7 +33460,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *240 + - *243 - *17 - *19 responses: @@ -33458,7 +33561,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *240 + - *243 - *17 - *19 responses: @@ -33468,7 +33571,7 @@ paths: application/json: schema: type: array - items: *238 + items: *241 examples: default: value: @@ -33533,13 +33636,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *240 + - *243 responses: '201': description: Response content: application/json: - schema: *236 + schema: *239 examples: default: value: @@ -33610,7 +33713,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *240 + - *243 responses: '204': description: Response if gist is starred @@ -33640,7 +33743,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *240 + - *243 responses: '204': description: Response @@ -33662,7 +33765,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *240 + - *243 responses: '204': description: Response @@ -33690,7 +33793,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *240 + - *243 - name: sha in: path required: true @@ -33701,9 +33804,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *241 examples: - default: *239 + default: *242 '422': *15 '404': *6 '403': *29 @@ -34102,7 +34205,7 @@ paths: - comments default: created - *112 - - *235 + - *238 - name: collab in: query required: false @@ -34132,7 +34235,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: &404 value: @@ -34418,8 +34521,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 examples: default: value: @@ -34704,7 +34807,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &245 + X-CommonMarker-Version: &248 example: 0.17.4 schema: type: string @@ -34759,7 +34862,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *245 + X-CommonMarker-Version: *248 content: text/html: schema: @@ -34788,7 +34891,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: - - &248 + - &251 name: account_id description: account_id parameter in: path @@ -34800,7 +34903,7 @@ paths: description: Response content: application/json: - schema: &247 + schema: &250 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -34830,7 +34933,7 @@ paths: nullable: true id: type: integer - plan: &246 + plan: &249 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -34919,7 +35022,7 @@ paths: nullable: true updated_at: type: string - plan: *246 + plan: *249 required: - url - id @@ -34927,7 +35030,7 @@ paths: - login - marketplace_purchase examples: - default: &249 + default: &252 value: url: https://api.github.com/orgs/github type: Organization @@ -35012,9 +35115,9 @@ paths: application/json: schema: type: array - items: *246 + items: *249 examples: - default: &250 + default: &253 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -35054,14 +35157,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &251 + - &254 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &252 + - &255 name: sort description: The property to sort the results by. in: query @@ -35091,9 +35194,9 @@ paths: application/json: schema: type: array - items: *247 + items: *250 examples: - default: &253 + default: &256 value: - url: https://api.github.com/orgs/github type: Organization @@ -35167,15 +35270,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: - - *248 + - *251 responses: '200': description: Response content: application/json: - schema: *247 + schema: *250 examples: - default: *249 + default: *252 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -35207,9 +35310,9 @@ paths: application/json: schema: type: array - items: *246 + items: *249 examples: - default: *250 + default: *253 headers: Link: *47 '401': *25 @@ -35232,8 +35335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *251 - - *252 + - *254 + - *255 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -35253,9 +35356,9 @@ paths: application/json: schema: type: array - items: *247 + items: *250 examples: - default: *253 + default: *256 headers: Link: *47 '401': *25 @@ -35543,7 +35646,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: default: value: @@ -35627,7 +35730,7 @@ paths: schema: type: boolean default: false - - *235 + - *238 - &739 name: before description: 'Only show notifications updated before the given time. This @@ -35653,14 +35756,14 @@ paths: application/json: schema: type: array - items: &255 + items: &258 title: Thread description: Thread type: object properties: id: type: string - repository: &289 + repository: &292 title: Minimal Repository description: Minimal Repository type: object @@ -36332,7 +36435,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &256 + - &259 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 @@ -36346,7 +36449,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *258 examples: default: value: @@ -36449,7 +36552,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *256 + - *259 responses: '205': description: Reset Content @@ -36472,7 +36575,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *256 + - *259 responses: '204': description: No content @@ -36495,13 +36598,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: - - *256 + - *259 responses: '200': description: Response content: application/json: - schema: &257 + schema: &260 title: Thread Subscription description: Thread Subscription type: object @@ -36538,7 +36641,7 @@ paths: - url - subscribed examples: - default: &258 + default: &261 value: subscribed: true ignored: false @@ -36569,7 +36672,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *256 + - *259 requestBody: required: false content: @@ -36590,9 +36693,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *260 examples: - default: *258 + default: *261 '304': *37 '403': *29 '401': *25 @@ -36615,7 +36718,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *256 + - *259 responses: '204': description: Response @@ -36712,7 +36815,7 @@ paths: type: array items: *75 examples: - default: *259 + default: *262 headers: Link: example: ; rel="next" @@ -36864,7 +36967,7 @@ paths: description: Response content: application/json: - schema: &260 + schema: &263 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -36902,7 +37005,7 @@ paths: required: true content: application/json: - schema: *260 + schema: *263 examples: selected_actions: *44 responses: @@ -36937,7 +37040,7 @@ paths: description: Response content: application/json: - schema: &261 + schema: &264 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -36975,7 +37078,7 @@ paths: required: true content: application/json: - schema: *261 + schema: *264 examples: selected_actions: *46 responses: @@ -37016,7 +37119,7 @@ paths: application/json: schema: type: array - items: *160 + items: *163 examples: default: &746 value: @@ -37064,7 +37167,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *160 + items: *163 required: - properties examples: @@ -37115,7 +37218,7 @@ paths: description: Response content: application/json: - schema: &262 + schema: &265 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -37448,7 +37551,7 @@ paths: - updated_at - archived_at examples: - default-response: &263 + default-response: &266 value: login: github id: 1 @@ -37773,17 +37876,17 @@ paths: description: Response content: application/json: - schema: *262 + schema: *265 examples: - default: *263 + default: *266 '422': description: Validation failed content: application/json: schema: oneOf: - - *264 - - *265 + - *267 + - *268 '409': *121 x-github: githubCloudOnly: false @@ -37838,9 +37941,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: *267 + default: *270 headers: Link: *47 x-github: @@ -37956,7 +38059,7 @@ paths: type: array items: *48 examples: - default: *268 + default: *271 headers: Link: *47 x-github: @@ -38122,7 +38225,7 @@ paths: application/json: schema: *49 examples: - default: *269 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38214,7 +38317,7 @@ paths: application/json: schema: *52 examples: - default: *270 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38333,9 +38436,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *274 examples: - default: *272 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38371,7 +38474,7 @@ paths: type: array items: *56 examples: - default: *273 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38614,7 +38717,7 @@ paths: required: true content: application/json: - schema: *274 + schema: *277 examples: default: *60 responses: @@ -38707,7 +38810,7 @@ paths: required: - include_claim_keys examples: - default: &275 + default: &278 value: include_claim_keys: - repo @@ -38752,13 +38855,13 @@ paths: format. type: boolean examples: - default: *275 + default: *278 responses: '201': description: Empty response content: application/json: - schema: &300 + schema: &303 title: Empty Object description: An object without any properties. type: object @@ -38797,7 +38900,7 @@ paths: schema: type: object properties: - enabled_repositories: &277 + enabled_repositories: &280 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -38811,7 +38914,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *62 - selected_actions_url: *276 + selected_actions_url: *279 sha_pinning_required: *63 required: - enabled_repositories @@ -38853,7 +38956,7 @@ paths: schema: type: object properties: - enabled_repositories: *277 + enabled_repositories: *280 allowed_actions: *62 sha_pinning_required: *63 required: @@ -38889,7 +38992,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: response: summary: Example response @@ -38920,7 +39023,7 @@ paths: required: true content: application/json: - schema: *279 + schema: *282 examples: application/json: value: @@ -38958,7 +39061,7 @@ paths: application/json: schema: *64 examples: - default: *280 + default: *283 '404': *6 x-github: enabledForGitHubApps: true @@ -39015,7 +39118,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *284 examples: default: *65 '403': *29 @@ -39040,7 +39143,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *285 examples: default: *65 responses: @@ -39092,7 +39195,7 @@ paths: type: array items: *80 examples: - default: &284 + default: &287 value: total_count: 1 repositories: @@ -39277,7 +39380,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *89 - - &283 + - &286 name: repository_id description: The unique identifier of the repository. in: path @@ -39306,7 +39409,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *89 - - *283 + - *286 responses: '204': description: Response @@ -39502,7 +39605,7 @@ paths: type: array items: *80 examples: - default: *284 + default: *287 '403': *29 '404': *6 x-github: @@ -39571,7 +39674,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: - *89 - - *283 + - *286 responses: '204': description: No content @@ -39598,7 +39701,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: - *89 - - *283 + - *286 responses: '204': description: No content @@ -39632,7 +39735,7 @@ paths: description: Response content: application/json: - schema: *285 + schema: *288 examples: default: *71 x-github: @@ -39666,7 +39769,7 @@ paths: required: false content: application/json: - schema: *286 + schema: *289 examples: default: *71 x-github: @@ -39713,7 +39816,7 @@ paths: type: number runner_groups: type: array - items: &287 + items: &290 type: object properties: id: @@ -39901,9 +40004,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: &288 + default: &291 value: id: 2 name: octo-runner-group @@ -39945,7 +40048,7 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: default: value: @@ -40036,9 +40139,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: *288 + default: *291 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -40102,7 +40205,7 @@ paths: type: array items: *48 examples: - default: *268 + default: *271 headers: Link: *47 x-github: @@ -40143,7 +40246,7 @@ paths: type: number repositories: type: array - items: *289 + items: *292 examples: default: &344 value: @@ -40444,7 +40547,7 @@ paths: parameters: - *89 - *74 - - *283 + - *286 responses: '204': description: Response @@ -40468,7 +40571,7 @@ paths: parameters: - *89 - *74 - - *283 + - *286 responses: '204': description: Response @@ -40686,9 +40789,9 @@ paths: application/json: schema: type: array - items: *290 + items: *293 examples: - default: *291 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40753,7 +40856,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *292 + '201': *295 '404': *6 '422': *7 '409': *121 @@ -40792,7 +40895,7 @@ paths: application/json: schema: *81 examples: - default: *293 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40828,7 +40931,7 @@ paths: application/json: schema: *81 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40859,7 +40962,7 @@ paths: application/json: schema: *78 examples: - default: *295 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41034,7 +41137,7 @@ paths: - *89 - *77 responses: - '200': *296 + '200': *299 '404': *6 x-github: githubCloudOnly: false @@ -41063,7 +41166,7 @@ paths: parameters: - *89 - *77 - - *297 + - *300 responses: '200': *83 '404': *6 @@ -41108,7 +41211,7 @@ paths: type: integer secrets: type: array - items: &298 + items: &301 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -41140,7 +41243,7 @@ paths: - updated_at - visibility examples: - default: &304 + default: &307 value: total_count: 3 secrets: @@ -41187,7 +41290,7 @@ paths: description: Response content: application/json: - schema: &305 + schema: &308 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -41216,7 +41319,7 @@ paths: - key_id - key examples: - default: &306 + default: &309 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41242,7 +41345,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - *89 - - &299 + - &302 name: secret_name description: The name of the secret. in: path @@ -41254,9 +41357,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *301 examples: - default: &307 + default: &310 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -41285,7 +41388,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -41342,7 +41445,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -41369,7 +41472,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '204': description: Response @@ -41396,7 +41499,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 - *19 - *17 responses: @@ -41414,9 +41517,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: &303 + default: &306 value: total_count: 1 repositories: @@ -41509,7 +41612,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -41562,7 +41665,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -41596,7 +41699,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -41629,7 +41732,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - *89 - - &308 + - &311 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)." @@ -41653,7 +41756,7 @@ paths: type: integer variables: type: array - items: &301 + items: &304 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -41696,7 +41799,7 @@ paths: - updated_at - visibility examples: - default: &309 + default: &312 value: total_count: 3 variables: @@ -41786,7 +41889,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -41812,7 +41915,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - *89 - - &302 + - &305 name: name description: The name of the variable. in: path @@ -41824,9 +41927,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *304 examples: - default: &310 + default: &313 value: name: USERNAME value: octocat @@ -41855,7 +41958,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - *89 - - *302 + - *305 requestBody: required: true content: @@ -41918,7 +42021,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - *89 - - *302 + - *305 responses: '204': description: Response @@ -41945,7 +42048,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *89 - - *302 + - *305 - *19 - *17 responses: @@ -41963,9 +42066,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: *303 + default: *306 '409': description: Response when the visibility of the variable is not set to `selected` @@ -41992,7 +42095,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *89 - - *302 + - *305 requestBody: required: true content: @@ -42042,7 +42145,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *89 - - *302 + - *305 - name: repository_id in: path required: true @@ -42077,7 +42180,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *89 - - *302 + - *305 - name: repository_id in: path required: true @@ -42129,9 +42232,9 @@ paths: type: integer secrets: type: array - items: *298 + items: *301 examples: - default: *304 + default: *307 headers: Link: *47 x-github: @@ -42162,9 +42265,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *308 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42187,15 +42290,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '200': description: Response content: application/json: - schema: *298 + schema: *301 examples: - default: *307 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42218,7 +42321,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -42275,7 +42378,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -42302,7 +42405,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '204': description: Response @@ -42329,7 +42432,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 - *19 - *17 responses: @@ -42347,9 +42450,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: *303 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42373,7 +42476,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -42426,7 +42529,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -42460,7 +42563,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -42494,7 +42597,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *89 - - *308 + - *311 - *19 responses: '200': @@ -42511,9 +42614,9 @@ paths: type: integer variables: type: array - items: *301 + items: *304 examples: - default: *309 + default: *312 headers: Link: *47 x-github: @@ -42584,7 +42687,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -42610,15 +42713,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *89 - - *302 + - *305 responses: '200': description: Response content: application/json: - schema: *301 + schema: *304 examples: - default: *310 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42640,7 +42743,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *89 - - *302 + - *305 requestBody: required: true content: @@ -42703,7 +42806,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *89 - - *302 + - *305 responses: '204': description: Response @@ -42730,7 +42833,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *89 - - *302 + - *305 - *19 - *17 responses: @@ -42748,9 +42851,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: *303 + default: *306 '409': description: Response when the visibility of the variable is not set to `selected` @@ -42777,7 +42880,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *89 - - *302 + - *305 requestBody: required: true content: @@ -42827,7 +42930,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *89 - - *302 + - *305 - name: repository_id in: path required: true @@ -42862,7 +42965,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *89 - - *302 + - *305 - name: repository_id in: path required: true @@ -42920,7 +43023,7 @@ paths: required: true content: application/json: - schema: *311 + schema: *314 examples: default: *87 parameters: @@ -43104,7 +43207,7 @@ paths: type: integer deployment_records: type: array - items: &312 + items: &315 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -43150,7 +43253,7 @@ paths: required: - total_count examples: - default: &313 + default: &316 value: total_count: 1 deployment_records: @@ -43330,11 +43433,11 @@ paths: type: integer deployment_records: type: array - items: *312 + items: *315 required: - total_count examples: - default: *313 + default: *316 '403': description: Forbidden content: @@ -43573,9 +43676,9 @@ paths: type: integer deployment_records: type: array - items: *312 + items: *315 examples: - default: *313 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44243,10 +44346,10 @@ paths: required: false schema: type: string - - *314 - - *315 - - *316 - *317 + - *131 + - *132 + - *133 - *17 responses: '200': @@ -44286,7 +44389,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44306,7 +44409,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *89 - - *148 + - *151 responses: '204': description: If the user is blocked @@ -44332,7 +44435,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#block-a-user-from-an-organization parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -44353,7 +44456,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -44640,7 +44743,7 @@ paths: headers: Link: *47 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44814,7 +44917,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44857,7 +44960,7 @@ paths: content: application/json: schema: *3 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44951,7 +45054,7 @@ paths: content: application/json: schema: *3 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44983,7 +45086,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45066,7 +45169,7 @@ paths: headers: Link: *47 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46125,7 +46228,7 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *289 + repository: *292 machine: type: object title: Codespace machine @@ -47131,7 +47234,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '200': description: Response @@ -47167,7 +47270,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -47222,7 +47325,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -47249,7 +47352,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '204': description: Response @@ -47275,7 +47378,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 - *19 - *17 responses: @@ -47293,9 +47396,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: *303 + default: *306 '404': *6 x-github: githubCloudOnly: false @@ -47318,7 +47421,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -47369,7 +47472,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -47403,7 +47506,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -49203,9 +49306,9 @@ paths: currently being billed. seats: type: array - items: *151 + items: *154 examples: - default: *152 + default: *155 headers: Link: *47 '500': *40 @@ -49689,7 +49792,7 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 required: - total_count - repositories @@ -49780,7 +49883,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: - *89 - - *283 + - *286 responses: '204': description: No Content @@ -49814,7 +49917,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: - *89 - - *283 + - *286 responses: '204': description: No Content @@ -50562,7 +50665,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *89 - - *147 + - *150 responses: '200': description: Response @@ -50593,7 +50696,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *89 - - *147 + - *150 requestBody: required: true content: @@ -50663,7 +50766,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *89 - - *147 + - *150 responses: '204': description: Response @@ -50743,7 +50846,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *89 - - *147 + - *150 responses: '200': description: Response @@ -50780,7 +50883,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *89 - - *147 + - *150 requestBody: required: true content: @@ -50833,7 +50936,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *89 - - *147 + - *150 responses: '204': description: Response @@ -51253,7 +51356,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '200': description: Response @@ -51288,7 +51391,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -51345,7 +51448,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -51370,7 +51473,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '204': description: Response @@ -51395,7 +51498,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 - *19 - *17 responses: @@ -51413,9 +51516,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: *303 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51437,7 +51540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -51488,7 +51591,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -51520,7 +51623,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -52277,7 +52380,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: 200-response: value: @@ -55125,7 +55228,7 @@ paths: - comments default: created - *112 - - *235 + - *238 - *17 - *19 responses: @@ -55135,7 +55238,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: *404 headers: @@ -55197,7 +55300,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 '422': *15 @@ -55218,7 +55321,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#check-organization-membership-for-a-user parameters: - *89 - - *148 + - *151 responses: '204': description: Response if requester is an organization member and user is @@ -55253,7 +55356,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-an-organization-member parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -55280,7 +55383,7 @@ paths: - *17 - *19 - *89 - - *148 + - *151 responses: '200': description: Response @@ -55324,7 +55427,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *89 - - *148 + - *151 - &407 name: codespace_name in: path @@ -55359,7 +55462,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *89 - - *148 + - *151 - *407 responses: '200': @@ -55542,13 +55645,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *89 - - *148 + - *151 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *151 + schema: *154 examples: default: value: @@ -55618,7 +55721,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#get-organization-membership-for-a-user parameters: - *89 - - *148 + - *151 responses: '200': description: Response @@ -55764,7 +55867,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#set-organization-membership-for-a-user parameters: - *89 - - *148 + - *151 requestBody: required: false content: @@ -55819,7 +55922,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-organization-membership-for-a-user parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -56655,7 +56758,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: &422 value: @@ -57127,7 +57230,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *89 - - *221 + - *224 responses: '204': description: Response @@ -57153,8 +57256,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *89 - - *221 - - *147 + - *224 + - *150 responses: '204': description: Response @@ -57184,8 +57287,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *89 - - *221 - - *147 + - *224 + - *150 responses: '204': description: Response @@ -57211,7 +57314,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -57237,8 +57340,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *89 - - *148 - - *147 + - *151 + - *150 responses: '204': description: Response @@ -57269,8 +57372,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *89 - - *148 - - *147 + - *151 + - *150 responses: '204': description: Response @@ -57299,7 +57402,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#get-an-organization-role parameters: - *89 - - *147 + - *150 responses: '200': description: Response @@ -57363,7 +57466,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *89 - - *147 + - *150 requestBody: required: true content: @@ -57456,7 +57559,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *89 - - *147 + - *150 responses: '204': description: Response @@ -57482,7 +57585,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *89 - - *147 + - *150 - *17 - *19 responses: @@ -57623,7 +57726,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *89 - - *147 + - *150 - *17 - *19 responses: @@ -57752,7 +57855,7 @@ paths: - type - url examples: - default: *217 + default: *220 headers: Link: *47 '404': @@ -57803,7 +57906,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 x-github: @@ -57829,7 +57932,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *89 - - *148 + - *151 requestBody: required: false content: @@ -57887,7 +57990,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -58794,7 +58897,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *422 headers: @@ -59109,7 +59212,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *422 headers: @@ -59754,7 +59857,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *89 - - *299 + - *302 responses: '200': description: The specified private registry configuration for the organization @@ -59785,7 +59888,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -59973,7 +60076,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *89 - - *299 + - *302 responses: '204': description: Response @@ -60344,7 +60447,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *228 + - *231 - &611 title: Pull Request Simple description: Pull Request Simple @@ -60570,7 +60673,7 @@ paths: - review_comments - review_comment - self - author_association: *225 + author_association: *228 auto_merge: &749 title: Auto merge description: The status of auto merging a pull request. @@ -62829,9 +62932,9 @@ paths: application/json: schema: type: array - items: *161 + items: *164 examples: - default: *162 + default: *165 '403': *29 '404': *6 x-github: @@ -62869,7 +62972,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *161 + items: *164 minItems: 1 maxItems: 100 required: @@ -62899,9 +63002,9 @@ paths: application/json: schema: type: array - items: *161 + items: *164 examples: - default: *162 + default: *165 '403': *29 '404': *6 x-github: @@ -62923,15 +63026,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *89 - - *158 + - *161 responses: '200': description: Response content: application/json: - schema: *161 + schema: *164 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -62955,7 +63058,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *89 - - *158 + - *161 requestBody: required: true content: @@ -62976,9 +63079,9 @@ paths: description: Response content: application/json: - schema: *161 + schema: *164 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -63002,7 +63105,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *89 - - *158 + - *161 responses: '204': *130 '403': *29 @@ -63063,7 +63166,7 @@ paths: example: octocat/Hello-World properties: type: array - items: *160 + items: *163 description: List of custom property names and associated values required: - repository_id @@ -63132,7 +63235,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *160 + items: *163 required: - repository_names - properties @@ -63185,7 +63288,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 x-github: @@ -63205,7 +63308,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *89 - - *148 + - *151 responses: '204': description: Response if user is a public member @@ -63230,7 +63333,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -63252,7 +63355,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -63323,7 +63426,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *422 headers: @@ -63904,8 +64007,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true organization: title: Simple User @@ -64608,7 +64711,7 @@ paths: application/json: schema: type: array - items: *195 + items: *198 examples: default: value: @@ -64676,11 +64779,11 @@ paths: - push - repository default: branch - enforcement: *172 + enforcement: *175 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *173 + items: *176 conditions: *452 rules: type: array @@ -64690,9 +64793,6 @@ paths: type: object description: A repository rule. oneOf: - - *174 - - *175 - - *176 - *177 - *178 - *179 @@ -64704,13 +64804,16 @@ paths: - *185 - *186 - *187 - - *191 - - *192 - - *193 - - *194 - *188 - *189 - *190 + - *194 + - *195 + - *196 + - *197 + - *191 + - *192 + - *193 required: - name - enforcement @@ -64748,7 +64851,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: default: &453 value: @@ -65148,7 +65251,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: default: *453 '404': *6 @@ -65194,11 +65297,11 @@ paths: - tag - push - repository - enforcement: *172 + enforcement: *175 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *173 + items: *176 conditions: *452 rules: description: An array of rules within the ruleset. @@ -65238,7 +65341,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: default: *453 '404': *6 @@ -65298,7 +65401,7 @@ paths: application/json: schema: type: array - items: *199 + items: *202 examples: default: *455 '404': *6 @@ -65449,7 +65552,7 @@ paths: headers: Link: *47 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65511,7 +65614,7 @@ paths: schema: type: object properties: - pattern_config_version: *202 + pattern_config_version: *205 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -65537,7 +65640,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *202 + custom_pattern_version: *205 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -65822,7 +65925,7 @@ paths: required: - vector_string - score - cvss_severities: *133 + cvss_severities: *136 cwes: type: array nullable: true @@ -66354,7 +66457,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - *89 - - *221 + - *224 responses: '204': description: Response @@ -66380,7 +66483,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *89 - - *221 + - *224 responses: '204': description: Response @@ -66566,9 +66669,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: *303 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66637,7 +66740,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *89 - - *283 + - *286 responses: '204': description: Response @@ -66660,7 +66763,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *89 - - *283 + - *286 responses: '204': description: Response @@ -66701,7 +66804,7 @@ paths: type: integer network_configurations: type: array - items: *153 + items: *156 examples: default: *479 headers: @@ -66780,9 +66883,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *154 + default: *157 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66803,15 +66906,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *89 - - *155 + - *158 responses: '200': description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *154 + default: *157 headers: Link: *47 x-github: @@ -66833,7 +66936,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *89 - - *155 + - *158 requestBody: required: true content: @@ -66886,9 +66989,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *154 + default: *157 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66908,7 +67011,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *89 - - *155 + - *158 responses: '204': description: Response @@ -67573,7 +67676,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - *89 - - *221 + - *224 responses: '200': description: Response @@ -67603,7 +67706,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - *89 - - *221 + - *224 requestBody: required: false content: @@ -67700,7 +67803,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - *89 - - *221 + - *224 responses: '204': description: Response @@ -67727,7 +67830,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: - *89 - - *221 + - *224 responses: '200': description: Response @@ -67756,7 +67859,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: - *89 - - *221 + - *224 requestBody: required: true content: @@ -67802,7 +67905,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: - *89 - - *221 + - *224 responses: '204': description: Response @@ -67828,7 +67931,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - *89 - - *221 + - *224 - *17 - *19 responses: @@ -67864,7 +67967,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - *89 - - *221 + - *224 - name: role description: Filters members returned by their role in the team. in: query @@ -67887,7 +67990,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 x-github: @@ -67918,8 +68021,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - *89 - - *221 - - *148 + - *224 + - *151 responses: '200': description: Response @@ -67989,8 +68092,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *89 - - *221 - - *148 + - *224 + - *151 requestBody: required: false content: @@ -68053,8 +68156,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - *89 - - *221 - - *148 + - *224 + - *151 responses: '204': description: Response @@ -68081,7 +68184,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - *89 - - *221 + - *224 - *17 - *19 responses: @@ -68091,7 +68194,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *422 headers: @@ -68123,7 +68226,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *89 - - *221 + - *224 - *491 - *492 responses: @@ -68154,8 +68257,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true forks: type: integer @@ -68701,7 +68804,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *89 - - *221 + - *224 - *491 - *492 requestBody: @@ -68749,7 +68852,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - *89 - - *221 + - *224 - *491 - *492 responses: @@ -68778,7 +68881,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *89 - - *221 + - *224 responses: '200': description: Response @@ -68810,7 +68913,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *89 - - *221 + - *224 requestBody: required: true content: @@ -68887,7 +68990,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - *89 - - *221 + - *224 - *17 - *19 responses: @@ -71380,7 +71483,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -71504,7 +71607,7 @@ paths: description: Empty response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -71607,7 +71710,7 @@ paths: parameters: - *491 - *492 - - *308 + - *311 - *19 responses: '200': @@ -71701,7 +71804,7 @@ paths: type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *62 - selected_actions_url: *276 + selected_actions_url: *279 sha_pinning_required: *63 required: - enabled @@ -71866,7 +71969,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: default: value: @@ -71901,7 +72004,7 @@ paths: required: true content: application/json: - schema: *279 + schema: *282 examples: default: summary: Set retention days @@ -71934,7 +72037,7 @@ paths: application/json: schema: *64 examples: - default: *280 + default: *283 '404': *6 x-github: enabledForGitHubApps: true @@ -71995,7 +72098,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *284 examples: default: *65 '403': *29 @@ -72023,7 +72126,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *285 examples: default: *65 responses: @@ -72121,7 +72224,7 @@ paths: description: Response content: application/json: - schema: *285 + schema: *288 examples: default: *71 x-github: @@ -72156,7 +72259,7 @@ paths: required: true content: application/json: - schema: *286 + schema: *289 examples: default: *71 x-github: @@ -72239,9 +72342,9 @@ paths: application/json: schema: type: array - items: *290 + items: *293 examples: - default: *291 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72307,7 +72410,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *292 + '201': *295 '404': *6 '422': *7 '409': *121 @@ -72347,7 +72450,7 @@ paths: application/json: schema: *81 examples: - default: *293 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72384,7 +72487,7 @@ paths: application/json: schema: *81 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72416,7 +72519,7 @@ paths: application/json: schema: *78 examples: - default: *295 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72596,7 +72699,7 @@ paths: - *492 - *77 responses: - '200': *296 + '200': *299 '404': *6 x-github: githubCloudOnly: false @@ -72626,7 +72729,7 @@ paths: - *491 - *492 - *77 - - *297 + - *300 responses: '200': *83 '404': *6 @@ -72850,7 +72953,7 @@ paths: that triggered the run. type: array nullable: true - items: *233 + items: *236 created_at: type: string format: date-time @@ -72962,8 +73065,8 @@ paths: - author - committer nullable: true - repository: *289 - head_repository: *289 + repository: *292 + head_repository: *292 head_repository_id: type: integer example: 5 @@ -73649,7 +73752,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -73940,7 +74043,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -74230,7 +74333,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -74658,8 +74761,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 required: &921 - id - node_id @@ -74755,7 +74858,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -74801,7 +74904,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -75026,9 +75129,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *308 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75052,7 +75155,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 responses: '200': description: Response @@ -75088,7 +75191,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 requestBody: required: true content: @@ -75119,7 +75222,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -75147,7 +75250,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 responses: '204': description: Response @@ -75174,7 +75277,7 @@ paths: parameters: - *491 - *492 - - *308 + - *311 - *19 responses: '200': @@ -75244,7 +75347,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -75271,7 +75374,7 @@ paths: parameters: - *491 - *492 - - *302 + - *305 responses: '200': description: Response @@ -75307,7 +75410,7 @@ paths: parameters: - *491 - *492 - - *302 + - *305 requestBody: required: true content: @@ -75351,7 +75454,7 @@ paths: parameters: - *491 - *492 - - *302 + - *305 responses: '204': description: Response @@ -76040,7 +76143,7 @@ paths: parameters: - *491 - *492 - - *308 + - *311 - *19 responses: '200': @@ -76137,9 +76240,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *308 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76163,7 +76266,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 responses: '200': description: Response @@ -76195,7 +76298,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 requestBody: required: true content: @@ -76226,7 +76329,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -76254,7 +76357,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 responses: '204': description: Response @@ -76281,7 +76384,7 @@ paths: parameters: - *491 - *492 - - *308 + - *311 - *19 responses: '200': @@ -76351,7 +76454,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -76378,7 +76481,7 @@ paths: parameters: - *491 - *492 - - *302 + - *305 responses: '200': description: Response @@ -76409,7 +76512,7 @@ paths: parameters: - *491 - *492 - - *302 + - *305 requestBody: required: true content: @@ -76453,7 +76556,7 @@ paths: parameters: - *491 - *492 - - *302 + - *305 responses: '204': description: Response @@ -76487,7 +76590,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 '404': *6 @@ -77605,12 +77708,12 @@ paths: nullable: true oneOf: - *4 - - *300 + - *303 committer: nullable: true oneOf: - *4 - - *300 + - *303 parents: type: array items: @@ -80011,7 +80114,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 '404': *6 x-github: githubCloudOnly: false @@ -80070,7 +80173,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 '422': *15 x-github: githubCloudOnly: false @@ -80130,7 +80233,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 '422': *15 x-github: githubCloudOnly: false @@ -80190,7 +80293,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 '422': *15 x-github: githubCloudOnly: false @@ -81075,15 +81178,15 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *233 + items: *236 deployment: &913 title: Deployment description: A deployment created as the result of an Actions @@ -81151,8 +81254,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 required: - id - node_id @@ -81849,7 +81952,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -81974,7 +82077,7 @@ paths: nullable: true pull_requests: type: array - items: *233 + items: *236 nullable: true app: title: GitHub app @@ -81985,9 +82088,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 - repository: *289 + properties: *226 + required: *227 + repository: *292 created_at: type: string format: date-time @@ -82403,7 +82506,7 @@ paths: required: - app_id - setting - repository: *289 + repository: *292 examples: default: value: @@ -82851,7 +82954,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -82942,14 +83045,14 @@ paths: items: type: object properties: - number: *131 - created_at: *138 - updated_at: *139 - url: *136 - html_url: *137 + number: *134 + created_at: *141 + updated_at: *142 + url: *139 + html_url: *140 instances_url: *564 state: *115 - fixed_at: *141 + fixed_at: *144 dismissed_by: title: Simple User description: A GitHub user. @@ -82957,7 +83060,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *140 + dismissed_at: *143 dismissed_reason: *565 dismissed_comment: *566 rule: *567 @@ -83095,7 +83198,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83125,7 +83228,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *131 + schema: *134 responses: '200': description: Response @@ -83134,14 +83237,14 @@ paths: schema: &572 type: object properties: - number: *131 - created_at: *138 - updated_at: *139 - url: *136 - html_url: *137 + number: *134 + created_at: *141 + updated_at: *142 + url: *139 + html_url: *140 instances_url: *564 state: *115 - fixed_at: *141 + fixed_at: *144 dismissed_by: title: Simple User description: A GitHub user. @@ -83149,7 +83252,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *140 + dismissed_at: *143 dismissed_reason: *565 dismissed_comment: *566 rule: @@ -83307,7 +83410,7 @@ paths: '304': *37 '403': *570 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83454,7 +83557,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -83656,7 +83759,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83758,7 +83861,7 @@ paths: - source '403': *570 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83933,7 +84036,7 @@ paths: warning: '' '403': *570 '404': *6 - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -84042,7 +84145,7 @@ paths: content: application/json: schema: *3 - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -84178,7 +84281,7 @@ paths: '400': *14 '403': *576 '404': *6 - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -84320,7 +84423,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *570 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84396,7 +84499,7 @@ paths: description: Found '403': *570 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84429,7 +84532,7 @@ paths: description: Response '403': *576 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84879,7 +84982,7 @@ paths: content: application/json: schema: *3 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84917,7 +85020,7 @@ paths: examples: default: *590 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85077,7 +85180,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85186,7 +85289,7 @@ paths: schedule: weekly '403': *570 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85273,7 +85376,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -85312,7 +85415,7 @@ paths: content: application/json: schema: *3 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85454,7 +85557,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -85523,7 +85626,7 @@ paths: '403': *570 '404': description: Not Found if the sarif id does not match any upload - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -86142,7 +86245,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86445,7 +86548,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86559,7 +86662,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 responses: '200': description: Response @@ -86589,7 +86692,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 requestBody: required: true content: @@ -86617,7 +86720,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -86643,7 +86746,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 responses: '204': description: Response @@ -86883,7 +86986,7 @@ paths: parameters: - *491 - *492 - - *148 + - *151 responses: '204': description: Response if user is a collaborator @@ -86931,7 +87034,7 @@ paths: parameters: - *491 - *492 - - *148 + - *151 requestBody: required: false content: @@ -86968,7 +87071,7 @@ paths: example: 42 type: integer format: int64 - repository: *289 + repository: *292 invitee: title: Simple User description: A GitHub user. @@ -87146,7 +87249,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *264 + schema: *267 '403': *29 x-github: triggersNotification: true @@ -87188,7 +87291,7 @@ paths: parameters: - *491 - *492 - - *148 + - *151 responses: '204': description: No Content when collaborator was removed from the repository. @@ -87221,7 +87324,7 @@ paths: parameters: - *491 - *492 - - *148 + - *151 responses: '200': description: if user has admin permissions @@ -87349,8 +87452,8 @@ paths: updated_at: type: string format: date-time - author_association: *225 - reactions: *226 + author_association: *228 + reactions: *229 required: - url - html_url @@ -87427,7 +87530,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 responses: '200': description: Response @@ -87494,7 +87597,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 requestBody: required: true content: @@ -87569,7 +87672,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 responses: '204': description: Response @@ -87592,7 +87695,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 - 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. @@ -87708,7 +87811,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 requestBody: required: true content: @@ -87797,7 +87900,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 - &687 name: reaction_id description: The unique identifier of the reaction. @@ -88889,7 +88992,7 @@ paths: '422': *15 '404': *6 '500': *40 - '503': *200 + '503': *203 '409': *121 x-github: githubCloudOnly: false @@ -89277,7 +89380,7 @@ paths: type: string total_count: type: integer - repository: *289 + repository: *292 commit_url: type: string format: uri @@ -89580,8 +89683,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true contributing: title: Community Health File @@ -90054,7 +90157,7 @@ paths: default: *622 '404': *6 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91132,7 +91235,7 @@ paths: '422': *15 '404': *6 '409': *121 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91448,7 +91551,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *131 + number: *134 state: type: string description: The state of the Dependabot alert. @@ -91463,7 +91566,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *132 + package: *135 manifest_path: type: string description: The full path to the dependency manifest file, @@ -91492,12 +91595,12 @@ paths: - transitive - inconclusive security_advisory: *627 - security_vulnerability: *135 - url: *136 - html_url: *137 - created_at: *138 - updated_at: *139 - dismissed_at: *140 + security_vulnerability: *138 + url: *139 + html_url: *140 + created_at: *141 + updated_at: *142 + dismissed_at: *143 dismissed_by: title: Simple User description: A GitHub user. @@ -91521,7 +91624,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *141 + fixed_at: *144 auto_dismissed_at: *628 dismissal_request: *629 assignees: @@ -91789,7 +91892,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *131 + schema: *134 responses: '200': description: Response @@ -92235,7 +92338,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 responses: '200': description: Response @@ -92269,7 +92372,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 requestBody: required: true content: @@ -92297,7 +92400,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -92323,7 +92426,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 responses: '204': description: Response @@ -92492,7 +92595,7 @@ paths: schema: *3 '400': *14 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: false category: dependency-graph @@ -93541,8 +93644,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 required: - id - node_id @@ -95614,9 +95717,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *308 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95641,7 +95744,7 @@ paths: - *491 - *492 - *652 - - *299 + - *302 responses: '200': description: Response @@ -95674,7 +95777,7 @@ paths: - *491 - *492 - *652 - - *299 + - *302 requestBody: required: true content: @@ -95705,7 +95808,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -95734,7 +95837,7 @@ paths: - *491 - *492 - *652 - - *299 + - *302 responses: '204': description: Default response @@ -95762,7 +95865,7 @@ paths: - *491 - *492 - *652 - - *308 + - *311 - *19 responses: '200': @@ -95833,7 +95936,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -95861,7 +95964,7 @@ paths: - *491 - *492 - *652 - - *302 + - *305 responses: '200': description: Response @@ -95892,7 +95995,7 @@ paths: parameters: - *491 - *492 - - *302 + - *305 - *652 requestBody: required: true @@ -95937,7 +96040,7 @@ paths: parameters: - *491 - *492 - - *302 + - *305 - *652 responses: '204': @@ -95971,7 +96074,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: 200-response: value: @@ -96052,7 +96155,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: value: @@ -96305,7 +96408,7 @@ paths: application/json: schema: oneOf: - - *264 + - *267 - *663 x-github: githubCloudOnly: false @@ -99790,7 +99893,7 @@ paths: - comments default: created - *112 - - *235 + - *238 - *17 - *19 responses: @@ -99800,7 +99903,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: &697 value: @@ -100088,7 +100191,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: &694 value: @@ -100245,7 +100348,7 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *200 + '503': *203 '404': *6 '410': *683 x-github: @@ -100277,7 +100380,7 @@ paths: parameters: - *491 - *492 - - *252 + - *255 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -100287,7 +100390,7 @@ paths: enum: - asc - desc - - *235 + - *238 - *17 - *19 responses: @@ -100360,7 +100463,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 responses: '200': description: Response @@ -100426,7 +100529,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 requestBody: required: true content: @@ -100470,7 +100573,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 responses: '204': description: Response @@ -100500,7 +100603,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 responses: '200': description: Response @@ -100581,7 +100684,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 responses: '204': description: Response @@ -100589,7 +100692,7 @@ paths: '403': *29 '404': *6 '410': *683 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100608,7 +100711,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 - 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. @@ -100659,7 +100762,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 requestBody: required: true content: @@ -100724,7 +100827,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 - *687 responses: '204': @@ -101012,7 +101115,7 @@ paths: nullable: true properties: *691 required: *692 - author_association: *225 + author_association: *228 lock_reason: type: string nullable: true @@ -101025,8 +101128,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 required: - id - node_id @@ -101464,7 +101567,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: summary: Issue @@ -101831,13 +101934,13 @@ paths: application/json: schema: allOf: - - *228 + - *231 - type: object properties: {} examples: default: *694 '422': *15 - '503': *200 + '503': *203 '403': *29 '301': *497 '404': *6 @@ -101887,7 +101990,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *694 x-github: @@ -101932,7 +102035,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *694 x-github: @@ -102001,7 +102104,7 @@ paths: - *491 - *492 - *695 - - *235 + - *238 - *17 - *19 responses: @@ -102119,7 +102222,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: *697 headers: @@ -102178,7 +102281,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *694 headers: @@ -102233,7 +102336,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *694 '301': *497 @@ -102279,7 +102382,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: *697 headers: @@ -102350,8 +102453,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 label: type: object properties: @@ -102404,8 +102507,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 label: type: object properties: @@ -102493,8 +102596,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 assignee: *4 assigner: *4 required: @@ -102540,8 +102643,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 milestone: type: object properties: @@ -102591,8 +102694,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 milestone: type: object properties: @@ -102642,8 +102745,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 rename: type: object properties: @@ -102696,8 +102799,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 review_requester: *4 requested_team: *325 requested_reviewer: *4 @@ -102743,8 +102846,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 review_requester: *4 requested_team: *325 requested_reviewer: *4 @@ -102790,8 +102893,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 dismissed_review: type: object properties: @@ -102850,8 +102953,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 lock_reason: type: string example: '"off-topic"' @@ -102898,8 +103001,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 project_card: type: object properties: @@ -102964,8 +103067,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 project_card: type: object properties: @@ -103030,8 +103133,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 project_card: type: object properties: @@ -103152,8 +103255,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 issue_type: *690 required: - issue_type @@ -103197,8 +103300,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 prev_issue_type: *690 required: - prev_issue_type @@ -103242,8 +103345,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 issue_type: *690 prev_issue_type: *690 required: @@ -103289,8 +103392,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -103342,8 +103445,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -103395,8 +103498,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -103448,8 +103551,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -103501,8 +103604,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -103554,8 +103657,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -103607,8 +103710,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -103660,8 +103763,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -103898,7 +104001,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *200 + '503': *203 x-github: triggersNotification: true githubCloudOnly: false @@ -104003,7 +104106,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *200 + '503': *203 x-github: triggersNotification: true githubCloudOnly: false @@ -104039,7 +104142,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *200 + '503': *203 x-github: triggersNotification: true githubCloudOnly: false @@ -104069,7 +104172,7 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: default: &700 value: @@ -104152,7 +104255,7 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: default: *700 '301': *497 @@ -104236,7 +104339,7 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: default: *700 '301': *497 @@ -104300,7 +104403,7 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: default: value: @@ -104421,7 +104524,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *694 '301': *497 @@ -104616,7 +104719,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *694 headers: @@ -104663,7 +104766,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: *697 headers: @@ -104726,7 +104829,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *694 headers: @@ -104788,13 +104891,13 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *694 '403': *29 '404': *6 '422': *7 - '503': *200 + '503': *203 x-github: triggersNotification: true githubCloudOnly: false @@ -104884,7 +104987,7 @@ paths: issue_url: type: string format: uri - author_association: *225 + author_association: *228 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -104894,9 +104997,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 - reactions: *226 + properties: *226 + required: *227 + reactions: *229 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and @@ -104942,7 +105045,7 @@ paths: properties: type: type: string - issue: *228 + issue: *231 required: - event - created_at @@ -105142,7 +105245,7 @@ paths: type: string body_text: type: string - author_association: *225 + author_association: *228 required: - event - id @@ -105260,7 +105363,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *225 + author_association: *228 _links: type: object properties: @@ -105344,7 +105447,7 @@ paths: enum: - line - file - reactions: *226 + reactions: *229 body_html: type: string example: '"

comment body

"' @@ -105411,8 +105514,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 assignee: *4 required: - id @@ -105455,8 +105558,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 assignee: *4 required: - id @@ -105499,8 +105602,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 state_reason: type: string nullable: true @@ -105915,7 +106018,7 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: default: *700 headers: @@ -105975,7 +106078,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: default: &732 value: @@ -106021,7 +106124,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: default: *732 '404': *6 @@ -106080,7 +106183,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: default: value: @@ -106290,8 +106393,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true required: - _links @@ -106832,7 +106935,7 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: default: *700 headers: @@ -106857,7 +106960,7 @@ paths: - *492 - *737 - *738 - - *235 + - *238 - *739 - *17 - *19 @@ -106868,7 +106971,7 @@ paths: application/json: schema: type: array - items: *255 + items: *258 examples: default: *740 headers: @@ -108010,7 +108113,7 @@ paths: description: Empty response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -108129,7 +108232,7 @@ paths: application/json: schema: type: array - items: *160 + items: *163 examples: default: *746 '403': *29 @@ -108166,7 +108269,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *160 + items: *163 required: - properties examples: @@ -108579,7 +108682,7 @@ paths: - review_comments - review_comment - self - author_association: *225 + author_association: *228 auto_merge: *749 draft: description: Indicates whether or not the pull request is a draft. @@ -109219,7 +109322,7 @@ paths: enum: - asc - desc - - *235 + - *238 - *17 - *19 responses: @@ -109310,7 +109413,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 responses: '200': description: Response @@ -109395,7 +109498,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 requestBody: required: true content: @@ -109437,7 +109540,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 responses: '204': description: Response @@ -109460,7 +109563,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 - 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. @@ -109511,7 +109614,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 requestBody: required: true content: @@ -109576,7 +109679,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 - *687 responses: '204': @@ -109646,7 +109749,7 @@ paths: application/json: schema: *3 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109816,7 +109919,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109845,7 +109948,7 @@ paths: - *491 - *492 - *754 - - *252 + - *255 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -109855,7 +109958,7 @@ paths: enum: - asc - desc - - *235 + - *238 - *17 - *19 responses: @@ -110098,7 +110201,7 @@ paths: - *491 - *492 - *754 - - *244 + - *247 requestBody: required: true content: @@ -110281,7 +110384,7 @@ paths: Link: *47 '422': *15 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111712,7 +111815,7 @@ paths: type: string body_text: type: string - author_association: *225 + author_association: *228 required: - id - node_id @@ -112231,7 +112334,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *225 + author_association: *228 _links: type: object properties: @@ -112246,7 +112349,7 @@ paths: type: string body_html: type: string - reactions: *226 + reactions: *229 side: description: The side of the first line of the range for a multi-line comment. @@ -113775,7 +113878,7 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *174 + - *177 - &769 title: repository ruleset data for rule description: User-defined metadata to store domain-specific @@ -113795,18 +113898,6 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *175 - - *769 - - allOf: - - *176 - - *769 - - allOf: - - *177 - - *769 - - allOf: - - *770 - - *769 - allOf: - *178 - *769 @@ -113816,6 +113907,9 @@ paths: - allOf: - *180 - *769 + - allOf: + - *770 + - *769 - allOf: - *181 - *769 @@ -113858,6 +113952,15 @@ paths: - allOf: - *194 - *769 + - allOf: + - *195 + - *769 + - allOf: + - *196 + - *769 + - allOf: + - *197 + - *769 examples: default: value: @@ -113916,7 +114019,7 @@ paths: application/json: schema: type: array - items: *195 + items: *198 examples: default: value: @@ -113984,12 +114087,12 @@ paths: - tag - push default: branch - enforcement: *172 + enforcement: *175 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *173 - conditions: *166 + items: *176 + conditions: *169 rules: type: array description: An array of rules within the ruleset. @@ -114024,7 +114127,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: default: &782 value: @@ -114170,7 +114273,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: default: *782 '404': *6 @@ -114216,12 +114319,12 @@ paths: - branch - tag - push - enforcement: *172 + enforcement: *175 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *173 - conditions: *166 + items: *176 + conditions: *169 rules: description: An array of rules within the ruleset. type: array @@ -114253,7 +114356,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: default: *782 '404': *6 @@ -114315,7 +114418,7 @@ paths: application/json: schema: type: array - items: *199 + items: *202 examples: default: *455 '404': *6 @@ -114440,8 +114543,8 @@ paths: items: &788 type: object properties: - number: *131 - created_at: *138 + number: *134 + created_at: *141 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -114449,8 +114552,8 @@ paths: format: date-time readOnly: true nullable: true - url: *136 - html_url: *137 + url: *139 + html_url: *140 locations_url: type: string format: uri @@ -114705,7 +114808,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114767,7 +114870,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114922,7 +115025,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': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -115059,7 +115162,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115137,7 +115240,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -115166,7 +115269,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *200 + '503': *203 '200': description: Response content: @@ -116216,7 +116319,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *264 + schema: *267 examples: invalid_state_transition: value: @@ -116950,7 +117053,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 x-github: @@ -117774,7 +117877,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *292 examples: default: value: @@ -118222,7 +118325,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: value: @@ -120439,7 +120542,7 @@ paths: html_url: type: string format: uri - repository: *289 + repository: *292 score: type: number file_size: @@ -120571,7 +120674,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *200 + '503': *203 '422': *15 '403': *29 x-github: @@ -120743,7 +120846,7 @@ paths: type: string sha: type: string - repository: *289 + repository: *292 score: type: number node_id: @@ -121124,7 +121227,7 @@ paths: type: string score: type: number - author_association: *225 + author_association: *228 draft: type: boolean repository: *80 @@ -121145,17 +121248,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true - reactions: *226 + reactions: *229 required: - assignee - closed_at @@ -121319,7 +121422,7 @@ paths: - quoted_text items: - "..." - '503': *200 + '503': *203 '422': *15 '304': *37 '403': *29 @@ -121731,8 +121834,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true permissions: type: object @@ -121953,7 +122056,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *200 + '503': *203 '422': *15 '304': *37 x-github: @@ -122408,7 +122511,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *200 + '503': *203 '422': *15 x-github: githubCloudOnly: false @@ -122659,7 +122762,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 '404': *6 @@ -122688,7 +122791,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - *846 - - *148 + - *151 responses: '204': description: if user is a member @@ -122725,7 +122828,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - *846 - - *148 + - *151 responses: '204': description: Response @@ -122765,7 +122868,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - *846 - - *148 + - *151 responses: '204': description: Response @@ -122802,7 +122905,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *846 - - *148 + - *151 responses: '200': description: Response @@ -122844,7 +122947,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *846 - - *148 + - *151 requestBody: required: false content: @@ -122906,7 +123009,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *846 - - *148 + - *151 responses: '204': description: Response @@ -122943,7 +123046,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *422 headers: @@ -123820,7 +123923,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 '304': *37 '404': *6 '403': *29 @@ -123843,7 +123946,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: - - *148 + - *151 responses: '204': description: If the user is blocked @@ -123871,7 +123974,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#block-a-user parameters: - - *148 + - *151 responses: '204': description: Response @@ -123895,7 +123998,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#unblock-a-user parameters: - - *148 + - *151 responses: '204': description: Response @@ -124099,7 +124202,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -124249,7 +124352,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: - - *299 + - *302 responses: '200': description: Response @@ -124285,7 +124388,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: - - *299 + - *302 requestBody: required: true content: @@ -124330,7 +124433,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -124358,7 +124461,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: - - *299 + - *302 responses: '204': description: Response @@ -124383,7 +124486,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: - - *299 + - *302 responses: '200': description: Response @@ -124399,7 +124502,7 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: default: *344 '401': *25 @@ -124426,7 +124529,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: - - *299 + - *302 requestBody: required: true content: @@ -124480,7 +124583,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: - - *299 + - *302 - name: repository_id in: path required: true @@ -124513,7 +124616,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: - - *299 + - *302 - name: repository_id in: path required: true @@ -126087,7 +126190,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 '304': *37 @@ -126120,7 +126223,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 '304': *37 @@ -126142,7 +126245,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: - - *148 + - *151 responses: '204': description: if the person is followed by the authenticated user @@ -126172,7 +126275,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#follow-a-user parameters: - - *148 + - *151 responses: '204': description: Response @@ -126197,7 +126300,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#unfollow-a-user parameters: - - *148 + - *151 responses: '204': description: Response @@ -126747,7 +126850,7 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *284 + default: *287 headers: Link: *47 '404': *6 @@ -126773,7 +126876,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *283 + - *286 responses: '204': description: Response @@ -126799,7 +126902,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *283 + - *286 responses: '204': description: Response @@ -126967,7 +127070,7 @@ paths: - comments default: created - *112 - - *235 + - *238 - *17 - *19 responses: @@ -126977,7 +127080,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: *404 headers: @@ -127269,7 +127372,7 @@ paths: - id - type - login - plan: *246 + plan: *249 required: - billing_cycle - next_billing_date @@ -128395,7 +128498,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *422 headers: @@ -128434,7 +128537,7 @@ paths: type: array items: *75 examples: - default: *259 + default: *262 headers: Link: *47 '304': *37 @@ -130041,7 +130144,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *422 headers: @@ -130158,7 +130261,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *248 + - *251 responses: '200': description: Response @@ -130338,7 +130441,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: example: ; rel="next" @@ -130478,7 +130581,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user parameters: - - *148 + - *151 responses: '200': description: Response @@ -130516,7 +130619,7 @@ paths: - *17 - *110 - *111 - - *148 + - *151 requestBody: required: true content: @@ -130612,7 +130715,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-in-bulk parameters: - - *148 + - *151 requestBody: required: true content: @@ -130677,7 +130780,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *148 + - *151 - name: subject_digest description: Subject Digest in: path @@ -130708,7 +130811,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-by-id parameters: - - *148 + - *151 - name: attestation_id description: Attestation ID in: path @@ -130746,7 +130849,7 @@ paths: - *17 - *110 - *111 - - *148 + - *151 - name: subject_digest description: Subject Digest in: path @@ -130804,7 +130907,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -130832,7 +130935,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: - - *148 + - *151 - name: per_page description: The number of results per page (max 100). in: query @@ -130987,7 +131090,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: - - *148 + - *151 requestBody: required: true content: @@ -131167,7 +131270,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -131203,7 +131306,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -131327,7 +131430,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -131361,7 +131464,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -131477,7 +131580,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -131584,7 +131687,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -131697,7 +131800,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -131745,7 +131848,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -131803,7 +131906,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -131908,7 +132011,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -131958,7 +132061,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -132026,7 +132129,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -132062,7 +132165,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: - - *148 + - *151 responses: '200': description: Response @@ -132095,7 +132198,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *148 + - *151 - *17 - *19 responses: @@ -132105,7 +132208,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: default: value: @@ -132167,7 +132270,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: - - *148 + - *151 - *89 - *17 - *19 @@ -132178,7 +132281,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: default: value: @@ -132255,7 +132358,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-user parameters: - - *148 + - *151 - *17 - *19 responses: @@ -132265,7 +132368,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: default: value: @@ -132323,7 +132426,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-followers-of-a-user parameters: - - *148 + - *151 - *17 - *19 responses: @@ -132335,7 +132438,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 x-github: @@ -132354,7 +132457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-the-people-a-user-follows parameters: - - *148 + - *151 - *17 - *19 responses: @@ -132366,7 +132469,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 x-github: @@ -132385,7 +132488,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: - - *148 + - *151 - name: target_user in: path required: true @@ -132412,8 +132515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - - *148 - - *235 + - *151 + - *238 - *17 - *19 responses: @@ -132423,9 +132526,9 @@ paths: application/json: schema: type: array - items: *236 + items: *239 examples: - default: *237 + default: *240 headers: Link: *47 '422': *15 @@ -132446,7 +132549,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: - - *148 + - *151 - *17 - *19 responses: @@ -132482,7 +132585,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-contextual-information-for-a-user parameters: - - *148 + - *151 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -132554,7 +132657,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: - - *148 + - *151 responses: '200': description: Response @@ -132580,7 +132683,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#list-public-keys-for-a-user parameters: - - *148 + - *151 - *17 - *19 responses: @@ -132635,7 +132738,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *148 + - *151 - *17 - *19 responses: @@ -132647,7 +132750,7 @@ paths: type: array items: *75 examples: - default: *259 + default: *262 headers: Link: *47 x-github: @@ -132687,7 +132790,7 @@ paths: - nuget - container - *868 - - *148 + - *151 - *19 - *17 responses: @@ -132724,7 +132827,7 @@ paths: parameters: - *418 - *419 - - *148 + - *151 responses: '200': description: Response @@ -132755,7 +132858,7 @@ paths: parameters: - *418 - *419 - - *148 + - *151 responses: '204': description: Response @@ -132789,7 +132892,7 @@ paths: parameters: - *418 - *419 - - *148 + - *151 - name: token description: package token schema: @@ -132823,7 +132926,7 @@ paths: parameters: - *418 - *419 - - *148 + - *151 responses: '200': description: Response @@ -132892,7 +132995,7 @@ paths: - *418 - *419 - *421 - - *148 + - *151 responses: '200': description: Response @@ -132935,7 +133038,7 @@ paths: parameters: - *418 - *419 - - *148 + - *151 - *421 responses: '204': @@ -132970,7 +133073,7 @@ paths: parameters: - *418 - *419 - - *148 + - *151 - *421 responses: '204': @@ -132995,7 +133098,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#list-projects-for-user parameters: - - *148 + - *151 - name: q description: Limit results to projects of the specified type. in: query @@ -133037,7 +133140,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - *434 - - *148 + - *151 responses: '200': description: Response @@ -133068,7 +133171,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - *434 - - *148 + - *151 - *17 - *110 - *111 @@ -133102,7 +133205,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - - *148 + - *151 - *434 requestBody: required: true @@ -133215,7 +133318,7 @@ paths: parameters: - *434 - *900 - - *148 + - *151 responses: '200': description: Response @@ -133247,7 +133350,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project parameters: - *434 - - *148 + - *151 - *110 - *111 - *17 @@ -133302,7 +133405,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - - *148 + - *151 - *434 requestBody: required: true @@ -133409,7 +133512,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *434 - - *148 + - *151 - *444 - name: fields description: |- @@ -133454,7 +133557,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - *434 - - *148 + - *151 - *444 requestBody: required: true @@ -133552,7 +133655,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - *434 - - *148 + - *151 - *444 responses: '204': @@ -133576,7 +133679,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view parameters: - *434 - - *148 + - *151 - *902 - name: fields description: |- @@ -133633,7 +133736,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: - - *148 + - *151 - *17 - *19 responses: @@ -133643,7 +133746,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: default: value: @@ -133708,7 +133811,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: - - *148 + - *151 - *17 - *19 responses: @@ -133718,7 +133821,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: default: value: @@ -133781,7 +133884,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repositories-for-a-user parameters: - - *148 + - *151 - name: type description: Limit results to repositories of the specified type. in: query @@ -133824,7 +133927,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *422 headers: @@ -133846,7 +133949,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: - - *148 + - *151 - *17 - *19 responses: @@ -133878,7 +133981,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: - - *148 + - *151 - *17 - *19 responses: @@ -133914,7 +134017,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *148 + - *151 - *904 - *112 - *17 @@ -133950,7 +134053,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *148 + - *151 - *17 - *19 responses: @@ -133960,7 +134063,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *422 headers: @@ -134253,8 +134356,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true organization: title: Simple User @@ -136480,8 +136583,8 @@ x-webhooks: type: string pull_requests: type: array - items: *233 - repository: *289 + items: *236 + repository: *292 status: example: completed type: string @@ -136568,7 +136671,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *233 + items: *236 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -142789,7 +142892,7 @@ x-webhooks: type: string enum: - created - definition: *161 + definition: *164 enterprise: *906 installation: *907 organization: *908 @@ -142956,7 +143059,7 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *161 + definition: *164 enterprise: *906 installation: *907 organization: *908 @@ -143036,7 +143139,7 @@ x-webhooks: type: string enum: - updated - definition: *161 + definition: *164 enterprise: *906 installation: *907 organization: *908 @@ -143124,11 +143227,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *160 + items: *163 old_property_values: type: array description: The old custom property values for the repository. - items: *160 + items: *163 required: - action - repository @@ -154393,8 +154496,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 reactions: title: Reactions type: object @@ -160843,11 +160946,11 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *228 + blocked_issue: *231 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *228 + blocking_issue: *231 blocking_issue_repo: *80 installation: *907 organization: *908 @@ -160934,11 +161037,11 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *228 + blocked_issue: *231 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *228 + blocking_issue: *231 blocking_issue_repo: *80 installation: *907 organization: *908 @@ -161024,12 +161127,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *228 + blocked_issue: *231 blocked_issue_repo: *80 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *228 + blocking_issue: *231 installation: *907 organization: *908 repository: *909 @@ -161115,12 +161218,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *228 + blocked_issue: *231 blocked_issue_repo: *80 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *228 + blocking_issue: *231 installation: *907 organization: *908 repository: *909 @@ -161995,8 +162098,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -162995,8 +163098,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -164120,8 +164223,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -165131,8 +165234,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -166261,8 +166364,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -167657,8 +167760,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -168676,8 +168779,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -169664,8 +169767,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -170662,8 +170765,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true user: title: User @@ -172033,8 +172136,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true user: title: User @@ -172994,8 +173097,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -174008,8 +174111,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -174977,8 +175080,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -176798,8 +176901,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -180151,7 +180254,7 @@ x-webhooks: type: string enum: - created - definition: *156 + definition: *159 enterprise: *906 sender: *4 required: @@ -180305,7 +180408,7 @@ x-webhooks: type: string enum: - updated - definition: *156 + definition: *159 enterprise: *906 installation: *907 sender: *4 @@ -180386,11 +180489,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values. - items: *160 + items: *163 old_property_values: type: array description: The old custom property values. - items: *160 + items: *163 required: - action - organization @@ -249412,7 +249515,7 @@ x-webhooks: installation: *907 organization: *908 repository: *909 - repository_ruleset: *195 + repository_ruleset: *198 sender: *4 required: - action @@ -249494,7 +249597,7 @@ x-webhooks: installation: *907 organization: *908 repository: *909 - repository_ruleset: *195 + repository_ruleset: *198 sender: *4 required: - action @@ -249576,7 +249679,7 @@ x-webhooks: installation: *907 organization: *908 repository: *909 - repository_ruleset: *195 + repository_ruleset: *198 changes: type: object properties: @@ -249595,16 +249698,16 @@ x-webhooks: properties: added: type: array - items: *166 + items: *169 deleted: type: array - items: *166 + items: *169 updated: type: array items: type: object properties: - condition: *166 + condition: *169 changes: type: object properties: @@ -250741,8 +250844,8 @@ x-webhooks: alert: &975 type: object properties: - number: *131 - created_at: *138 + number: *134 + created_at: *141 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -250750,8 +250853,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *136 - html_url: *137 + url: *139 + html_url: *140 locations_url: type: string format: uri @@ -251849,7 +251952,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *133 + cvss_severities: *136 cwes: type: array items: @@ -252113,7 +252216,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *133 + cvss_severities: *136 cwes: type: array items: @@ -253760,12 +253863,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *228 + parent_issue: *231 parent_issue_repo: *80 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *228 + sub_issue: *231 installation: *907 organization: *908 repository: *909 @@ -253851,12 +253954,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *228 + parent_issue: *231 parent_issue_repo: *80 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *228 + sub_issue: *231 installation: *907 organization: *908 repository: *909 @@ -253942,12 +254045,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *228 + sub_issue: *231 sub_issue_repo: *80 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *228 + parent_issue: *231 installation: *907 organization: *908 repository: *909 @@ -254033,12 +254136,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *228 + sub_issue: *231 sub_issue_repo: *80 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *228 + parent_issue: *231 installation: *907 organization: *908 repository: *909 diff --git a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json index 9fdeb7a54f..53d2eded0f 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -48658,6 +48658,350 @@ } } }, + "/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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml index 7acce00ba8..b9d11f09ab 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml @@ -666,7 +666,7 @@ paths: - vulnerable_version_range - first_patched_version - vulnerable_functions - cvss_severities: &133 + cvss_severities: &136 type: object nullable: true properties: @@ -706,7 +706,7 @@ paths: required: - vector_string - score - epss: &134 + epss: &137 type: object nullable: true readOnly: true @@ -976,7 +976,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &265 + schema: &268 title: Validation Error Simple description: Validation Error Simple type: object @@ -3650,7 +3650,7 @@ paths: GitHub. type: object nullable: true - properties: &223 + properties: &226 id: description: Unique identifier of the GitHub app example: 37 @@ -3672,7 +3672,7 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: &144 + properties: &147 description: description: A short description of the enterprise. type: string @@ -3714,7 +3714,7 @@ paths: avatar_url: type: string format: uri - required: &145 + required: &148 - id - node_id - name @@ -3783,7 +3783,7 @@ paths: about itself. example: 5 type: integer - required: &224 + required: &227 - id - node_id - owner @@ -4256,7 +4256,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &264 + schema: &267 title: Validation Error description: Validation Error type: object @@ -4640,7 +4640,7 @@ paths: parameters: - *17 - *19 - - &235 + - &238 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) @@ -5470,7 +5470,7 @@ paths: title: License Simple description: License Simple type: object - properties: &231 + properties: &234 key: type: string example: mit @@ -5492,7 +5492,7 @@ paths: html_url: type: string format: uri - required: &232 + required: &235 - key - name - url @@ -10201,7 +10201,7 @@ paths: description: Response content: application/json: - schema: &266 + schema: &269 type: object properties: total_active_caches_count: @@ -10216,7 +10216,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &267 + default: &270 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -10409,7 +10409,7 @@ paths: - public_ip_enabled - platform examples: - default: &268 + default: &271 value: total_count: 2 runners: @@ -10704,7 +10704,7 @@ paths: application/json: schema: *49 examples: - default: &269 + default: &272 value: id: 1 platform: linux-x64 @@ -10844,7 +10844,7 @@ paths: application/json: schema: *52 examples: - default: &270 + default: &273 value: version: 1.0.0 size_gb: 75 @@ -11008,7 +11008,7 @@ paths: description: Response content: application/json: - schema: &271 + schema: &274 type: object properties: public_ips: @@ -11033,7 +11033,7 @@ paths: required: - public_ips examples: - default: &272 + default: &275 value: public_ips: current_usage: 17 @@ -11073,7 +11073,7 @@ paths: type: array items: *56 examples: - default: &273 + default: &276 value: id: 4-core cpu_cores: 4 @@ -11388,7 +11388,7 @@ paths: required: true content: application/json: - schema: &274 + schema: &277 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -11499,7 +11499,7 @@ paths: - all - local_only - selected - selected_actions_url: &276 + selected_actions_url: &279 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` @@ -11579,7 +11579,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &278 + schema: &281 type: object properties: days: @@ -11625,7 +11625,7 @@ paths: required: true content: application/json: - schema: &279 + schema: &282 type: object properties: days: @@ -11674,7 +11674,7 @@ paths: required: - approval_policy examples: - default: &280 + default: &283 value: approval_policy: first_time_contributors '404': *6 @@ -11732,7 +11732,7 @@ paths: description: Response content: application/json: - schema: &281 + schema: &284 type: object required: - run_workflows_from_fork_pull_requests @@ -11786,7 +11786,7 @@ paths: required: true content: application/json: - schema: &282 + schema: &285 type: object required: - run_workflows_from_fork_pull_requests @@ -12209,7 +12209,7 @@ paths: description: Success response content: application/json: - schema: &285 + schema: &288 type: object properties: default_workflow_permissions: &69 @@ -12257,7 +12257,7 @@ paths: required: true content: application/json: - schema: &286 + schema: &289 type: object properties: default_workflow_permissions: *69 @@ -13102,7 +13102,7 @@ paths: application/json: schema: type: array - items: &290 + items: &293 title: Runner Application description: Runner Application type: object @@ -13127,7 +13127,7 @@ paths: - download_url - filename examples: - default: &291 + default: &294 value: - os: osx architecture: x64 @@ -13211,7 +13211,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &292 + '201': &295 description: Response content: application/json: @@ -13326,7 +13326,7 @@ paths: - token - expires_at examples: - default: &293 + default: &296 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -13366,7 +13366,7 @@ paths: application/json: schema: *81 examples: - default: &294 + default: &297 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13398,7 +13398,7 @@ paths: application/json: schema: *78 examples: - default: &295 + default: &298 value: id: 23 name: MBP @@ -13615,7 +13615,7 @@ paths: - *41 - *77 responses: - '200': &296 + '200': &299 description: Response content: application/json: @@ -13671,7 +13671,7 @@ paths: parameters: - *41 - *77 - - &297 + - &300 name: name description: The name of a self-hosted runner's custom label. in: path @@ -13762,7 +13762,7 @@ paths: required: true content: application/json: - schema: &311 + schema: &314 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14403,7 +14403,7 @@ paths: required: false schema: type: string - - &314 + - &317 name: include description: |- The event types to include: @@ -14421,7 +14421,7 @@ paths: - web - git - all - - &315 + - &131 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. @@ -14429,7 +14429,7 @@ paths: required: false schema: type: string - - &316 + - &132 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. @@ -14437,7 +14437,7 @@ paths: required: false schema: type: string - - &317 + - &133 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -15792,28 +15792,28 @@ paths: items: &332 type: object properties: - number: &131 + number: &134 type: integer description: The security alert number. readOnly: true - created_at: &138 + created_at: &141 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: &139 + updated_at: &142 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: &136 + url: &139 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &137 + html_url: &140 type: string description: The GitHub URL of the alert resource. format: uri @@ -15832,7 +15832,7 @@ paths: - open - dismissed - fixed - fixed_at: &141 + fixed_at: &144 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -15846,7 +15846,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &140 + dismissed_at: &143 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -16005,7 +16005,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &142 + properties: &145 id: type: integer format: int64 @@ -16232,7 +16232,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &143 + required: &146 - archive_url - assignees_url - blobs_url @@ -16535,7 +16535,7 @@ paths: headers: Link: *47 '404': *6 - '503': &200 + '503': &203 description: Service unavailable content: application/json: @@ -18240,7 +18240,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &151 + items: &154 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -18448,7 +18448,7 @@ paths: - slug - parent - type - - &150 + - &153 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -18566,7 +18566,7 @@ paths: - created_at additionalProperties: false examples: - default: &152 + default: &155 value: total_seats: 2 seats: @@ -19920,6 +19920,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: + - *41 + - 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 + - *131 + - *132 + - *133 + 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: *47 + '400': *14 + '422': *15 + '403': *29 + '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 @@ -20045,7 +20148,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: - *41 - - &148 + - &151 name: username description: The handle for the GitHub user account. in: path @@ -20274,7 +20377,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *131 + number: *134 state: type: string description: The state of the Dependabot alert. @@ -20289,7 +20392,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &132 + package: &135 type: object description: Details for the vulnerable package. readOnly: true @@ -20364,13 +20467,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &135 + items: &138 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *132 + package: *135 severity: type: string description: The severity of the vulnerability. @@ -20422,8 +20525,8 @@ paths: enum: - general - malware - cvss_severities: *133 - epss: *134 + cvss_severities: *136 + epss: *137 cwes: type: array description: Details for the advisory pertaining to Common @@ -20521,12 +20624,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *135 - url: *136 - html_url: *137 - created_at: *138 - updated_at: *139 - dismissed_at: *140 + security_vulnerability: *138 + url: *139 + html_url: *140 + created_at: *141 + updated_at: *142 + dismissed_at: *143 dismissed_by: title: Simple User description: A GitHub user. @@ -20550,7 +20653,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *141 + fixed_at: *144 auto_dismissed_at: &628 type: string description: 'The time that the alert was auto-dismissed in @@ -21026,8 +21129,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *142 - required: *143 + properties: *145 + required: *146 nullable: true additionalProperties: false examples: @@ -21501,7 +21604,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &149 + items: &152 title: Enterprise Role description: Enterprise custom roles type: object @@ -21535,8 +21638,8 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: *144 - required: *145 + properties: *147 + required: *148 nullable: true created_at: description: The date and time the role was created. @@ -21629,7 +21732,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *41 - - &146 + - &149 name: team_slug description: The slug of the enterprise team name. in: path @@ -21672,8 +21775,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *41 - - *146 - - &147 + - *149 + - &150 name: role_id description: The unique identifier of the role. in: path @@ -21715,8 +21818,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *41 - - *146 - - *147 + - *149 + - *150 responses: '204': description: Response @@ -21750,7 +21853,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user parameters: - *41 - - *148 + - *151 responses: '204': description: Response @@ -21784,8 +21887,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user parameters: - *41 - - *148 - - *147 + - *151 + - *150 responses: '204': description: Response @@ -21818,8 +21921,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment parameters: - *41 - - *148 - - *147 + - *151 + - *150 responses: '204': description: Response @@ -21853,13 +21956,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *41 - - *147 + - *150 responses: '200': description: Response content: application/json: - schema: *149 + schema: *152 examples: default: value: @@ -21913,7 +22016,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: - *41 - - *147 + - *150 - *17 - *19 responses: @@ -21923,9 +22026,9 @@ paths: application/json: schema: type: array - items: *150 + items: *153 examples: - default: &215 + default: &218 value: - id: 1 name: Justice League @@ -21964,7 +22067,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: - *41 - - *147 + - *150 - *17 - *19 responses: @@ -21996,7 +22099,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *150 + items: *153 examples: default: value: @@ -22229,7 +22332,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: - *41 - - *148 + - *151 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -22245,9 +22348,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *151 + items: *154 examples: - default: *152 + default: *155 '500': *40 '401': *25 '403': *29 @@ -22290,7 +22393,7 @@ paths: type: integer network_configurations: type: array - items: &153 + items: &156 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -22434,9 +22537,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: &154 + default: &157 value: id: 123456789ABCDEF name: My network configuration @@ -22463,7 +22566,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: - *41 - - &155 + - &158 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -22475,9 +22578,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *154 + default: *157 headers: Link: *47 x-github: @@ -22497,7 +22600,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: - *41 - - *155 + - *158 requestBody: required: true content: @@ -22550,9 +22653,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *154 + default: *157 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -22570,7 +22673,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: - *41 - - *155 + - *158 responses: '204': description: Response @@ -22678,7 +22781,7 @@ paths: application/json: schema: type: array - items: &156 + items: &159 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -22746,7 +22849,7 @@ paths: - property_name - value_type examples: - default: &157 + default: &160 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -22806,7 +22909,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *156 + items: *159 minItems: 1 maxItems: 100 required: @@ -22839,9 +22942,9 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: - default: *157 + default: *160 '403': *29 '404': *6 '422': *7 @@ -22868,7 +22971,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: - *41 - - &158 + - &161 name: custom_property_name description: The custom property name in: path @@ -22880,9 +22983,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *159 examples: - default: &159 + default: &162 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -22919,7 +23022,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: - *41 - - *158 + - *161 requestBody: required: true content: @@ -22988,9 +23091,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *159 examples: - default: *159 + default: *162 '403': *29 '404': *6 '422': *7 @@ -23016,7 +23119,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: - *41 - - *158 + - *161 responses: '204': *130 '403': *29 @@ -23067,7 +23170,7 @@ paths: example: Hello-World properties: type: array - items: &160 + items: &163 title: Custom Property Value description: Custom property name and associated value type: object @@ -23150,7 +23253,7 @@ paths: type: array description: List of custom property names and associated values to apply to the organizations. - items: *160 + items: *163 required: - organization_logins - properties @@ -23200,7 +23303,7 @@ paths: application/json: schema: type: array - items: &161 + items: &164 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -23268,7 +23371,7 @@ paths: - property_name - value_type examples: - default: &162 + default: &165 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -23326,7 +23429,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *161 + items: *164 minItems: 1 maxItems: 100 required: @@ -23356,9 +23459,9 @@ paths: application/json: schema: type: array - items: *161 + items: *164 examples: - default: *162 + default: *165 '403': *29 '404': *6 x-github: @@ -23382,15 +23485,15 @@ paths: parameters: - *41 - *89 - - *158 + - *161 responses: '200': description: Response content: application/json: - schema: *161 + schema: *164 examples: - default: &163 + default: &166 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -23423,15 +23526,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *41 - - *158 + - *161 responses: '200': description: Response content: application/json: - schema: *161 + schema: *164 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -23453,7 +23556,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: - *41 - - *158 + - *161 requestBody: required: true content: @@ -23524,9 +23627,9 @@ paths: description: Response content: application/json: - schema: *161 + schema: *164 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -23548,7 +23651,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *41 - - *158 + - *161 responses: '204': *130 '403': *29 @@ -23590,7 +23693,7 @@ paths: - push - repository default: branch - enforcement: &172 + enforcement: &175 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -23603,7 +23706,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &173 + items: &176 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -23646,7 +23749,7 @@ paths: - pull_request - exempt default: always - conditions: &197 + conditions: &200 title: Enterprise ruleset conditions type: object description: |- @@ -23659,7 +23762,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &164 + - &167 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -23685,7 +23788,7 @@ paths: type: string required: - organization_name - - &167 + - &170 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -23714,7 +23817,7 @@ paths: is prevented. required: - repository_name - - &166 + - &169 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -23742,8 +23845,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *164 - - &169 + - *167 + - &172 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -23756,7 +23859,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &165 + items: &168 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -23787,16 +23890,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *165 + items: *168 required: - repository_property - - *166 + - *169 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &168 + - &171 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -23813,22 +23916,22 @@ paths: type: integer required: - organization_id - - *167 - - *166 + - *170 + - *169 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *168 + - *171 + - *172 - *169 - - *166 - type: object title: organization_property_and_repository_name description: Conditions to target organizations by property and all repositories allOf: - - &171 + - &174 title: Repository ruleset conditions for organization properties type: object description: Parameters for a organization property condition @@ -23841,7 +23944,7 @@ paths: description: The organization properties and values to include. All of these properties must match for the condition to pass. - items: &170 + items: &173 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a organization @@ -23865,28 +23968,28 @@ paths: description: The organization properties and values to exclude. The condition will not pass if any of these properties match. - items: *170 + items: *173 required: - organization_property - - *167 - - *166 + - *170 + - *169 - type: object title: organization_property_and_repository_property description: Conditions to target organizations by property and repositories by property allOf: - - *171 + - *174 + - *172 - *169 - - *166 rules: type: array description: An array of rules within the ruleset. - items: &198 + items: &201 title: Repository Rule type: object description: A repository rule. oneOf: - - &174 + - &177 title: creation description: Only allow users with bypass permission to create matching refs. @@ -23898,7 +24001,7 @@ paths: type: string enum: - creation - - &175 + - &178 title: update description: Only allow users with bypass permission to update matching refs. @@ -23919,7 +24022,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &176 + - &179 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -23931,7 +24034,7 @@ paths: type: string enum: - deletion - - &177 + - &180 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -23943,7 +24046,7 @@ paths: type: string enum: - required_linear_history - - &178 + - &181 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -23967,7 +24070,7 @@ paths: type: string required: - required_deployment_environments - - &179 + - &182 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -23979,7 +24082,7 @@ paths: type: string enum: - required_signatures - - &180 + - &183 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. @@ -24082,7 +24185,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &181 + - &184 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -24129,7 +24232,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &182 + - &185 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -24141,7 +24244,7 @@ paths: type: string enum: - non_fast_forward - - &183 + - &186 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -24178,7 +24281,7 @@ paths: required: - operator - pattern - - &184 + - &187 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -24215,7 +24318,7 @@ paths: required: - operator - pattern - - &185 + - &188 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -24252,7 +24355,7 @@ paths: required: - operator - pattern - - &186 + - &189 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -24289,7 +24392,7 @@ paths: required: - operator - pattern - - &187 + - &190 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -24326,7 +24429,7 @@ paths: required: - operator - pattern - - &191 + - &194 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -24350,7 +24453,7 @@ paths: type: string required: - restricted_file_paths - - &192 + - &195 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -24374,7 +24477,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &193 + - &196 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -24397,7 +24500,7 @@ paths: type: string required: - restricted_file_extensions - - &194 + - &197 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -24421,7 +24524,7 @@ paths: maximum: 100 required: - max_file_size - - &188 + - &191 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -24470,7 +24573,7 @@ paths: - repository_id required: - workflows - - &189 + - &192 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -24530,7 +24633,7 @@ paths: - tool required: - code_scanning_tools - - &190 + - &193 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review @@ -24580,7 +24683,7 @@ paths: description: Response content: application/json: - schema: &195 + schema: &198 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -24615,11 +24718,11 @@ paths: source: type: string description: The name of the source - enforcement: *172 + enforcement: *175 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *173 + items: *176 current_user_can_bypass: type: string description: |- @@ -24651,7 +24754,7 @@ paths: conditions: nullable: true anyOf: - - *166 + - *169 - &452 title: Organization ruleset conditions type: object @@ -24666,14 +24769,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *166 - - *167 + - *169 + - *170 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *166 + - *169 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -24695,8 +24798,8 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *166 - *169 + - *172 rules: type: array items: &772 @@ -24704,10 +24807,10 @@ paths: type: object description: A repository rule. oneOf: - - *174 - - *175 - - *176 - *177 + - *178 + - *179 + - *180 - &770 title: merge_queue description: Merges must be performed via a merge queue. @@ -24786,9 +24889,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *178 - - *179 - - *180 - *181 - *182 - *183 @@ -24803,6 +24903,9 @@ paths: - *192 - *193 - *194 + - *195 + - *196 + - *197 created_at: type: string format: date-time @@ -24810,7 +24913,7 @@ paths: type: string format: date-time examples: - default: &196 + default: &199 value: id: 21 name: super cool ruleset @@ -24869,9 +24972,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: - default: *196 + default: *199 '404': *6 '500': *40 x-github: @@ -24915,16 +25018,16 @@ paths: - tag - push - repository - enforcement: *172 + enforcement: *175 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *173 - conditions: *197 + items: *176 + conditions: *200 rules: description: An array of rules within the ruleset. type: array - items: *198 + items: *201 examples: default: value: @@ -24948,9 +25051,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: - default: *196 + default: *199 '404': *6 '500': *40 x-github: @@ -25012,7 +25115,7 @@ paths: application/json: schema: type: array - items: &199 + items: &202 title: Ruleset version type: object description: The historical version of a ruleset @@ -25091,7 +25194,7 @@ paths: application/json: schema: &456 allOf: - - *199 + - *202 - type: object required: - state @@ -25299,8 +25402,8 @@ paths: items: &470 type: object properties: - number: *131 - created_at: *138 + number: *134 + created_at: *141 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -25308,8 +25411,8 @@ paths: format: date-time readOnly: true nullable: true - url: *136 - html_url: *137 + url: *139 + html_url: *140 locations_url: type: string format: uri @@ -25961,7 +26064,7 @@ paths: headers: Link: *47 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -25998,7 +26101,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &202 + pattern_config_version: &205 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -26007,7 +26110,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &201 + items: &204 type: object properties: token_type: @@ -26073,7 +26176,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *201 + items: *204 examples: default: &473 value: @@ -26130,7 +26233,7 @@ paths: schema: type: object properties: - pattern_config_version: *202 + pattern_config_version: *205 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -26156,7 +26259,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *202 + custom_pattern_version: *205 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -26328,7 +26431,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-enterprise parameters: - *41 - - &206 + - &209 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, @@ -26337,7 +26440,7 @@ paths: required: false schema: type: integer - - &207 + - &210 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 @@ -26346,7 +26449,7 @@ paths: required: false schema: type: integer - - &208 + - &211 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 @@ -26355,7 +26458,7 @@ paths: required: false schema: type: integer - - &209 + - &212 name: organization description: The organization name to query usage for. The name is not case sensitive. @@ -26363,21 +26466,21 @@ paths: required: false schema: type: string - - &210 + - &213 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &211 + - &214 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &212 + - &215 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -26516,7 +26619,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27024,7 +27127,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-a-budget-by-id parameters: - *41 - - &203 + - &206 name: budget_id description: The ID corresponding to the budget. in: path @@ -27129,7 +27232,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27402,7 +27505,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#delete-a-budget parameters: - *41 - - *203 + - *206 responses: '200': description: Response when deleting a budget @@ -27429,7 +27532,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27448,7 +27551,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-user-states-for-a-multi-user-budget parameters: - *41 - - *203 + - *206 - name: page description: The page number of results to fetch. in: query @@ -27543,7 +27646,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27646,7 +27749,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27781,7 +27884,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#get-a-cost-center-by-id parameters: - *41 - - &205 + - &208 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -27838,7 +27941,7 @@ paths: - name - resources examples: - default: &204 + default: &207 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -27852,7 +27955,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27946,13 +28049,13 @@ paths: - name - resources examples: - default: *204 + default: *207 '400': *14 '403': *29 '404': *6 '409': *121 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27970,7 +28073,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#delete-a-cost-center parameters: - *41 - - *205 + - *208 responses: '200': description: Response when deleting a cost center @@ -28009,7 +28112,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28030,7 +28133,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - *41 - - *205 + - *208 requestBody: required: true content: @@ -28110,7 +28213,7 @@ paths: '403': *29 '409': *121 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28130,7 +28233,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - *41 - - *205 + - *208 requestBody: required: true content: @@ -28182,7 +28285,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28203,13 +28306,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *41 - - *206 - - *207 - - *208 - *209 - *210 - *211 - *212 + - *213 + - *214 + - *215 - 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. @@ -28342,7 +28445,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28372,7 +28475,7 @@ paths: usage_report_exports: type: array description: List of usage report exports - items: &213 + items: &216 type: object properties: id: @@ -28463,7 +28566,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28527,9 +28630,9 @@ paths: description: Report export request accepted content: application/json: - schema: *213 + schema: *216 examples: - usage-report-export: &214 + usage-report-export: &217 value: id: a1b2c3d4-e5f6-7890-abcd-ef1234567890 report_type: detailed @@ -28545,7 +28648,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28576,14 +28679,14 @@ paths: description: Usage report export details content: application/json: - schema: *213 + schema: *216 examples: - usage-report-export: *214 + usage-report-export: *217 '401': *25 '403': *29 '404': *6 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28604,7 +28707,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - *41 - - *206 + - *209 - 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 @@ -28613,7 +28716,7 @@ paths: required: false schema: type: integer - - *208 + - *211 - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -28696,7 +28799,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28717,17 +28820,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - *41 - - *206 - - *207 - - *208 - *209 + - *210 + - *211 + - *212 - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *212 + - *215 - name: sku description: The SKU to query for usage. in: query @@ -28860,7 +28963,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28887,9 +28990,9 @@ paths: application/json: schema: type: array - items: *150 + items: *153 examples: - default: *215 + default: *218 headers: Link: *47 '403': *29 @@ -28976,9 +29079,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - default: &220 + default: &223 value: id: 1 name: Justice League @@ -29007,7 +29110,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *41 - - &216 + - &219 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -29026,7 +29129,7 @@ paths: type: array items: *4 examples: - default: &217 + default: &220 value: - login: octocat id: 1 @@ -29065,7 +29168,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *41 - - *216 + - *219 requestBody: required: true content: @@ -29096,7 +29199,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29114,7 +29217,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *41 - - *216 + - *219 requestBody: required: true content: @@ -29145,7 +29248,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29163,8 +29266,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *41 - - *216 - - *148 + - *219 + - *151 responses: '200': description: User is a member of the enterprise team. @@ -29172,7 +29275,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &218 + exampleKey1: &221 value: login: octocat id: 1 @@ -29208,8 +29311,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *41 - - *216 - - *148 + - *219 + - *151 responses: '201': description: Successfully added team member @@ -29217,7 +29320,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *218 + exampleKey1: *221 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29235,8 +29338,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *41 - - *216 - - *148 + - *219 + - *151 responses: '204': description: Response @@ -29258,7 +29361,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *41 - - *216 + - *219 - *17 - *19 responses: @@ -29270,7 +29373,7 @@ paths: type: array items: *75 examples: - default: &219 + default: &222 value: login: github id: 1 @@ -29301,7 +29404,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *41 - - *216 + - *219 requestBody: required: true content: @@ -29331,7 +29434,7 @@ paths: type: array items: *75 examples: - default: &259 + default: &262 value: - login: github id: 1 @@ -29362,7 +29465,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *41 - - *216 + - *219 requestBody: required: true content: @@ -29403,7 +29506,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *41 - - *216 + - *219 - *89 responses: '200': @@ -29412,7 +29515,7 @@ paths: application/json: schema: *75 examples: - default: *219 + default: *222 '404': description: The team is not assigned to the organization x-github: @@ -29431,7 +29534,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *41 - - *216 + - *219 - *89 responses: '201': @@ -29440,7 +29543,7 @@ paths: application/json: schema: *75 examples: - default: *219 + default: *222 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29457,7 +29560,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *41 - - *216 + - *219 - *89 responses: '204': @@ -29482,7 +29585,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *41 - - &221 + - &224 name: team_slug description: The slug of the team name. in: path @@ -29494,9 +29597,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - default: *220 + default: *223 headers: Link: *47 '403': *29 @@ -29516,7 +29619,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *41 - - *221 + - *224 requestBody: required: true content: @@ -29581,9 +29684,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - default: *220 + default: *223 headers: Link: *47 '403': *29 @@ -29606,7 +29709,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *41 - - *221 + - *224 responses: '204': description: Response @@ -29705,7 +29808,7 @@ paths: application/json: schema: type: array - items: &254 + items: &257 title: Event description: Event type: object @@ -29715,7 +29818,7 @@ paths: type: type: string nullable: true - actor: &222 + actor: &225 title: Actor description: Actor type: object @@ -29755,7 +29858,7 @@ paths: - id - name - url - org: *222 + org: *225 payload: oneOf: - title: CreateEvent @@ -30088,7 +30191,7 @@ paths: - id labels: type: array - items: &227 + items: &230 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -30163,7 +30266,7 @@ paths: properties: action: type: string - issue: &228 + issue: &231 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -30486,9 +30589,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *223 - required: *224 - author_association: &225 + properties: *226 + required: *227 + author_association: &228 title: author_association type: string example: OWNER @@ -30503,7 +30606,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &226 + reactions: &229 title: Reaction Rollup type: object properties: @@ -30564,7 +30667,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &229 + properties: &232 id: description: Unique identifier of the issue comment example: 42 @@ -30607,7 +30710,7 @@ paths: issue_url: type: string format: uri - author_association: *225 + author_association: *228 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -30618,9 +30721,9 @@ paths: class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 - reactions: *226 + properties: *226 + required: *227 + reactions: *229 pin: title: Pinned Issue Comment description: Context around who pinned an issue @@ -30656,7 +30759,7 @@ paths: required: &717 - reason nullable: true - required: &230 + required: &233 - id - node_id - html_url @@ -30801,10 +30904,10 @@ paths: assignees: type: array items: *4 - label: *227 + label: *230 labels: type: array - items: *227 + items: *230 required: - action - issue @@ -30813,14 +30916,14 @@ paths: properties: action: type: string - issue: *228 + issue: *231 comment: &684 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 required: - action - issue @@ -30993,8 +31096,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true allow_forking: type: boolean @@ -31083,7 +31186,7 @@ paths: type: string number: type: integer - pull_request: &233 + pull_request: &236 title: Pull Request Minimal type: object properties: @@ -31154,10 +31257,10 @@ paths: assignees: type: array items: *4 - label: *227 + label: *230 labels: type: array - items: *227 + items: *230 required: - action - number @@ -31167,7 +31270,7 @@ paths: properties: action: type: string - pull_request: *233 + pull_request: *236 comment: type: object properties: @@ -31418,7 +31521,7 @@ paths: - pull_request updated_at: type: string - pull_request: *233 + pull_request: *236 required: - action - review @@ -31467,7 +31570,7 @@ paths: updated_at: type: string format: date-time - reactions: *226 + reactions: *229 required: - action - comment @@ -31624,7 +31727,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *226 + reactions: *229 required: - assets_url - upload_url @@ -31716,7 +31819,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31797,7 +31900,7 @@ paths: _links: type: object properties: - timeline: &234 + timeline: &237 title: Link With Type description: Hypermedia Link with Type type: object @@ -31809,17 +31912,17 @@ paths: required: - href - type - user: *234 - security_advisories: *234 - current_user: *234 - current_user_public: *234 - current_user_actor: *234 - current_user_organization: *234 + user: *237 + security_advisories: *237 + current_user: *237 + current_user_public: *237 + current_user_actor: *237 + current_user_organization: *237 current_user_organizations: type: array - items: *234 - repository_discussions: *234 - repository_discussions_category: *234 + items: *237 + repository_discussions: *237 + repository_discussions_category: *237 required: - timeline - user @@ -31881,7 +31984,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *235 + - *238 - *17 - *19 responses: @@ -31891,7 +31994,7 @@ paths: application/json: schema: type: array - items: &236 + items: &239 title: Base Gist description: Base Gist type: object @@ -31976,7 +32079,7 @@ paths: - created_at - updated_at examples: - default: &237 + default: &240 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -32097,7 +32200,7 @@ paths: description: Response content: application/json: - schema: &238 + schema: &241 title: Gist Simple description: Gist Simple type: object @@ -32265,7 +32368,7 @@ paths: truncated: type: boolean examples: - default: &239 + default: &242 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -32369,7 +32472,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *235 + - *238 - *17 - *19 responses: @@ -32379,9 +32482,9 @@ paths: application/json: schema: type: array - items: *236 + items: *239 examples: - default: *237 + default: *240 headers: Link: *47 '422': *15 @@ -32403,7 +32506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *235 + - *238 - *17 - *19 responses: @@ -32413,9 +32516,9 @@ paths: application/json: schema: type: array - items: *236 + items: *239 examples: - default: *237 + default: *240 headers: Link: *47 '401': *25 @@ -32442,7 +32545,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &240 + - &243 name: gist_id description: The unique identifier of the gist. in: path @@ -32454,10 +32557,10 @@ paths: description: Response content: application/json: - schema: *238 + schema: *241 examples: - default: *239 - '403': &243 + default: *242 + '403': &246 description: Forbidden Gist content: application/json: @@ -32504,7 +32607,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *240 + - *243 requestBody: required: true content: @@ -32564,9 +32667,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *241 examples: - updateGist: *239 + updateGist: *242 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -32724,7 +32827,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *240 + - *243 responses: '204': description: Response @@ -32752,7 +32855,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *240 + - *243 - *17 - *19 responses: @@ -32762,7 +32865,7 @@ paths: application/json: schema: type: array - items: &241 + items: &244 title: Gist Comment description: A comment made to a gist. type: object @@ -32797,7 +32900,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *225 + author_association: *228 required: - url - id @@ -32861,7 +32964,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *240 + - *243 requestBody: required: true content: @@ -32886,9 +32989,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: &242 + default: &245 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -32945,8 +33048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *240 - - &244 + - *243 + - &247 name: comment_id description: The unique identifier of the comment. in: path @@ -32959,12 +33062,12 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *242 + default: *245 '304': *37 '404': *6 - '403': *243 + '403': *246 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32985,8 +33088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *240 - - *244 + - *243 + - *247 requestBody: required: true content: @@ -33011,9 +33114,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *242 + default: *245 '404': *6 x-github: githubCloudOnly: false @@ -33030,8 +33133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *240 - - *244 + - *243 + - *247 responses: '204': description: Response @@ -33054,7 +33157,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *240 + - *243 - *17 - *19 responses: @@ -33155,7 +33258,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *240 + - *243 - *17 - *19 responses: @@ -33165,7 +33268,7 @@ paths: application/json: schema: type: array - items: *238 + items: *241 examples: default: value: @@ -33230,13 +33333,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *240 + - *243 responses: '201': description: Response content: application/json: - schema: *236 + schema: *239 examples: default: value: @@ -33306,7 +33409,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *240 + - *243 responses: '204': description: Response if gist is starred @@ -33336,7 +33439,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *240 + - *243 responses: '204': description: Response @@ -33358,7 +33461,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *240 + - *243 responses: '204': description: Response @@ -33386,7 +33489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *240 + - *243 - name: sha in: path required: true @@ -33397,9 +33500,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *241 examples: - default: *239 + default: *242 '422': *15 '404': *6 '403': *29 @@ -33798,7 +33901,7 @@ paths: - comments default: created - *112 - - *235 + - *238 - name: collab in: query required: false @@ -33828,7 +33931,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: &404 value: @@ -34114,8 +34217,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 examples: default: value: @@ -34400,7 +34503,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &245 + X-CommonMarker-Version: &248 example: 0.17.4 schema: type: string @@ -34455,7 +34558,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *245 + X-CommonMarker-Version: *248 content: text/html: schema: @@ -34484,7 +34587,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: - - &248 + - &251 name: account_id description: account_id parameter in: path @@ -34496,7 +34599,7 @@ paths: description: Response content: application/json: - schema: &247 + schema: &250 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -34526,7 +34629,7 @@ paths: nullable: true id: type: integer - plan: &246 + plan: &249 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -34615,7 +34718,7 @@ paths: nullable: true updated_at: type: string - plan: *246 + plan: *249 required: - url - id @@ -34623,7 +34726,7 @@ paths: - login - marketplace_purchase examples: - default: &249 + default: &252 value: url: https://api.github.com/orgs/github type: Organization @@ -34708,9 +34811,9 @@ paths: application/json: schema: type: array - items: *246 + items: *249 examples: - default: &250 + default: &253 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -34750,14 +34853,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &251 + - &254 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &252 + - &255 name: sort description: The property to sort the results by. in: query @@ -34787,9 +34890,9 @@ paths: application/json: schema: type: array - items: *247 + items: *250 examples: - default: &253 + default: &256 value: - url: https://api.github.com/orgs/github type: Organization @@ -34863,15 +34966,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: - - *248 + - *251 responses: '200': description: Response content: application/json: - schema: *247 + schema: *250 examples: - default: *249 + default: *252 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -34903,9 +35006,9 @@ paths: application/json: schema: type: array - items: *246 + items: *249 examples: - default: *250 + default: *253 headers: Link: *47 '401': *25 @@ -34928,8 +35031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *251 - - *252 + - *254 + - *255 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -34949,9 +35052,9 @@ paths: application/json: schema: type: array - items: *247 + items: *250 examples: - default: *253 + default: *256 headers: Link: *47 '401': *25 @@ -35239,7 +35342,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: default: value: @@ -35323,7 +35426,7 @@ paths: schema: type: boolean default: false - - *235 + - *238 - &739 name: before description: 'Only show notifications updated before the given time. This @@ -35349,14 +35452,14 @@ paths: application/json: schema: type: array - items: &255 + items: &258 title: Thread description: Thread type: object properties: id: type: string - repository: &289 + repository: &292 title: Minimal Repository description: Minimal Repository type: object @@ -36026,7 +36129,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &256 + - &259 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 @@ -36040,7 +36143,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *258 examples: default: value: @@ -36143,7 +36246,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *256 + - *259 responses: '205': description: Reset Content @@ -36166,7 +36269,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *256 + - *259 responses: '204': description: No content @@ -36189,13 +36292,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: - - *256 + - *259 responses: '200': description: Response content: application/json: - schema: &257 + schema: &260 title: Thread Subscription description: Thread Subscription type: object @@ -36232,7 +36335,7 @@ paths: - url - subscribed examples: - default: &258 + default: &261 value: subscribed: true ignored: false @@ -36263,7 +36366,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *256 + - *259 requestBody: required: false content: @@ -36284,9 +36387,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *260 examples: - default: *258 + default: *261 '304': *37 '403': *29 '401': *25 @@ -36309,7 +36412,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *256 + - *259 responses: '204': description: Response @@ -36406,7 +36509,7 @@ paths: type: array items: *75 examples: - default: *259 + default: *262 headers: Link: example: ; rel="next" @@ -36478,7 +36581,7 @@ paths: description: Response content: application/json: - schema: &260 + schema: &263 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -36516,7 +36619,7 @@ paths: required: true content: application/json: - schema: *260 + schema: *263 examples: selected_actions: *44 responses: @@ -36551,7 +36654,7 @@ paths: description: Response content: application/json: - schema: &261 + schema: &264 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -36589,7 +36692,7 @@ paths: required: true content: application/json: - schema: *261 + schema: *264 examples: selected_actions: *46 responses: @@ -36630,7 +36733,7 @@ paths: application/json: schema: type: array - items: *160 + items: *163 examples: default: &746 value: @@ -36678,7 +36781,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *160 + items: *163 required: - properties examples: @@ -36729,7 +36832,7 @@ paths: description: Response content: application/json: - schema: &262 + schema: &265 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -37057,7 +37160,7 @@ paths: - updated_at - archived_at examples: - default-response: &263 + default-response: &266 value: login: github id: 1 @@ -37377,17 +37480,17 @@ paths: description: Response content: application/json: - schema: *262 + schema: *265 examples: - default: *263 + default: *266 '422': description: Validation failed content: application/json: schema: oneOf: - - *264 - - *265 + - *267 + - *268 '409': *121 x-github: githubCloudOnly: false @@ -37443,9 +37546,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: *267 + default: *270 headers: Link: *47 x-github: @@ -37561,7 +37664,7 @@ paths: type: array items: *48 examples: - default: *268 + default: *271 headers: Link: *47 x-github: @@ -37727,7 +37830,7 @@ paths: application/json: schema: *49 examples: - default: *269 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37819,7 +37922,7 @@ paths: application/json: schema: *52 examples: - default: *270 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37938,9 +38041,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *274 examples: - default: *272 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37976,7 +38079,7 @@ paths: type: array items: *56 examples: - default: *273 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38219,7 +38322,7 @@ paths: required: true content: application/json: - schema: *274 + schema: *277 examples: default: *60 responses: @@ -38312,7 +38415,7 @@ paths: required: - include_claim_keys examples: - default: &275 + default: &278 value: include_claim_keys: - repo @@ -38357,13 +38460,13 @@ paths: format. type: boolean examples: - default: *275 + default: *278 responses: '201': description: Empty response content: application/json: - schema: &300 + schema: &303 title: Empty Object description: An object without any properties. type: object @@ -38402,7 +38505,7 @@ paths: schema: type: object properties: - enabled_repositories: &277 + enabled_repositories: &280 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -38416,7 +38519,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *62 - selected_actions_url: *276 + selected_actions_url: *279 sha_pinning_required: *63 required: - enabled_repositories @@ -38458,7 +38561,7 @@ paths: schema: type: object properties: - enabled_repositories: *277 + enabled_repositories: *280 allowed_actions: *62 sha_pinning_required: *63 required: @@ -38494,7 +38597,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: response: summary: Example response @@ -38525,7 +38628,7 @@ paths: required: true content: application/json: - schema: *279 + schema: *282 examples: application/json: value: @@ -38563,7 +38666,7 @@ paths: application/json: schema: *64 examples: - default: *280 + default: *283 '404': *6 x-github: enabledForGitHubApps: true @@ -38620,7 +38723,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *284 examples: default: *65 '403': *29 @@ -38645,7 +38748,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *285 examples: default: *65 responses: @@ -38697,7 +38800,7 @@ paths: type: array items: *80 examples: - default: &284 + default: &287 value: total_count: 1 repositories: @@ -38882,7 +38985,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *89 - - &283 + - &286 name: repository_id description: The unique identifier of the repository. in: path @@ -38911,7 +39014,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *89 - - *283 + - *286 responses: '204': description: Response @@ -39107,7 +39210,7 @@ paths: type: array items: *80 examples: - default: *284 + default: *287 '403': *29 '404': *6 x-github: @@ -39176,7 +39279,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: - *89 - - *283 + - *286 responses: '204': description: No content @@ -39203,7 +39306,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: - *89 - - *283 + - *286 responses: '204': description: No content @@ -39237,7 +39340,7 @@ paths: description: Response content: application/json: - schema: *285 + schema: *288 examples: default: *71 x-github: @@ -39271,7 +39374,7 @@ paths: required: false content: application/json: - schema: *286 + schema: *289 examples: default: *71 x-github: @@ -39318,7 +39421,7 @@ paths: type: number runner_groups: type: array - items: &287 + items: &290 type: object properties: id: @@ -39506,9 +39609,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: &288 + default: &291 value: id: 2 name: octo-runner-group @@ -39550,7 +39653,7 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: default: value: @@ -39641,9 +39744,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: *288 + default: *291 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -39707,7 +39810,7 @@ paths: type: array items: *48 examples: - default: *268 + default: *271 headers: Link: *47 x-github: @@ -39748,7 +39851,7 @@ paths: type: number repositories: type: array - items: *289 + items: *292 examples: default: &344 value: @@ -40049,7 +40152,7 @@ paths: parameters: - *89 - *74 - - *283 + - *286 responses: '204': description: Response @@ -40073,7 +40176,7 @@ paths: parameters: - *89 - *74 - - *283 + - *286 responses: '204': description: Response @@ -40291,9 +40394,9 @@ paths: application/json: schema: type: array - items: *290 + items: *293 examples: - default: *291 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40358,7 +40461,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *292 + '201': *295 '404': *6 '422': *7 '409': *121 @@ -40397,7 +40500,7 @@ paths: application/json: schema: *81 examples: - default: *293 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40433,7 +40536,7 @@ paths: application/json: schema: *81 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40464,7 +40567,7 @@ paths: application/json: schema: *78 examples: - default: *295 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40639,7 +40742,7 @@ paths: - *89 - *77 responses: - '200': *296 + '200': *299 '404': *6 x-github: githubCloudOnly: false @@ -40668,7 +40771,7 @@ paths: parameters: - *89 - *77 - - *297 + - *300 responses: '200': *83 '404': *6 @@ -40713,7 +40816,7 @@ paths: type: integer secrets: type: array - items: &298 + items: &301 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -40745,7 +40848,7 @@ paths: - updated_at - visibility examples: - default: &304 + default: &307 value: total_count: 3 secrets: @@ -40792,7 +40895,7 @@ paths: description: Response content: application/json: - schema: &305 + schema: &308 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -40821,7 +40924,7 @@ paths: - key_id - key examples: - default: &306 + default: &309 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40847,7 +40950,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - *89 - - &299 + - &302 name: secret_name description: The name of the secret. in: path @@ -40859,9 +40962,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *301 examples: - default: &307 + default: &310 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -40890,7 +40993,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -40947,7 +41050,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -40974,7 +41077,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '204': description: Response @@ -41001,7 +41104,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 - *19 - *17 responses: @@ -41019,9 +41122,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: &303 + default: &306 value: total_count: 1 repositories: @@ -41114,7 +41217,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -41167,7 +41270,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -41201,7 +41304,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -41234,7 +41337,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - *89 - - &308 + - &311 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)." @@ -41258,7 +41361,7 @@ paths: type: integer variables: type: array - items: &301 + items: &304 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -41301,7 +41404,7 @@ paths: - updated_at - visibility examples: - default: &309 + default: &312 value: total_count: 3 variables: @@ -41391,7 +41494,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -41417,7 +41520,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - *89 - - &302 + - &305 name: name description: The name of the variable. in: path @@ -41429,9 +41532,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *304 examples: - default: &310 + default: &313 value: name: USERNAME value: octocat @@ -41460,7 +41563,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - *89 - - *302 + - *305 requestBody: required: true content: @@ -41523,7 +41626,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - *89 - - *302 + - *305 responses: '204': description: Response @@ -41550,7 +41653,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *89 - - *302 + - *305 - *19 - *17 responses: @@ -41568,9 +41671,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: *303 + default: *306 '409': description: Response when the visibility of the variable is not set to `selected` @@ -41597,7 +41700,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *89 - - *302 + - *305 requestBody: required: true content: @@ -41647,7 +41750,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *89 - - *302 + - *305 - name: repository_id in: path required: true @@ -41682,7 +41785,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *89 - - *302 + - *305 - name: repository_id in: path required: true @@ -41734,9 +41837,9 @@ paths: type: integer secrets: type: array - items: *298 + items: *301 examples: - default: *304 + default: *307 headers: Link: *47 x-github: @@ -41767,9 +41870,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *308 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41792,15 +41895,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '200': description: Response content: application/json: - schema: *298 + schema: *301 examples: - default: *307 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41823,7 +41926,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -41880,7 +41983,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -41907,7 +42010,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '204': description: Response @@ -41934,7 +42037,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 - *19 - *17 responses: @@ -41952,9 +42055,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: *303 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41978,7 +42081,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -42031,7 +42134,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -42065,7 +42168,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -42099,7 +42202,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *89 - - *308 + - *311 - *19 responses: '200': @@ -42116,9 +42219,9 @@ paths: type: integer variables: type: array - items: *301 + items: *304 examples: - default: *309 + default: *312 headers: Link: *47 x-github: @@ -42189,7 +42292,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -42215,15 +42318,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *89 - - *302 + - *305 responses: '200': description: Response content: application/json: - schema: *301 + schema: *304 examples: - default: *310 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42245,7 +42348,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *89 - - *302 + - *305 requestBody: required: true content: @@ -42308,7 +42411,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *89 - - *302 + - *305 responses: '204': description: Response @@ -42335,7 +42438,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *89 - - *302 + - *305 - *19 - *17 responses: @@ -42353,9 +42456,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: *303 + default: *306 '409': description: Response when the visibility of the variable is not set to `selected` @@ -42382,7 +42485,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *89 - - *302 + - *305 requestBody: required: true content: @@ -42432,7 +42535,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *89 - - *302 + - *305 - name: repository_id in: path required: true @@ -42467,7 +42570,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *89 - - *302 + - *305 - name: repository_id in: path required: true @@ -42525,7 +42628,7 @@ paths: required: true content: application/json: - schema: *311 + schema: *314 examples: default: *87 parameters: @@ -42709,7 +42812,7 @@ paths: type: integer deployment_records: type: array - items: &312 + items: &315 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -42755,7 +42858,7 @@ paths: required: - total_count examples: - default: &313 + default: &316 value: total_count: 1 deployment_records: @@ -42935,11 +43038,11 @@ paths: type: integer deployment_records: type: array - items: *312 + items: *315 required: - total_count examples: - default: *313 + default: *316 '403': description: Forbidden content: @@ -43178,9 +43281,9 @@ paths: type: integer deployment_records: type: array - items: *312 + items: *315 examples: - default: *313 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43817,10 +43920,10 @@ paths: required: false schema: type: string - - *314 - - *315 - - *316 - *317 + - *131 + - *132 + - *133 - *17 responses: '200': @@ -43860,7 +43963,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43880,7 +43983,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *89 - - *148 + - *151 responses: '204': description: If the user is blocked @@ -43906,7 +44009,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#block-a-user-from-an-organization parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -43927,7 +44030,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -44214,7 +44317,7 @@ paths: headers: Link: *47 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44388,7 +44491,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44431,7 +44534,7 @@ paths: content: application/json: schema: *3 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44525,7 +44628,7 @@ paths: content: application/json: schema: *3 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44557,7 +44660,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44640,7 +44743,7 @@ paths: headers: Link: *47 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45699,7 +45802,7 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *289 + repository: *292 machine: type: object title: Codespace machine @@ -46705,7 +46808,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '200': description: Response @@ -46741,7 +46844,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -46796,7 +46899,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -46823,7 +46926,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '204': description: Response @@ -46849,7 +46952,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 - *19 - *17 responses: @@ -46867,9 +46970,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: *303 + default: *306 '404': *6 x-github: githubCloudOnly: false @@ -46892,7 +46995,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -46943,7 +47046,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -46977,7 +47080,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -48777,9 +48880,9 @@ paths: currently being billed. seats: type: array - items: *151 + items: *154 examples: - default: *152 + default: *155 headers: Link: *47 '500': *40 @@ -49263,7 +49366,7 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 required: - total_count - repositories @@ -49354,7 +49457,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: - *89 - - *283 + - *286 responses: '204': description: No Content @@ -49388,7 +49491,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: - *89 - - *283 + - *286 responses: '204': description: No Content @@ -50205,7 +50308,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *89 - - *147 + - *150 responses: '200': description: Response @@ -50236,7 +50339,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *89 - - *147 + - *150 requestBody: required: true content: @@ -50306,7 +50409,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *89 - - *147 + - *150 responses: '204': description: Response @@ -50386,7 +50489,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *89 - - *147 + - *150 responses: '200': description: Response @@ -50423,7 +50526,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *89 - - *147 + - *150 requestBody: required: true content: @@ -50476,7 +50579,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *89 - - *147 + - *150 responses: '204': description: Response @@ -50896,7 +50999,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '200': description: Response @@ -50931,7 +51034,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -50986,7 +51089,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -51011,7 +51114,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '204': description: Response @@ -51036,7 +51139,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 - *19 - *17 responses: @@ -51054,9 +51157,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: *303 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51078,7 +51181,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -51129,7 +51232,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -51161,7 +51264,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -51918,7 +52021,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: 200-response: value: @@ -54766,7 +54869,7 @@ paths: - comments default: created - *112 - - *235 + - *238 - *17 - *19 responses: @@ -54776,7 +54879,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: *404 headers: @@ -54838,7 +54941,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 '422': *15 @@ -54859,7 +54962,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#check-organization-membership-for-a-user parameters: - *89 - - *148 + - *151 responses: '204': description: Response if requester is an organization member and user is @@ -54894,7 +54997,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-an-organization-member parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -54922,7 +55025,7 @@ paths: - *17 - *19 - *89 - - *148 + - *151 responses: '200': description: Response @@ -54966,7 +55069,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *89 - - *148 + - *151 - &407 name: codespace_name in: path @@ -55001,7 +55104,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *89 - - *148 + - *151 - *407 responses: '200': @@ -55184,13 +55287,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *89 - - *148 + - *151 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *151 + schema: *154 examples: default: value: @@ -55260,7 +55363,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#get-organization-membership-for-a-user parameters: - *89 - - *148 + - *151 responses: '200': description: Response @@ -55406,7 +55509,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#set-organization-membership-for-a-user parameters: - *89 - - *148 + - *151 requestBody: required: false content: @@ -55462,7 +55565,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-organization-membership-for-a-user parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -56657,7 +56760,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *89 - - *221 + - *224 responses: '204': description: Response @@ -56683,8 +56786,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *89 - - *221 - - *147 + - *224 + - *150 responses: '204': description: Response @@ -56714,8 +56817,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *89 - - *221 - - *147 + - *224 + - *150 responses: '204': description: Response @@ -56741,7 +56844,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -56767,8 +56870,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *89 - - *148 - - *147 + - *151 + - *150 responses: '204': description: Response @@ -56799,8 +56902,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *89 - - *148 - - *147 + - *151 + - *150 responses: '204': description: Response @@ -56829,7 +56932,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#get-an-organization-role parameters: - *89 - - *147 + - *150 responses: '200': description: Response @@ -56893,7 +56996,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *89 - - *147 + - *150 requestBody: required: true content: @@ -56986,7 +57089,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *89 - - *147 + - *150 responses: '204': description: Response @@ -57012,7 +57115,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *89 - - *147 + - *150 - *17 - *19 responses: @@ -57153,7 +57256,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *89 - - *147 + - *150 - *17 - *19 responses: @@ -57282,7 +57385,7 @@ paths: - type - url examples: - default: *217 + default: *220 headers: Link: *47 '404': @@ -57333,7 +57436,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 x-github: @@ -57359,7 +57462,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *89 - - *148 + - *151 requestBody: required: false content: @@ -57417,7 +57520,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -58324,7 +58427,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: &429 value: @@ -58750,7 +58853,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *429 headers: @@ -59395,7 +59498,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *89 - - *299 + - *302 responses: '200': description: The specified private registry configuration for the organization @@ -59426,7 +59529,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -59614,7 +59717,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *89 - - *299 + - *302 responses: '204': description: Response @@ -59985,7 +60088,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *228 + - *231 - &611 title: Pull Request Simple description: Pull Request Simple @@ -60200,7 +60303,7 @@ paths: - review_comments - review_comment - self - author_association: *225 + author_association: *228 auto_merge: &749 title: Auto merge description: The status of auto merging a pull request. @@ -62457,9 +62560,9 @@ paths: application/json: schema: type: array - items: *161 + items: *164 examples: - default: *162 + default: *165 '403': *29 '404': *6 x-github: @@ -62497,7 +62600,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *161 + items: *164 minItems: 1 maxItems: 100 required: @@ -62527,9 +62630,9 @@ paths: application/json: schema: type: array - items: *161 + items: *164 examples: - default: *162 + default: *165 '403': *29 '404': *6 x-github: @@ -62551,15 +62654,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *89 - - *158 + - *161 responses: '200': description: Response content: application/json: - schema: *161 + schema: *164 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -62583,7 +62686,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *89 - - *158 + - *161 requestBody: required: true content: @@ -62604,9 +62707,9 @@ paths: description: Response content: application/json: - schema: *161 + schema: *164 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -62630,7 +62733,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *89 - - *158 + - *161 responses: '204': *130 '403': *29 @@ -62691,7 +62794,7 @@ paths: example: octocat/Hello-World properties: type: array - items: *160 + items: *163 description: List of custom property names and associated values required: - repository_id @@ -62760,7 +62863,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *160 + items: *163 required: - repository_names - properties @@ -62813,7 +62916,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 x-github: @@ -62833,7 +62936,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *89 - - *148 + - *151 responses: '204': description: Response if user is a public member @@ -62858,7 +62961,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -62880,7 +62983,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -62951,7 +63054,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *429 headers: @@ -63526,8 +63629,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true organization: title: Simple User @@ -64230,7 +64333,7 @@ paths: application/json: schema: type: array - items: *195 + items: *198 examples: default: value: @@ -64298,11 +64401,11 @@ paths: - push - repository default: branch - enforcement: *172 + enforcement: *175 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *173 + items: *176 conditions: *452 rules: type: array @@ -64312,9 +64415,6 @@ paths: type: object description: A repository rule. oneOf: - - *174 - - *175 - - *176 - *177 - *178 - *179 @@ -64326,13 +64426,16 @@ paths: - *185 - *186 - *187 - - *191 - - *192 - - *193 - - *194 - *188 - *189 - *190 + - *194 + - *195 + - *196 + - *197 + - *191 + - *192 + - *193 required: - name - enforcement @@ -64370,7 +64473,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: default: &453 value: @@ -64770,7 +64873,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: default: *453 '404': *6 @@ -64816,11 +64919,11 @@ paths: - tag - push - repository - enforcement: *172 + enforcement: *175 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *173 + items: *176 conditions: *452 rules: description: An array of rules within the ruleset. @@ -64860,7 +64963,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: default: *453 '404': *6 @@ -64920,7 +65023,7 @@ paths: application/json: schema: type: array - items: *199 + items: *202 examples: default: *455 '404': *6 @@ -65071,7 +65174,7 @@ paths: headers: Link: *47 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65133,7 +65236,7 @@ paths: schema: type: object properties: - pattern_config_version: *202 + pattern_config_version: *205 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -65159,7 +65262,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *202 + custom_pattern_version: *205 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -65426,7 +65529,7 @@ paths: - patched_versions - vulnerable_functions additionalProperties: false - cvss_severities: *133 + cvss_severities: *136 cwes: type: array nullable: true @@ -65957,7 +66060,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - *89 - - *221 + - *224 responses: '204': description: Response @@ -65983,7 +66086,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *89 - - *221 + - *224 responses: '204': description: Response @@ -66169,9 +66272,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: *303 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66240,7 +66343,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *89 - - *283 + - *286 responses: '204': description: Response @@ -66263,7 +66366,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *89 - - *283 + - *286 responses: '204': description: Response @@ -66304,7 +66407,7 @@ paths: type: integer network_configurations: type: array - items: *153 + items: *156 examples: default: *479 headers: @@ -66383,9 +66486,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *154 + default: *157 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66406,15 +66509,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *89 - - *155 + - *158 responses: '200': description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *154 + default: *157 headers: Link: *47 x-github: @@ -66436,7 +66539,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *89 - - *155 + - *158 requestBody: required: true content: @@ -66489,9 +66592,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *154 + default: *157 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66511,7 +66614,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *89 - - *155 + - *158 responses: '204': description: Response @@ -67168,7 +67271,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - *89 - - *221 + - *224 responses: '200': description: Response @@ -67198,7 +67301,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - *89 - - *221 + - *224 requestBody: required: false content: @@ -67295,7 +67398,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - *89 - - *221 + - *224 responses: '204': description: Response @@ -67322,7 +67425,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: - *89 - - *221 + - *224 responses: '200': description: Response @@ -67351,7 +67454,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: - *89 - - *221 + - *224 requestBody: required: true content: @@ -67397,7 +67500,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: - *89 - - *221 + - *224 responses: '204': description: Response @@ -67423,7 +67526,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - *89 - - *221 + - *224 - *17 - *19 responses: @@ -67459,7 +67562,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - *89 - - *221 + - *224 - name: role description: Filters members returned by their role in the team. in: query @@ -67482,7 +67585,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 x-github: @@ -67513,8 +67616,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - *89 - - *221 - - *148 + - *224 + - *151 responses: '200': description: Response @@ -67584,8 +67687,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *89 - - *221 - - *148 + - *224 + - *151 requestBody: required: false content: @@ -67648,8 +67751,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - *89 - - *221 - - *148 + - *224 + - *151 responses: '204': description: Response @@ -67676,7 +67779,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - *89 - - *221 + - *224 - *17 - *19 responses: @@ -67686,7 +67789,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *429 headers: @@ -67718,7 +67821,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *89 - - *221 + - *224 - *491 - *492 responses: @@ -67749,8 +67852,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true forks: type: integer @@ -68289,7 +68392,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *89 - - *221 + - *224 - *491 - *492 requestBody: @@ -68337,7 +68440,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - *89 - - *221 + - *224 - *491 - *492 responses: @@ -68366,7 +68469,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *89 - - *221 + - *224 responses: '200': description: Response @@ -68398,7 +68501,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *89 - - *221 + - *224 requestBody: required: true content: @@ -68475,7 +68578,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - *89 - - *221 + - *224 - *17 - *19 responses: @@ -70960,7 +71063,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -71084,7 +71187,7 @@ paths: description: Empty response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -71187,7 +71290,7 @@ paths: parameters: - *491 - *492 - - *308 + - *311 - *19 responses: '200': @@ -71281,7 +71384,7 @@ paths: type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *62 - selected_actions_url: *276 + selected_actions_url: *279 sha_pinning_required: *63 required: - enabled @@ -71446,7 +71549,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: default: value: @@ -71481,7 +71584,7 @@ paths: required: true content: application/json: - schema: *279 + schema: *282 examples: default: summary: Set retention days @@ -71514,7 +71617,7 @@ paths: application/json: schema: *64 examples: - default: *280 + default: *283 '404': *6 x-github: enabledForGitHubApps: true @@ -71575,7 +71678,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *284 examples: default: *65 '403': *29 @@ -71603,7 +71706,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *285 examples: default: *65 responses: @@ -71701,7 +71804,7 @@ paths: description: Response content: application/json: - schema: *285 + schema: *288 examples: default: *71 x-github: @@ -71736,7 +71839,7 @@ paths: required: true content: application/json: - schema: *286 + schema: *289 examples: default: *71 x-github: @@ -71819,9 +71922,9 @@ paths: application/json: schema: type: array - items: *290 + items: *293 examples: - default: *291 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71887,7 +71990,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *292 + '201': *295 '404': *6 '422': *7 '409': *121 @@ -71927,7 +72030,7 @@ paths: application/json: schema: *81 examples: - default: *293 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71964,7 +72067,7 @@ paths: application/json: schema: *81 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71996,7 +72099,7 @@ paths: application/json: schema: *78 examples: - default: *295 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72176,7 +72279,7 @@ paths: - *492 - *77 responses: - '200': *296 + '200': *299 '404': *6 x-github: githubCloudOnly: false @@ -72206,7 +72309,7 @@ paths: - *491 - *492 - *77 - - *297 + - *300 responses: '200': *83 '404': *6 @@ -72430,7 +72533,7 @@ paths: that triggered the run. type: array nullable: true - items: *233 + items: *236 created_at: type: string format: date-time @@ -72542,8 +72645,8 @@ paths: - author - committer nullable: true - repository: *289 - head_repository: *289 + repository: *292 + head_repository: *292 head_repository_id: type: integer example: 5 @@ -73229,7 +73332,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -73520,7 +73623,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -73810,7 +73913,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -74238,8 +74341,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 required: &921 - id - node_id @@ -74335,7 +74438,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -74381,7 +74484,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -74606,9 +74709,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *308 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74632,7 +74735,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 responses: '200': description: Response @@ -74668,7 +74771,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 requestBody: required: true content: @@ -74699,7 +74802,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -74727,7 +74830,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 responses: '204': description: Response @@ -74754,7 +74857,7 @@ paths: parameters: - *491 - *492 - - *308 + - *311 - *19 responses: '200': @@ -74824,7 +74927,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -74851,7 +74954,7 @@ paths: parameters: - *491 - *492 - - *302 + - *305 responses: '200': description: Response @@ -74887,7 +74990,7 @@ paths: parameters: - *491 - *492 - - *302 + - *305 requestBody: required: true content: @@ -74931,7 +75034,7 @@ paths: parameters: - *491 - *492 - - *302 + - *305 responses: '204': description: Response @@ -75613,7 +75716,7 @@ paths: parameters: - *491 - *492 - - *308 + - *311 - *19 responses: '200': @@ -75710,9 +75813,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *308 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75736,7 +75839,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 responses: '200': description: Response @@ -75768,7 +75871,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 requestBody: required: true content: @@ -75799,7 +75902,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -75827,7 +75930,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 responses: '204': description: Response @@ -75854,7 +75957,7 @@ paths: parameters: - *491 - *492 - - *308 + - *311 - *19 responses: '200': @@ -75924,7 +76027,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -75951,7 +76054,7 @@ paths: parameters: - *491 - *492 - - *302 + - *305 responses: '200': description: Response @@ -75982,7 +76085,7 @@ paths: parameters: - *491 - *492 - - *302 + - *305 requestBody: required: true content: @@ -76026,7 +76129,7 @@ paths: parameters: - *491 - *492 - - *302 + - *305 responses: '204': description: Response @@ -76060,7 +76163,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 '404': *6 @@ -77162,12 +77265,12 @@ paths: nullable: true oneOf: - *4 - - *300 + - *303 committer: nullable: true oneOf: - *4 - - *300 + - *303 parents: type: array items: @@ -79568,7 +79671,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 '404': *6 x-github: githubCloudOnly: false @@ -79627,7 +79730,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 '422': *15 x-github: githubCloudOnly: false @@ -79687,7 +79790,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 '422': *15 x-github: githubCloudOnly: false @@ -79747,7 +79850,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 '422': *15 x-github: githubCloudOnly: false @@ -80632,15 +80735,15 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *233 + items: *236 deployment: &913 title: Deployment description: A deployment created as the result of an Actions @@ -80708,8 +80811,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 required: - id - node_id @@ -81406,7 +81509,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -81531,7 +81634,7 @@ paths: nullable: true pull_requests: type: array - items: *233 + items: *236 nullable: true app: title: GitHub app @@ -81542,9 +81645,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 - repository: *289 + properties: *226 + required: *227 + repository: *292 created_at: type: string format: date-time @@ -81960,7 +82063,7 @@ paths: required: - app_id - setting - repository: *289 + repository: *292 examples: default: value: @@ -82408,7 +82511,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -82499,14 +82602,14 @@ paths: items: type: object properties: - number: *131 - created_at: *138 - updated_at: *139 - url: *136 - html_url: *137 + number: *134 + created_at: *141 + updated_at: *142 + url: *139 + html_url: *140 instances_url: *564 state: *115 - fixed_at: *141 + fixed_at: *144 dismissed_by: title: Simple User description: A GitHub user. @@ -82514,7 +82617,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *140 + dismissed_at: *143 dismissed_reason: *565 dismissed_comment: *566 rule: *567 @@ -82652,7 +82755,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82682,7 +82785,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *131 + schema: *134 responses: '200': description: Response @@ -82691,14 +82794,14 @@ paths: schema: &572 type: object properties: - number: *131 - created_at: *138 - updated_at: *139 - url: *136 - html_url: *137 + number: *134 + created_at: *141 + updated_at: *142 + url: *139 + html_url: *140 instances_url: *564 state: *115 - fixed_at: *141 + fixed_at: *144 dismissed_by: title: Simple User description: A GitHub user. @@ -82706,7 +82809,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *140 + dismissed_at: *143 dismissed_reason: *565 dismissed_comment: *566 rule: @@ -82864,7 +82967,7 @@ paths: '304': *37 '403': *570 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83011,7 +83114,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -83213,7 +83316,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83315,7 +83418,7 @@ paths: - source '403': *570 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83490,7 +83593,7 @@ paths: warning: '' '403': *570 '404': *6 - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -83599,7 +83702,7 @@ paths: content: application/json: schema: *3 - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -83735,7 +83838,7 @@ paths: '400': *14 '403': *576 '404': *6 - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -83877,7 +83980,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *570 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83953,7 +84056,7 @@ paths: description: Found '403': *570 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83986,7 +84089,7 @@ paths: description: Response '403': *576 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84436,7 +84539,7 @@ paths: content: application/json: schema: *3 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84474,7 +84577,7 @@ paths: examples: default: *590 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84634,7 +84737,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84741,7 +84844,7 @@ paths: schedule: weekly '403': *570 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84828,7 +84931,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -84867,7 +84970,7 @@ paths: content: application/json: schema: *3 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85009,7 +85112,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -85078,7 +85181,7 @@ paths: '403': *570 '404': description: Not Found if the sarif id does not match any upload - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -85697,7 +85800,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86000,7 +86103,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86114,7 +86217,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 responses: '200': description: Response @@ -86144,7 +86247,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 requestBody: required: true content: @@ -86172,7 +86275,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -86198,7 +86301,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 responses: '204': description: Response @@ -86438,7 +86541,7 @@ paths: parameters: - *491 - *492 - - *148 + - *151 responses: '204': description: Response if user is a collaborator @@ -86486,7 +86589,7 @@ paths: parameters: - *491 - *492 - - *148 + - *151 requestBody: required: false content: @@ -86523,7 +86626,7 @@ paths: example: 42 type: integer format: int64 - repository: *289 + repository: *292 invitee: title: Simple User description: A GitHub user. @@ -86701,7 +86804,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *264 + schema: *267 '403': *29 x-github: triggersNotification: true @@ -86743,7 +86846,7 @@ paths: parameters: - *491 - *492 - - *148 + - *151 responses: '204': description: No Content when collaborator was removed from the repository. @@ -86776,7 +86879,7 @@ paths: parameters: - *491 - *492 - - *148 + - *151 responses: '200': description: if user has admin permissions @@ -86904,8 +87007,8 @@ paths: updated_at: type: string format: date-time - author_association: *225 - reactions: *226 + author_association: *228 + reactions: *229 required: - url - html_url @@ -86982,7 +87085,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 responses: '200': description: Response @@ -87049,7 +87152,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 requestBody: required: true content: @@ -87124,7 +87227,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 responses: '204': description: Response @@ -87147,7 +87250,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 - 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. @@ -87263,7 +87366,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 requestBody: required: true content: @@ -87352,7 +87455,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 - &687 name: reaction_id description: The unique identifier of the reaction. @@ -88444,7 +88547,7 @@ paths: '422': *15 '404': *6 '500': *40 - '503': *200 + '503': *203 '409': *121 x-github: githubCloudOnly: false @@ -88832,7 +88935,7 @@ paths: type: string total_count: type: integer - repository: *289 + repository: *292 commit_url: type: string format: uri @@ -89135,8 +89238,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true contributing: title: Community Health File @@ -89609,7 +89712,7 @@ paths: default: *622 '404': *6 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90687,7 +90790,7 @@ paths: '422': *15 '404': *6 '409': *121 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91003,7 +91106,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *131 + number: *134 state: type: string description: The state of the Dependabot alert. @@ -91018,7 +91121,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *132 + package: *135 manifest_path: type: string description: The full path to the dependency manifest file, @@ -91047,12 +91150,12 @@ paths: - transitive - inconclusive security_advisory: *627 - security_vulnerability: *135 - url: *136 - html_url: *137 - created_at: *138 - updated_at: *139 - dismissed_at: *140 + security_vulnerability: *138 + url: *139 + html_url: *140 + created_at: *141 + updated_at: *142 + dismissed_at: *143 dismissed_by: title: Simple User description: A GitHub user. @@ -91076,7 +91179,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *141 + fixed_at: *144 auto_dismissed_at: *628 dismissal_request: *629 assignees: @@ -91344,7 +91447,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *131 + schema: *134 responses: '200': description: Response @@ -91790,7 +91893,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 responses: '200': description: Response @@ -91824,7 +91927,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 requestBody: required: true content: @@ -91852,7 +91955,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -91878,7 +91981,7 @@ paths: parameters: - *491 - *492 - - *299 + - *302 responses: '204': description: Response @@ -92047,7 +92150,7 @@ paths: schema: *3 '400': *14 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: false category: dependency-graph @@ -93096,8 +93199,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 required: - id - node_id @@ -95169,9 +95272,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *308 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95196,7 +95299,7 @@ paths: - *491 - *492 - *652 - - *299 + - *302 responses: '200': description: Response @@ -95229,7 +95332,7 @@ paths: - *491 - *492 - *652 - - *299 + - *302 requestBody: required: true content: @@ -95260,7 +95363,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -95289,7 +95392,7 @@ paths: - *491 - *492 - *652 - - *299 + - *302 responses: '204': description: Default response @@ -95317,7 +95420,7 @@ paths: - *491 - *492 - *652 - - *308 + - *311 - *19 responses: '200': @@ -95388,7 +95491,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -95416,7 +95519,7 @@ paths: - *491 - *492 - *652 - - *302 + - *305 responses: '200': description: Response @@ -95447,7 +95550,7 @@ paths: parameters: - *491 - *492 - - *302 + - *305 - *652 requestBody: required: true @@ -95492,7 +95595,7 @@ paths: parameters: - *491 - *492 - - *302 + - *305 - *652 responses: '204': @@ -95526,7 +95629,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: 200-response: value: @@ -95607,7 +95710,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: value: @@ -95860,7 +95963,7 @@ paths: application/json: schema: oneOf: - - *264 + - *267 - *663 x-github: githubCloudOnly: false @@ -99345,7 +99448,7 @@ paths: - comments default: created - *112 - - *235 + - *238 - *17 - *19 responses: @@ -99355,7 +99458,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: &697 value: @@ -99636,7 +99739,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: &694 value: @@ -99774,7 +99877,7 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *200 + '503': *203 '404': *6 '410': *683 x-github: @@ -99806,7 +99909,7 @@ paths: parameters: - *491 - *492 - - *252 + - *255 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -99816,7 +99919,7 @@ paths: enum: - asc - desc - - *235 + - *238 - *17 - *19 responses: @@ -99889,7 +99992,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 responses: '200': description: Response @@ -99955,7 +100058,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 requestBody: required: true content: @@ -99999,7 +100102,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 responses: '204': description: Response @@ -100029,7 +100132,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 responses: '200': description: Response @@ -100110,7 +100213,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 responses: '204': description: Response @@ -100118,7 +100221,7 @@ paths: '403': *29 '404': *6 '410': *683 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100137,7 +100240,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 - 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. @@ -100188,7 +100291,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 requestBody: required: true content: @@ -100253,7 +100356,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 - *687 responses: '204': @@ -100541,7 +100644,7 @@ paths: nullable: true properties: *691 required: *692 - author_association: *225 + author_association: *228 lock_reason: type: string nullable: true @@ -100554,8 +100657,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 required: - id - node_id @@ -100993,7 +101096,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: summary: Issue @@ -101336,13 +101439,13 @@ paths: application/json: schema: allOf: - - *228 + - *231 - type: object properties: {} examples: default: *694 '422': *15 - '503': *200 + '503': *203 '403': *29 '301': *497 '404': *6 @@ -101392,7 +101495,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *694 x-github: @@ -101437,7 +101540,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *694 x-github: @@ -101506,7 +101609,7 @@ paths: - *491 - *492 - *695 - - *235 + - *238 - *17 - *19 responses: @@ -101624,7 +101727,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: *697 headers: @@ -101683,7 +101786,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *694 headers: @@ -101738,7 +101841,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *694 '301': *497 @@ -101784,7 +101887,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: *697 headers: @@ -101855,8 +101958,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 label: type: object properties: @@ -101909,8 +102012,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 label: type: object properties: @@ -101998,8 +102101,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 assignee: *4 assigner: *4 required: @@ -102045,8 +102148,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 milestone: type: object properties: @@ -102096,8 +102199,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 milestone: type: object properties: @@ -102147,8 +102250,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 rename: type: object properties: @@ -102201,8 +102304,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 review_requester: *4 requested_team: *325 requested_reviewer: *4 @@ -102248,8 +102351,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 review_requester: *4 requested_team: *325 requested_reviewer: *4 @@ -102295,8 +102398,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 dismissed_review: type: object properties: @@ -102355,8 +102458,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 lock_reason: type: string example: '"off-topic"' @@ -102403,8 +102506,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 project_card: type: object properties: @@ -102469,8 +102572,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 project_card: type: object properties: @@ -102535,8 +102638,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 project_card: type: object properties: @@ -102657,8 +102760,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 issue_type: *690 required: - issue_type @@ -102702,8 +102805,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 prev_issue_type: *690 required: - prev_issue_type @@ -102747,8 +102850,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 issue_type: *690 prev_issue_type: *690 required: @@ -102794,8 +102897,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -102847,8 +102950,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -102900,8 +103003,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -102953,8 +103056,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -103006,8 +103109,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -103059,8 +103162,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -103112,8 +103215,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -103165,8 +103268,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -103403,7 +103506,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *200 + '503': *203 x-github: triggersNotification: true githubCloudOnly: false @@ -103508,7 +103611,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *200 + '503': *203 x-github: triggersNotification: true githubCloudOnly: false @@ -103544,7 +103647,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *200 + '503': *203 x-github: triggersNotification: true githubCloudOnly: false @@ -103574,7 +103677,7 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: default: &700 value: @@ -103657,7 +103760,7 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: default: *700 '301': *497 @@ -103741,7 +103844,7 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: default: *700 '301': *497 @@ -103805,7 +103908,7 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: default: value: @@ -103926,7 +104029,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *694 '301': *497 @@ -104121,7 +104224,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *694 headers: @@ -104168,7 +104271,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: *697 headers: @@ -104231,7 +104334,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *694 headers: @@ -104293,13 +104396,13 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *694 '403': *29 '404': *6 '422': *7 - '503': *200 + '503': *203 x-github: triggersNotification: true githubCloudOnly: false @@ -104389,7 +104492,7 @@ paths: issue_url: type: string format: uri - author_association: *225 + author_association: *228 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -104399,9 +104502,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 - reactions: *226 + properties: *226 + required: *227 + reactions: *229 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and @@ -104447,7 +104550,7 @@ paths: properties: type: type: string - issue: *228 + issue: *231 required: - event - created_at @@ -104647,7 +104750,7 @@ paths: type: string body_text: type: string - author_association: *225 + author_association: *228 required: - event - id @@ -104765,7 +104868,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *225 + author_association: *228 _links: type: object properties: @@ -104849,7 +104952,7 @@ paths: enum: - line - file - reactions: *226 + reactions: *229 body_html: type: string example: '"

comment body

"' @@ -104916,8 +105019,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 assignee: *4 required: - id @@ -104960,8 +105063,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 assignee: *4 required: - id @@ -105004,8 +105107,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 state_reason: type: string nullable: true @@ -105420,7 +105523,7 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: default: *700 headers: @@ -105480,7 +105583,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: default: &732 value: @@ -105526,7 +105629,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: default: *732 '404': *6 @@ -105585,7 +105688,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: default: value: @@ -105795,8 +105898,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true required: - _links @@ -106337,7 +106440,7 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: default: *700 headers: @@ -106362,7 +106465,7 @@ paths: - *492 - *737 - *738 - - *235 + - *238 - *739 - *17 - *19 @@ -106373,7 +106476,7 @@ paths: application/json: schema: type: array - items: *255 + items: *258 examples: default: *740 headers: @@ -107515,7 +107618,7 @@ paths: description: Empty response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -107634,7 +107737,7 @@ paths: application/json: schema: type: array - items: *160 + items: *163 examples: default: *746 '403': *29 @@ -107671,7 +107774,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *160 + items: *163 required: - properties examples: @@ -108073,7 +108176,7 @@ paths: - review_comments - review_comment - self - author_association: *225 + author_association: *228 auto_merge: *749 draft: description: Indicates whether or not the pull request is a draft. @@ -108691,7 +108794,7 @@ paths: enum: - asc - desc - - *235 + - *238 - *17 - *19 responses: @@ -108782,7 +108885,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 responses: '200': description: Response @@ -108867,7 +108970,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 requestBody: required: true content: @@ -108909,7 +109012,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 responses: '204': description: Response @@ -108932,7 +109035,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 - 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. @@ -108983,7 +109086,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 requestBody: required: true content: @@ -109048,7 +109151,7 @@ paths: parameters: - *491 - *492 - - *244 + - *247 - *687 responses: '204': @@ -109118,7 +109221,7 @@ paths: application/json: schema: *3 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109288,7 +109391,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109317,7 +109420,7 @@ paths: - *491 - *492 - *754 - - *252 + - *255 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -109327,7 +109430,7 @@ paths: enum: - asc - desc - - *235 + - *238 - *17 - *19 responses: @@ -109570,7 +109673,7 @@ paths: - *491 - *492 - *754 - - *244 + - *247 requestBody: required: true content: @@ -109753,7 +109856,7 @@ paths: Link: *47 '422': *15 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111164,7 +111267,7 @@ paths: type: string body_text: type: string - author_association: *225 + author_association: *228 required: - id - node_id @@ -111683,7 +111786,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *225 + author_association: *228 _links: type: object properties: @@ -111698,7 +111801,7 @@ paths: type: string body_html: type: string - reactions: *226 + reactions: *229 side: description: The side of the first line of the range for a multi-line comment. @@ -113227,7 +113330,7 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *174 + - *177 - &769 title: repository ruleset data for rule description: User-defined metadata to store domain-specific @@ -113247,18 +113350,6 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *175 - - *769 - - allOf: - - *176 - - *769 - - allOf: - - *177 - - *769 - - allOf: - - *770 - - *769 - allOf: - *178 - *769 @@ -113268,6 +113359,9 @@ paths: - allOf: - *180 - *769 + - allOf: + - *770 + - *769 - allOf: - *181 - *769 @@ -113310,6 +113404,15 @@ paths: - allOf: - *194 - *769 + - allOf: + - *195 + - *769 + - allOf: + - *196 + - *769 + - allOf: + - *197 + - *769 examples: default: value: @@ -113368,7 +113471,7 @@ paths: application/json: schema: type: array - items: *195 + items: *198 examples: default: value: @@ -113436,12 +113539,12 @@ paths: - tag - push default: branch - enforcement: *172 + enforcement: *175 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *173 - conditions: *166 + items: *176 + conditions: *169 rules: type: array description: An array of rules within the ruleset. @@ -113476,7 +113579,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: default: &782 value: @@ -113622,7 +113725,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: default: *782 '404': *6 @@ -113668,12 +113771,12 @@ paths: - branch - tag - push - enforcement: *172 + enforcement: *175 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *173 - conditions: *166 + items: *176 + conditions: *169 rules: description: An array of rules within the ruleset. type: array @@ -113705,7 +113808,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: default: *782 '404': *6 @@ -113767,7 +113870,7 @@ paths: application/json: schema: type: array - items: *199 + items: *202 examples: default: *455 '404': *6 @@ -113892,8 +113995,8 @@ paths: items: &788 type: object properties: - number: *131 - created_at: *138 + number: *134 + created_at: *141 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -113901,8 +114004,8 @@ paths: format: date-time readOnly: true nullable: true - url: *136 - html_url: *137 + url: *139 + html_url: *140 locations_url: type: string format: uri @@ -114157,7 +114260,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114219,7 +114322,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114374,7 +114477,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': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -114511,7 +114614,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114589,7 +114692,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -114618,7 +114721,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *200 + '503': *203 '200': description: Response content: @@ -115664,7 +115767,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *264 + schema: *267 examples: invalid_state_transition: value: @@ -116398,7 +116501,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 x-github: @@ -117222,7 +117325,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *292 examples: default: value: @@ -117669,7 +117772,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: value: @@ -119886,7 +119989,7 @@ paths: html_url: type: string format: uri - repository: *289 + repository: *292 score: type: number file_size: @@ -120018,7 +120121,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *200 + '503': *203 '422': *15 '403': *29 x-github: @@ -120190,7 +120293,7 @@ paths: type: string sha: type: string - repository: *289 + repository: *292 score: type: number node_id: @@ -120564,7 +120667,7 @@ paths: type: string score: type: number - author_association: *225 + author_association: *228 draft: type: boolean repository: *80 @@ -120585,17 +120688,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true - reactions: *226 + reactions: *229 required: - closed_at - comments @@ -120757,7 +120860,7 @@ paths: - quoted_text items: - "..." - '503': *200 + '503': *203 '422': *15 '304': *37 '403': *29 @@ -121169,8 +121272,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true permissions: type: object @@ -121391,7 +121494,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *200 + '503': *203 '422': *15 '304': *37 x-github: @@ -121846,7 +121949,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *200 + '503': *203 '422': *15 x-github: githubCloudOnly: false @@ -122097,7 +122200,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 '404': *6 @@ -122126,7 +122229,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - *846 - - *148 + - *151 responses: '204': description: if user is a member @@ -122163,7 +122266,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - *846 - - *148 + - *151 responses: '204': description: Response @@ -122203,7 +122306,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - *846 - - *148 + - *151 responses: '204': description: Response @@ -122240,7 +122343,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *846 - - *148 + - *151 responses: '200': description: Response @@ -122282,7 +122385,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *846 - - *148 + - *151 requestBody: required: false content: @@ -122344,7 +122447,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *846 - - *148 + - *151 responses: '204': description: Response @@ -122381,7 +122484,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *429 headers: @@ -123416,7 +123519,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 '304': *37 '404': *6 '403': *29 @@ -123439,7 +123542,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: - - *148 + - *151 responses: '204': description: If the user is blocked @@ -123467,7 +123570,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#block-a-user parameters: - - *148 + - *151 responses: '204': description: Response @@ -123491,7 +123594,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#unblock-a-user parameters: - - *148 + - *151 responses: '204': description: Response @@ -123695,7 +123798,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123845,7 +123948,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: - - *299 + - *302 responses: '200': description: Response @@ -123881,7 +123984,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: - - *299 + - *302 requestBody: required: true content: @@ -123926,7 +124029,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -123954,7 +124057,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: - - *299 + - *302 responses: '204': description: Response @@ -123979,7 +124082,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: - - *299 + - *302 responses: '200': description: Response @@ -123995,7 +124098,7 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: default: *344 '401': *25 @@ -124022,7 +124125,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: - - *299 + - *302 requestBody: required: true content: @@ -124076,7 +124179,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: - - *299 + - *302 - name: repository_id in: path required: true @@ -124109,7 +124212,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: - - *299 + - *302 - name: repository_id in: path required: true @@ -125683,7 +125786,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 '304': *37 @@ -125716,7 +125819,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 '304': *37 @@ -125738,7 +125841,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: - - *148 + - *151 responses: '204': description: if the person is followed by the authenticated user @@ -125768,7 +125871,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#follow-a-user parameters: - - *148 + - *151 responses: '204': description: Response @@ -125793,7 +125896,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#unfollow-a-user parameters: - - *148 + - *151 responses: '204': description: Response @@ -126343,7 +126446,7 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *284 + default: *287 headers: Link: *47 '404': *6 @@ -126369,7 +126472,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *283 + - *286 responses: '204': description: Response @@ -126395,7 +126498,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *283 + - *286 responses: '204': description: Response @@ -126563,7 +126666,7 @@ paths: - comments default: created - *112 - - *235 + - *238 - *17 - *19 responses: @@ -126573,7 +126676,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: *404 headers: @@ -126865,7 +126968,7 @@ paths: - id - type - login - plan: *246 + plan: *249 required: - billing_cycle - next_billing_date @@ -128028,7 +128131,7 @@ paths: type: array items: *75 examples: - default: *259 + default: *262 headers: Link: *47 '304': *37 @@ -129637,7 +129740,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *429 headers: @@ -129754,7 +129857,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *248 + - *251 responses: '200': description: Response @@ -129934,7 +130037,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: example: ; rel="next" @@ -130074,7 +130177,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user parameters: - - *148 + - *151 responses: '200': description: Response @@ -130112,7 +130215,7 @@ paths: - *17 - *110 - *111 - - *148 + - *151 requestBody: required: true content: @@ -130194,7 +130297,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-in-bulk parameters: - - *148 + - *151 requestBody: required: true content: @@ -130259,7 +130362,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *148 + - *151 - name: subject_digest description: Subject Digest in: path @@ -130290,7 +130393,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-by-id parameters: - - *148 + - *151 - name: attestation_id description: Attestation ID in: path @@ -130328,7 +130431,7 @@ paths: - *17 - *110 - *111 - - *148 + - *151 - name: subject_digest description: Subject Digest in: path @@ -130370,7 +130473,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -130398,7 +130501,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: - - *148 + - *151 - name: per_page description: The number of results per page (max 100). in: query @@ -130553,7 +130656,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: - - *148 + - *151 requestBody: required: true content: @@ -130733,7 +130836,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -130769,7 +130872,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -130893,7 +130996,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -130927,7 +131030,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -131043,7 +131146,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -131150,7 +131253,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -131263,7 +131366,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -131311,7 +131414,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -131369,7 +131472,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -131474,7 +131577,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -131524,7 +131627,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -131592,7 +131695,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -131628,7 +131731,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: - - *148 + - *151 responses: '200': description: Response @@ -131661,7 +131764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *148 + - *151 - *17 - *19 responses: @@ -131671,7 +131774,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: default: value: @@ -131733,7 +131836,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: - - *148 + - *151 - *89 - *17 - *19 @@ -131744,7 +131847,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: default: value: @@ -131821,7 +131924,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-user parameters: - - *148 + - *151 - *17 - *19 responses: @@ -131831,7 +131934,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: default: value: @@ -131889,7 +131992,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-followers-of-a-user parameters: - - *148 + - *151 - *17 - *19 responses: @@ -131901,7 +132004,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 x-github: @@ -131920,7 +132023,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-the-people-a-user-follows parameters: - - *148 + - *151 - *17 - *19 responses: @@ -131932,7 +132035,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 x-github: @@ -131951,7 +132054,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: - - *148 + - *151 - name: target_user in: path required: true @@ -131978,8 +132081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - - *148 - - *235 + - *151 + - *238 - *17 - *19 responses: @@ -131989,9 +132092,9 @@ paths: application/json: schema: type: array - items: *236 + items: *239 examples: - default: *237 + default: *240 headers: Link: *47 '422': *15 @@ -132012,7 +132115,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: - - *148 + - *151 - *17 - *19 responses: @@ -132048,7 +132151,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-contextual-information-for-a-user parameters: - - *148 + - *151 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -132120,7 +132223,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: - - *148 + - *151 responses: '200': description: Response @@ -132146,7 +132249,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#list-public-keys-for-a-user parameters: - - *148 + - *151 - *17 - *19 responses: @@ -132201,7 +132304,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *148 + - *151 - *17 - *19 responses: @@ -132213,7 +132316,7 @@ paths: type: array items: *75 examples: - default: *259 + default: *262 headers: Link: *47 x-github: @@ -132253,7 +132356,7 @@ paths: - nuget - container - *867 - - *148 + - *151 - *19 - *17 responses: @@ -132290,7 +132393,7 @@ paths: parameters: - *418 - *419 - - *148 + - *151 responses: '200': description: Response @@ -132321,7 +132424,7 @@ paths: parameters: - *418 - *419 - - *148 + - *151 responses: '204': description: Response @@ -132355,7 +132458,7 @@ paths: parameters: - *418 - *419 - - *148 + - *151 - name: token description: package token schema: @@ -132389,7 +132492,7 @@ paths: parameters: - *418 - *419 - - *148 + - *151 responses: '200': description: Response @@ -132458,7 +132561,7 @@ paths: - *418 - *419 - *421 - - *148 + - *151 responses: '200': description: Response @@ -132501,7 +132604,7 @@ paths: parameters: - *418 - *419 - - *148 + - *151 - *421 responses: '204': @@ -132536,7 +132639,7 @@ paths: parameters: - *418 - *419 - - *148 + - *151 - *421 responses: '204': @@ -132561,7 +132664,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#list-projects-for-user parameters: - - *148 + - *151 - name: q description: Limit results to projects of the specified type. in: query @@ -132603,7 +132706,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - *434 - - *148 + - *151 responses: '200': description: Response @@ -132634,7 +132737,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - *434 - - *148 + - *151 - *17 - *110 - *111 @@ -132668,7 +132771,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - - *148 + - *151 - *434 requestBody: required: true @@ -132781,7 +132884,7 @@ paths: parameters: - *434 - *900 - - *148 + - *151 responses: '200': description: Response @@ -132813,7 +132916,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project parameters: - *434 - - *148 + - *151 - *110 - *111 - *17 @@ -132868,7 +132971,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - - *148 + - *151 - *434 requestBody: required: true @@ -132975,7 +133078,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *434 - - *148 + - *151 - *444 - name: fields description: |- @@ -133020,7 +133123,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - *434 - - *148 + - *151 - *444 requestBody: required: true @@ -133118,7 +133221,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - *434 - - *148 + - *151 - *444 responses: '204': @@ -133142,7 +133245,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view parameters: - *434 - - *148 + - *151 - *902 - name: fields description: |- @@ -133199,7 +133302,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: - - *148 + - *151 - *17 - *19 responses: @@ -133209,7 +133312,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: default: value: @@ -133274,7 +133377,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: - - *148 + - *151 - *17 - *19 responses: @@ -133284,7 +133387,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: default: value: @@ -133347,7 +133450,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repositories-for-a-user parameters: - - *148 + - *151 - name: type description: Limit results to repositories of the specified type. in: query @@ -133390,7 +133493,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *429 headers: @@ -133412,7 +133515,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: - - *148 + - *151 - *17 - *19 responses: @@ -133444,7 +133547,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: - - *148 + - *151 - *17 - *19 responses: @@ -133480,7 +133583,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *148 + - *151 - *904 - *112 - *17 @@ -133516,7 +133619,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *148 + - *151 - *17 - *19 responses: @@ -133526,7 +133629,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *429 headers: @@ -133819,8 +133922,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true organization: title: Simple User @@ -136035,8 +136138,8 @@ x-webhooks: type: string pull_requests: type: array - items: *233 - repository: *289 + items: *236 + repository: *292 status: example: completed type: string @@ -136123,7 +136226,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *233 + items: *236 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -142344,7 +142447,7 @@ x-webhooks: type: string enum: - created - definition: *161 + definition: *164 enterprise: *906 installation: *907 organization: *908 @@ -142511,7 +142614,7 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *161 + definition: *164 enterprise: *906 installation: *907 organization: *908 @@ -142591,7 +142694,7 @@ x-webhooks: type: string enum: - updated - definition: *161 + definition: *164 enterprise: *906 installation: *907 organization: *908 @@ -142679,11 +142782,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *160 + items: *163 old_property_values: type: array description: The old custom property values for the repository. - items: *160 + items: *163 required: - action - repository @@ -153948,8 +154051,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 reactions: title: Reactions type: object @@ -160398,11 +160501,11 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *228 + blocked_issue: *231 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *228 + blocking_issue: *231 blocking_issue_repo: *80 installation: *907 organization: *908 @@ -160489,11 +160592,11 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *228 + blocked_issue: *231 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *228 + blocking_issue: *231 blocking_issue_repo: *80 installation: *907 organization: *908 @@ -160579,12 +160682,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *228 + blocked_issue: *231 blocked_issue_repo: *80 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *228 + blocking_issue: *231 installation: *907 organization: *908 repository: *909 @@ -160670,12 +160773,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *228 + blocked_issue: *231 blocked_issue_repo: *80 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *228 + blocking_issue: *231 installation: *907 organization: *908 repository: *909 @@ -161550,8 +161653,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -162550,8 +162653,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -163675,8 +163778,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -164686,8 +164789,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -165816,8 +165919,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -167212,8 +167315,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -168231,8 +168334,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -169219,8 +169322,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -170217,8 +170320,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true user: title: User @@ -171588,8 +171691,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true user: title: User @@ -172549,8 +172652,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -173563,8 +173666,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -174532,8 +174635,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -176353,8 +176456,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *844 issue_dependencies_summary: *845 @@ -179706,7 +179809,7 @@ x-webhooks: type: string enum: - created - definition: *156 + definition: *159 enterprise: *906 sender: *4 required: @@ -179860,7 +179963,7 @@ x-webhooks: type: string enum: - updated - definition: *156 + definition: *159 enterprise: *906 installation: *907 sender: *4 @@ -179941,11 +180044,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values. - items: *160 + items: *163 old_property_values: type: array description: The old custom property values. - items: *160 + items: *163 required: - action - organization @@ -248619,7 +248722,7 @@ x-webhooks: installation: *907 organization: *908 repository: *909 - repository_ruleset: *195 + repository_ruleset: *198 sender: *4 required: - action @@ -248701,7 +248804,7 @@ x-webhooks: installation: *907 organization: *908 repository: *909 - repository_ruleset: *195 + repository_ruleset: *198 sender: *4 required: - action @@ -248783,7 +248886,7 @@ x-webhooks: installation: *907 organization: *908 repository: *909 - repository_ruleset: *195 + repository_ruleset: *198 changes: type: object properties: @@ -248802,16 +248905,16 @@ x-webhooks: properties: added: type: array - items: *166 + items: *169 deleted: type: array - items: *166 + items: *169 updated: type: array items: type: object properties: - condition: *166 + condition: *169 changes: type: object properties: @@ -249948,8 +250051,8 @@ x-webhooks: alert: &975 type: object properties: - number: *131 - created_at: *138 + number: *134 + created_at: *141 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -249957,8 +250060,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *136 - html_url: *137 + url: *139 + html_url: *140 locations_url: type: string format: uri @@ -251045,7 +251148,7 @@ x-webhooks: description, and severity. type: object properties: - cvss_severities: *133 + cvss_severities: *136 cwes: type: array items: @@ -251297,7 +251400,7 @@ x-webhooks: description, and severity. type: object properties: - cvss_severities: *133 + cvss_severities: *136 cwes: type: array items: @@ -252943,12 +253046,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *228 + parent_issue: *231 parent_issue_repo: *80 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *228 + sub_issue: *231 installation: *907 organization: *908 repository: *909 @@ -253034,12 +253137,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *228 + parent_issue: *231 parent_issue_repo: *80 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *228 + sub_issue: *231 installation: *907 organization: *908 repository: *909 @@ -253125,12 +253228,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *228 + sub_issue: *231 sub_issue_repo: *80 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *228 + parent_issue: *231 installation: *907 organization: *908 repository: *909 @@ -253216,12 +253319,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *228 + sub_issue: *231 sub_issue_repo: *80 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *228 + parent_issue: *231 installation: *907 organization: *908 repository: *909 diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index e57ab7326e..10f8728282 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -49220,6 +49220,350 @@ } } }, + "/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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 9b3585bd8b..75db37720e 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -718,7 +718,7 @@ paths: required: - vector_string - score - cvss_severities: &133 + cvss_severities: &136 type: object nullable: true properties: @@ -758,7 +758,7 @@ paths: required: - vector_string - score - epss: &134 + epss: &137 type: object nullable: true readOnly: true @@ -1056,7 +1056,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &265 + schema: &268 title: Validation Error Simple description: Validation Error Simple type: object @@ -3739,7 +3739,7 @@ paths: GitHub. type: object nullable: true - properties: &223 + properties: &226 id: description: Unique identifier of the GitHub app example: 37 @@ -3761,7 +3761,7 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: &144 + properties: &147 description: description: A short description of the enterprise. type: string @@ -3803,7 +3803,7 @@ paths: avatar_url: type: string format: uri - required: &145 + required: &148 - id - node_id - name @@ -3872,7 +3872,7 @@ paths: about itself. example: 5 type: integer - required: &224 + required: &227 - id - node_id - owner @@ -4345,7 +4345,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &264 + schema: &267 title: Validation Error description: Validation Error type: object @@ -4729,7 +4729,7 @@ paths: parameters: - *17 - *19 - - &235 + - &238 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) @@ -5567,7 +5567,7 @@ paths: title: License Simple description: License Simple type: object - properties: &231 + properties: &234 key: type: string example: mit @@ -5589,7 +5589,7 @@ paths: html_url: type: string format: uri - required: &232 + required: &235 - key - name - url @@ -10403,7 +10403,7 @@ paths: description: Response content: application/json: - schema: &266 + schema: &269 type: object properties: total_active_caches_count: @@ -10418,7 +10418,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &267 + default: &270 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -10611,7 +10611,7 @@ paths: - public_ip_enabled - platform examples: - default: &268 + default: &271 value: total_count: 2 runners: @@ -10906,7 +10906,7 @@ paths: application/json: schema: *49 examples: - default: &269 + default: &272 value: id: 1 platform: linux-x64 @@ -11046,7 +11046,7 @@ paths: application/json: schema: *52 examples: - default: &270 + default: &273 value: version: 1.0.0 size_gb: 75 @@ -11210,7 +11210,7 @@ paths: description: Response content: application/json: - schema: &271 + schema: &274 type: object properties: public_ips: @@ -11235,7 +11235,7 @@ paths: required: - public_ips examples: - default: &272 + default: &275 value: public_ips: current_usage: 17 @@ -11275,7 +11275,7 @@ paths: type: array items: *56 examples: - default: &273 + default: &276 value: id: 4-core cpu_cores: 4 @@ -11590,7 +11590,7 @@ paths: required: true content: application/json: - schema: &274 + schema: &277 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -11701,7 +11701,7 @@ paths: - all - local_only - selected - selected_actions_url: &276 + selected_actions_url: &279 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` @@ -11781,7 +11781,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &278 + schema: &281 type: object properties: days: @@ -11827,7 +11827,7 @@ paths: required: true content: application/json: - schema: &279 + schema: &282 type: object properties: days: @@ -11876,7 +11876,7 @@ paths: required: - approval_policy examples: - default: &280 + default: &283 value: approval_policy: first_time_contributors '404': *6 @@ -11934,7 +11934,7 @@ paths: description: Response content: application/json: - schema: &281 + schema: &284 type: object required: - run_workflows_from_fork_pull_requests @@ -11988,7 +11988,7 @@ paths: required: true content: application/json: - schema: &282 + schema: &285 type: object required: - run_workflows_from_fork_pull_requests @@ -12411,7 +12411,7 @@ paths: description: Success response content: application/json: - schema: &285 + schema: &288 type: object properties: default_workflow_permissions: &69 @@ -12459,7 +12459,7 @@ paths: required: true content: application/json: - schema: &286 + schema: &289 type: object properties: default_workflow_permissions: *69 @@ -13304,7 +13304,7 @@ paths: application/json: schema: type: array - items: &290 + items: &293 title: Runner Application description: Runner Application type: object @@ -13329,7 +13329,7 @@ paths: - download_url - filename examples: - default: &291 + default: &294 value: - os: osx architecture: x64 @@ -13413,7 +13413,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &292 + '201': &295 description: Response content: application/json: @@ -13528,7 +13528,7 @@ paths: - token - expires_at examples: - default: &293 + default: &296 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -13568,7 +13568,7 @@ paths: application/json: schema: *81 examples: - default: &294 + default: &297 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13600,7 +13600,7 @@ paths: application/json: schema: *78 examples: - default: &295 + default: &298 value: id: 23 name: MBP @@ -13817,7 +13817,7 @@ paths: - *41 - *77 responses: - '200': &296 + '200': &299 description: Response content: application/json: @@ -13873,7 +13873,7 @@ paths: parameters: - *41 - *77 - - &297 + - &300 name: name description: The name of a self-hosted runner's custom label. in: path @@ -13964,7 +13964,7 @@ paths: required: true content: application/json: - schema: &311 + schema: &314 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14605,7 +14605,7 @@ paths: required: false schema: type: string - - &314 + - &317 name: include description: |- The event types to include: @@ -14623,7 +14623,7 @@ paths: - web - git - all - - &315 + - &131 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. @@ -14631,7 +14631,7 @@ paths: required: false schema: type: string - - &316 + - &132 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. @@ -14639,7 +14639,7 @@ paths: required: false schema: type: string - - &317 + - &133 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -15994,28 +15994,28 @@ paths: items: &332 type: object properties: - number: &131 + number: &134 type: integer description: The security alert number. readOnly: true - created_at: &138 + created_at: &141 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: &139 + updated_at: &142 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: &136 + url: &139 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &137 + html_url: &140 type: string description: The GitHub URL of the alert resource. format: uri @@ -16034,7 +16034,7 @@ paths: - open - dismissed - fixed - fixed_at: &141 + fixed_at: &144 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -16048,7 +16048,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &140 + dismissed_at: &143 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -16207,7 +16207,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &142 + properties: &145 id: type: integer format: int64 @@ -16434,7 +16434,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &143 + required: &146 - archive_url - assignees_url - blobs_url @@ -16737,7 +16737,7 @@ paths: headers: Link: *47 '404': *6 - '503': &200 + '503': &203 description: Service unavailable content: application/json: @@ -18442,7 +18442,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &151 + items: &154 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -18650,7 +18650,7 @@ paths: - slug - parent - type - - &150 + - &153 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -18768,7 +18768,7 @@ paths: - created_at additionalProperties: false examples: - default: &152 + default: &155 value: total_seats: 2 seats: @@ -20122,6 +20122,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: + - *41 + - 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 + - *131 + - *132 + - *133 + 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: *47 + '400': *14 + '422': *15 + '403': *29 + '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 @@ -20247,7 +20350,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: - *41 - - &148 + - &151 name: username description: The handle for the GitHub user account. in: path @@ -20476,7 +20579,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *131 + number: *134 state: type: string description: The state of the Dependabot alert. @@ -20491,7 +20594,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &132 + package: &135 type: object description: Details for the vulnerable package. readOnly: true @@ -20566,13 +20669,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &135 + items: &138 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *132 + package: *135 severity: type: string description: The severity of the vulnerability. @@ -20645,8 +20748,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *133 - epss: *134 + cvss_severities: *136 + epss: *137 cwes: type: array description: Details for the advisory pertaining to Common @@ -20764,12 +20867,12 @@ paths: - updated_at - withdrawn_at version: '2026-03-10' - security_vulnerability: *135 - url: *136 - html_url: *137 - created_at: *138 - updated_at: *139 - dismissed_at: *140 + security_vulnerability: *138 + url: *139 + html_url: *140 + created_at: *141 + updated_at: *142 + dismissed_at: *143 dismissed_by: title: Simple User description: A GitHub user. @@ -20793,7 +20896,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *141 + fixed_at: *144 auto_dismissed_at: &630 type: string description: 'The time that the alert was auto-dismissed in @@ -21269,8 +21372,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *142 - required: *143 + properties: *145 + required: *146 nullable: true additionalProperties: false examples: @@ -21744,7 +21847,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &149 + items: &152 title: Enterprise Role description: Enterprise custom roles type: object @@ -21778,8 +21881,8 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: *144 - required: *145 + properties: *147 + required: *148 nullable: true created_at: description: The date and time the role was created. @@ -21872,7 +21975,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *41 - - &146 + - &149 name: team_slug description: The slug of the enterprise team name. in: path @@ -21915,8 +22018,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *41 - - *146 - - &147 + - *149 + - &150 name: role_id description: The unique identifier of the role. in: path @@ -21958,8 +22061,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *41 - - *146 - - *147 + - *149 + - *150 responses: '204': description: Response @@ -21993,7 +22096,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user parameters: - *41 - - *148 + - *151 responses: '204': description: Response @@ -22027,8 +22130,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user parameters: - *41 - - *148 - - *147 + - *151 + - *150 responses: '204': description: Response @@ -22061,8 +22164,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment parameters: - *41 - - *148 - - *147 + - *151 + - *150 responses: '204': description: Response @@ -22096,13 +22199,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *41 - - *147 + - *150 responses: '200': description: Response content: application/json: - schema: *149 + schema: *152 examples: default: value: @@ -22156,7 +22259,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: - *41 - - *147 + - *150 - *17 - *19 responses: @@ -22166,9 +22269,9 @@ paths: application/json: schema: type: array - items: *150 + items: *153 examples: - default: &215 + default: &218 value: - id: 1 name: Justice League @@ -22207,7 +22310,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: - *41 - - *147 + - *150 - *17 - *19 responses: @@ -22239,7 +22342,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *150 + items: *153 examples: default: value: @@ -22472,7 +22575,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: - *41 - - *148 + - *151 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -22488,9 +22591,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *151 + items: *154 examples: - default: *152 + default: *155 '500': *40 '401': *25 '403': *29 @@ -22533,7 +22636,7 @@ paths: type: integer network_configurations: type: array - items: &153 + items: &156 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -22677,9 +22780,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: &154 + default: &157 value: id: 123456789ABCDEF name: My network configuration @@ -22706,7 +22809,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: - *41 - - &155 + - &158 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -22718,9 +22821,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *154 + default: *157 headers: Link: *47 x-github: @@ -22740,7 +22843,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: - *41 - - *155 + - *158 requestBody: required: true content: @@ -22793,9 +22896,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *154 + default: *157 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -22813,7 +22916,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: - *41 - - *155 + - *158 responses: '204': description: Response @@ -22921,7 +23024,7 @@ paths: application/json: schema: type: array - items: &156 + items: &159 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -22989,7 +23092,7 @@ paths: - property_name - value_type examples: - default: &157 + default: &160 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23049,7 +23152,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *156 + items: *159 minItems: 1 maxItems: 100 required: @@ -23082,9 +23185,9 @@ paths: application/json: schema: type: array - items: *156 + items: *159 examples: - default: *157 + default: *160 '403': *29 '404': *6 '422': *7 @@ -23111,7 +23214,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: - *41 - - &158 + - &161 name: custom_property_name description: The custom property name in: path @@ -23123,9 +23226,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *159 examples: - default: &159 + default: &162 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -23162,7 +23265,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: - *41 - - *158 + - *161 requestBody: required: true content: @@ -23231,9 +23334,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *159 examples: - default: *159 + default: *162 '403': *29 '404': *6 '422': *7 @@ -23259,7 +23362,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: - *41 - - *158 + - *161 responses: '204': *130 '403': *29 @@ -23310,7 +23413,7 @@ paths: example: Hello-World properties: type: array - items: &160 + items: &163 title: Custom Property Value description: Custom property name and associated value type: object @@ -23393,7 +23496,7 @@ paths: type: array description: List of custom property names and associated values to apply to the organizations. - items: *160 + items: *163 required: - organization_logins - properties @@ -23443,7 +23546,7 @@ paths: application/json: schema: type: array - items: &161 + items: &164 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -23511,7 +23614,7 @@ paths: - property_name - value_type examples: - default: &162 + default: &165 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -23569,7 +23672,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *161 + items: *164 minItems: 1 maxItems: 100 required: @@ -23599,9 +23702,9 @@ paths: application/json: schema: type: array - items: *161 + items: *164 examples: - default: *162 + default: *165 '403': *29 '404': *6 x-github: @@ -23625,15 +23728,15 @@ paths: parameters: - *41 - *89 - - *158 + - *161 responses: '200': description: Response content: application/json: - schema: *161 + schema: *164 examples: - default: &163 + default: &166 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -23666,15 +23769,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *41 - - *158 + - *161 responses: '200': description: Response content: application/json: - schema: *161 + schema: *164 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -23696,7 +23799,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: - *41 - - *158 + - *161 requestBody: required: true content: @@ -23767,9 +23870,9 @@ paths: description: Response content: application/json: - schema: *161 + schema: *164 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -23791,7 +23894,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *41 - - *158 + - *161 responses: '204': *130 '403': *29 @@ -23833,7 +23936,7 @@ paths: - push - repository default: branch - enforcement: &172 + enforcement: &175 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -23846,7 +23949,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &173 + items: &176 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -23889,7 +23992,7 @@ paths: - pull_request - exempt default: always - conditions: &197 + conditions: &200 title: Enterprise ruleset conditions type: object description: |- @@ -23902,7 +24005,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &164 + - &167 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -23928,7 +24031,7 @@ paths: type: string required: - organization_name - - &167 + - &170 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -23957,7 +24060,7 @@ paths: is prevented. required: - repository_name - - &166 + - &169 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -23985,8 +24088,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *164 - - &169 + - *167 + - &172 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -23999,7 +24102,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &165 + items: &168 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -24030,16 +24133,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *165 + items: *168 required: - repository_property - - *166 + - *169 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &168 + - &171 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -24056,22 +24159,22 @@ paths: type: integer required: - organization_id - - *167 - - *166 + - *170 + - *169 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *168 + - *171 + - *172 - *169 - - *166 - type: object title: organization_property_and_repository_name description: Conditions to target organizations by property and all repositories allOf: - - &171 + - &174 title: Repository ruleset conditions for organization properties type: object description: Parameters for a organization property condition @@ -24084,7 +24187,7 @@ paths: description: The organization properties and values to include. All of these properties must match for the condition to pass. - items: &170 + items: &173 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a organization @@ -24108,28 +24211,28 @@ paths: description: The organization properties and values to exclude. The condition will not pass if any of these properties match. - items: *170 + items: *173 required: - organization_property - - *167 - - *166 + - *170 + - *169 - type: object title: organization_property_and_repository_property description: Conditions to target organizations by property and repositories by property allOf: - - *171 + - *174 + - *172 - *169 - - *166 rules: type: array description: An array of rules within the ruleset. - items: &198 + items: &201 title: Repository Rule type: object description: A repository rule. oneOf: - - &174 + - &177 title: creation description: Only allow users with bypass permission to create matching refs. @@ -24141,7 +24244,7 @@ paths: type: string enum: - creation - - &175 + - &178 title: update description: Only allow users with bypass permission to update matching refs. @@ -24162,7 +24265,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &176 + - &179 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -24174,7 +24277,7 @@ paths: type: string enum: - deletion - - &177 + - &180 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -24186,7 +24289,7 @@ paths: type: string enum: - required_linear_history - - &178 + - &181 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -24210,7 +24313,7 @@ paths: type: string required: - required_deployment_environments - - &179 + - &182 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -24222,7 +24325,7 @@ paths: type: string enum: - required_signatures - - &180 + - &183 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. @@ -24325,7 +24428,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &181 + - &184 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -24372,7 +24475,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &182 + - &185 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -24384,7 +24487,7 @@ paths: type: string enum: - non_fast_forward - - &183 + - &186 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -24421,7 +24524,7 @@ paths: required: - operator - pattern - - &184 + - &187 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -24458,7 +24561,7 @@ paths: required: - operator - pattern - - &185 + - &188 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -24495,7 +24598,7 @@ paths: required: - operator - pattern - - &186 + - &189 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -24532,7 +24635,7 @@ paths: required: - operator - pattern - - &187 + - &190 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -24569,7 +24672,7 @@ paths: required: - operator - pattern - - &191 + - &194 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -24593,7 +24696,7 @@ paths: type: string required: - restricted_file_paths - - &192 + - &195 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -24617,7 +24720,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &193 + - &196 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -24640,7 +24743,7 @@ paths: type: string required: - restricted_file_extensions - - &194 + - &197 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -24664,7 +24767,7 @@ paths: maximum: 100 required: - max_file_size - - &188 + - &191 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -24713,7 +24816,7 @@ paths: - repository_id required: - workflows - - &189 + - &192 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -24773,7 +24876,7 @@ paths: - tool required: - code_scanning_tools - - &190 + - &193 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review @@ -24823,7 +24926,7 @@ paths: description: Response content: application/json: - schema: &195 + schema: &198 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -24858,11 +24961,11 @@ paths: source: type: string description: The name of the source - enforcement: *172 + enforcement: *175 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *173 + items: *176 current_user_can_bypass: type: string description: |- @@ -24894,7 +24997,7 @@ paths: conditions: nullable: true anyOf: - - *166 + - *169 - &454 title: Organization ruleset conditions type: object @@ -24909,14 +25012,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *166 - - *167 + - *169 + - *170 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *166 + - *169 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -24938,8 +25041,8 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *166 - *169 + - *172 rules: type: array items: &775 @@ -24947,10 +25050,10 @@ paths: type: object description: A repository rule. oneOf: - - *174 - - *175 - - *176 - *177 + - *178 + - *179 + - *180 - &773 title: merge_queue description: Merges must be performed via a merge queue. @@ -25029,9 +25132,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *178 - - *179 - - *180 - *181 - *182 - *183 @@ -25046,6 +25146,9 @@ paths: - *192 - *193 - *194 + - *195 + - *196 + - *197 created_at: type: string format: date-time @@ -25053,7 +25156,7 @@ paths: type: string format: date-time examples: - default: &196 + default: &199 value: id: 21 name: super cool ruleset @@ -25112,9 +25215,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: - default: *196 + default: *199 '404': *6 '500': *40 x-github: @@ -25158,16 +25261,16 @@ paths: - tag - push - repository - enforcement: *172 + enforcement: *175 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *173 - conditions: *197 + items: *176 + conditions: *200 rules: description: An array of rules within the ruleset. type: array - items: *198 + items: *201 examples: default: value: @@ -25191,9 +25294,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: - default: *196 + default: *199 '404': *6 '500': *40 x-github: @@ -25255,7 +25358,7 @@ paths: application/json: schema: type: array - items: &199 + items: &202 title: Ruleset version type: object description: The historical version of a ruleset @@ -25334,7 +25437,7 @@ paths: application/json: schema: &458 allOf: - - *199 + - *202 - type: object required: - state @@ -25542,8 +25645,8 @@ paths: items: &472 type: object properties: - number: *131 - created_at: *138 + number: *134 + created_at: *141 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -25551,8 +25654,8 @@ paths: format: date-time readOnly: true nullable: true - url: *136 - html_url: *137 + url: *139 + html_url: *140 locations_url: type: string format: uri @@ -26204,7 +26307,7 @@ paths: headers: Link: *47 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -26241,7 +26344,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &202 + pattern_config_version: &205 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -26250,7 +26353,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &201 + items: &204 type: object properties: token_type: @@ -26316,7 +26419,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *201 + items: *204 examples: default: &475 value: @@ -26373,7 +26476,7 @@ paths: schema: type: object properties: - pattern_config_version: *202 + pattern_config_version: *205 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -26399,7 +26502,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *202 + custom_pattern_version: *205 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -26571,7 +26674,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-enterprise parameters: - *41 - - &206 + - &209 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, @@ -26580,7 +26683,7 @@ paths: required: false schema: type: integer - - &207 + - &210 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 @@ -26589,7 +26692,7 @@ paths: required: false schema: type: integer - - &208 + - &211 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 @@ -26598,7 +26701,7 @@ paths: required: false schema: type: integer - - &209 + - &212 name: organization description: The organization name to query usage for. The name is not case sensitive. @@ -26606,21 +26709,21 @@ paths: required: false schema: type: string - - &210 + - &213 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &211 + - &214 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &212 + - &215 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -26759,7 +26862,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27267,7 +27370,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-a-budget-by-id parameters: - *41 - - &203 + - &206 name: budget_id description: The ID corresponding to the budget. in: path @@ -27372,7 +27475,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27645,7 +27748,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#delete-a-budget parameters: - *41 - - *203 + - *206 responses: '200': description: Response when deleting a budget @@ -27672,7 +27775,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27691,7 +27794,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-user-states-for-a-multi-user-budget parameters: - *41 - - *203 + - *206 - name: page description: The page number of results to fetch. in: query @@ -27786,7 +27889,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -27889,7 +27992,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28024,7 +28127,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#get-a-cost-center-by-id parameters: - *41 - - &205 + - &208 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -28081,7 +28184,7 @@ paths: - name - resources examples: - default: &204 + default: &207 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -28095,7 +28198,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28189,13 +28292,13 @@ paths: - name - resources examples: - default: *204 + default: *207 '400': *14 '403': *29 '404': *6 '409': *121 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28213,7 +28316,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#delete-a-cost-center parameters: - *41 - - *205 + - *208 responses: '200': description: Response when deleting a cost center @@ -28252,7 +28355,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28273,7 +28376,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - *41 - - *205 + - *208 requestBody: required: true content: @@ -28353,7 +28456,7 @@ paths: '403': *29 '409': *121 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28373,7 +28476,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - *41 - - *205 + - *208 requestBody: required: true content: @@ -28425,7 +28528,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28446,13 +28549,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *41 - - *206 - - *207 - - *208 - *209 - *210 - *211 - *212 + - *213 + - *214 + - *215 - 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. @@ -28585,7 +28688,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28615,7 +28718,7 @@ paths: usage_report_exports: type: array description: List of usage report exports - items: &213 + items: &216 type: object properties: id: @@ -28706,7 +28809,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28770,9 +28873,9 @@ paths: description: Report export request accepted content: application/json: - schema: *213 + schema: *216 examples: - usage-report-export: &214 + usage-report-export: &217 value: id: a1b2c3d4-e5f6-7890-abcd-ef1234567890 report_type: detailed @@ -28788,7 +28891,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28819,14 +28922,14 @@ paths: description: Usage report export details content: application/json: - schema: *213 + schema: *216 examples: - usage-report-export: *214 + usage-report-export: *217 '401': *25 '403': *29 '404': *6 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28847,7 +28950,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - *41 - - *206 + - *209 - 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 @@ -28856,7 +28959,7 @@ paths: required: false schema: type: integer - - *208 + - *211 - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -28939,7 +29042,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -28960,17 +29063,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - *41 - - *206 - - *207 - - *208 - *209 + - *210 + - *211 + - *212 - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *212 + - *215 - name: sku description: The SKU to query for usage. in: query @@ -29103,7 +29206,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29130,9 +29233,9 @@ paths: application/json: schema: type: array - items: *150 + items: *153 examples: - default: *215 + default: *218 headers: Link: *47 '403': *29 @@ -29219,9 +29322,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - default: &220 + default: &223 value: id: 1 name: Justice League @@ -29250,7 +29353,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *41 - - &216 + - &219 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -29269,7 +29372,7 @@ paths: type: array items: *4 examples: - default: &217 + default: &220 value: - login: octocat id: 1 @@ -29308,7 +29411,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *41 - - *216 + - *219 requestBody: required: true content: @@ -29339,7 +29442,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29357,7 +29460,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *41 - - *216 + - *219 requestBody: required: true content: @@ -29388,7 +29491,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29406,8 +29509,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *41 - - *216 - - *148 + - *219 + - *151 responses: '200': description: User is a member of the enterprise team. @@ -29415,7 +29518,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &218 + exampleKey1: &221 value: login: octocat id: 1 @@ -29451,8 +29554,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *41 - - *216 - - *148 + - *219 + - *151 responses: '201': description: Successfully added team member @@ -29460,7 +29563,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *218 + exampleKey1: *221 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29478,8 +29581,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *41 - - *216 - - *148 + - *219 + - *151 responses: '204': description: Response @@ -29501,7 +29604,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *41 - - *216 + - *219 - *17 - *19 responses: @@ -29513,7 +29616,7 @@ paths: type: array items: *75 examples: - default: &219 + default: &222 value: login: github id: 1 @@ -29544,7 +29647,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *41 - - *216 + - *219 requestBody: required: true content: @@ -29574,7 +29677,7 @@ paths: type: array items: *75 examples: - default: &259 + default: &262 value: - login: github id: 1 @@ -29605,7 +29708,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *41 - - *216 + - *219 requestBody: required: true content: @@ -29646,7 +29749,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *41 - - *216 + - *219 - *89 responses: '200': @@ -29655,7 +29758,7 @@ paths: application/json: schema: *75 examples: - default: *219 + default: *222 '404': description: The team is not assigned to the organization x-github: @@ -29674,7 +29777,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *41 - - *216 + - *219 - *89 responses: '201': @@ -29683,7 +29786,7 @@ paths: application/json: schema: *75 examples: - default: *219 + default: *222 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29700,7 +29803,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *41 - - *216 + - *219 - *89 responses: '204': @@ -29725,7 +29828,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *41 - - &221 + - &224 name: team_slug description: The slug of the team name. in: path @@ -29737,9 +29840,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - default: *220 + default: *223 headers: Link: *47 '403': *29 @@ -29759,7 +29862,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *41 - - *221 + - *224 requestBody: required: true content: @@ -29824,9 +29927,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - default: *220 + default: *223 headers: Link: *47 '403': *29 @@ -29849,7 +29952,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *41 - - *221 + - *224 responses: '204': description: Response @@ -29948,7 +30051,7 @@ paths: application/json: schema: type: array - items: &254 + items: &257 title: Event description: Event type: object @@ -29958,7 +30061,7 @@ paths: type: type: string nullable: true - actor: &222 + actor: &225 title: Actor description: Actor type: object @@ -29998,7 +30101,7 @@ paths: - id - name - url - org: *222 + org: *225 payload: oneOf: - title: CreateEvent @@ -30331,7 +30434,7 @@ paths: - id labels: type: array - items: &227 + items: &230 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -30406,7 +30509,7 @@ paths: properties: action: type: string - issue: &228 + issue: &231 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -30736,9 +30839,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *223 - required: *224 - author_association: &225 + properties: *226 + required: *227 + author_association: &228 title: author_association type: string example: OWNER @@ -30753,7 +30856,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &226 + reactions: &229 title: Reaction Rollup type: object properties: @@ -30814,7 +30917,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &229 + properties: &232 id: description: Unique identifier of the issue comment example: 42 @@ -30857,7 +30960,7 @@ paths: issue_url: type: string format: uri - author_association: *225 + author_association: *228 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -30868,9 +30971,9 @@ paths: class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 - reactions: *226 + properties: *226 + required: *227 + reactions: *229 pin: title: Pinned Issue Comment description: Context around who pinned an issue @@ -30906,7 +31009,7 @@ paths: required: &720 - reason nullable: true - required: &230 + required: &233 - id - node_id - html_url @@ -31095,10 +31198,10 @@ paths: assignees: type: array items: *4 - label: *227 + label: *230 labels: type: array - items: *227 + items: *230 required: - action - issue @@ -31107,14 +31210,14 @@ paths: properties: action: type: string - issue: *228 + issue: *231 comment: &686 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 required: - action - issue @@ -31287,8 +31390,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true allow_forking: type: boolean @@ -31377,7 +31480,7 @@ paths: type: string number: type: integer - pull_request: &233 + pull_request: &236 title: Pull Request Minimal type: object properties: @@ -31448,10 +31551,10 @@ paths: assignees: type: array items: *4 - label: *227 + label: *230 labels: type: array - items: *227 + items: *230 required: - action - number @@ -31461,7 +31564,7 @@ paths: properties: action: type: string - pull_request: *233 + pull_request: *236 comment: type: object properties: @@ -31712,7 +31815,7 @@ paths: - pull_request updated_at: type: string - pull_request: *233 + pull_request: *236 required: - action - review @@ -31761,7 +31864,7 @@ paths: updated_at: type: string format: date-time - reactions: *226 + reactions: *229 required: - action - comment @@ -31918,7 +32021,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *226 + reactions: *229 required: - assets_url - upload_url @@ -32010,7 +32113,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32091,7 +32194,7 @@ paths: _links: type: object properties: - timeline: &234 + timeline: &237 title: Link With Type description: Hypermedia Link with Type type: object @@ -32103,17 +32206,17 @@ paths: required: - href - type - user: *234 - security_advisories: *234 - current_user: *234 - current_user_public: *234 - current_user_actor: *234 - current_user_organization: *234 + user: *237 + security_advisories: *237 + current_user: *237 + current_user_public: *237 + current_user_actor: *237 + current_user_organization: *237 current_user_organizations: type: array - items: *234 - repository_discussions: *234 - repository_discussions_category: *234 + items: *237 + repository_discussions: *237 + repository_discussions_category: *237 required: - timeline - user @@ -32175,7 +32278,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *235 + - *238 - *17 - *19 responses: @@ -32185,7 +32288,7 @@ paths: application/json: schema: type: array - items: &236 + items: &239 title: Base Gist description: Base Gist type: object @@ -32313,7 +32416,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &237 + default: &240 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -32434,7 +32537,7 @@ paths: description: Response content: application/json: - schema: &238 + schema: &241 title: Gist Simple description: Gist Simple type: object @@ -32821,7 +32924,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &239 + default: &242 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -32925,7 +33028,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *235 + - *238 - *17 - *19 responses: @@ -32935,9 +33038,9 @@ paths: application/json: schema: type: array - items: *236 + items: *239 examples: - default: *237 + default: *240 headers: Link: *47 '422': *15 @@ -32959,7 +33062,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *235 + - *238 - *17 - *19 responses: @@ -32969,9 +33072,9 @@ paths: application/json: schema: type: array - items: *236 + items: *239 examples: - default: *237 + default: *240 headers: Link: *47 '401': *25 @@ -32998,7 +33101,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &240 + - &243 name: gist_id description: The unique identifier of the gist. in: path @@ -33010,10 +33113,10 @@ paths: description: Response content: application/json: - schema: *238 + schema: *241 examples: - default: *239 - '403': &243 + default: *242 + '403': &246 description: Forbidden Gist content: application/json: @@ -33060,7 +33163,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *240 + - *243 requestBody: required: true content: @@ -33120,9 +33223,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *241 examples: - updateGist: *239 + updateGist: *242 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -33280,7 +33383,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *240 + - *243 responses: '204': description: Response @@ -33308,7 +33411,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *240 + - *243 - *17 - *19 responses: @@ -33318,7 +33421,7 @@ paths: application/json: schema: type: array - items: &241 + items: &244 title: Gist Comment description: A comment made to a gist. type: object @@ -33353,7 +33456,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *225 + author_association: *228 required: - url - id @@ -33417,7 +33520,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *240 + - *243 requestBody: required: true content: @@ -33442,9 +33545,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: &242 + default: &245 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -33501,8 +33604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *240 - - &244 + - *243 + - &247 name: comment_id description: The unique identifier of the comment. in: path @@ -33515,12 +33618,12 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *242 + default: *245 '304': *37 '404': *6 - '403': *243 + '403': *246 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33541,8 +33644,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *240 - - *244 + - *243 + - *247 requestBody: required: true content: @@ -33567,9 +33670,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *242 + default: *245 '404': *6 x-github: githubCloudOnly: false @@ -33586,8 +33689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *240 - - *244 + - *243 + - *247 responses: '204': description: Response @@ -33610,7 +33713,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *240 + - *243 - *17 - *19 responses: @@ -33711,7 +33814,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *240 + - *243 - *17 - *19 responses: @@ -33721,7 +33824,7 @@ paths: application/json: schema: type: array - items: *238 + items: *241 examples: default: value: @@ -33786,13 +33889,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *240 + - *243 responses: '201': description: Response content: application/json: - schema: *236 + schema: *239 examples: default: value: @@ -33869,7 +33972,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *240 + - *243 responses: '204': description: Response if gist is starred @@ -33899,7 +34002,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *240 + - *243 responses: '204': description: Response @@ -33921,7 +34024,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *240 + - *243 responses: '204': description: Response @@ -33949,7 +34052,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *240 + - *243 - name: sha in: path required: true @@ -33960,9 +34063,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *241 examples: - default: *239 + default: *242 '422': *15 '404': *6 '403': *29 @@ -34361,7 +34464,7 @@ paths: - comments default: created - *112 - - *235 + - *238 - name: collab in: query required: false @@ -34391,7 +34494,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: &405 value: @@ -34677,8 +34780,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 examples: default: value: @@ -34963,7 +35066,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &245 + X-CommonMarker-Version: &248 example: 0.17.4 schema: type: string @@ -35018,7 +35121,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *245 + X-CommonMarker-Version: *248 content: text/html: schema: @@ -35047,7 +35150,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: - - &248 + - &251 name: account_id description: account_id parameter in: path @@ -35059,7 +35162,7 @@ paths: description: Response content: application/json: - schema: &247 + schema: &250 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -35089,7 +35192,7 @@ paths: nullable: true id: type: integer - plan: &246 + plan: &249 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -35178,7 +35281,7 @@ paths: nullable: true updated_at: type: string - plan: *246 + plan: *249 required: - url - id @@ -35186,7 +35289,7 @@ paths: - login - marketplace_purchase examples: - default: &249 + default: &252 value: url: https://api.github.com/orgs/github type: Organization @@ -35271,9 +35374,9 @@ paths: application/json: schema: type: array - items: *246 + items: *249 examples: - default: &250 + default: &253 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -35313,14 +35416,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &251 + - &254 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &252 + - &255 name: sort description: The property to sort the results by. in: query @@ -35350,9 +35453,9 @@ paths: application/json: schema: type: array - items: *247 + items: *250 examples: - default: &253 + default: &256 value: - url: https://api.github.com/orgs/github type: Organization @@ -35426,15 +35529,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: - - *248 + - *251 responses: '200': description: Response content: application/json: - schema: *247 + schema: *250 examples: - default: *249 + default: *252 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -35466,9 +35569,9 @@ paths: application/json: schema: type: array - items: *246 + items: *249 examples: - default: *250 + default: *253 headers: Link: *47 '401': *25 @@ -35491,8 +35594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *251 - - *252 + - *254 + - *255 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -35512,9 +35615,9 @@ paths: application/json: schema: type: array - items: *247 + items: *250 examples: - default: *253 + default: *256 headers: Link: *47 '401': *25 @@ -35802,7 +35905,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: default: value: @@ -35886,7 +35989,7 @@ paths: schema: type: boolean default: false - - *235 + - *238 - &742 name: before description: 'Only show notifications updated before the given time. This @@ -35912,14 +36015,14 @@ paths: application/json: schema: type: array - items: &255 + items: &258 title: Thread description: Thread type: object properties: id: type: string - repository: &289 + repository: &292 title: Minimal Repository description: Minimal Repository type: object @@ -36597,7 +36700,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &256 + - &259 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 @@ -36611,7 +36714,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *258 examples: default: value: @@ -36714,7 +36817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *256 + - *259 responses: '205': description: Reset Content @@ -36737,7 +36840,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *256 + - *259 responses: '204': description: No content @@ -36760,13 +36863,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: - - *256 + - *259 responses: '200': description: Response content: application/json: - schema: &257 + schema: &260 title: Thread Subscription description: Thread Subscription type: object @@ -36803,7 +36906,7 @@ paths: - url - subscribed examples: - default: &258 + default: &261 value: subscribed: true ignored: false @@ -36834,7 +36937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *256 + - *259 requestBody: required: false content: @@ -36855,9 +36958,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *260 examples: - default: *258 + default: *261 '304': *37 '403': *29 '401': *25 @@ -36880,7 +36983,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *256 + - *259 responses: '204': description: Response @@ -36977,7 +37080,7 @@ paths: type: array items: *75 examples: - default: *259 + default: *262 headers: Link: example: ; rel="next" @@ -37142,7 +37245,7 @@ paths: description: Response content: application/json: - schema: &260 + schema: &263 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -37180,7 +37283,7 @@ paths: required: true content: application/json: - schema: *260 + schema: *263 examples: selected_actions: *44 responses: @@ -37215,7 +37318,7 @@ paths: description: Response content: application/json: - schema: &261 + schema: &264 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -37253,7 +37356,7 @@ paths: required: true content: application/json: - schema: *261 + schema: *264 examples: selected_actions: *46 responses: @@ -37294,7 +37397,7 @@ paths: application/json: schema: type: array - items: *160 + items: *163 examples: default: &749 value: @@ -37342,7 +37445,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *160 + items: *163 required: - properties examples: @@ -37393,7 +37496,7 @@ paths: description: Response content: application/json: - schema: &262 + schema: &265 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -37732,7 +37835,7 @@ paths: path: "/properties/secret_scanning_push_protection_custom_link_enabled" version: '2026-03-10' examples: - default-response: &263 + default-response: &266 value: login: github id: 1 @@ -38063,17 +38166,17 @@ paths: description: Response content: application/json: - schema: *262 + schema: *265 examples: - default: *263 + default: *266 '422': description: Validation failed content: application/json: schema: oneOf: - - *264 - - *265 + - *267 + - *268 '409': *121 x-github: githubCloudOnly: false @@ -38144,9 +38247,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: *267 + default: *270 headers: Link: *47 x-github: @@ -38262,7 +38365,7 @@ paths: type: array items: *48 examples: - default: *268 + default: *271 headers: Link: *47 x-github: @@ -38428,7 +38531,7 @@ paths: application/json: schema: *49 examples: - default: *269 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38520,7 +38623,7 @@ paths: application/json: schema: *52 examples: - default: *270 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38639,9 +38742,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *274 examples: - default: *272 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38677,7 +38780,7 @@ paths: type: array items: *56 examples: - default: *273 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38920,7 +39023,7 @@ paths: required: true content: application/json: - schema: *274 + schema: *277 examples: default: *60 responses: @@ -39013,7 +39116,7 @@ paths: required: - include_claim_keys examples: - default: &275 + default: &278 value: include_claim_keys: - repo @@ -39058,13 +39161,13 @@ paths: format. type: boolean examples: - default: *275 + default: *278 responses: '201': description: Empty response content: application/json: - schema: &300 + schema: &303 title: Empty Object description: An object without any properties. type: object @@ -39103,7 +39206,7 @@ paths: schema: type: object properties: - enabled_repositories: &277 + enabled_repositories: &280 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -39117,7 +39220,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *62 - selected_actions_url: *276 + selected_actions_url: *279 sha_pinning_required: *63 required: - enabled_repositories @@ -39159,7 +39262,7 @@ paths: schema: type: object properties: - enabled_repositories: *277 + enabled_repositories: *280 allowed_actions: *62 sha_pinning_required: *63 required: @@ -39195,7 +39298,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: response: summary: Example response @@ -39226,7 +39329,7 @@ paths: required: true content: application/json: - schema: *279 + schema: *282 examples: application/json: value: @@ -39264,7 +39367,7 @@ paths: application/json: schema: *64 examples: - default: *280 + default: *283 '404': *6 x-github: enabledForGitHubApps: true @@ -39321,7 +39424,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *284 examples: default: *65 '403': *29 @@ -39346,7 +39449,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *285 examples: default: *65 responses: @@ -39398,7 +39501,7 @@ paths: type: array items: *80 examples: - default: &284 + default: &287 value: total_count: 1 repositories: @@ -39583,7 +39686,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *89 - - &283 + - &286 name: repository_id description: The unique identifier of the repository. in: path @@ -39612,7 +39715,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *89 - - *283 + - *286 responses: '204': description: Response @@ -39808,7 +39911,7 @@ paths: type: array items: *80 examples: - default: *284 + default: *287 '403': *29 '404': *6 x-github: @@ -39877,7 +39980,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: - *89 - - *283 + - *286 responses: '204': description: No content @@ -39904,7 +40007,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: - *89 - - *283 + - *286 responses: '204': description: No content @@ -39938,7 +40041,7 @@ paths: description: Response content: application/json: - schema: *285 + schema: *288 examples: default: *71 x-github: @@ -39972,7 +40075,7 @@ paths: required: false content: application/json: - schema: *286 + schema: *289 examples: default: *71 x-github: @@ -40019,7 +40122,7 @@ paths: type: number runner_groups: type: array - items: &287 + items: &290 type: object properties: id: @@ -40207,9 +40310,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: &288 + default: &291 value: id: 2 name: octo-runner-group @@ -40251,7 +40354,7 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: default: value: @@ -40342,9 +40445,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: *288 + default: *291 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -40408,7 +40511,7 @@ paths: type: array items: *48 examples: - default: *268 + default: *271 headers: Link: *47 x-github: @@ -40449,7 +40552,7 @@ paths: type: number repositories: type: array - items: *289 + items: *292 examples: default: &344 value: @@ -40750,7 +40853,7 @@ paths: parameters: - *89 - *74 - - *283 + - *286 responses: '204': description: Response @@ -40774,7 +40877,7 @@ paths: parameters: - *89 - *74 - - *283 + - *286 responses: '204': description: Response @@ -40992,9 +41095,9 @@ paths: application/json: schema: type: array - items: *290 + items: *293 examples: - default: *291 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41059,7 +41162,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *292 + '201': *295 '404': *6 '422': *7 '409': *121 @@ -41098,7 +41201,7 @@ paths: application/json: schema: *81 examples: - default: *293 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41134,7 +41237,7 @@ paths: application/json: schema: *81 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41165,7 +41268,7 @@ paths: application/json: schema: *78 examples: - default: *295 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41340,7 +41443,7 @@ paths: - *89 - *77 responses: - '200': *296 + '200': *299 '404': *6 x-github: githubCloudOnly: false @@ -41369,7 +41472,7 @@ paths: parameters: - *89 - *77 - - *297 + - *300 responses: '200': *83 '404': *6 @@ -41414,7 +41517,7 @@ paths: type: integer secrets: type: array - items: &298 + items: &301 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -41446,7 +41549,7 @@ paths: - updated_at - visibility examples: - default: &304 + default: &307 value: total_count: 3 secrets: @@ -41493,7 +41596,7 @@ paths: description: Response content: application/json: - schema: &305 + schema: &308 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -41522,7 +41625,7 @@ paths: - key_id - key examples: - default: &306 + default: &309 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41548,7 +41651,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - *89 - - &299 + - &302 name: secret_name description: The name of the secret. in: path @@ -41560,9 +41663,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *301 examples: - default: &307 + default: &310 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -41591,7 +41694,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -41648,7 +41751,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -41675,7 +41778,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '204': description: Response @@ -41702,7 +41805,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 - *19 - *17 responses: @@ -41720,9 +41823,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: &303 + default: &306 value: total_count: 1 repositories: @@ -41815,7 +41918,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -41868,7 +41971,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -41902,7 +42005,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -41935,7 +42038,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - *89 - - &308 + - &311 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)." @@ -41959,7 +42062,7 @@ paths: type: integer variables: type: array - items: &301 + items: &304 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -42002,7 +42105,7 @@ paths: - updated_at - visibility examples: - default: &309 + default: &312 value: total_count: 3 variables: @@ -42092,7 +42195,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -42118,7 +42221,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - *89 - - &302 + - &305 name: name description: The name of the variable. in: path @@ -42130,9 +42233,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *304 examples: - default: &310 + default: &313 value: name: USERNAME value: octocat @@ -42161,7 +42264,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - *89 - - *302 + - *305 requestBody: required: true content: @@ -42224,7 +42327,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - *89 - - *302 + - *305 responses: '204': description: Response @@ -42251,7 +42354,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *89 - - *302 + - *305 - *19 - *17 responses: @@ -42269,9 +42372,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: *303 + default: *306 '409': description: Response when the visibility of the variable is not set to `selected` @@ -42298,7 +42401,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *89 - - *302 + - *305 requestBody: required: true content: @@ -42348,7 +42451,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *89 - - *302 + - *305 - name: repository_id in: path required: true @@ -42383,7 +42486,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *89 - - *302 + - *305 - name: repository_id in: path required: true @@ -42435,9 +42538,9 @@ paths: type: integer secrets: type: array - items: *298 + items: *301 examples: - default: *304 + default: *307 headers: Link: *47 x-github: @@ -42468,9 +42571,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *308 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42493,15 +42596,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '200': description: Response content: application/json: - schema: *298 + schema: *301 examples: - default: *307 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42524,7 +42627,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -42581,7 +42684,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -42608,7 +42711,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '204': description: Response @@ -42635,7 +42738,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 - *19 - *17 responses: @@ -42653,9 +42756,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: *303 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42679,7 +42782,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -42732,7 +42835,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -42766,7 +42869,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -42800,7 +42903,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *89 - - *308 + - *311 - *19 responses: '200': @@ -42817,9 +42920,9 @@ paths: type: integer variables: type: array - items: *301 + items: *304 examples: - default: *309 + default: *312 headers: Link: *47 x-github: @@ -42890,7 +42993,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -42916,15 +43019,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *89 - - *302 + - *305 responses: '200': description: Response content: application/json: - schema: *301 + schema: *304 examples: - default: *310 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42946,7 +43049,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *89 - - *302 + - *305 requestBody: required: true content: @@ -43009,7 +43112,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *89 - - *302 + - *305 responses: '204': description: Response @@ -43036,7 +43139,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *89 - - *302 + - *305 - *19 - *17 responses: @@ -43054,9 +43157,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: *303 + default: *306 '409': description: Response when the visibility of the variable is not set to `selected` @@ -43083,7 +43186,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *89 - - *302 + - *305 requestBody: required: true content: @@ -43133,7 +43236,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *89 - - *302 + - *305 - name: repository_id in: path required: true @@ -43168,7 +43271,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *89 - - *302 + - *305 - name: repository_id in: path required: true @@ -43226,7 +43329,7 @@ paths: required: true content: application/json: - schema: *311 + schema: *314 examples: default: *87 parameters: @@ -43410,7 +43513,7 @@ paths: type: integer deployment_records: type: array - items: &312 + items: &315 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -43456,7 +43559,7 @@ paths: required: - total_count examples: - default: &313 + default: &316 value: total_count: 1 deployment_records: @@ -43636,11 +43739,11 @@ paths: type: integer deployment_records: type: array - items: *312 + items: *315 required: - total_count examples: - default: *313 + default: *316 '403': description: Forbidden content: @@ -43879,9 +43982,9 @@ paths: type: integer deployment_records: type: array - items: *312 + items: *315 examples: - default: *313 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44578,10 +44681,10 @@ paths: required: false schema: type: string - - *314 - - *315 - - *316 - *317 + - *131 + - *132 + - *133 - *17 responses: '200': @@ -44621,7 +44724,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44641,7 +44744,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *89 - - *148 + - *151 responses: '204': description: If the user is blocked @@ -44667,7 +44770,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#block-a-user-from-an-organization parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -44688,7 +44791,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -44975,7 +45078,7 @@ paths: headers: Link: *47 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45149,7 +45252,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45192,7 +45295,7 @@ paths: content: application/json: schema: *3 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45286,7 +45389,7 @@ paths: content: application/json: schema: *3 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45318,7 +45421,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45401,7 +45504,7 @@ paths: headers: Link: *47 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46460,7 +46563,7 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *289 + repository: *292 machine: type: object title: Codespace machine @@ -47466,7 +47569,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '200': description: Response @@ -47502,7 +47605,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -47557,7 +47660,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -47584,7 +47687,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '204': description: Response @@ -47610,7 +47713,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 - *19 - *17 responses: @@ -47628,9 +47731,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: *303 + default: *306 '404': *6 x-github: githubCloudOnly: false @@ -47653,7 +47756,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -47704,7 +47807,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -47738,7 +47841,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -49538,9 +49641,9 @@ paths: currently being billed. seats: type: array - items: *151 + items: *154 examples: - default: *152 + default: *155 headers: Link: *47 '500': *40 @@ -50024,7 +50127,7 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 required: - total_count - repositories @@ -50115,7 +50218,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: - *89 - - *283 + - *286 responses: '204': description: No Content @@ -50149,7 +50252,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: - *89 - - *283 + - *286 responses: '204': description: No Content @@ -50897,7 +51000,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *89 - - *147 + - *150 responses: '200': description: Response @@ -50928,7 +51031,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *89 - - *147 + - *150 requestBody: required: true content: @@ -50998,7 +51101,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *89 - - *147 + - *150 responses: '204': description: Response @@ -51078,7 +51181,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *89 - - *147 + - *150 responses: '200': description: Response @@ -51115,7 +51218,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *89 - - *147 + - *150 requestBody: required: true content: @@ -51168,7 +51271,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *89 - - *147 + - *150 responses: '204': description: Response @@ -51588,7 +51691,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '200': description: Response @@ -51623,7 +51726,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -51680,7 +51783,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -51713,7 +51816,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - *89 - - *299 + - *302 responses: '204': description: Response @@ -51738,7 +51841,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 - *19 - *17 responses: @@ -51756,9 +51859,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: *303 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51780,7 +51883,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -51831,7 +51934,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -51863,7 +51966,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *299 + - *302 - name: repository_id in: path required: true @@ -52621,7 +52724,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: 200-response: value: @@ -55469,7 +55572,7 @@ paths: - comments default: created - *112 - - *235 + - *238 - *17 - *19 responses: @@ -55479,7 +55582,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: *405 headers: @@ -55541,7 +55644,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 '422': *15 @@ -55562,7 +55665,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#check-organization-membership-for-a-user parameters: - *89 - - *148 + - *151 responses: '204': description: Response if requester is an organization member and user is @@ -55597,7 +55700,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-an-organization-member parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -55630,7 +55733,7 @@ paths: - *17 - *19 - *89 - - *148 + - *151 responses: '200': description: Response @@ -55674,7 +55777,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *89 - - *148 + - *151 - &408 name: codespace_name in: path @@ -55709,7 +55812,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *89 - - *148 + - *151 - *408 responses: '200': @@ -55892,13 +55995,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *89 - - *148 + - *151 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *151 + schema: *154 examples: default: value: @@ -55968,7 +56071,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#get-organization-membership-for-a-user parameters: - *89 - - *148 + - *151 responses: '200': description: Response @@ -56114,7 +56217,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#set-organization-membership-for-a-user parameters: - *89 - - *148 + - *151 requestBody: required: false content: @@ -56175,7 +56278,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-organization-membership-for-a-user parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -57022,7 +57125,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: &423 value: @@ -57512,7 +57615,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *89 - - *221 + - *224 responses: '204': description: Response @@ -57538,8 +57641,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *89 - - *221 - - *147 + - *224 + - *150 responses: '204': description: Response @@ -57569,8 +57672,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *89 - - *221 - - *147 + - *224 + - *150 responses: '204': description: Response @@ -57596,7 +57699,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -57622,8 +57725,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *89 - - *148 - - *147 + - *151 + - *150 responses: '204': description: Response @@ -57654,8 +57757,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *89 - - *148 - - *147 + - *151 + - *150 responses: '204': description: Response @@ -57684,7 +57787,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#get-an-organization-role parameters: - *89 - - *147 + - *150 responses: '200': description: Response @@ -57748,7 +57851,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *89 - - *147 + - *150 requestBody: required: true content: @@ -57841,7 +57944,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *89 - - *147 + - *150 responses: '204': description: Response @@ -57867,7 +57970,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *89 - - *147 + - *150 - *17 - *19 responses: @@ -58008,7 +58111,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *89 - - *147 + - *150 - *17 - *19 responses: @@ -58137,7 +58240,7 @@ paths: - type - url examples: - default: *217 + default: *220 headers: Link: *47 '404': @@ -58188,7 +58291,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 x-github: @@ -58214,7 +58317,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *89 - - *148 + - *151 requestBody: required: false content: @@ -58272,7 +58375,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -59179,7 +59282,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *423 headers: @@ -59494,7 +59597,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *423 headers: @@ -60139,7 +60242,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *89 - - *299 + - *302 responses: '200': description: The specified private registry configuration for the organization @@ -60170,7 +60273,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *89 - - *299 + - *302 requestBody: required: true content: @@ -60358,7 +60461,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *89 - - *299 + - *302 responses: '204': description: Response @@ -60729,7 +60832,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *228 + - *231 - &613 title: Pull Request Simple description: Pull Request Simple @@ -60955,7 +61058,7 @@ paths: - review_comments - review_comment - self - author_association: *225 + author_association: *228 auto_merge: &752 title: Auto merge description: The status of auto merging a pull request. @@ -63286,9 +63389,9 @@ paths: application/json: schema: type: array - items: *161 + items: *164 examples: - default: *162 + default: *165 '403': *29 '404': *6 x-github: @@ -63326,7 +63429,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *161 + items: *164 minItems: 1 maxItems: 100 required: @@ -63356,9 +63459,9 @@ paths: application/json: schema: type: array - items: *161 + items: *164 examples: - default: *162 + default: *165 '403': *29 '404': *6 x-github: @@ -63380,15 +63483,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *89 - - *158 + - *161 responses: '200': description: Response content: application/json: - schema: *161 + schema: *164 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -63412,7 +63515,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *89 - - *158 + - *161 requestBody: required: true content: @@ -63433,9 +63536,9 @@ paths: description: Response content: application/json: - schema: *161 + schema: *164 examples: - default: *163 + default: *166 '403': *29 '404': *6 x-github: @@ -63459,7 +63562,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *89 - - *158 + - *161 responses: '204': *130 '403': *29 @@ -63520,7 +63623,7 @@ paths: example: octocat/Hello-World properties: type: array - items: *160 + items: *163 description: List of custom property names and associated values required: - repository_id @@ -63589,7 +63692,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *160 + items: *163 required: - repository_names - properties @@ -63642,7 +63745,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 x-github: @@ -63662,7 +63765,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *89 - - *148 + - *151 responses: '204': description: Response if user is a public member @@ -63687,7 +63790,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -63709,7 +63812,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *89 - - *148 + - *151 responses: '204': description: Response @@ -63780,7 +63883,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *423 headers: @@ -64362,8 +64465,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true organization: title: Simple User @@ -65089,7 +65192,7 @@ paths: application/json: schema: type: array - items: *195 + items: *198 examples: default: value: @@ -65157,11 +65260,11 @@ paths: - push - repository default: branch - enforcement: *172 + enforcement: *175 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *173 + items: *176 conditions: *454 rules: type: array @@ -65171,9 +65274,6 @@ paths: type: object description: A repository rule. oneOf: - - *174 - - *175 - - *176 - *177 - *178 - *179 @@ -65185,13 +65285,16 @@ paths: - *185 - *186 - *187 - - *191 - - *192 - - *193 - - *194 - *188 - *189 - *190 + - *194 + - *195 + - *196 + - *197 + - *191 + - *192 + - *193 required: - name - enforcement @@ -65229,7 +65332,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: default: &455 value: @@ -65629,7 +65732,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: default: *455 '404': *6 @@ -65675,11 +65778,11 @@ paths: - tag - push - repository - enforcement: *172 + enforcement: *175 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *173 + items: *176 conditions: *454 rules: description: An array of rules within the ruleset. @@ -65719,7 +65822,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: default: *455 '404': *6 @@ -65779,7 +65882,7 @@ paths: application/json: schema: type: array - items: *199 + items: *202 examples: default: *457 '404': *6 @@ -65930,7 +66033,7 @@ paths: headers: Link: *47 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65992,7 +66095,7 @@ paths: schema: type: object properties: - pattern_config_version: *202 + pattern_config_version: *205 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -66018,7 +66121,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *202 + custom_pattern_version: *205 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -66303,7 +66406,7 @@ paths: required: - vector_string - score - cvss_severities: *133 + cvss_severities: *136 cwes: type: array nullable: true @@ -66867,7 +66970,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - *89 - - *221 + - *224 responses: '204': description: Response @@ -66893,7 +66996,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *89 - - *221 + - *224 responses: '204': description: Response @@ -67079,9 +67182,9 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: - default: *303 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67150,7 +67253,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *89 - - *283 + - *286 responses: '204': description: Response @@ -67173,7 +67276,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *89 - - *283 + - *286 responses: '204': description: Response @@ -67214,7 +67317,7 @@ paths: type: integer network_configurations: type: array - items: *153 + items: *156 examples: default: *481 headers: @@ -67293,9 +67396,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *154 + default: *157 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67316,15 +67419,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *89 - - *155 + - *158 responses: '200': description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *154 + default: *157 headers: Link: *47 x-github: @@ -67346,7 +67449,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *89 - - *155 + - *158 requestBody: required: true content: @@ -67399,9 +67502,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *154 + default: *157 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67421,7 +67524,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *89 - - *155 + - *158 responses: '204': description: Response @@ -68097,7 +68200,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - *89 - - *221 + - *224 responses: '200': description: Response @@ -68127,7 +68230,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - *89 - - *221 + - *224 requestBody: required: false content: @@ -68224,7 +68327,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - *89 - - *221 + - *224 responses: '204': description: Response @@ -68251,7 +68354,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: - *89 - - *221 + - *224 responses: '200': description: Response @@ -68280,7 +68383,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: - *89 - - *221 + - *224 requestBody: required: true content: @@ -68326,7 +68429,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: - *89 - - *221 + - *224 responses: '204': description: Response @@ -68352,7 +68455,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - *89 - - *221 + - *224 - *17 - *19 responses: @@ -68388,7 +68491,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - *89 - - *221 + - *224 - name: role description: Filters members returned by their role in the team. in: query @@ -68411,7 +68514,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 x-github: @@ -68442,8 +68545,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - *89 - - *221 - - *148 + - *224 + - *151 responses: '200': description: Response @@ -68513,8 +68616,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *89 - - *221 - - *148 + - *224 + - *151 requestBody: required: false content: @@ -68577,8 +68680,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - *89 - - *221 - - *148 + - *224 + - *151 responses: '204': description: Response @@ -68605,7 +68708,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - *89 - - *221 + - *224 - *17 - *19 responses: @@ -68615,7 +68718,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *423 headers: @@ -68647,7 +68750,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *89 - - *221 + - *224 - *493 - *494 responses: @@ -68678,8 +68781,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true forks: type: integer @@ -69310,7 +69413,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *89 - - *221 + - *224 - *493 - *494 requestBody: @@ -69358,7 +69461,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - *89 - - *221 + - *224 - *493 - *494 responses: @@ -69387,7 +69490,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *89 - - *221 + - *224 responses: '200': description: Response @@ -69419,7 +69522,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *89 - - *221 + - *224 requestBody: required: true content: @@ -69496,7 +69599,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - *89 - - *221 + - *224 - *17 - *19 responses: @@ -72009,7 +72112,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -72133,7 +72236,7 @@ paths: description: Empty response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -72236,7 +72339,7 @@ paths: parameters: - *493 - *494 - - *308 + - *311 - *19 responses: '200': @@ -72330,7 +72433,7 @@ paths: type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *62 - selected_actions_url: *276 + selected_actions_url: *279 sha_pinning_required: *63 required: - enabled @@ -72495,7 +72598,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: default: value: @@ -72530,7 +72633,7 @@ paths: required: true content: application/json: - schema: *279 + schema: *282 examples: default: summary: Set retention days @@ -72563,7 +72666,7 @@ paths: application/json: schema: *64 examples: - default: *280 + default: *283 '404': *6 x-github: enabledForGitHubApps: true @@ -72624,7 +72727,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *284 examples: default: *65 '403': *29 @@ -72652,7 +72755,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *285 examples: default: *65 responses: @@ -72750,7 +72853,7 @@ paths: description: Response content: application/json: - schema: *285 + schema: *288 examples: default: *71 x-github: @@ -72785,7 +72888,7 @@ paths: required: true content: application/json: - schema: *286 + schema: *289 examples: default: *71 x-github: @@ -72868,9 +72971,9 @@ paths: application/json: schema: type: array - items: *290 + items: *293 examples: - default: *291 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72936,7 +73039,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *292 + '201': *295 '404': *6 '422': *7 '409': *121 @@ -72976,7 +73079,7 @@ paths: application/json: schema: *81 examples: - default: *293 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73013,7 +73116,7 @@ paths: application/json: schema: *81 examples: - default: *294 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73045,7 +73148,7 @@ paths: application/json: schema: *78 examples: - default: *295 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73225,7 +73328,7 @@ paths: - *494 - *77 responses: - '200': *296 + '200': *299 '404': *6 x-github: githubCloudOnly: false @@ -73255,7 +73358,7 @@ paths: - *493 - *494 - *77 - - *297 + - *300 responses: '200': *83 '404': *6 @@ -73479,7 +73582,7 @@ paths: that triggered the run. type: array nullable: true - items: *233 + items: *236 created_at: type: string format: date-time @@ -73591,8 +73694,8 @@ paths: - author - committer nullable: true - repository: *289 - head_repository: *289 + repository: *292 + head_repository: *292 head_repository_id: type: integer example: 5 @@ -74278,7 +74381,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -74569,7 +74672,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -74859,7 +74962,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -75287,8 +75390,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 required: &924 - id - node_id @@ -75384,7 +75487,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -75430,7 +75533,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -75655,9 +75758,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *308 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75681,7 +75784,7 @@ paths: parameters: - *493 - *494 - - *299 + - *302 responses: '200': description: Response @@ -75717,7 +75820,7 @@ paths: parameters: - *493 - *494 - - *299 + - *302 requestBody: required: true content: @@ -75748,7 +75851,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -75776,7 +75879,7 @@ paths: parameters: - *493 - *494 - - *299 + - *302 responses: '204': description: Response @@ -75803,7 +75906,7 @@ paths: parameters: - *493 - *494 - - *308 + - *311 - *19 responses: '200': @@ -75873,7 +75976,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -75900,7 +76003,7 @@ paths: parameters: - *493 - *494 - - *302 + - *305 responses: '200': description: Response @@ -75936,7 +76039,7 @@ paths: parameters: - *493 - *494 - - *302 + - *305 requestBody: required: true content: @@ -75980,7 +76083,7 @@ paths: parameters: - *493 - *494 - - *302 + - *305 responses: '204': description: Response @@ -76680,7 +76783,7 @@ paths: parameters: - *493 - *494 - - *308 + - *311 - *19 responses: '200': @@ -76777,9 +76880,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *308 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76803,7 +76906,7 @@ paths: parameters: - *493 - *494 - - *299 + - *302 responses: '200': description: Response @@ -76835,7 +76938,7 @@ paths: parameters: - *493 - *494 - - *299 + - *302 requestBody: required: true content: @@ -76866,7 +76969,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -76894,7 +76997,7 @@ paths: parameters: - *493 - *494 - - *299 + - *302 responses: '204': description: Response @@ -76921,7 +77024,7 @@ paths: parameters: - *493 - *494 - - *308 + - *311 - *19 responses: '200': @@ -76991,7 +77094,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -77018,7 +77121,7 @@ paths: parameters: - *493 - *494 - - *302 + - *305 responses: '200': description: Response @@ -77049,7 +77152,7 @@ paths: parameters: - *493 - *494 - - *302 + - *305 requestBody: required: true content: @@ -77093,7 +77196,7 @@ paths: parameters: - *493 - *494 - - *302 + - *305 responses: '204': description: Response @@ -77127,7 +77230,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 '404': *6 @@ -78259,12 +78362,12 @@ paths: nullable: true oneOf: - *4 - - *300 + - *303 committer: nullable: true oneOf: - *4 - - *300 + - *303 parents: type: array items: @@ -80665,7 +80768,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 '404': *6 x-github: githubCloudOnly: false @@ -80724,7 +80827,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 '422': *15 x-github: githubCloudOnly: false @@ -80784,7 +80887,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 '422': *15 x-github: githubCloudOnly: false @@ -80844,7 +80947,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 '422': *15 x-github: githubCloudOnly: false @@ -81729,15 +81832,15 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *233 + items: *236 deployment: &916 title: Deployment description: A deployment created as the result of an Actions @@ -81805,8 +81908,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 required: - id - node_id @@ -82503,7 +82606,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -82628,7 +82731,7 @@ paths: nullable: true pull_requests: type: array - items: *233 + items: *236 nullable: true app: title: GitHub app @@ -82639,9 +82742,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 - repository: *289 + properties: *226 + required: *227 + repository: *292 created_at: type: string format: date-time @@ -83057,7 +83160,7 @@ paths: required: - app_id - setting - repository: *289 + repository: *292 examples: default: value: @@ -83505,7 +83608,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -83596,14 +83699,14 @@ paths: items: type: object properties: - number: *131 - created_at: *138 - updated_at: *139 - url: *136 - html_url: *137 + number: *134 + created_at: *141 + updated_at: *142 + url: *139 + html_url: *140 instances_url: *566 state: *115 - fixed_at: *141 + fixed_at: *144 dismissed_by: title: Simple User description: A GitHub user. @@ -83611,7 +83714,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *140 + dismissed_at: *143 dismissed_reason: *567 dismissed_comment: *568 rule: *569 @@ -83749,7 +83852,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83779,7 +83882,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *131 + schema: *134 responses: '200': description: Response @@ -83788,14 +83891,14 @@ paths: schema: &574 type: object properties: - number: *131 - created_at: *138 - updated_at: *139 - url: *136 - html_url: *137 + number: *134 + created_at: *141 + updated_at: *142 + url: *139 + html_url: *140 instances_url: *566 state: *115 - fixed_at: *141 + fixed_at: *144 dismissed_by: title: Simple User description: A GitHub user. @@ -83803,7 +83906,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *140 + dismissed_at: *143 dismissed_reason: *567 dismissed_comment: *568 rule: @@ -83961,7 +84064,7 @@ paths: '304': *37 '403': *572 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84108,7 +84211,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -84310,7 +84413,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84412,7 +84515,7 @@ paths: - source '403': *572 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84587,7 +84690,7 @@ paths: warning: '' '403': *572 '404': *6 - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -84696,7 +84799,7 @@ paths: content: application/json: schema: *3 - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -84832,7 +84935,7 @@ paths: '400': *14 '403': *578 '404': *6 - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -84974,7 +85077,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *572 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85050,7 +85153,7 @@ paths: description: Found '403': *572 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85083,7 +85186,7 @@ paths: description: Response '403': *578 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85533,7 +85636,7 @@ paths: content: application/json: schema: *3 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85571,7 +85674,7 @@ paths: examples: default: *592 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85731,7 +85834,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85857,7 +85960,7 @@ paths: schedule: weekly '403': *572 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85944,7 +86047,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -85983,7 +86086,7 @@ paths: content: application/json: schema: *3 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86125,7 +86228,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -86194,7 +86297,7 @@ paths: '403': *572 '404': description: Not Found if the sarif id does not match any upload - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -86813,7 +86916,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87116,7 +87219,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87230,7 +87333,7 @@ paths: parameters: - *493 - *494 - - *299 + - *302 responses: '200': description: Response @@ -87260,7 +87363,7 @@ paths: parameters: - *493 - *494 - - *299 + - *302 requestBody: required: true content: @@ -87288,7 +87391,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -87314,7 +87417,7 @@ paths: parameters: - *493 - *494 - - *299 + - *302 responses: '204': description: Response @@ -87554,7 +87657,7 @@ paths: parameters: - *493 - *494 - - *148 + - *151 responses: '204': description: Response if user is a collaborator @@ -87602,7 +87705,7 @@ paths: parameters: - *493 - *494 - - *148 + - *151 requestBody: required: false content: @@ -87639,7 +87742,7 @@ paths: example: 42 type: integer format: int64 - repository: *289 + repository: *292 invitee: title: Simple User description: A GitHub user. @@ -87817,7 +87920,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *264 + schema: *267 '403': *29 x-github: triggersNotification: true @@ -87859,7 +87962,7 @@ paths: parameters: - *493 - *494 - - *148 + - *151 responses: '204': description: No Content when collaborator was removed from the repository. @@ -87892,7 +87995,7 @@ paths: parameters: - *493 - *494 - - *148 + - *151 responses: '200': description: if user has admin permissions @@ -88020,8 +88123,8 @@ paths: updated_at: type: string format: date-time - author_association: *225 - reactions: *226 + author_association: *228 + reactions: *229 required: - url - html_url @@ -88098,7 +88201,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 responses: '200': description: Response @@ -88165,7 +88268,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 requestBody: required: true content: @@ -88240,7 +88343,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 responses: '204': description: Response @@ -88263,7 +88366,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 - 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. @@ -88379,7 +88482,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 requestBody: required: true content: @@ -88468,7 +88571,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 - &689 name: reaction_id description: The unique identifier of the reaction. @@ -89560,7 +89663,7 @@ paths: '422': *15 '404': *6 '500': *40 - '503': *200 + '503': *203 '409': *121 x-github: githubCloudOnly: false @@ -89948,7 +90051,7 @@ paths: type: string total_count: type: integer - repository: *289 + repository: *292 commit_url: type: string format: uri @@ -90251,8 +90354,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true contributing: title: Community Health File @@ -90725,7 +90828,7 @@ paths: default: *624 '404': *6 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91833,7 +91936,7 @@ paths: '422': *15 '404': *6 '409': *121 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92149,7 +92252,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *131 + number: *134 state: type: string description: The state of the Dependabot alert. @@ -92164,7 +92267,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *132 + package: *135 manifest_path: type: string description: The full path to the dependency manifest file, @@ -92193,12 +92296,12 @@ paths: - transitive - inconclusive security_advisory: *629 - security_vulnerability: *135 - url: *136 - html_url: *137 - created_at: *138 - updated_at: *139 - dismissed_at: *140 + security_vulnerability: *138 + url: *139 + html_url: *140 + created_at: *141 + updated_at: *142 + dismissed_at: *143 dismissed_by: title: Simple User description: A GitHub user. @@ -92222,7 +92325,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *141 + fixed_at: *144 auto_dismissed_at: *630 dismissal_request: *631 assignees: @@ -92490,7 +92593,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *131 + schema: *134 responses: '200': description: Response @@ -92936,7 +93039,7 @@ paths: parameters: - *493 - *494 - - *299 + - *302 responses: '200': description: Response @@ -92970,7 +93073,7 @@ paths: parameters: - *493 - *494 - - *299 + - *302 requestBody: required: true content: @@ -92998,7 +93101,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -93024,7 +93127,7 @@ paths: parameters: - *493 - *494 - - *299 + - *302 responses: '204': description: Response @@ -93193,7 +93296,7 @@ paths: schema: *3 '400': *14 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: false category: dependency-graph @@ -94242,8 +94345,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 required: - id - node_id @@ -96315,9 +96418,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *308 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96342,7 +96445,7 @@ paths: - *493 - *494 - *654 - - *299 + - *302 responses: '200': description: Response @@ -96375,7 +96478,7 @@ paths: - *493 - *494 - *654 - - *299 + - *302 requestBody: required: true content: @@ -96406,7 +96509,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -96435,7 +96538,7 @@ paths: - *493 - *494 - *654 - - *299 + - *302 responses: '204': description: Default response @@ -96463,7 +96566,7 @@ paths: - *493 - *494 - *654 - - *308 + - *311 - *19 responses: '200': @@ -96534,7 +96637,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -96562,7 +96665,7 @@ paths: - *493 - *494 - *654 - - *302 + - *305 responses: '200': description: Response @@ -96593,7 +96696,7 @@ paths: parameters: - *493 - *494 - - *302 + - *305 - *654 requestBody: required: true @@ -96638,7 +96741,7 @@ paths: parameters: - *493 - *494 - - *302 + - *305 - *654 responses: '204': @@ -96672,7 +96775,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: 200-response: value: @@ -96753,7 +96856,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: value: @@ -97006,7 +97109,7 @@ paths: application/json: schema: oneOf: - - *264 + - *267 - *665 x-github: githubCloudOnly: false @@ -100491,7 +100594,7 @@ paths: - comments default: created - *112 - - *235 + - *238 - *17 - *19 responses: @@ -100501,7 +100604,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: &700 value: @@ -100789,7 +100892,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: &697 value: @@ -100952,7 +101055,7 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *200 + '503': *203 '404': *6 '410': *685 x-github: @@ -100994,7 +101097,7 @@ paths: parameters: - *493 - *494 - - *252 + - *255 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -101004,7 +101107,7 @@ paths: enum: - asc - desc - - *235 + - *238 - *17 - *19 responses: @@ -101077,7 +101180,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 responses: '200': description: Response @@ -101143,7 +101246,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 requestBody: required: true content: @@ -101187,7 +101290,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 responses: '204': description: Response @@ -101217,7 +101320,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 responses: '200': description: Response @@ -101298,7 +101401,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 responses: '204': description: Response @@ -101306,7 +101409,7 @@ paths: '403': *29 '404': *6 '410': *685 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101325,7 +101428,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 - 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. @@ -101376,7 +101479,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 requestBody: required: true content: @@ -101441,7 +101544,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 - *689 responses: '204': @@ -101730,7 +101833,7 @@ paths: nullable: true properties: *694 required: *695 - author_association: *225 + author_association: *228 lock_reason: type: string nullable: true @@ -101743,8 +101846,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 required: - id - node_id @@ -102182,7 +102285,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: summary: Issue @@ -102555,13 +102658,13 @@ paths: application/json: schema: allOf: - - *228 + - *231 - type: object properties: {} examples: default: *697 '422': *15 - '503': *200 + '503': *203 '403': *29 '301': *499 '404': *6 @@ -102621,7 +102724,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *697 x-github: @@ -102666,7 +102769,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *697 x-github: @@ -102735,7 +102838,7 @@ paths: - *493 - *494 - *698 - - *235 + - *238 - *17 - *19 responses: @@ -102853,7 +102956,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: *700 headers: @@ -102912,7 +103015,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *697 headers: @@ -102967,7 +103070,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *697 '301': *499 @@ -103013,7 +103116,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: *700 headers: @@ -103084,8 +103187,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 label: type: object properties: @@ -103138,8 +103241,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 label: type: object properties: @@ -103227,8 +103330,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 assignee: *4 assigner: *4 required: @@ -103274,8 +103377,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 milestone: type: object properties: @@ -103325,8 +103428,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 milestone: type: object properties: @@ -103376,8 +103479,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 rename: type: object properties: @@ -103430,8 +103533,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 review_requester: *4 requested_team: *325 requested_reviewer: *4 @@ -103477,8 +103580,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 review_requester: *4 requested_team: *325 requested_reviewer: *4 @@ -103524,8 +103627,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 dismissed_review: type: object properties: @@ -103584,8 +103687,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 lock_reason: type: string example: '"off-topic"' @@ -103632,8 +103735,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 project_card: type: object properties: @@ -103698,8 +103801,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 project_card: type: object properties: @@ -103764,8 +103867,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 project_card: type: object properties: @@ -103886,8 +103989,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 issue_type: *693 required: - issue_type @@ -103931,8 +104034,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 prev_issue_type: *693 required: - prev_issue_type @@ -103976,8 +104079,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 issue_type: *693 prev_issue_type: *693 required: @@ -104023,8 +104126,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -104076,8 +104179,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 sub_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -104129,8 +104232,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -104182,8 +104285,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 parent_issue: title: Issue Reference description: A minimal reference to an issue linked from a @@ -104235,8 +104338,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -104288,8 +104391,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 blocked_by: title: Issue Reference description: A minimal reference to an issue linked from a @@ -104341,8 +104444,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -104394,8 +104497,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 blocking: title: Issue Reference description: A minimal reference to an issue linked from a @@ -104632,7 +104735,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *200 + '503': *203 x-github: triggersNotification: true githubCloudOnly: false @@ -104737,7 +104840,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *200 + '503': *203 x-github: triggersNotification: true githubCloudOnly: false @@ -104773,7 +104876,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *200 + '503': *203 x-github: triggersNotification: true githubCloudOnly: false @@ -104803,7 +104906,7 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: default: &703 value: @@ -104886,7 +104989,7 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: default: *703 '301': *499 @@ -104970,7 +105073,7 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: default: *703 '301': *499 @@ -105034,7 +105137,7 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: default: value: @@ -105155,7 +105258,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *697 '301': *499 @@ -105350,7 +105453,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *697 headers: @@ -105397,7 +105500,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: *700 headers: @@ -105460,7 +105563,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *697 headers: @@ -105522,13 +105625,13 @@ paths: description: Response content: application/json: - schema: *228 + schema: *231 examples: default: *697 '403': *29 '404': *6 '422': *7 - '503': *200 + '503': *203 x-github: triggersNotification: true githubCloudOnly: false @@ -105618,7 +105721,7 @@ paths: issue_url: type: string format: uri - author_association: *225 + author_association: *228 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -105628,9 +105731,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 - reactions: *226 + properties: *226 + required: *227 + reactions: *229 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and @@ -105676,7 +105779,7 @@ paths: properties: type: type: string - issue: *228 + issue: *231 required: - event - created_at @@ -105876,7 +105979,7 @@ paths: type: string body_text: type: string - author_association: *225 + author_association: *228 required: - event - id @@ -105994,7 +106097,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *225 + author_association: *228 _links: type: object properties: @@ -106078,7 +106181,7 @@ paths: enum: - line - file - reactions: *226 + reactions: *229 body_html: type: string example: '"

comment body

"' @@ -106145,8 +106248,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 assignee: *4 required: - id @@ -106189,8 +106292,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 assignee: *4 required: - id @@ -106233,8 +106336,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 state_reason: type: string nullable: true @@ -106649,7 +106752,7 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: default: *703 headers: @@ -106709,7 +106812,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: default: &735 value: @@ -106755,7 +106858,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: default: *735 '404': *6 @@ -106814,7 +106917,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: default: value: @@ -107024,8 +107127,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true required: - _links @@ -107566,7 +107669,7 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: default: *703 headers: @@ -107591,7 +107694,7 @@ paths: - *494 - *740 - *741 - - *235 + - *238 - *742 - *17 - *19 @@ -107602,7 +107705,7 @@ paths: application/json: schema: type: array - items: *255 + items: *258 examples: default: *743 headers: @@ -108744,7 +108847,7 @@ paths: description: Empty response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -108863,7 +108966,7 @@ paths: application/json: schema: type: array - items: *160 + items: *163 examples: default: *749 '403': *29 @@ -108900,7 +109003,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *160 + items: *163 required: - properties examples: @@ -109313,7 +109416,7 @@ paths: - review_comments - review_comment - self - author_association: *225 + author_association: *228 auto_merge: *752 draft: description: Indicates whether or not the pull request is a draft. @@ -110058,7 +110161,7 @@ paths: enum: - asc - desc - - *235 + - *238 - *17 - *19 responses: @@ -110149,7 +110252,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 responses: '200': description: Response @@ -110234,7 +110337,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 requestBody: required: true content: @@ -110276,7 +110379,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 responses: '204': description: Response @@ -110299,7 +110402,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 - 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. @@ -110350,7 +110453,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 requestBody: required: true content: @@ -110415,7 +110518,7 @@ paths: parameters: - *493 - *494 - - *244 + - *247 - *689 responses: '204': @@ -110485,7 +110588,7 @@ paths: application/json: schema: *3 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110655,7 +110758,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110684,7 +110787,7 @@ paths: - *493 - *494 - *757 - - *252 + - *255 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -110694,7 +110797,7 @@ paths: enum: - asc - desc - - *235 + - *238 - *17 - *19 responses: @@ -110937,7 +111040,7 @@ paths: - *493 - *494 - *757 - - *244 + - *247 requestBody: required: true content: @@ -111120,7 +111223,7 @@ paths: Link: *47 '422': *15 '500': *40 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112562,7 +112665,7 @@ paths: type: string body_text: type: string - author_association: *225 + author_association: *228 required: - id - node_id @@ -113081,7 +113184,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *225 + author_association: *228 _links: type: object properties: @@ -113096,7 +113199,7 @@ paths: type: string body_html: type: string - reactions: *226 + reactions: *229 side: description: The side of the first line of the range for a multi-line comment. @@ -114625,7 +114728,7 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *174 + - *177 - &772 title: repository ruleset data for rule description: User-defined metadata to store domain-specific @@ -114645,18 +114748,6 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *175 - - *772 - - allOf: - - *176 - - *772 - - allOf: - - *177 - - *772 - - allOf: - - *773 - - *772 - allOf: - *178 - *772 @@ -114666,6 +114757,9 @@ paths: - allOf: - *180 - *772 + - allOf: + - *773 + - *772 - allOf: - *181 - *772 @@ -114708,6 +114802,15 @@ paths: - allOf: - *194 - *772 + - allOf: + - *195 + - *772 + - allOf: + - *196 + - *772 + - allOf: + - *197 + - *772 examples: default: value: @@ -114766,7 +114869,7 @@ paths: application/json: schema: type: array - items: *195 + items: *198 examples: default: value: @@ -114834,12 +114937,12 @@ paths: - tag - push default: branch - enforcement: *172 + enforcement: *175 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *173 - conditions: *166 + items: *176 + conditions: *169 rules: type: array description: An array of rules within the ruleset. @@ -114874,7 +114977,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: default: &785 value: @@ -115020,7 +115123,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: default: *785 '404': *6 @@ -115066,12 +115169,12 @@ paths: - branch - tag - push - enforcement: *172 + enforcement: *175 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *173 - conditions: *166 + items: *176 + conditions: *169 rules: description: An array of rules within the ruleset. type: array @@ -115103,7 +115206,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: default: *785 '404': *6 @@ -115165,7 +115268,7 @@ paths: application/json: schema: type: array - items: *199 + items: *202 examples: default: *457 '404': *6 @@ -115290,8 +115393,8 @@ paths: items: &791 type: object properties: - number: *131 - created_at: *138 + number: *134 + created_at: *141 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -115299,8 +115402,8 @@ paths: format: date-time readOnly: true nullable: true - url: *136 - html_url: *137 + url: *139 + html_url: *140 locations_url: type: string format: uri @@ -115555,7 +115658,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115617,7 +115720,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115772,7 +115875,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': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -115909,7 +116012,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115987,7 +116090,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *200 + '503': *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -116016,7 +116119,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *200 + '503': *203 '200': description: Response content: @@ -117078,7 +117181,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *264 + schema: *267 examples: invalid_state_transition: value: @@ -117812,7 +117915,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 x-github: @@ -118636,7 +118739,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *292 examples: default: value: @@ -119090,7 +119193,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: value: @@ -121307,7 +121410,7 @@ paths: html_url: type: string format: uri - repository: *289 + repository: *292 score: type: number file_size: @@ -121439,7 +121542,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *200 + '503': *203 '422': *15 '403': *29 x-github: @@ -121611,7 +121714,7 @@ paths: type: string sha: type: string - repository: *289 + repository: *292 score: type: number node_id: @@ -121992,7 +122095,7 @@ paths: type: string score: type: number - author_association: *225 + author_association: *228 draft: type: boolean repository: *80 @@ -122013,17 +122116,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true - reactions: *226 + reactions: *229 required: - assignee - closed_at @@ -122221,7 +122324,7 @@ paths: - quoted_text items: - "..." - '503': *200 + '503': *203 '422': *15 '304': *37 '403': *29 @@ -122633,8 +122736,8 @@ paths: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true permissions: type: object @@ -122855,7 +122958,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *200 + '503': *203 '422': *15 '304': *37 x-github: @@ -123310,7 +123413,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *200 + '503': *203 '422': *15 x-github: githubCloudOnly: false @@ -123561,7 +123664,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 '404': *6 @@ -123590,7 +123693,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - *849 - - *148 + - *151 responses: '204': description: if user is a member @@ -123627,7 +123730,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - *849 - - *148 + - *151 responses: '204': description: Response @@ -123667,7 +123770,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - *849 - - *148 + - *151 responses: '204': description: Response @@ -123704,7 +123807,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *849 - - *148 + - *151 responses: '200': description: Response @@ -123746,7 +123849,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *849 - - *148 + - *151 requestBody: required: false content: @@ -123808,7 +123911,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *849 - - *148 + - *151 responses: '204': description: Response @@ -123845,7 +123948,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *423 headers: @@ -124728,7 +124831,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 '304': *37 '404': *6 '403': *29 @@ -124751,7 +124854,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: - - *148 + - *151 responses: '204': description: If the user is blocked @@ -124779,7 +124882,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#block-a-user parameters: - - *148 + - *151 responses: '204': description: Response @@ -124803,7 +124906,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#unblock-a-user parameters: - - *148 + - *151 responses: '204': description: Response @@ -125007,7 +125110,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *200 + '503': *203 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -125157,7 +125260,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: - - *299 + - *302 responses: '200': description: Response @@ -125193,7 +125296,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: - - *299 + - *302 requestBody: required: true content: @@ -125238,7 +125341,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -125266,7 +125369,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: - - *299 + - *302 responses: '204': description: Response @@ -125291,7 +125394,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: - - *299 + - *302 responses: '200': description: Response @@ -125307,7 +125410,7 @@ paths: type: integer repositories: type: array - items: *289 + items: *292 examples: default: *344 '401': *25 @@ -125334,7 +125437,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: - - *299 + - *302 requestBody: required: true content: @@ -125388,7 +125491,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: - - *299 + - *302 - name: repository_id in: path required: true @@ -125421,7 +125524,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: - - *299 + - *302 - name: repository_id in: path required: true @@ -126995,7 +127098,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 '304': *37 @@ -127028,7 +127131,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 '304': *37 @@ -127050,7 +127153,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: - - *148 + - *151 responses: '204': description: if the person is followed by the authenticated user @@ -127080,7 +127183,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#follow-a-user parameters: - - *148 + - *151 responses: '204': description: Response @@ -127105,7 +127208,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#unfollow-a-user parameters: - - *148 + - *151 responses: '204': description: Response @@ -127655,7 +127758,7 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *284 + default: *287 headers: Link: *47 '404': *6 @@ -127681,7 +127784,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *283 + - *286 responses: '204': description: Response @@ -127707,7 +127810,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *283 + - *286 responses: '204': description: Response @@ -127875,7 +127978,7 @@ paths: - comments default: created - *112 - - *235 + - *238 - *17 - *19 responses: @@ -127885,7 +127988,7 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: default: *405 headers: @@ -128177,7 +128280,7 @@ paths: - id - type - login - plan: *246 + plan: *249 required: - billing_cycle - next_billing_date @@ -129303,7 +129406,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *423 headers: @@ -129360,7 +129463,7 @@ paths: type: array items: *75 examples: - default: *259 + default: *262 headers: Link: *47 '304': *37 @@ -130979,7 +131082,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *423 headers: @@ -131096,7 +131199,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *248 + - *251 responses: '200': description: Response @@ -131276,7 +131379,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: example: ; rel="next" @@ -131416,7 +131519,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user parameters: - - *148 + - *151 responses: '200': description: Response @@ -131454,7 +131557,7 @@ paths: - *17 - *110 - *111 - - *148 + - *151 requestBody: required: true content: @@ -131565,7 +131668,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-in-bulk parameters: - - *148 + - *151 requestBody: required: true content: @@ -131630,7 +131733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *148 + - *151 - name: subject_digest description: Subject Digest in: path @@ -131661,7 +131764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-by-id parameters: - - *148 + - *151 - name: attestation_id description: Attestation ID in: path @@ -131699,7 +131802,7 @@ paths: - *17 - *110 - *111 - - *148 + - *151 - name: subject_digest description: Subject Digest in: path @@ -131757,7 +131860,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *303 examples: default: value: @@ -131799,7 +131902,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: - - *148 + - *151 - name: per_page description: The number of results per page (max 100). in: query @@ -131954,7 +132057,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: - - *148 + - *151 requestBody: required: true content: @@ -132134,7 +132237,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -132170,7 +132273,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -132294,7 +132397,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -132328,7 +132431,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -132444,7 +132547,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -132551,7 +132654,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -132664,7 +132767,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -132712,7 +132815,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -132770,7 +132873,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -132875,7 +132978,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -132925,7 +133028,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -132993,7 +133096,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: - - *148 + - *151 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -133029,7 +133132,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: - - *148 + - *151 responses: '200': description: Response @@ -133062,7 +133165,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *148 + - *151 - *17 - *19 responses: @@ -133072,7 +133175,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: default: value: @@ -133134,7 +133237,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: - - *148 + - *151 - *89 - *17 - *19 @@ -133145,7 +133248,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: default: value: @@ -133222,7 +133325,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-user parameters: - - *148 + - *151 - *17 - *19 responses: @@ -133232,7 +133335,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: default: value: @@ -133290,7 +133393,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-followers-of-a-user parameters: - - *148 + - *151 - *17 - *19 responses: @@ -133302,7 +133405,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 x-github: @@ -133321,7 +133424,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-the-people-a-user-follows parameters: - - *148 + - *151 - *17 - *19 responses: @@ -133333,7 +133436,7 @@ paths: type: array items: *4 examples: - default: *217 + default: *220 headers: Link: *47 x-github: @@ -133352,7 +133455,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: - - *148 + - *151 - name: target_user in: path required: true @@ -133379,8 +133482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - - *148 - - *235 + - *151 + - *238 - *17 - *19 responses: @@ -133390,9 +133493,9 @@ paths: application/json: schema: type: array - items: *236 + items: *239 examples: - default: *237 + default: *240 headers: Link: *47 '422': *15 @@ -133413,7 +133516,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: - - *148 + - *151 - *17 - *19 responses: @@ -133449,7 +133552,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-contextual-information-for-a-user parameters: - - *148 + - *151 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -133521,7 +133624,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: - - *148 + - *151 responses: '200': description: Response @@ -133547,7 +133650,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#list-public-keys-for-a-user parameters: - - *148 + - *151 - *17 - *19 responses: @@ -133602,7 +133705,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *148 + - *151 - *17 - *19 responses: @@ -133614,7 +133717,7 @@ paths: type: array items: *75 examples: - default: *259 + default: *262 headers: Link: *47 x-github: @@ -133654,7 +133757,7 @@ paths: - nuget - container - *871 - - *148 + - *151 - *19 - *17 responses: @@ -133691,7 +133794,7 @@ paths: parameters: - *419 - *420 - - *148 + - *151 responses: '200': description: Response @@ -133722,7 +133825,7 @@ paths: parameters: - *419 - *420 - - *148 + - *151 responses: '204': description: Response @@ -133756,7 +133859,7 @@ paths: parameters: - *419 - *420 - - *148 + - *151 - name: token description: package token schema: @@ -133790,7 +133893,7 @@ paths: parameters: - *419 - *420 - - *148 + - *151 responses: '200': description: Response @@ -133859,7 +133962,7 @@ paths: - *419 - *420 - *422 - - *148 + - *151 responses: '200': description: Response @@ -133902,7 +134005,7 @@ paths: parameters: - *419 - *420 - - *148 + - *151 - *422 responses: '204': @@ -133937,7 +134040,7 @@ paths: parameters: - *419 - *420 - - *148 + - *151 - *422 responses: '204': @@ -133962,7 +134065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#list-projects-for-user parameters: - - *148 + - *151 - name: q description: Limit results to projects of the specified type. in: query @@ -134004,7 +134107,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - *435 - - *148 + - *151 responses: '200': description: Response @@ -134035,7 +134138,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - *435 - - *148 + - *151 - *17 - *110 - *111 @@ -134069,7 +134172,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - - *148 + - *151 - *435 requestBody: required: true @@ -134182,7 +134285,7 @@ paths: parameters: - *435 - *903 - - *148 + - *151 responses: '200': description: Response @@ -134214,7 +134317,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project parameters: - *435 - - *148 + - *151 - *110 - *111 - *17 @@ -134269,7 +134372,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - - *148 + - *151 - *435 requestBody: required: true @@ -134376,7 +134479,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *435 - - *148 + - *151 - *445 - name: fields description: |- @@ -134421,7 +134524,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - *435 - - *148 + - *151 - *445 requestBody: required: true @@ -134519,7 +134622,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - *435 - - *148 + - *151 - *445 responses: '204': @@ -134543,7 +134646,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view parameters: - *435 - - *148 + - *151 - *905 - name: fields description: |- @@ -134600,7 +134703,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: - - *148 + - *151 - *17 - *19 responses: @@ -134610,7 +134713,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: default: value: @@ -134675,7 +134778,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: - - *148 + - *151 - *17 - *19 responses: @@ -134685,7 +134788,7 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: default: value: @@ -134748,7 +134851,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repositories-for-a-user parameters: - - *148 + - *151 - name: type description: Limit results to repositories of the specified type. in: query @@ -134791,7 +134894,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *423 headers: @@ -134813,7 +134916,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: - - *148 + - *151 - *17 - *19 responses: @@ -134845,7 +134948,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: - - *148 + - *151 - *17 - *19 responses: @@ -134881,7 +134984,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *148 + - *151 - *907 - *112 - *17 @@ -134917,7 +135020,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *148 + - *151 - *17 - *19 responses: @@ -134927,7 +135030,7 @@ paths: application/json: schema: type: array - items: *289 + items: *292 examples: default: *423 headers: @@ -135220,8 +135323,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *231 - required: *232 + properties: *234 + required: *235 nullable: true organization: title: Simple User @@ -137461,8 +137564,8 @@ x-webhooks: type: string pull_requests: type: array - items: *233 - repository: *289 + items: *236 + repository: *292 status: example: completed type: string @@ -137549,7 +137652,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *233 + items: *236 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -143770,7 +143873,7 @@ x-webhooks: type: string enum: - created - definition: *161 + definition: *164 enterprise: *909 installation: *910 organization: *911 @@ -143937,7 +144040,7 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *161 + definition: *164 enterprise: *909 installation: *910 organization: *911 @@ -144017,7 +144120,7 @@ x-webhooks: type: string enum: - updated - definition: *161 + definition: *164 enterprise: *909 installation: *910 organization: *911 @@ -144105,11 +144208,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *160 + items: *163 old_property_values: type: array description: The old custom property values for the repository. - items: *160 + items: *163 required: - action - repository @@ -155374,8 +155477,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *223 - required: *224 + properties: *226 + required: *227 reactions: title: Reactions type: object @@ -161824,11 +161927,11 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *228 + blocked_issue: *231 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *228 + blocking_issue: *231 blocking_issue_repo: *80 installation: *910 organization: *911 @@ -161915,11 +162018,11 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *228 + blocked_issue: *231 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *228 + blocking_issue: *231 blocking_issue_repo: *80 installation: *910 organization: *911 @@ -162005,12 +162108,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *228 + blocked_issue: *231 blocked_issue_repo: *80 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *228 + blocking_issue: *231 installation: *910 organization: *911 repository: *912 @@ -162096,12 +162199,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *228 + blocked_issue: *231 blocked_issue_repo: *80 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *228 + blocking_issue: *231 installation: *910 organization: *911 repository: *912 @@ -162976,8 +163079,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *847 issue_dependencies_summary: *848 @@ -163976,8 +164079,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *847 issue_dependencies_summary: *848 @@ -165101,8 +165204,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *847 issue_dependencies_summary: *848 @@ -166112,8 +166215,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *847 issue_dependencies_summary: *848 @@ -167242,8 +167345,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *847 issue_dependencies_summary: *848 @@ -168638,8 +168741,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *847 issue_dependencies_summary: *848 @@ -169657,8 +169760,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *847 issue_dependencies_summary: *848 @@ -170645,8 +170748,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *847 issue_dependencies_summary: *848 @@ -171643,8 +171746,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true user: title: User @@ -173014,8 +173117,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true user: title: User @@ -173975,8 +174078,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *847 issue_dependencies_summary: *848 @@ -174989,8 +175092,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *847 issue_dependencies_summary: *848 @@ -175958,8 +176061,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *847 issue_dependencies_summary: *848 @@ -177779,8 +177882,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *229 - required: *230 + properties: *232 + required: *233 nullable: true sub_issues_summary: *847 issue_dependencies_summary: *848 @@ -181133,7 +181236,7 @@ x-webhooks: type: string enum: - created - definition: *156 + definition: *159 enterprise: *909 sender: *4 required: @@ -181287,7 +181390,7 @@ x-webhooks: type: string enum: - updated - definition: *156 + definition: *159 enterprise: *909 installation: *910 sender: *4 @@ -181368,11 +181471,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values. - items: *160 + items: *163 old_property_values: type: array description: The old custom property values. - items: *160 + items: *163 required: - action - organization @@ -250735,7 +250838,7 @@ x-webhooks: installation: *910 organization: *911 repository: *912 - repository_ruleset: *195 + repository_ruleset: *198 sender: *4 required: - action @@ -250817,7 +250920,7 @@ x-webhooks: installation: *910 organization: *911 repository: *912 - repository_ruleset: *195 + repository_ruleset: *198 sender: *4 required: - action @@ -250899,7 +251002,7 @@ x-webhooks: installation: *910 organization: *911 repository: *912 - repository_ruleset: *195 + repository_ruleset: *198 changes: type: object properties: @@ -250918,16 +251021,16 @@ x-webhooks: properties: added: type: array - items: *166 + items: *169 deleted: type: array - items: *166 + items: *169 updated: type: array items: type: object properties: - condition: *166 + condition: *169 changes: type: object properties: @@ -252064,8 +252167,8 @@ x-webhooks: alert: &979 type: object properties: - number: *131 - created_at: *138 + number: *134 + created_at: *141 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -252073,8 +252176,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *136 - html_url: *137 + url: *139 + html_url: *140 locations_url: type: string format: uri @@ -253172,7 +253275,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *133 + cvss_severities: *136 cwes: type: array items: @@ -253454,7 +253557,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *133 + cvss_severities: *136 cwes: type: array items: @@ -255109,12 +255212,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *228 + parent_issue: *231 parent_issue_repo: *80 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *228 + sub_issue: *231 installation: *910 organization: *911 repository: *912 @@ -255200,12 +255303,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *228 + parent_issue: *231 parent_issue_repo: *80 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *228 + sub_issue: *231 installation: *910 organization: *911 repository: *912 @@ -255291,12 +255394,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *228 + sub_issue: *231 sub_issue_repo: *80 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *228 + parent_issue: *231 installation: *910 organization: *911 repository: *912 @@ -255382,12 +255485,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *228 + sub_issue: *231 sub_issue_repo: *80 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *228 + parent_issue: *231 installation: *910 organization: *911 repository: *912 diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 41d2b369c3..92c544c13c 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -13675,6 +13675,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", @@ -324420,6 +324545,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/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index f20fce4cba..9b8597d69e 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -10108,6 +10108,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 @@ -242437,6 +242531,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/ghec/ghec.2026-03-10.json b/descriptions/ghec/ghec.2026-03-10.json index 194ac8a5ff..89bdb89067 100644 --- a/descriptions/ghec/ghec.2026-03-10.json +++ b/descriptions/ghec/ghec.2026-03-10.json @@ -13675,6 +13675,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", @@ -323658,6 +323783,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/ghec/ghec.2026-03-10.yaml b/descriptions/ghec/ghec.2026-03-10.yaml index 5044d66e94..36f3f208d5 100644 --- a/descriptions/ghec/ghec.2026-03-10.yaml +++ b/descriptions/ghec/ghec.2026-03-10.yaml @@ -10108,6 +10108,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 @@ -241754,6 +241848,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/ghec/ghec.json b/descriptions/ghec/ghec.json index e673275843..c1f91896d7 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -13689,6 +13689,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", @@ -326558,6 +326683,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/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 8adab8630d..02a9921fde 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -10116,6 +10116,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 @@ -243841,6 +243935,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/ghes-3.17/ghes-3.17.2022-11-28.json b/descriptions/ghes-3.17/ghes-3.17.2022-11-28.json index b6a219aaf2..e498009f12 100644 --- a/descriptions/ghes-3.17/ghes-3.17.2022-11-28.json +++ b/descriptions/ghes-3.17/ghes-3.17.2022-11-28.json @@ -109359,24 +109359,6 @@ } } }, - "repository-rule-params-restricted-commits": { - "title": "RestrictedCommits", - "description": "Restricted commit", - "type": "object", - "properties": { - "oid": { - "type": "string", - "description": "Full or abbreviated commit hash to reject" - }, - "reason": { - "type": "string", - "description": "Reason for restriction" - } - }, - "required": [ - "oid" - ] - }, "repository-rule-params-workflow-file-reference": { "title": "WorkflowFileReference", "description": "A workflow that must run for this rule to pass", @@ -109844,6 +109826,24 @@ } } }, + "repository-rule-params-restricted-commits": { + "title": "RestrictedCommits", + "description": "Restricted commit", + "type": "object", + "properties": { + "oid": { + "type": "string", + "description": "Full or abbreviated commit hash to reject" + }, + "reason": { + "type": "string", + "description": "Reason for restriction" + } + }, + "required": [ + "oid" + ] + }, "org-rules": { "title": "Repository Rule", "type": "object", diff --git a/descriptions/ghes-3.17/ghes-3.17.2022-11-28.yaml b/descriptions/ghes-3.17/ghes-3.17.2022-11-28.yaml index 583be232ad..c44bef1731 100644 --- a/descriptions/ghes-3.17/ghes-3.17.2022-11-28.yaml +++ b/descriptions/ghes-3.17/ghes-3.17.2022-11-28.yaml @@ -79720,19 +79720,6 @@ components: required: - operator - pattern - repository-rule-params-restricted-commits: - title: RestrictedCommits - description: Restricted commit - type: object - properties: - oid: - type: string - description: Full or abbreviated commit hash to reject - reason: - type: string - description: Reason for restriction - required: - - oid repository-rule-params-workflow-file-reference: title: WorkflowFileReference description: A workflow that must run for this rule to pass @@ -80061,6 +80048,19 @@ components: updated_at: type: string format: date-time + repository-rule-params-restricted-commits: + title: RestrictedCommits + description: Restricted commit + type: object + properties: + oid: + type: string + description: Full or abbreviated commit hash to reject + reason: + type: string + description: Reason for restriction + required: + - oid org-rules: title: Repository Rule type: object diff --git a/descriptions/ghes-3.17/ghes-3.17.json b/descriptions/ghes-3.17/ghes-3.17.json index b6a219aaf2..e498009f12 100644 --- a/descriptions/ghes-3.17/ghes-3.17.json +++ b/descriptions/ghes-3.17/ghes-3.17.json @@ -109359,24 +109359,6 @@ } } }, - "repository-rule-params-restricted-commits": { - "title": "RestrictedCommits", - "description": "Restricted commit", - "type": "object", - "properties": { - "oid": { - "type": "string", - "description": "Full or abbreviated commit hash to reject" - }, - "reason": { - "type": "string", - "description": "Reason for restriction" - } - }, - "required": [ - "oid" - ] - }, "repository-rule-params-workflow-file-reference": { {"code":"deadline_exceeded","msg":"operation timed out"}