diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 5c2de408e..b4748ba78 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -31967,6 +31967,459 @@ } } }, + "/enterprises/{enterprise}/bypass-requests/secret-scanning": { + "get": { + "summary": "List bypass requests for secret scanning for an enterprise", + "description": "List requests to bypass secret scanning push protection in an enterprise.\n\nDelegated bypass must be enabled on repositories in the enterprise and the user must be a bypass reviewer to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/list-enterprise-bypass-requests", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-an-enterprise" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "secret-scanning", + "subcategory": "delegated-bypass" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "organization_name", + "description": "The name of the organization to filter on.", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "reviewer", + "description": "Filter bypass requests by the handle of the GitHub user who reviewed the bypass request.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "requester", + "description": "Filter bypass requests by the handle of the GitHub user who requested the bypass.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for rule suites that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "hour", + "day", + "week", + "month" + ], + "default": "day" + } + }, + { + "name": "request_status", + "description": "The status of the bypass request to filter on. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "completed", + "cancelled", + "approved", + "expired", + "deleted", + "denied", + "open", + "all" + ], + "default": "all" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Secret scanning bypass request", + "description": "A bypass request made by a user asking to be exempted from push protection in this repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the bypass request." + }, + "number": { + "type": "integer", + "description": "The number uniquely identifying the bypass request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the bypass request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the repository the bypass request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the bypass request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the bypass request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the bypass request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the bypass.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who requested the bypass." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the bypass." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the push rules that are being requested to be bypassed.", + "items": { + "type": "object", + "properties": { + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "bypass_reason": { + "type": "string", + "enum": [ + "used_in_tests", + "false_positive", + "fix_later" + ], + "description": "The reason the bypass was requested." + }, + "path": { + "type": "string", + "description": "The path in the repo where the secret was located during the request." + }, + "branch": { + "type": "string", + "description": "The branch in the repo where the secret was located during the request." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the bypass request. For example, a commit SHA.", + "example": "827efc6d56897b048c772eb4087f854f46256132" + }, + "status": { + "type": "string", + "description": "The status of the bypass request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "completed", + "expired", + "open" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the bypass request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the bypass request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the bypass request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the bypass request.", + "nullable": true, + "items": { + "title": "Bypass response", + "description": "A response made by a delegated bypasser to a bypass request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the response to the bypass request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the bypass request.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who reviewed the bypass request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the bypass request." + } + } + }, + "status": { + "type": "string", + "description": "The response status to the bypass request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the bypass request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the bypass request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/exemptions/1" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning", + "data": [ + { + "secret_type": "adafruit_io_key", + "bypass_reason": "used_in_tests", + "path": "/tests/README.md:16:0", + "branch": "refs/heads/main" + } + ], + "resource_identifier": "827efc6d56897b048c772eb4087f854f46256132", + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1", + "html_url": "https://github.com/octo-org/smile/exemptions/1" + }, + { + "id": 12, + "number": 24, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning", + "data": [ + { + "secret_type": "adafruit_io_key", + "bypass_reason": "fix_later", + "path": "README.md:17:0", + "branch": "refs/heads/my-branch" + } + ], + "resource_identifier": "827efc6d56897b048c772eb4087f854f46255555", + "status": "denied", + "requester_comment": "Token is already revoked, I'll remove it later", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2", + "html_url": "https://github.com/octo-org/smile/exemptions/2" + } + ] + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + } + } + }, "/enterprises/{enterprise}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts 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 ade0abb0f..b4975abf0 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -444,7 +444,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &92 + - &98 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For @@ -453,7 +453,7 @@ paths: required: false schema: type: string - - &93 + - &99 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For @@ -462,7 +462,7 @@ paths: required: false schema: type: string - - &94 + - &100 name: direction description: The direction to sort the results by. in: query @@ -683,7 +683,7 @@ paths: required: - vector_string - score - cvss_severities: &108 + cvss_severities: &114 type: object nullable: true properties: @@ -723,7 +723,7 @@ paths: required: - vector_string - score - epss: &109 + epss: &115 type: object nullable: true readOnly: true @@ -861,7 +861,7 @@ paths: - subscriptions_url - type - url - type: &398 + type: &401 type: string description: The type of credit the user is receiving. enum: @@ -994,7 +994,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &213 + schema: &219 title: Validation Error Simple description: Validation Error Simple type: object @@ -1027,7 +1027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &725 + - &726 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1145,7 +1145,7 @@ paths: GitHub. type: object nullable: true - properties: &170 + properties: &176 id: description: Unique identifier of the GitHub app example: 37 @@ -1278,7 +1278,7 @@ paths: about itself. example: 5 type: integer - required: &171 + required: &177 - id - node_id - owner @@ -1583,7 +1583,7 @@ paths: schema: type: integer default: 30 - - &305 + - &308 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1599,7 +1599,7 @@ paths: application/json: schema: type: array - items: &306 + items: &309 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1679,7 +1679,7 @@ paths: - installation_id - repository_id examples: - default: &307 + default: &310 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1711,7 +1711,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &735 + schema: &736 title: Scim Error description: Scim Error type: object @@ -1738,7 +1738,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &212 + schema: &218 title: Validation Error description: Validation Error type: object @@ -1807,7 +1807,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &311 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1921,7 +1921,7 @@ paths: - request - response examples: - default: &309 + default: &312 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2122,7 +2122,7 @@ paths: parameters: - *17 - *19 - - &175 + - &181 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) @@ -2870,7 +2870,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &376 + properties: &379 id: description: Unique identifier of the repository example: 42 @@ -2890,7 +2890,7 @@ paths: title: License Simple description: License Simple type: object - properties: &186 + properties: &192 key: type: string example: mit @@ -2912,7 +2912,7 @@ paths: html_url: type: string format: uri - required: &187 + required: &193 - key - name - url @@ -3308,7 +3308,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &377 + required: &380 - archive_url - assignees_url - blobs_url @@ -7380,7 +7380,7 @@ paths: description: Response content: application/json: - schema: &214 + schema: &220 type: object properties: total_active_caches_count: @@ -7395,7 +7395,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &215 + default: &221 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7579,7 +7579,7 @@ paths: - public_ip_enabled - platform examples: - default: &216 + default: &222 value: total_count: 2 runners: @@ -7865,7 +7865,7 @@ paths: description: Response content: application/json: - schema: &217 + schema: &223 type: object properties: public_ips: @@ -7890,7 +7890,7 @@ paths: required: - public_ips examples: - default: &218 + default: &224 value: public_ips: current_usage: 17 @@ -7930,7 +7930,7 @@ paths: type: array items: *45 examples: - default: &219 + default: &225 value: id: 4-core cpu_cores: 4 @@ -8187,7 +8187,7 @@ paths: - all - local_only - selected - selected_actions_url: &222 + selected_actions_url: &228 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` @@ -8267,7 +8267,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &224 + schema: &230 type: object properties: days: @@ -8285,7 +8285,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &736 + '401': &737 description: Authorization failure '404': *6 x-github: @@ -8313,7 +8313,7 @@ paths: required: true content: application/json: - schema: &225 + schema: &231 type: object properties: days: @@ -8362,7 +8362,7 @@ paths: required: - approval_policy examples: - default: &226 + default: &232 value: approval_policy: first_time_contributors '404': *6 @@ -8420,7 +8420,7 @@ paths: description: Response content: application/json: - schema: &227 + schema: &233 type: object required: - run_workflows_from_fork_pull_requests @@ -8474,7 +8474,7 @@ paths: required: true content: application/json: - schema: &228 + schema: &234 type: object required: - run_workflows_from_fork_pull_requests @@ -8541,7 +8541,7 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: &104 + properties: &110 login: type: string example: github @@ -8582,7 +8582,7 @@ paths: type: string example: A great organization nullable: true - required: &105 + required: &111 - login - url - id @@ -8897,7 +8897,7 @@ paths: description: Success response content: application/json: - schema: &231 + schema: &237 type: object properties: default_workflow_permissions: &56 @@ -8945,7 +8945,7 @@ paths: required: true content: application/json: - schema: &232 + schema: &238 type: object properties: default_workflow_permissions: *56 @@ -9781,7 +9781,7 @@ paths: application/json: schema: type: array - items: &236 + items: &242 title: Runner Application description: Runner Application type: object @@ -9806,7 +9806,7 @@ paths: - download_url - filename examples: - default: &237 + default: &243 value: - os: osx architecture: x64 @@ -9890,7 +9890,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &238 + '201': &244 description: Response content: application/json: @@ -9929,7 +9929,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &102 + '409': &108 description: Conflict content: application/json: @@ -10005,7 +10005,7 @@ paths: - token - expires_at examples: - default: &239 + default: &245 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10045,7 +10045,7 @@ paths: application/json: schema: *68 examples: - default: &240 + default: &246 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10077,7 +10077,7 @@ paths: application/json: schema: *65 examples: - default: &241 + default: &247 value: id: 23 name: MBP @@ -10293,7 +10293,7 @@ paths: - *41 - *64 responses: - '200': &242 + '200': &248 description: Response content: application/json: @@ -10349,7 +10349,7 @@ paths: parameters: - *41 - *64 - - &243 + - &249 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10440,7 +10440,7 @@ paths: required: true content: application/json: - schema: &250 + schema: &256 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11081,7 +11081,7 @@ paths: required: false schema: type: string - - &251 + - &257 name: include description: |- The event types to include: @@ -11099,7 +11099,7 @@ paths: - web - git - all - - &252 + - &258 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. @@ -11107,7 +11107,7 @@ paths: required: false schema: type: string - - &253 + - &259 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. @@ -11115,7 +11115,7 @@ paths: required: false schema: type: string - - &254 + - &260 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11137,7 +11137,7 @@ paths: application/json: schema: type: array - items: &255 + items: &261 type: object properties: "@timestamp": @@ -11259,7 +11259,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &256 + default: &262 value: - "@timestamp": 1606929874512 action: team.add_member @@ -11860,12 +11860,13 @@ paths: subcategory: bypass-requests parameters: - *41 - - name: organization_name + - &92 + name: organization_name description: The name of the organization to filter on. in: query schema: type: string - - &258 + - &93 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -11873,7 +11874,7 @@ paths: required: false schema: type: string - - &259 + - &94 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -11881,7 +11882,7 @@ paths: required: false schema: type: string - - &260 + - &95 name: time_period description: |- The time period to filter by. @@ -11897,7 +11898,7 @@ paths: - week - month default: day - - &261 + - &96 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -11924,7 +11925,7 @@ paths: application/json: schema: type: array - items: &262 + items: &264 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12041,7 +12042,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: &265 + items: &97 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -12085,7 +12086,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &263 + default: &265 value: - id: 21 number: 42 @@ -12155,6 +12156,234 @@ paths: html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 '500': *91 + "/enterprises/{enterprise}/bypass-requests/secret-scanning": + get: + summary: List bypass requests for secret scanning for an enterprise + description: |- + List requests to bypass secret scanning push protection in an enterprise. + + Delegated bypass must be enabled on repositories in the enterprise and the user must be a bypass reviewer to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/list-enterprise-bypass-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-an-enterprise + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: secret-scanning + subcategory: delegated-bypass + parameters: + - *41 + - *92 + - *93 + - *94 + - *95 + - *96 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &267 + title: Secret scanning bypass request + description: A bypass request made by a user asking to be exempted + from push protection in this repository. + type: object + properties: + id: + type: integer + description: The unique identifier of the bypass request. + number: + type: integer + description: The number uniquely identifying the bypass request + within its repository. + repository: + type: object + description: The repository the bypass request is for. + properties: + id: + type: integer + description: The ID of the repository the bypass request + is for. + name: + type: string + description: The name of the repository the bypass request + is for. + full_name: + type: string + description: The full name of the repository the bypass + request is for. + organization: + type: object + description: The organization associated with the repository + the bypass request is for. + properties: + id: + type: integer + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the bypass. + properties: + actor_id: + type: integer + description: The ID of the GitHub user who requested the + bypass. + actor_name: + type: string + description: The name of the GitHub user who requested the + bypass. + request_type: + type: string + description: The type of request. + data: + nullable: true + type: array + description: Data describing the push rules that are being requested + to be bypassed. + items: + type: object + properties: + secret_type: + type: string + description: The type of secret that secret scanning detected. + bypass_reason: + type: string + enum: + - used_in_tests + - false_positive + - fix_later + description: The reason the bypass was requested. + path: + type: string + description: The path in the repo where the secret was + located during the request. + branch: + type: string + description: The branch in the repo where the secret was + located during the request. + resource_identifier: + type: string + description: The unique identifier for the request type of the + bypass request. For example, a commit SHA. + example: 827efc6d56897b048c772eb4087f854f46256132 + status: + type: string + description: The status of the bypass request. + enum: + - pending + - denied + - approved + - cancelled + - completed + - expired + - open + requester_comment: + type: string + description: The comment the requester provided when creating + the bypass request. + nullable: true + expires_at: + type: string + format: date-time + description: The date and time the bypass request will expire. + created_at: + type: string + format: date-time + description: The date and time the bypass request was created. + responses: + type: array + description: The responses to the bypass request. + nullable: true + items: *97 + url: + type: string + format: uri + example: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1 + html_url: + type: string + description: The URL to view the bypass request in a browser. + format: uri + example: https://github.com/octo-org/smile/exemptions/1 + examples: + default: &268 + value: + - id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning + data: + - secret_type: adafruit_io_key + bypass_reason: used_in_tests + path: "/tests/README.md:16:0" + branch: refs/heads/main + resource_identifier: 827efc6d56897b048c772eb4087f854f46256132 + status: denied + requester_comment: Test token used in the readme as an example + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1 + html_url: https://github.com/octo-org/smile/exemptions/1 + - id: 12 + number: 24 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning + data: + - secret_type: adafruit_io_key + bypass_reason: fix_later + path: README.md:17:0 + branch: refs/heads/my-branch + resource_identifier: 827efc6d56897b048c772eb4087f854f46255555 + status: denied + requester_comment: Token is already revoked, I'll remove it later + expires_at: '2024-07-08T07:43:03Z' + created_at: '2024-07-01T07:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2 + html_url: https://github.com/octo-org/smile/exemptions/2 + '404': *6 + '500': *91 "/enterprises/{enterprise}/code-scanning/alerts": get: summary: List code scanning alerts for an enterprise @@ -12172,17 +12401,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &270 + - &273 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. in: query required: false - schema: &95 + schema: &101 type: string description: The name of the tool used to generate the code scanning analysis. - - &271 + - &274 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -12190,22 +12419,22 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &96 + schema: &102 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *92 - - *93 + - *98 + - *99 - *19 - *17 - - *94 + - *100 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &272 + schema: &275 type: string description: State of a code scanning alert. enum: @@ -12230,42 +12459,42 @@ paths: application/json: schema: type: array - items: &273 + items: &276 type: object properties: - number: &106 + number: &112 type: integer description: The security alert number. readOnly: true - created_at: &113 + created_at: &119 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: &114 + updated_at: &120 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: &111 + url: &117 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &112 + html_url: &118 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &515 + instances_url: &516 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &97 + state: &103 type: string description: State of a code scanning alert. nullable: true @@ -12273,7 +12502,7 @@ paths: - open - dismissed - fixed - fixed_at: &116 + fixed_at: &122 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`.' @@ -12287,14 +12516,14 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &115 + dismissed_at: &121 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissed_reason: &516 + dismissed_reason: &517 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12303,13 +12532,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &517 + dismissed_comment: &518 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &518 + rule: &519 type: object properties: id: @@ -12362,25 +12591,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &519 + tool: &520 type: object properties: - name: *95 + name: *101 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *96 - most_recent_instance: &520 + guid: *102 + most_recent_instance: &521 type: object properties: - ref: &513 + ref: &514 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &530 + analysis_key: &531 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -12391,13 +12620,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &531 + category: &532 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *97 + state: *103 commit_sha: type: string message: @@ -12436,11 +12665,11 @@ paths: - generated - test - library - repository: &103 + repository: &109 title: Simple Repository description: A GitHub repository. type: object - properties: &202 + properties: &208 id: type: integer format: int64 @@ -12667,7 +12896,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: &203 + required: &209 - archive_url - assignees_url - blobs_url @@ -12736,7 +12965,7 @@ paths: - most_recent_instance - repository examples: - default: &274 + default: &277 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12967,7 +13196,7 @@ paths: headers: Link: *40 '404': *6 - '503': &160 + '503': &166 description: Service unavailable content: application/json: @@ -13011,8 +13240,8 @@ paths: schema: type: integer default: 30 - - *92 - - *93 + - *98 + - *99 responses: '200': description: Response @@ -13020,7 +13249,7 @@ paths: application/json: schema: type: array - items: &98 + items: &104 type: object description: A code security configuration properties: @@ -13389,7 +13618,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &275 + code_scanning_options: &278 type: object description: Security Configuration feature options for code scanning nullable: true @@ -13406,7 +13635,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &101 + code_scanning_default_setup_options: &107 type: object description: Feature options for code scanning default setup nullable: true @@ -13523,9 +13752,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *98 + schema: *104 examples: - default: &99 + default: &105 value: id: 1325 target_type: enterprise @@ -13583,7 +13812,7 @@ paths: description: Response content: application/json: - schema: &277 + schema: &280 type: array description: A list of default code security configurations items: @@ -13597,9 +13826,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *98 + configuration: *104 examples: - default: &278 + default: &281 value: - default_for_new_repos: public configuration: @@ -13688,7 +13917,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - *41 - - &100 + - &106 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -13700,9 +13929,9 @@ paths: description: Response content: application/json: - schema: *98 + schema: *104 examples: - default: *99 + default: *105 '304': *37 '403': *29 '404': *6 @@ -13727,7 +13956,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - *41 - - *100 + - *106 requestBody: required: true content: @@ -13806,7 +14035,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *101 + code_scanning_default_setup_options: *107 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -13894,13 +14123,13 @@ paths: description: Response content: application/json: - schema: *98 + schema: *104 examples: - default: *99 + default: *105 '304': *37 '403': *29 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13924,14 +14153,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - *41 - - *100 + - *106 responses: - '204': &126 + '204': &132 description: A header with no content is returned. '400': *14 '403': *29 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13956,7 +14185,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - *41 - - *100 + - *106 requestBody: required: true content: @@ -13983,7 +14212,7 @@ paths: '202': *39 '403': *29 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14008,7 +14237,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise parameters: - *41 - - *100 + - *106 requestBody: required: true content: @@ -14048,12 +14277,12 @@ paths: - none - private_and_internal - public - configuration: *98 + configuration: *104 examples: default: value: default_for_new_repos: all - configuration: &276 + configuration: &279 value: id: 1325 target_type: organization @@ -14110,7 +14339,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - *41 - - *100 + - *106 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -14119,8 +14348,8 @@ paths: schema: type: integer default: 30 - - *92 - - *93 + - *98 + - *99 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -14138,7 +14367,7 @@ paths: application/json: schema: type: array - items: &279 + items: &282 type: object description: Repositories associated with a code security configuration and attachment status @@ -14156,13 +14385,13 @@ paths: - failed - updating - removed_by_enterprise - repository: *103 + repository: *109 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: &280 + repository: &283 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -14627,7 +14856,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &117 + items: &123 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -14644,14 +14873,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *104 - required: *105 + properties: *110 + required: *111 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &266 + - &269 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -14710,7 +14939,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &342 + properties: &345 id: description: Unique identifier of the team type: integer @@ -14766,7 +14995,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &343 + required: &346 - id - node_id - url @@ -14894,7 +15123,7 @@ paths: - created_at additionalProperties: false examples: - default: &118 + default: &124 value: total_seats: 2 seats: @@ -15346,7 +15575,7 @@ paths: application/json: schema: type: array - items: &166 + items: &172 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -15653,7 +15882,7 @@ paths: - date additionalProperties: true examples: - default: &167 + default: &173 value: - date: '2024-06-24' total_active_users: 24 @@ -15755,7 +15984,7 @@ paths: '500': *91 '403': *29 '404': *6 - '422': &168 + '422': &174 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -15785,7 +16014,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &287 + - &290 name: state in: query description: |- @@ -15794,7 +16023,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &288 + - &291 name: severity in: query description: |- @@ -15803,7 +16032,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &289 + - &292 name: ecosystem in: query description: |- @@ -15812,14 +16041,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &290 + - &293 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &291 + - &294 name: epss_percentage in: query description: |- @@ -15831,7 +16060,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &292 + - &295 name: has in: query description: |- @@ -15845,7 +16074,7 @@ paths: type: string enum: - patch - - &293 + - &296 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -15855,7 +16084,7 @@ paths: enum: - development - runtime - - &294 + - &297 name: sort in: query description: |- @@ -15870,10 +16099,10 @@ paths: - updated - epss_percentage default: created - - *94 - - *92 - - *93 - - &295 + - *100 + - *98 + - *99 + - &298 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -15886,7 +16115,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &296 + - &299 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -15906,11 +16135,11 @@ paths: application/json: schema: type: array - items: &297 + items: &300 type: object description: A Dependabot alert. properties: - number: *106 + number: *112 state: type: string description: The state of the Dependabot alert. @@ -15925,7 +16154,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &107 + package: &113 type: object description: Details for the vulnerable package. readOnly: true @@ -15969,7 +16198,7 @@ paths: - unknown - direct - transitive - security_advisory: &570 + security_advisory: &571 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -15999,13 +16228,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &110 + items: &116 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *107 + package: *113 severity: type: string description: The severity of the vulnerability. @@ -16071,8 +16300,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *108 - epss: *109 + cvss_severities: *114 + epss: *115 cwes: type: array description: Details for the advisory pertaining to Common @@ -16171,12 +16400,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *110 - url: *111 - html_url: *112 - created_at: *113 - updated_at: *114 - dismissed_at: *115 + security_vulnerability: *116 + url: *117 + html_url: *118 + created_at: *119 + updated_at: *120 + dismissed_at: *121 dismissed_by: title: Simple User description: A GitHub user. @@ -16200,15 +16429,15 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *116 - auto_dismissed_at: &571 + fixed_at: *122 + auto_dismissed_at: &572 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - repository: *103 + repository: *109 required: - number - state @@ -16227,7 +16456,7 @@ paths: - repository additionalProperties: false examples: - default: &298 + default: &301 value: - number: 2 state: dismissed @@ -16644,7 +16873,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 - - &257 + - &263 name: username description: The handle for the GitHub user account. in: path @@ -16666,9 +16895,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *117 + items: *123 examples: - default: *118 + default: *124 '500': *91 '401': *25 '403': *29 @@ -16711,7 +16940,7 @@ paths: type: integer network_configurations: type: array - items: &119 + items: &125 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -16751,7 +16980,7 @@ paths: - name - created_on examples: - default: &409 + default: &412 value: total_count: 2 network_configurations: @@ -16829,9 +17058,9 @@ paths: description: Response content: application/json: - schema: *119 + schema: *125 examples: - default: &120 + default: &126 value: id: 123456789ABCDEF name: My network configuration @@ -16858,7 +17087,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 - - &121 + - &127 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -16870,9 +17099,9 @@ paths: description: Response content: application/json: - schema: *119 + schema: *125 examples: - default: *120 + default: *126 headers: Link: *40 x-github: @@ -16892,7 +17121,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 - - *121 + - *127 requestBody: required: true content: @@ -16931,9 +17160,9 @@ paths: description: Response content: application/json: - schema: *119 + schema: *125 examples: - default: *120 + default: *126 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -16951,7 +17180,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 - - *121 + - *127 responses: '204': description: Response @@ -16974,7 +17203,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &410 + - &413 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -16986,7 +17215,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &414 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17020,7 +17249,7 @@ paths: - subnet_id - region examples: - default: &412 + default: &415 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -17055,7 +17284,7 @@ paths: application/json: schema: type: array - items: &122 + items: &128 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -17121,7 +17350,7 @@ paths: - property_name - value_type examples: - default: &123 + default: &129 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -17178,7 +17407,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *122 + items: *128 minItems: 1 maxItems: 100 required: @@ -17208,9 +17437,9 @@ paths: application/json: schema: type: array - items: *122 + items: *128 examples: - default: *123 + default: *129 '403': *29 '404': *6 x-github: @@ -17234,7 +17463,7 @@ paths: parameters: - *41 - *76 - - &124 + - &130 name: custom_property_name description: The custom property name in: path @@ -17246,9 +17475,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *128 examples: - default: &125 + default: &131 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -17281,15 +17510,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *41 - - *124 + - *130 responses: '200': description: Response content: application/json: - schema: *122 + schema: *128 examples: - default: *125 + default: *131 '403': *29 '404': *6 x-github: @@ -17311,12 +17540,12 @@ 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 - - *124 + - *130 requestBody: required: true content: application/json: - schema: &374 + schema: &377 title: Custom Property Set Payload description: Custom property set payload type: object @@ -17380,9 +17609,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *128 examples: - default: *125 + default: *131 '403': *29 '404': *6 x-github: @@ -17404,9 +17633,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *41 - - *124 + - *130 responses: - '204': *126 + '204': *132 '403': *29 '404': *6 x-github: @@ -17446,7 +17675,7 @@ paths: - push - repository default: branch - enforcement: &133 + enforcement: &139 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -17459,7 +17688,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &134 + items: &140 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -17497,7 +17726,7 @@ paths: - always - pull_request default: always - conditions: &157 + conditions: &163 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -17511,7 +17740,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &127 + - &133 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -17537,7 +17766,7 @@ paths: type: string required: - organization_name - - &130 + - &136 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -17566,7 +17795,7 @@ paths: is prevented. required: - repository_name - - &129 + - &135 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -17594,8 +17823,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *127 - - &132 + - *133 + - &138 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -17608,7 +17837,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &128 + items: &134 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -17639,16 +17868,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *128 + items: *134 required: - repository_property - - *129 + - *135 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &131 + - &137 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -17665,25 +17894,25 @@ paths: type: integer required: - organization_id - - *130 - - *129 + - *136 + - *135 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *131 - - *132 - - *129 + - *137 + - *138 + - *135 rules: type: array description: An array of rules within the ruleset. - items: &158 + items: &164 title: Repository Rule type: object description: A repository rule. oneOf: - - &135 + - &141 title: creation description: Only allow users with bypass permission to create matching refs. @@ -17695,7 +17924,7 @@ paths: type: string enum: - creation - - &136 + - &142 title: update description: Only allow users with bypass permission to update matching refs. @@ -17716,7 +17945,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &137 + - &143 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -17728,7 +17957,7 @@ paths: type: string enum: - deletion - - &138 + - &144 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -17740,7 +17969,7 @@ paths: type: string enum: - required_linear_history - - &139 + - &145 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -17764,7 +17993,7 @@ paths: type: string required: - required_deployment_environments - - &140 + - &146 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -17776,7 +18005,7 @@ paths: type: string enum: - required_signatures - - &141 + - &147 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. @@ -17836,7 +18065,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &142 + - &148 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -17883,7 +18112,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &143 + - &149 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -17895,7 +18124,7 @@ paths: type: string enum: - non_fast_forward - - &144 + - &150 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -17931,7 +18160,7 @@ paths: required: - operator - pattern - - &145 + - &151 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -17967,7 +18196,7 @@ paths: required: - operator - pattern - - &146 + - &152 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -18003,7 +18232,7 @@ paths: required: - operator - pattern - - &147 + - &153 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -18039,7 +18268,7 @@ paths: required: - operator - pattern - - &148 + - &154 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -18075,7 +18304,7 @@ paths: required: - operator - pattern - - &149 + - &155 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -18099,7 +18328,7 @@ paths: type: string required: - restricted_file_paths - - &150 + - &156 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -18123,7 +18352,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &151 + - &157 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -18146,7 +18375,7 @@ paths: type: string required: - restricted_file_extensions - - &152 + - &158 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -18170,7 +18399,7 @@ paths: maximum: 100 required: - max_file_size - - &153 + - &159 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -18219,7 +18448,7 @@ paths: - repository_id required: - workflows - - &154 + - &160 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -18305,7 +18534,7 @@ paths: description: Response content: application/json: - schema: &155 + schema: &161 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -18340,11 +18569,11 @@ paths: source: type: string description: The name of the source - enforcement: *133 + enforcement: *139 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *134 + items: *140 current_user_can_bypass: type: string description: |- @@ -18375,8 +18604,8 @@ paths: conditions: nullable: true anyOf: - - *129 - - &381 + - *135 + - &384 title: Organization ruleset conditions type: object description: |- @@ -18390,14 +18619,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *129 - - *130 + - *135 + - *136 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *129 + - *135 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -18419,20 +18648,20 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *129 - - *132 + - *135 + - *138 rules: type: array - items: &691 + items: &692 title: Repository Rule type: object description: A repository rule. oneOf: - - *135 - - *136 - - *137 - - *138 - - &689 + - *141 + - *142 + - *143 + - *144 + - &690 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -18510,12 +18739,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *139 - - *140 - - *141 - - *142 - - *143 - - *144 - *145 - *146 - *147 @@ -18526,6 +18749,12 @@ paths: - *152 - *153 - *154 + - *155 + - *156 + - *157 + - *158 + - *159 + - *160 created_at: type: string format: date-time @@ -18533,7 +18762,7 @@ paths: type: string format: date-time examples: - default: &156 + default: &162 value: id: 21 name: super cool ruleset @@ -18592,9 +18821,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *161 examples: - default: *156 + default: *162 '404': *6 '500': *91 x-github: @@ -18638,16 +18867,16 @@ paths: - tag - push - repository - enforcement: *133 + enforcement: *139 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *134 - conditions: *157 + items: *140 + conditions: *163 rules: description: An array of rules within the ruleset. type: array - items: *158 + items: *164 examples: default: value: @@ -18671,9 +18900,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *161 examples: - default: *156 + default: *162 '404': *6 '500': *91 x-github: @@ -18735,7 +18964,7 @@ paths: application/json: schema: type: array - items: &159 + items: &165 title: Ruleset version type: object description: The historical version of a ruleset @@ -18759,7 +18988,7 @@ paths: type: string format: date-time examples: - default: &384 + default: &387 value: - version_id: 3 actor: @@ -18812,9 +19041,9 @@ paths: description: Response content: application/json: - schema: &385 + schema: &388 allOf: - - *159 + - *165 - type: object required: - state @@ -18867,7 +19096,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &386 + - &389 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -18878,7 +19107,7 @@ paths: enum: - open - resolved - - &387 + - &390 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -18888,7 +19117,7 @@ paths: required: false schema: type: string - - &388 + - &391 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -18897,7 +19126,7 @@ paths: required: false schema: type: string - - &389 + - &392 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -18909,11 +19138,11 @@ paths: - created - updated default: created - - *94 + - *100 - *17 - - *92 - - *93 - - &390 + - *98 + - *99 + - &393 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -18922,7 +19151,7 @@ paths: required: false schema: type: string - - &391 + - &394 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -18931,7 +19160,7 @@ paths: schema: type: boolean default: false - - &392 + - &395 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -18940,7 +19169,7 @@ paths: schema: type: boolean default: false - - &393 + - &396 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -18956,11 +19185,11 @@ paths: application/json: schema: type: array - items: &394 + items: &397 type: object properties: - number: *106 - created_at: *113 + number: *112 + created_at: *119 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -18968,21 +19197,21 @@ paths: format: date-time readOnly: true nullable: true - url: *111 - html_url: *112 + url: *117 + html_url: *118 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &703 + state: &704 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &704 + resolution: &705 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -19016,7 +19245,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *103 + repository: *109 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -19089,8 +19318,8 @@ paths: pull request. ' - oneOf: &705 - - &707 + oneOf: &706 + - &708 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -19142,7 +19371,7 @@ paths: - blob_url - commit_sha - commit_url - - &708 + - &709 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -19197,7 +19426,7 @@ paths: - page_url - commit_sha - commit_url - - &709 + - &710 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -19211,7 +19440,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &710 + - &711 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -19225,7 +19454,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &711 + - &712 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -19239,7 +19468,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &712 + - &713 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -19253,7 +19482,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &713 + - &714 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -19267,7 +19496,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &714 + - &715 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -19281,7 +19510,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &715 + - &716 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -19295,7 +19524,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &716 + - &717 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -19309,7 +19538,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &717 + - &718 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -19323,7 +19552,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &718 + - &719 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -19337,7 +19566,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &719 + - &720 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -19357,7 +19586,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &395 + default: &398 value: number: 2 created_at: '2020-11-06T18:48:51Z' @@ -19516,7 +19745,7 @@ paths: headers: Link: *40 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -19547,13 +19776,13 @@ paths: description: Response content: application/json: - schema: &396 + schema: &399 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. type: object properties: - pattern_config_version: &162 + pattern_config_version: &168 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -19562,7 +19791,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &161 + items: &167 type: object properties: token_type: @@ -19628,9 +19857,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *161 + items: *167 examples: - default: &397 + default: &400 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -19685,7 +19914,7 @@ paths: schema: type: object properties: - pattern_config_version: *162 + pattern_config_version: *168 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -19711,7 +19940,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *162 + custom_pattern_version: *168 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -19747,7 +19976,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *102 + '409': *108 '422': *15 "/enterprises/{enterprise}/settings/billing/actions": get: @@ -19774,7 +20003,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &403 type: object properties: total_minutes_used: @@ -19844,7 +20073,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &401 + default: &404 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -19875,7 +20104,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &402 + - &405 name: advanced_security_product in: query description: | @@ -19895,7 +20124,7 @@ paths: description: Success content: application/json: - schema: &403 + schema: &406 type: object properties: total_advanced_security_committers: @@ -19950,7 +20179,7 @@ paths: required: - repositories examples: - default: &404 + default: &407 value: total_advanced_security_committers: 2 total_count: 2 @@ -20060,7 +20289,7 @@ paths: '400': *14 '403': *29 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20189,7 +20418,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id parameters: - *41 - - &165 + - &171 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -20201,7 +20430,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &163 + schema: &169 type: object properties: id: @@ -20240,7 +20469,7 @@ paths: - name - resources examples: - default: &164 + default: &170 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -20254,7 +20483,7 @@ paths: '400': *14 '403': *29 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20304,15 +20533,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *163 + schema: *169 examples: - default: *164 + default: *170 '400': *14 '403': *29 '404': *6 - '409': *102 + '409': *108 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20330,7 +20559,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center parameters: - *41 - - *165 + - *171 responses: '200': description: Response when deleting a cost center @@ -20369,7 +20598,7 @@ paths: '404': *6 '403': *29 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20390,7 +20619,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center parameters: - *41 - - *165 + - *171 requestBody: required: true content: @@ -20460,9 +20689,9 @@ paths: previous_cost_center: yet-another-cost-center '400': *14 '403': *29 - '409': *102 + '409': *108 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20482,7 +20711,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center parameters: - *41 - - *165 + - *171 requestBody: required: true content: @@ -20529,7 +20758,7 @@ paths: '400': *14 '403': *29 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20560,7 +20789,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &408 type: object properties: total_gigabytes_bandwidth_used: @@ -20578,7 +20807,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &406 + default: &409 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -20613,7 +20842,7 @@ paths: description: Response content: application/json: - schema: &407 + schema: &410 type: object properties: days_left_in_billing_cycle: @@ -20631,7 +20860,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &408 + default: &411 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -20656,7 +20885,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *41 - - &204 + - &210 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, @@ -20665,7 +20894,7 @@ paths: required: false schema: type: integer - - &205 + - &211 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 @@ -20674,7 +20903,7 @@ paths: required: false schema: type: integer - - &206 + - &212 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 @@ -20683,7 +20912,7 @@ paths: required: false schema: type: integer - - &207 + - &213 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -20704,7 +20933,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &208 + schema: &214 type: object properties: usageItems: @@ -20757,7 +20986,7 @@ paths: - netAmount - organizationName examples: - default: &209 + default: &215 value: usageItems: - date: '2023-08-01' @@ -20774,7 +21003,7 @@ paths: '400': *14 '403': *29 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20845,13 +21074,13 @@ paths: application/json: schema: type: array - items: *166 + items: *172 examples: - default: *167 + default: *173 '500': *91 '403': *29 '404': *6 - '422': *168 + '422': *174 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -20940,7 +21169,7 @@ paths: application/json: schema: type: array - items: &197 + items: &203 title: Event description: Event type: object @@ -20950,7 +21179,7 @@ paths: type: type: string nullable: true - actor: &169 + actor: &175 title: Actor description: Actor type: object @@ -20990,18 +21219,18 @@ paths: - id - name - url - org: *169 + org: *175 payload: type: object properties: action: type: string - issue: &185 + issue: &191 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &628 + properties: &629 id: type: integer format: int64 @@ -21113,7 +21342,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &367 + properties: &370 url: type: string format: uri @@ -21183,7 +21412,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &368 + required: &371 - closed_issues - creator - description @@ -21262,7 +21491,7 @@ paths: timeline_url: type: string format: uri - type: &327 + type: &330 title: Issue Type description: The type of issue. type: object @@ -21321,9 +21550,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 - author_association: &172 + properties: *176 + required: *177 + author_association: &178 title: author_association type: string example: OWNER @@ -21337,7 +21566,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &173 + reactions: &179 title: Reaction Rollup type: object properties: @@ -21373,7 +21602,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &763 + sub_issues_summary: &764 title: Sub-issues Summary type: object properties: @@ -21393,7 +21622,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &764 + issue_dependencies_summary: &765 title: Issue Dependencies Summary type: object properties: @@ -21412,7 +21641,7 @@ paths: - total_blocking issue_field_values: type: array - items: &765 + items: &766 title: Issue Field Value description: A value assigned to an issue field type: object @@ -21472,7 +21701,7 @@ paths: - node_id - data_type - value - required: &629 + required: &630 - assignee - closed_at - comments @@ -21493,7 +21722,7 @@ paths: - user - created_at - updated_at - comment: &626 + comment: &627 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -21541,7 +21770,7 @@ paths: issue_url: type: string format: uri - author_association: *172 + author_association: *178 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -21551,9 +21780,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 - reactions: *173 + properties: *176 + required: *177 + reactions: *179 required: - id - node_id @@ -21648,7 +21877,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21729,7 +21958,7 @@ paths: _links: type: object properties: - timeline: &174 + timeline: &180 title: Link With Type description: Hypermedia Link with Type type: object @@ -21741,17 +21970,17 @@ paths: required: - href - type - user: *174 - security_advisories: *174 - current_user: *174 - current_user_public: *174 - current_user_actor: *174 - current_user_organization: *174 + user: *180 + security_advisories: *180 + current_user: *180 + current_user_public: *180 + current_user_actor: *180 + current_user_organization: *180 current_user_organizations: type: array - items: *174 - repository_discussions: *174 - repository_discussions_category: *174 + items: *180 + repository_discussions: *180 + repository_discussions_category: *180 required: - timeline - user @@ -21813,7 +22042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *175 + - *181 - *17 - *19 responses: @@ -21823,7 +22052,7 @@ paths: application/json: schema: type: array - items: &176 + items: &182 title: Base Gist description: Base Gist type: object @@ -21922,7 +22151,7 @@ paths: - created_at - updated_at examples: - default: &177 + default: &183 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -22043,7 +22272,7 @@ paths: description: Response content: application/json: - schema: &178 + schema: &184 title: Gist Simple description: Gist Simple type: object @@ -22060,7 +22289,7 @@ paths: url: type: string format: uri - user: &777 + user: &778 title: Public User description: Public User type: object @@ -22422,7 +22651,7 @@ paths: truncated: type: boolean examples: - default: &179 + default: &185 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -22526,7 +22755,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *175 + - *181 - *17 - *19 responses: @@ -22536,9 +22765,9 @@ paths: application/json: schema: type: array - items: *176 + items: *182 examples: - default: *177 + default: *183 headers: Link: *40 '422': *15 @@ -22560,7 +22789,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *175 + - *181 - *17 - *19 responses: @@ -22570,9 +22799,9 @@ paths: application/json: schema: type: array - items: *176 + items: *182 examples: - default: *177 + default: *183 headers: Link: *40 '401': *25 @@ -22600,7 +22829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &180 + - &186 name: gist_id description: The unique identifier of the gist. in: path @@ -22612,10 +22841,10 @@ paths: description: Response content: application/json: - schema: *178 + schema: *184 examples: - default: *179 - '403': &183 + default: *185 + '403': &189 description: Forbidden Gist content: application/json: @@ -22663,7 +22892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *180 + - *186 requestBody: required: true content: @@ -22723,9 +22952,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *184 examples: - updateGist: *179 + updateGist: *185 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -22883,7 +23112,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *180 + - *186 responses: '204': description: Response @@ -22912,7 +23141,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *180 + - *186 - *17 - *19 responses: @@ -22922,7 +23151,7 @@ paths: application/json: schema: type: array - items: &181 + items: &187 title: Gist Comment description: A comment made to a gist. type: object @@ -22957,7 +23186,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *172 + author_association: *178 required: - url - id @@ -23022,7 +23251,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *180 + - *186 requestBody: required: true content: @@ -23047,9 +23276,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *187 examples: - default: &182 + default: &188 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -23107,8 +23336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *180 - - &184 + - *186 + - &190 name: comment_id description: The unique identifier of the comment. in: path @@ -23121,12 +23350,12 @@ paths: description: Response content: application/json: - schema: *181 + schema: *187 examples: - default: *182 + default: *188 '304': *37 '404': *6 - '403': *183 + '403': *189 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23148,8 +23377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *180 - - *184 + - *186 + - *190 requestBody: required: true content: @@ -23174,9 +23403,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *187 examples: - default: *182 + default: *188 '404': *6 x-github: githubCloudOnly: false @@ -23193,8 +23422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *180 - - *184 + - *186 + - *190 responses: '204': description: Response @@ -23217,7 +23446,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *180 + - *186 - *17 - *19 responses: @@ -23318,7 +23547,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *180 + - *186 - *17 - *19 responses: @@ -23328,7 +23557,7 @@ paths: application/json: schema: type: array - items: *178 + items: *184 examples: default: value: @@ -23393,13 +23622,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *180 + - *186 responses: '201': description: Response content: application/json: - schema: *176 + schema: *182 examples: default: value: @@ -23470,7 +23699,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *180 + - *186 responses: '204': description: Response if gist is starred @@ -23500,7 +23729,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *180 + - *186 responses: '204': description: Response @@ -23522,7 +23751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *180 + - *186 responses: '204': description: Response @@ -23551,7 +23780,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *180 + - *186 - name: sha in: path required: true @@ -23562,9 +23791,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *184 examples: - default: *179 + default: *185 '422': *15 '404': *6 '403': *29 @@ -23930,7 +24159,7 @@ paths: - closed - all default: open - - &330 + - &333 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -23948,8 +24177,8 @@ paths: - updated - comments default: created - - *94 - - *175 + - *100 + - *181 - name: collab in: query required: false @@ -23979,9 +24208,9 @@ paths: application/json: schema: type: array - items: *185 + items: *191 examples: - default: &331 + default: &334 value: - id: 1 node_id: MDU6SXNzdWUx @@ -24265,8 +24494,8 @@ paths: title: License Simple description: License Simple type: object - properties: *186 - required: *187 + properties: *192 + required: *193 examples: default: value: @@ -24551,7 +24780,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &188 + X-CommonMarker-Version: &194 example: 0.17.4 schema: type: string @@ -24606,7 +24835,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *188 + X-CommonMarker-Version: *194 content: text/html: schema: @@ -24635,7 +24864,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: - - &191 + - &197 name: account_id description: account_id parameter in: path @@ -24647,7 +24876,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &196 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -24677,7 +24906,7 @@ paths: nullable: true id: type: integer - plan: &189 + plan: &195 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -24766,7 +24995,7 @@ paths: nullable: true updated_at: type: string - plan: *189 + plan: *195 required: - url - id @@ -24774,7 +25003,7 @@ paths: - login - marketplace_purchase examples: - default: &192 + default: &198 value: url: https://api.github.com/orgs/github type: Organization @@ -24859,9 +25088,9 @@ paths: application/json: schema: type: array - items: *189 + items: *195 examples: - default: &193 + default: &199 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -24901,14 +25130,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &194 + - &200 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &195 + - &201 name: sort description: The property to sort the results by. in: query @@ -24938,9 +25167,9 @@ paths: application/json: schema: type: array - items: *190 + items: *196 examples: - default: &196 + default: &202 value: - url: https://api.github.com/orgs/github type: Organization @@ -25014,15 +25243,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: - - *191 + - *197 responses: '200': description: Response content: application/json: - schema: *190 + schema: *196 examples: - default: *192 + default: *198 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -25054,9 +25283,9 @@ paths: application/json: schema: type: array - items: *189 + items: *195 examples: - default: *193 + default: *199 headers: Link: *40 '401': *25 @@ -25079,8 +25308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *194 - - *195 + - *200 + - *201 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -25100,9 +25329,9 @@ paths: application/json: schema: type: array - items: *190 + items: *196 examples: - default: *196 + default: *202 headers: Link: *40 '401': *25 @@ -25366,14 +25595,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &432 + - &435 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &433 + - &436 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -25390,7 +25619,7 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: default: value: @@ -25444,7 +25673,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &446 + '301': &449 description: Moved permanently content: application/json: @@ -25466,7 +25695,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &658 + - &659 name: all description: If `true`, show notifications marked as read. in: query @@ -25474,7 +25703,7 @@ paths: schema: type: boolean default: false - - &659 + - &660 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -25483,8 +25712,8 @@ paths: schema: type: boolean default: false - - *175 - - &660 + - *181 + - &661 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -25509,18 +25738,18 @@ paths: application/json: schema: type: array - items: &198 + items: &204 title: Thread description: Thread type: object properties: id: type: string - repository: &235 + repository: &241 title: Minimal Repository description: Minimal Repository type: object - properties: &300 + properties: &303 id: type: integer format: int64 @@ -25796,7 +26025,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &378 + security_and_analysis: &381 nullable: true type: object properties: @@ -25878,7 +26107,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &301 + required: &304 - archive_url - assignees_url - blobs_url @@ -25966,7 +26195,7 @@ paths: - url - subscription_url examples: - default: &661 + default: &662 value: - id: '1' repository: @@ -26132,7 +26361,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &199 + - &205 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 @@ -26146,7 +26375,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *204 examples: default: value: @@ -26249,7 +26478,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *199 + - *205 responses: '205': description: Reset Content @@ -26272,7 +26501,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *199 + - *205 responses: '204': description: No content @@ -26295,13 +26524,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: - - *199 + - *205 responses: '200': description: Response content: application/json: - schema: &200 + schema: &206 title: Thread Subscription description: Thread Subscription type: object @@ -26338,7 +26567,7 @@ paths: - url - subscribed examples: - default: &201 + default: &207 value: subscribed: true ignored: false @@ -26369,7 +26598,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *199 + - *205 requestBody: required: false content: @@ -26390,9 +26619,9 @@ paths: description: Response content: application/json: - schema: *200 + schema: *206 examples: - default: *201 + default: *207 '304': *37 '403': *29 '401': *25 @@ -26415,7 +26644,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *199 + - *205 responses: '204': description: Response @@ -26512,7 +26741,7 @@ paths: type: array items: *62 examples: - default: &794 + default: &795 value: - login: github id: 1 @@ -26576,7 +26805,7 @@ paths: type: integer custom_roles: type: array - items: &282 + items: &285 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -26624,7 +26853,7 @@ paths: - created_at - updated_at examples: - default: &283 + default: &286 value: id: 8030 name: Security Engineer @@ -26715,8 +26944,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *202 - required: *203 + properties: *208 + required: *209 nullable: true additionalProperties: false examples: @@ -26936,22 +27165,22 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *76 - - *204 - - *205 - - *206 - - *207 + - *210 + - *211 + - *212 + - *213 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *208 + schema: *214 examples: - default: *209 + default: *215 '400': *14 '403': *29 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26983,7 +27212,7 @@ paths: description: Response content: application/json: - schema: &210 + schema: &216 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -27316,7 +27545,7 @@ paths: - updated_at - archived_at examples: - default-response: &211 + default-response: &217 value: login: github id: 1 @@ -27641,18 +27870,18 @@ paths: description: Response content: application/json: - schema: *210 + schema: *216 examples: - default: *211 + default: *217 '422': description: Validation failed content: application/json: schema: oneOf: - - *212 - - *213 - '409': *102 + - *218 + - *219 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27706,9 +27935,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: *215 + default: *221 headers: Link: *40 x-github: @@ -27749,7 +27978,7 @@ paths: type: integer repository_cache_usages: type: array - items: &451 + items: &454 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -27824,7 +28053,7 @@ paths: type: array items: *42 examples: - default: *216 + default: *222 headers: Link: *40 x-github: @@ -28008,9 +28237,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *223 examples: - default: *218 + default: *224 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28046,7 +28275,7 @@ paths: type: array items: *45 examples: - default: *219 + default: *225 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28229,7 +28458,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &220 + schema: &226 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -28243,7 +28472,7 @@ paths: required: - include_claim_keys examples: - default: &221 + default: &227 value: include_claim_keys: - repo @@ -28270,15 +28499,15 @@ paths: required: true content: application/json: - schema: *220 + schema: *226 examples: - default: *221 + default: *227 responses: '201': description: Empty response content: application/json: - schema: &246 + schema: &252 title: Empty Object description: An object without any properties. type: object @@ -28317,7 +28546,7 @@ paths: schema: type: object properties: - enabled_repositories: &223 + enabled_repositories: &229 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -28331,7 +28560,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *49 - selected_actions_url: *222 + selected_actions_url: *228 sha_pinning_required: *50 required: - enabled_repositories @@ -28373,7 +28602,7 @@ paths: schema: type: object properties: - enabled_repositories: *223 + enabled_repositories: *229 allowed_actions: *49 sha_pinning_required: *50 required: @@ -28409,7 +28638,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *230 examples: response: summary: Example response @@ -28440,7 +28669,7 @@ paths: required: true content: application/json: - schema: *225 + schema: *231 examples: application/json: value: @@ -28450,7 +28679,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *102 + '409': *108 '422': *15 x-github: enabledForGitHubApps: true @@ -28478,7 +28707,7 @@ paths: application/json: schema: *51 examples: - default: *226 + default: *232 '404': *6 x-github: enabledForGitHubApps: true @@ -28535,7 +28764,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *233 examples: default: *52 '403': *29 @@ -28560,7 +28789,7 @@ paths: required: true content: application/json: - schema: *228 + schema: *234 examples: default: *52 responses: @@ -28612,7 +28841,7 @@ paths: type: array items: *67 examples: - default: &230 + default: &236 value: total_count: 1 repositories: @@ -28797,7 +29026,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *76 - - &229 + - &235 name: repository_id description: The unique identifier of the repository. in: path @@ -28826,7 +29055,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *76 - - *229 + - *235 responses: '204': description: Response @@ -28985,7 +29214,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *102 + '409': *108 '422': *15 x-github: enabledForGitHubApps: true @@ -29022,7 +29251,7 @@ paths: type: array items: *67 examples: - default: *230 + default: *236 '403': *29 '404': *6 x-github: @@ -29091,13 +29320,13 @@ 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: - *76 - - *229 + - *235 responses: '204': description: No content '403': *29 '404': *6 - '409': *102 + '409': *108 '422': *15 x-github: enabledForGitHubApps: true @@ -29118,13 +29347,13 @@ 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: - *76 - - *229 + - *235 responses: '204': description: No content '403': *29 '404': *6 - '409': *102 + '409': *108 '422': *15 x-github: enabledForGitHubApps: true @@ -29152,7 +29381,7 @@ paths: description: Response content: application/json: - schema: *231 + schema: *237 examples: default: *58 x-github: @@ -29186,7 +29415,7 @@ paths: required: false content: application/json: - schema: *232 + schema: *238 examples: default: *58 x-github: @@ -29233,7 +29462,7 @@ paths: type: number runner_groups: type: array - items: &233 + items: &239 type: object properties: id: @@ -29421,9 +29650,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *239 examples: - default: &234 + default: &240 value: id: 2 name: octo-runner-group @@ -29465,7 +29694,7 @@ paths: description: Response content: application/json: - schema: *233 + schema: *239 examples: default: value: @@ -29556,9 +29785,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *239 examples: - default: *234 + default: *240 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -29622,7 +29851,7 @@ paths: type: array items: *42 examples: - default: *216 + default: *222 headers: Link: *40 x-github: @@ -29663,9 +29892,9 @@ paths: type: number repositories: type: array - items: *235 + items: *241 examples: - default: &780 + default: &781 value: total_count: 1 repositories: @@ -29964,7 +30193,7 @@ paths: parameters: - *76 - *61 - - *229 + - *235 responses: '204': description: Response @@ -29988,7 +30217,7 @@ paths: parameters: - *76 - *61 - - *229 + - *235 responses: '204': description: Response @@ -30206,9 +30435,9 @@ paths: application/json: schema: type: array - items: *236 + items: *242 examples: - default: *237 + default: *243 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30273,10 +30502,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *238 + '201': *244 '404': *6 '422': *7 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30312,7 +30541,7 @@ paths: application/json: schema: *68 examples: - default: *239 + default: *245 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30348,7 +30577,7 @@ paths: application/json: schema: *68 examples: - default: *240 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30379,7 +30608,7 @@ paths: application/json: schema: *65 examples: - default: *241 + default: *247 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30554,7 +30783,7 @@ paths: - *76 - *64 responses: - '200': *242 + '200': *248 '404': *6 x-github: githubCloudOnly: false @@ -30583,7 +30812,7 @@ paths: parameters: - *76 - *64 - - *243 + - *249 responses: '200': *70 '404': *6 @@ -30628,7 +30857,7 @@ paths: type: integer secrets: type: array - items: &244 + items: &250 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -30707,7 +30936,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &474 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -30736,7 +30965,7 @@ paths: - key_id - key examples: - default: &472 + default: &475 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30762,7 +30991,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *76 - - &245 + - &251 name: secret_name description: The name of the secret. in: path @@ -30774,7 +31003,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *250 examples: default: value: @@ -30805,7 +31034,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *76 - - *245 + - *251 requestBody: required: true content: @@ -30862,7 +31091,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -30889,7 +31118,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *76 - - *245 + - *251 responses: '204': description: Response @@ -30916,7 +31145,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *245 + - *251 - *19 - *17 responses: @@ -30934,9 +31163,9 @@ paths: type: integer repositories: type: array - items: *235 + items: *241 examples: - default: &249 + default: &255 value: total_count: 1 repositories: @@ -31029,7 +31258,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *245 + - *251 requestBody: required: true content: @@ -31082,7 +31311,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *245 + - *251 - name: repository_id in: path required: true @@ -31116,7 +31345,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *245 + - *251 - name: repository_id in: path required: true @@ -31149,7 +31378,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *76 - - &456 + - &459 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)." @@ -31173,7 +31402,7 @@ paths: type: integer variables: type: array - items: &247 + items: &253 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -31306,7 +31535,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -31332,7 +31561,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *76 - - &248 + - &254 name: name description: The name of the variable. in: path @@ -31344,7 +31573,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *253 examples: default: value: @@ -31375,7 +31604,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *76 - - *248 + - *254 requestBody: required: true content: @@ -31438,7 +31667,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *76 - - *248 + - *254 responses: '204': description: Response @@ -31465,7 +31694,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *76 - - *248 + - *254 - *19 - *17 responses: @@ -31483,9 +31712,9 @@ paths: type: integer repositories: type: array - items: *235 + items: *241 examples: - default: *249 + default: *255 '409': description: Response when the visibility of the variable is not set to `selected` @@ -31512,7 +31741,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *76 - - *248 + - *254 requestBody: required: true content: @@ -31562,7 +31791,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *76 - - *248 + - *254 - name: repository_id in: path required: true @@ -31597,7 +31826,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *76 - - *248 + - *254 - name: repository_id in: path required: true @@ -31655,7 +31884,7 @@ paths: required: true content: application/json: - schema: *250 + schema: *256 examples: default: *74 parameters: @@ -31919,8 +32148,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations-by-bulk-subject-digests parameters: - *17 - - *92 - - *93 + - *98 + - *99 - *76 requestBody: required: true @@ -31944,12 +32173,12 @@ paths: required: - subject_digests examples: - default: &813 + default: &814 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &814 + withPredicateType: &815 value: subject_digests: - sha256:abc123 @@ -32007,7 +32236,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &815 + default: &816 value: attestations_subject_digests: - sha256:abc: @@ -32248,8 +32477,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations parameters: - *17 - - *92 - - *93 + - *98 + - *99 - *76 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 @@ -32301,7 +32530,7 @@ paths: bundle_url: type: string examples: - default: &485 + default: &488 value: attestations: - bundle: @@ -32427,10 +32656,10 @@ paths: required: false schema: type: string - - *251 - - *252 - - *253 - - *254 + - *257 + - *258 + - *259 + - *260 - *17 responses: '200': @@ -32439,9 +32668,9 @@ paths: application/json: schema: type: array - items: *255 + items: *261 examples: - default: *256 + default: *262 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -32470,7 +32699,7 @@ paths: type: array items: *4 examples: - default: &332 + default: &335 value: - login: octocat id: 1 @@ -32509,7 +32738,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *76 - - *257 + - *263 responses: '204': description: If the user is blocked @@ -32535,7 +32764,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - *76 - - *257 + - *263 responses: '204': description: Response @@ -32556,7 +32785,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *76 - - *257 + - *263 responses: '204': description: Response @@ -32583,16 +32812,16 @@ paths: subcategory: bypass-requests parameters: - *76 - - &264 + - &266 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *258 - - *259 - - *260 - - *261 + - *93 + - *94 + - *95 + - *96 - *17 - *19 responses: @@ -32602,9 +32831,9 @@ paths: application/json: schema: type: array - items: *262 + items: *264 examples: - default: *263 + default: *265 '404': *6 '500': *91 "/orgs/{org}/bypass-requests/secret-scanning": @@ -32628,11 +32857,11 @@ paths: subcategory: delegated-bypass parameters: - *76 - - *264 - - *258 - - *259 - - *260 - - *261 + - *266 + - *93 + - *94 + - *95 + - *96 - *17 - *19 responses: @@ -32642,197 +32871,9 @@ paths: application/json: schema: type: array - items: &502 - title: Secret scanning bypass request - description: A bypass request made by a user asking to be exempted - from push protection in this repository. - type: object - properties: - id: - type: integer - description: The unique identifier of the bypass request. - number: - type: integer - description: The number uniquely identifying the bypass request - within its repository. - repository: - type: object - description: The repository the bypass request is for. - properties: - id: - type: integer - description: The ID of the repository the bypass request - is for. - name: - type: string - description: The name of the repository the bypass request - is for. - full_name: - type: string - description: The full name of the repository the bypass - request is for. - organization: - type: object - description: The organization associated with the repository - the bypass request is for. - properties: - id: - type: integer - description: The ID of the organization. - name: - type: string - description: The name of the organization. - requester: - type: object - description: The user who requested the bypass. - properties: - actor_id: - type: integer - description: The ID of the GitHub user who requested the - bypass. - actor_name: - type: string - description: The name of the GitHub user who requested the - bypass. - request_type: - type: string - description: The type of request. - data: - nullable: true - type: array - description: Data describing the push rules that are being requested - to be bypassed. - items: - type: object - properties: - secret_type: - type: string - description: The type of secret that secret scanning detected. - bypass_reason: - type: string - enum: - - used_in_tests - - false_positive - - fix_later - description: The reason the bypass was requested. - path: - type: string - description: The path in the repo where the secret was - located during the request. - branch: - type: string - description: The branch in the repo where the secret was - located during the request. - resource_identifier: - type: string - description: The unique identifier for the request type of the - bypass request. For example, a commit SHA. - example: 827efc6d56897b048c772eb4087f854f46256132 - status: - type: string - description: The status of the bypass request. - enum: - - pending - - denied - - approved - - cancelled - - completed - - expired - - open - requester_comment: - type: string - description: The comment the requester provided when creating - the bypass request. - nullable: true - expires_at: - type: string - format: date-time - description: The date and time the bypass request will expire. - created_at: - type: string - format: date-time - description: The date and time the bypass request was created. - responses: - type: array - description: The responses to the bypass request. - nullable: true - items: *265 - url: - type: string - format: uri - example: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1 - html_url: - type: string - description: The URL to view the bypass request in a browser. - format: uri - example: https://github.com/octo-org/smile/exemptions/1 + items: *267 examples: - default: &503 - value: - - id: 21 - number: 42 - repository: - id: 1 - name: smile - full_name: octo-org/smile - organization: - id: 1 - name: octo-org - requester: - actor_id: 12 - actor_name: monalisa - request_type: secret_scanning - data: - - secret_type: adafruit_io_key - bypass_reason: used_in_tests - path: "/tests/README.md:16:0" - branch: refs/heads/main - resource_identifier: 827efc6d56897b048c772eb4087f854f46256132 - status: denied - requester_comment: Test token used in the readme as an example - expires_at: '2024-07-08T08:43:03Z' - created_at: '2024-07-01T08:43:03Z' - responses: - - id: 42 - reviewer: - actor_id: 4 - actor_name: octocat - status: denied - created_at: '2024-07-02T08:43:04Z' - url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1 - html_url: https://github.com/octo-org/smile/exemptions/1 - - id: 12 - number: 24 - repository: - id: 1 - name: smile - full_name: octo-org/smile - organization: - id: 1 - name: octo-org - requester: - actor_id: 12 - actor_name: monalisa - request_type: secret_scanning - data: - - secret_type: adafruit_io_key - bypass_reason: fix_later - path: README.md:17:0 - branch: refs/heads/my-branch - resource_identifier: 827efc6d56897b048c772eb4087f854f46255555 - status: denied - requester_comment: Token is already revoked, I'll remove it later - expires_at: '2024-07-08T07:43:03Z' - created_at: '2024-07-01T07:43:03Z' - responses: - - id: 42 - reviewer: - actor_id: 4 - actor_name: octocat - status: denied - created_at: '2024-07-02T08:43:04Z' - url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2 - html_url: https://github.com/octo-org/smile/exemptions/2 + default: *268 '404': *6 '500': *91 "/orgs/{org}/campaigns": @@ -32854,12 +32895,12 @@ paths: - *76 - *19 - *17 - - *94 + - *100 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &267 + schema: &270 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -32885,7 +32926,7 @@ paths: application/json: schema: type: array - items: &268 + items: &271 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -32916,7 +32957,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *266 + items: *269 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -32934,7 +32975,7 @@ paths: type: string format: date-time nullable: true - state: *267 + state: *270 contact_link: description: The contact link of the campaign. type: string @@ -33031,7 +33072,7 @@ paths: headers: Link: *40 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33149,9 +33190,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *271 examples: - default: &269 + default: &272 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -33200,7 +33241,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33234,16 +33275,16 @@ paths: description: Response content: application/json: - schema: *268 + schema: *271 examples: - default: *269 + default: *272 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33313,7 +33354,7 @@ paths: type: string format: uri nullable: true - state: *267 + state: *270 examples: default: value: @@ -33323,9 +33364,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *271 examples: - default: *269 + default: *272 '400': description: Bad Request content: @@ -33337,7 +33378,7 @@ paths: content: application/json: schema: *3 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33369,7 +33410,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33392,19 +33433,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *76 - - *270 - - *271 - - *92 - - *93 + - *273 + - *274 + - *98 + - *99 - *19 - *17 - - *94 + - *100 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *272 + schema: *275 - name: sort description: The property by which to sort the results. in: query @@ -33420,7 +33461,7 @@ paths: be returned. in: query required: false - schema: &514 + schema: &515 type: string description: Severity of a code scanning alert. enum: @@ -33438,13 +33479,13 @@ paths: application/json: schema: type: array - items: *273 + items: *276 examples: - default: *274 + default: *277 headers: Link: *40 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33485,8 +33526,8 @@ paths: schema: type: integer default: 30 - - *92 - - *93 + - *98 + - *99 responses: '200': description: Response @@ -33494,7 +33535,7 @@ paths: application/json: schema: type: array - items: *98 + items: *104 examples: default: value: @@ -33655,7 +33696,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *275 + code_scanning_options: *278 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -33664,7 +33705,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *101 + code_scanning_default_setup_options: *107 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -33796,9 +33837,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *98 + schema: *104 examples: - default: *276 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33826,9 +33867,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *280 examples: - default: *278 + default: *281 '304': *37 '403': *29 '404': *6 @@ -33880,11 +33921,11 @@ paths: - 32 - 91 responses: - '204': *126 + '204': *132 '400': *14 '403': *29 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33907,15 +33948,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - *76 - - *100 + - *106 responses: '200': description: Response content: application/json: - schema: *98 + schema: *104 examples: - default: *276 + default: *279 '304': *37 '403': *29 '404': *6 @@ -33940,7 +33981,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - *76 - - *100 + - *106 requestBody: required: true content: @@ -34019,7 +34060,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *101 + code_scanning_default_setup_options: *107 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -34137,7 +34178,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *98 + schema: *104 examples: default: value: @@ -34197,13 +34238,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - *76 - - *100 + - *106 responses: - '204': *126 + '204': *132 '400': *14 '403': *29 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34228,7 +34269,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - *76 - - *100 + - *106 requestBody: required: true content: @@ -34292,7 +34333,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - *76 - - *100 + - *106 requestBody: required: true content: @@ -34332,12 +34373,12 @@ paths: - none - private_and_internal - public - configuration: *98 + configuration: *104 examples: default: value: default_for_new_repos: all - configuration: *276 + configuration: *279 '403': *29 '404': *6 x-github: @@ -34362,7 +34403,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - *76 - - *100 + - *106 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -34371,8 +34412,8 @@ paths: schema: type: integer default: 30 - - *92 - - *93 + - *98 + - *99 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -34390,13 +34431,13 @@ paths: application/json: schema: type: array - items: *279 + items: *282 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *280 + repository: *283 '403': *29 '404': *6 x-github: @@ -34436,7 +34477,7 @@ paths: type: integer codespaces: type: array - items: &333 + items: &336 type: object title: Codespace description: A codespace. @@ -34461,12 +34502,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *235 + repository: *241 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &543 + properties: &544 name: type: string description: The name of the machine. @@ -34508,7 +34549,7 @@ paths: - ready - in_progress nullable: true - required: &544 + required: &545 - name - display_name - operating_system @@ -34713,7 +34754,7 @@ paths: - pulls_url - recent_folders examples: - default: &334 + default: &337 value: total_count: 3 codespaces: @@ -35337,7 +35378,7 @@ paths: type: integer secrets: type: array - items: &281 + items: &284 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -35376,7 +35417,7 @@ paths: - updated_at - visibility examples: - default: &545 + default: &546 value: total_count: 2 secrets: @@ -35414,7 +35455,7 @@ paths: description: Response content: application/json: - schema: &546 + schema: &547 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -35443,7 +35484,7 @@ paths: - key_id - key examples: - default: &547 + default: &548 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -35467,15 +35508,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *76 - - *245 + - *251 responses: '200': description: Response content: application/json: - schema: *281 + schema: *284 examples: - default: &549 + default: &550 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -35503,7 +35544,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *76 - - *245 + - *251 requestBody: required: true content: @@ -35558,7 +35599,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -35585,7 +35626,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *76 - - *245 + - *251 responses: '204': description: Response @@ -35611,7 +35652,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *245 + - *251 - *19 - *17 responses: @@ -35629,9 +35670,9 @@ paths: type: integer repositories: type: array - items: *235 + items: *241 examples: - default: *249 + default: *255 '404': *6 x-github: githubCloudOnly: false @@ -35654,7 +35695,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *245 + - *251 requestBody: required: true content: @@ -35705,7 +35746,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *245 + - *251 - name: repository_id in: path required: true @@ -35739,7 +35780,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *245 + - *251 - name: repository_id in: path required: true @@ -35942,9 +35983,9 @@ paths: currently being billed. seats: type: array - items: *117 + items: *123 examples: - default: *118 + default: *124 headers: Link: *40 '500': *91 @@ -36328,13 +36369,13 @@ paths: application/json: schema: type: array - items: *166 + items: *172 examples: - default: *167 + default: *173 '500': *91 '403': *29 '404': *6 - '422': *168 + '422': *174 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36546,7 +36587,7 @@ paths: type: integer custom_roles: type: array - items: *282 + items: *285 examples: default: value: @@ -36638,7 +36679,7 @@ paths: required: true content: application/json: - schema: &285 + schema: &288 type: object properties: name: @@ -36679,9 +36720,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *283 + default: *286 '422': *15 '404': *6 x-github: @@ -36706,7 +36747,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *76 - - &284 + - &287 name: role_id description: The unique identifier of the role. in: path @@ -36718,9 +36759,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *283 + default: *286 '404': *6 x-github: githubCloudOnly: true @@ -36743,12 +36784,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *76 - - *284 + - *287 requestBody: required: true content: application/json: - schema: &286 + schema: &289 type: object properties: name: @@ -36786,9 +36827,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *283 + default: *286 '422': *15 '404': *6 x-github: @@ -36813,7 +36854,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *76 - - *284 + - *287 responses: '204': description: Response @@ -36846,7 +36887,7 @@ paths: required: true content: application/json: - schema: *285 + schema: *288 examples: default: value: @@ -36860,9 +36901,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *283 + default: *286 '422': *15 '404': *6 x-github: @@ -36893,15 +36934,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *76 - - *284 + - *287 responses: '200': description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *283 + default: *286 '404': *6 x-github: githubCloudOnly: true @@ -36930,12 +36971,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *76 - - *284 + - *287 requestBody: required: true content: application/json: - schema: *286 + schema: *289 examples: default: value: @@ -36950,9 +36991,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *283 + default: *286 '422': *15 '404': *6 x-github: @@ -36983,7 +37024,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *76 - - *284 + - *287 responses: '204': description: Response @@ -37012,11 +37053,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *76 - - *287 - - *288 - - *289 - *290 - *291 + - *292 + - *293 + - *294 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -37032,14 +37073,14 @@ paths: Can be: `jfrog-artifactory` schema: type: string - - *292 - - *293 - - *294 - - *94 - - *92 - - *93 - *295 - *296 + - *297 + - *100 + - *98 + - *99 + - *298 + - *299 - *17 responses: '200': @@ -37048,9 +37089,9 @@ paths: application/json: schema: type: array - items: *297 + items: *300 examples: - default: *298 + default: *301 '304': *37 '400': *14 '403': *29 @@ -37094,7 +37135,7 @@ paths: type: integer secrets: type: array - items: &299 + items: &302 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -37171,7 +37212,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &575 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -37188,7 +37229,7 @@ paths: - key_id - key examples: - default: &575 + default: &576 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37212,13 +37253,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *76 - - *245 + - *251 responses: '200': description: Response content: application/json: - schema: *299 + schema: *302 examples: default: value: @@ -37247,7 +37288,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *76 - - *245 + - *251 requestBody: required: true content: @@ -37302,7 +37343,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -37327,7 +37368,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *76 - - *245 + - *251 responses: '204': description: Response @@ -37352,7 +37393,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *245 + - *251 - *19 - *17 responses: @@ -37370,9 +37411,9 @@ paths: type: integer repositories: type: array - items: *235 + items: *241 examples: - default: *249 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37394,7 +37435,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *245 + - *251 requestBody: required: true content: @@ -37445,7 +37486,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *245 + - *251 - name: repository_id in: path required: true @@ -37477,7 +37518,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *245 + - *251 - name: repository_id in: path required: true @@ -37514,7 +37555,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *76 - - &583 + - &584 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -37522,7 +37563,7 @@ paths: required: false schema: type: string - - &584 + - &585 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -37530,7 +37571,7 @@ paths: required: false schema: type: string - - &585 + - &586 name: time_period description: |- The time period to filter by. @@ -37546,7 +37587,7 @@ paths: - week - month default: month - - &586 + - &587 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -37561,7 +37602,7 @@ paths: - denied - all default: all - - *264 + - *266 - *17 - *19 responses: @@ -37571,7 +37612,7 @@ paths: application/json: schema: type: array - items: &587 + items: &588 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -37727,7 +37768,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &588 + default: &589 value: - id: 21 number: 42 @@ -37814,11 +37855,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *76 - - *264 - - *258 - - *259 - - *260 - - &589 + - *266 + - *93 + - *94 + - *95 + - &590 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -37844,7 +37885,7 @@ paths: application/json: schema: type: array - items: &590 + items: &591 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -37954,7 +37995,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *265 + items: *97 url: type: string format: uri @@ -37965,7 +38006,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &591 + default: &592 value: - id: 21 number: 42 @@ -38053,7 +38094,7 @@ paths: application/json: schema: type: array - items: &345 + items: &348 title: Package description: A software package type: object @@ -38103,8 +38144,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *300 - required: *301 + properties: *303 + required: *304 nullable: true created_at: type: string @@ -38123,7 +38164,7 @@ paths: - created_at - updated_at examples: - default: &346 + default: &349 value: - id: 197 name: hello_docker @@ -38211,7 +38252,7 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: 200-response: value: @@ -38307,7 +38348,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &430 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -38388,7 +38429,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &428 + default: &431 value: group_id: '123' group_name: Octocat admins @@ -38443,7 +38484,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &428 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -38480,7 +38521,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &426 + default: &429 value: groups: - group_id: '123' @@ -38524,7 +38565,7 @@ paths: application/json: schema: type: array - items: &324 + items: &327 title: Organization Invitation description: Organization Invitation type: object @@ -38571,7 +38612,7 @@ paths: - invitation_teams_url - node_id examples: - default: &325 + default: &328 value: - id: 1 login: monalisa @@ -38638,7 +38679,7 @@ paths: application/json: schema: type: array - items: &379 + items: &382 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -38652,7 +38693,7 @@ paths: - name - description examples: - default: &380 + default: &383 value: - name: add_assignee description: Assign or remove a user @@ -38693,7 +38734,7 @@ paths: application/json: schema: type: array - items: &302 + items: &305 title: Org Hook description: Org Hook type: object @@ -38862,9 +38903,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *305 examples: - default: &303 + default: &306 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -38909,7 +38950,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *76 - - &304 + - &307 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -38922,9 +38963,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *305 examples: - default: *303 + default: *306 '404': *6 x-github: githubCloudOnly: false @@ -38946,7 +38987,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *76 - - *304 + - *307 requestBody: required: false content: @@ -38991,7 +39032,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *305 examples: default: value: @@ -39031,7 +39072,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *76 - - *304 + - *307 responses: '204': description: Response @@ -39057,7 +39098,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *76 - - *304 + - *307 responses: '200': description: Response @@ -39086,7 +39127,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *76 - - *304 + - *307 requestBody: required: false content: @@ -39135,9 +39176,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *76 - - *304 + - *307 - *17 - - *305 + - *308 responses: '200': description: Response @@ -39145,9 +39186,9 @@ paths: application/json: schema: type: array - items: *306 + items: *309 examples: - default: *307 + default: *310 '400': *14 '422': *15 x-github: @@ -39171,16 +39212,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *76 - - *304 + - *307 - *16 responses: '200': description: Response content: application/json: - schema: *308 + schema: *311 examples: - default: *309 + default: *312 '400': *14 '422': *15 x-github: @@ -39204,7 +39245,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *76 - - *304 + - *307 - *16 responses: '202': *39 @@ -39231,7 +39272,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *76 - - *304 + - *307 responses: '204': description: Response @@ -39254,7 +39295,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *76 - - &314 + - &317 name: actor_type in: path description: The type of the actor @@ -39267,14 +39308,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &315 + - &318 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &310 + - &313 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -39282,7 +39323,7 @@ paths: required: true schema: type: string - - &311 + - &314 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -39293,7 +39334,7 @@ paths: type: string - *19 - *17 - - *94 + - *100 - name: sort description: The property to sort the results by. in: query @@ -39376,12 +39417,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *76 - - *310 - - *311 + - *313 + - *314 - *19 - *17 - - *94 - - &320 + - *100 + - &323 name: sort description: The property to sort the results by. in: query @@ -39460,14 +39501,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *76 - - *310 - - *311 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: &312 + schema: &315 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -39483,7 +39524,7 @@ paths: type: integer format: int64 examples: - default: &313 + default: &316 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -39504,23 +39545,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *76 - - &316 + - &319 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *310 - - *311 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *312 + schema: *315 examples: - default: *313 + default: *316 x-github: enabledForGitHubApps: true category: orgs @@ -39539,18 +39580,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *76 - - *310 - - *311 + - *313 - *314 - - *315 + - *317 + - *318 responses: '200': description: Response content: application/json: - schema: *312 + schema: *315 examples: - default: *313 + default: *316 x-github: enabledForGitHubApps: true category: orgs @@ -39568,9 +39609,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *76 - - *310 - - *311 - - &317 + - *313 + - *314 + - &320 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -39583,7 +39624,7 @@ paths: description: Response content: application/json: - schema: &318 + schema: &321 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -39599,7 +39640,7 @@ paths: type: integer format: int64 examples: - default: &319 + default: &322 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -39636,18 +39677,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *76 - - *316 - - *310 - - *311 - - *317 + - *319 + - *313 + - *314 + - *320 responses: '200': description: Response content: application/json: - schema: *318 + schema: *321 examples: - default: *319 + default: *322 x-github: enabledForGitHubApps: true category: orgs @@ -39665,19 +39706,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *76 - - *314 - - *315 - - *310 - - *311 - *317 + - *318 + - *313 + - *314 + - *320 responses: '200': description: Response content: application/json: - schema: *318 + schema: *321 examples: - default: *319 + default: *322 x-github: enabledForGitHubApps: true category: orgs @@ -39695,13 +39736,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *76 - - *316 - - *310 - - *311 + - *319 + - *313 + - *314 - *19 - *17 - - *94 - - *320 + - *100 + - *323 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -39782,7 +39823,7 @@ paths: application/json: schema: *22 examples: - default: &622 + default: &623 value: id: 1 account: @@ -39948,12 +39989,12 @@ paths: application/json: schema: anyOf: - - &322 + - &325 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &321 + limit: &324 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -39978,7 +40019,7 @@ paths: properties: {} additionalProperties: false examples: - default: &323 + default: &326 value: limit: collaborators_only origin: organization @@ -40007,13 +40048,13 @@ paths: required: true content: application/json: - schema: &623 + schema: &624 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *321 + limit: *324 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -40037,9 +40078,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *325 examples: - default: *323 + default: *326 '422': *15 x-github: githubCloudOnly: false @@ -40117,9 +40158,9 @@ paths: application/json: schema: type: array - items: *324 + items: *327 examples: - default: *325 + default: *328 headers: Link: *40 '404': *6 @@ -40197,7 +40238,7 @@ paths: description: Response content: application/json: - schema: *324 + schema: *327 examples: default: value: @@ -40254,7 +40295,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *76 - - &326 + - &329 name: invitation_id description: The unique identifier of the invitation. in: path @@ -40288,7 +40329,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *76 - - *326 + - *329 - *17 - *19 responses: @@ -40298,9 +40339,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: &344 + default: &347 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -40343,7 +40384,7 @@ paths: application/json: schema: type: array - items: *327 + items: *330 examples: default: value: @@ -40428,9 +40469,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *330 examples: - default: &328 + default: &331 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -40463,7 +40504,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *76 - - &329 + - &332 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -40516,9 +40557,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *330 examples: - default: *328 + default: *331 '404': *6 '422': *7 x-github: @@ -40543,7 +40584,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *76 - - *329 + - *332 responses: '204': description: Response @@ -40606,7 +40647,7 @@ paths: - closed - all default: open - - *330 + - *333 - name: type description: Can be the name of an issue type. in: query @@ -40624,8 +40665,8 @@ paths: - updated - comments default: created - - *94 - - *175 + - *100 + - *181 - *17 - *19 responses: @@ -40635,9 +40676,9 @@ paths: application/json: schema: type: array - items: *185 + items: *191 examples: - default: *331 + default: *334 headers: Link: *40 '404': *6 @@ -40697,7 +40738,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 '422': *15 @@ -40718,7 +40759,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - *76 - - *257 + - *263 responses: '204': description: Response if requester is an organization member and user is @@ -40753,7 +40794,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - *76 - - *257 + - *263 responses: '204': description: Response @@ -40780,7 +40821,7 @@ paths: - *17 - *19 - *76 - - *257 + - *263 responses: '200': description: Response @@ -40796,9 +40837,9 @@ paths: type: integer codespaces: type: array - items: *333 + items: *336 examples: - default: *334 + default: *337 '304': *37 '500': *91 '401': *25 @@ -40824,8 +40865,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *76 - - *257 - - &335 + - *263 + - &338 name: codespace_name in: path required: true @@ -40859,16 +40900,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *76 - - *257 - - *335 + - *263 + - *338 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: &542 + default: &543 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -41042,13 +41083,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *76 - - *257 + - *263 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *117 + schema: *123 examples: default: value: @@ -41118,13 +41159,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - *76 - - *257 + - *263 responses: '200': description: Response content: application/json: - schema: &336 + schema: &339 title: Org Membership description: Org Membership type: object @@ -41191,7 +41232,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &337 + response-if-user-has-an-active-admin-membership-with-organization: &340 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -41260,7 +41301,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - *76 - - *257 + - *263 requestBody: required: false content: @@ -41288,9 +41329,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - response-if-user-already-had-membership-with-organization: *337 + response-if-user-already-had-membership-with-organization: *340 '422': *15 '403': *29 x-github: @@ -41315,7 +41356,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - *76 - - *257 + - *263 responses: '204': description: Response @@ -41361,7 +41402,7 @@ paths: application/json: schema: type: array - items: &338 + items: &341 title: Migration description: A migration. type: object @@ -41690,7 +41731,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *341 examples: default: value: @@ -41869,7 +41910,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *76 - - &339 + - &342 name: migration_id description: The unique identifier of the migration. in: path @@ -41896,7 +41937,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *338 + schema: *341 examples: default: value: @@ -42066,7 +42107,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *76 - - *339 + - *342 responses: '302': description: Response @@ -42088,7 +42129,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *76 - - *339 + - *342 responses: '204': description: Response @@ -42112,8 +42153,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *76 - - *339 - - &793 + - *342 + - &794 name: repo_name description: repo_name parameter in: path @@ -42141,7 +42182,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *76 - - *339 + - *342 - *17 - *19 responses: @@ -42151,9 +42192,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: &351 + default: &354 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42362,7 +42403,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &340 + items: &343 title: Organization Role description: Organization roles type: object @@ -42569,7 +42610,7 @@ paths: description: Response content: application/json: - schema: *340 + schema: *343 examples: default: value: @@ -42598,7 +42639,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42621,7 +42662,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *76 - - &341 + - &344 name: team_slug description: The slug of the team name. in: path @@ -42653,8 +42694,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *76 - - *341 - - *284 + - *344 + - *287 responses: '204': description: Response @@ -42684,8 +42725,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *76 - - *341 - - *284 + - *344 + - *287 responses: '204': description: Response @@ -42711,7 +42752,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *76 - - *257 + - *263 responses: '204': description: Response @@ -42737,8 +42778,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *76 - - *257 - - *284 + - *263 + - *287 responses: '204': description: Response @@ -42769,8 +42810,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *76 - - *257 - - *284 + - *263 + - *287 responses: '204': description: Response @@ -42799,13 +42840,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *76 - - *284 + - *287 responses: '200': description: Response content: application/json: - schema: *340 + schema: *343 examples: default: value: @@ -42863,7 +42904,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *76 - - *284 + - *287 requestBody: required: true content: @@ -42902,7 +42943,7 @@ paths: description: Response content: application/json: - schema: *340 + schema: *343 examples: default: value: @@ -42930,7 +42971,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *102 + '409': *108 '404': *6 x-github: githubCloudOnly: true @@ -42956,7 +42997,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *76 - - *284 + - *287 responses: '204': description: Response @@ -42982,7 +43023,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *76 - - *284 + - *287 - *17 - *19 responses: @@ -43060,8 +43101,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *342 - required: *343 + properties: *345 + required: *346 nullable: true required: - id @@ -43076,7 +43117,7 @@ paths: - slug - parent examples: - default: *344 + default: *347 headers: Link: *40 '404': @@ -43106,7 +43147,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *76 - - *284 + - *287 - *17 - *19 responses: @@ -43134,13 +43175,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &399 + items: &402 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *342 - required: *343 + properties: *345 + required: *346 name: nullable: true type: string @@ -43235,7 +43276,7 @@ paths: - type - url examples: - default: *332 + default: *335 headers: Link: *40 '404': @@ -43286,7 +43327,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 x-github: @@ -43312,7 +43353,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *76 - - *257 + - *263 requestBody: required: false content: @@ -43370,7 +43411,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *76 - - *257 + - *263 responses: '204': description: Response @@ -43428,7 +43469,7 @@ paths: - nuget - container - *76 - - &795 + - &796 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -43464,12 +43505,12 @@ paths: application/json: schema: type: array - items: *345 + items: *348 examples: - default: *346 + default: *349 '403': *29 '401': *25 - '400': &797 + '400': &798 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -43491,7 +43532,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &347 + - &350 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -43509,7 +43550,7 @@ paths: - docker - nuget - container - - &348 + - &351 name: package_name description: The name of the package. in: path @@ -43522,7 +43563,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -43574,8 +43615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *347 - - *348 + - *350 + - *351 - *76 responses: '204': @@ -43608,8 +43649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *347 - - *348 + - *350 + - *351 - *76 - name: token description: package token @@ -43642,8 +43683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *347 - - *348 + - *350 + - *351 - *76 - *19 - *17 @@ -43664,7 +43705,7 @@ paths: application/json: schema: type: array - items: &349 + items: &352 title: Package Version description: A version of a software package type: object @@ -43789,10 +43830,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *347 - - *348 + - *350 + - *351 - *76 - - &350 + - &353 name: package_version_id description: Unique identifier of the package version. in: path @@ -43804,7 +43845,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *352 examples: default: value: @@ -43840,10 +43881,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *347 - - *348 - - *76 - *350 + - *351 + - *76 + - *353 responses: '204': description: Response @@ -43875,10 +43916,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *347 - - *348 - - *76 - *350 + - *351 + - *76 + - *353 responses: '204': description: Response @@ -43908,7 +43949,7 @@ paths: - *76 - *17 - *19 - - &352 + - &355 name: sort description: The property by which to sort the results. in: query @@ -43918,8 +43959,8 @@ paths: enum: - created_at default: created_at - - *94 - - &353 + - *100 + - &356 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -43930,7 +43971,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &354 + - &357 name: repository description: The name of the repository to use to filter the results. in: query @@ -43938,7 +43979,7 @@ paths: schema: type: string example: Hello-World - - &355 + - &358 name: permission description: The permission to use to filter the results. in: query @@ -43946,7 +43987,7 @@ paths: schema: type: string example: issues_read - - &356 + - &359 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -43956,7 +43997,7 @@ paths: schema: type: string format: date-time - - &357 + - &360 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -43966,7 +44007,7 @@ paths: schema: type: string format: date-time - - &358 + - &361 name: token_id description: The ID of the token in: query @@ -44236,7 +44277,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *126 + '204': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44277,9 +44318,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: *351 + default: *354 headers: Link: *40 x-github: @@ -44305,14 +44346,14 @@ paths: - *76 - *17 - *19 - - *352 - - *94 - - *353 - - *354 - *355 + - *100 - *356 - *357 - *358 + - *359 + - *360 + - *361 responses: '500': *91 '422': *15 @@ -44551,7 +44592,7 @@ paths: responses: '500': *91 '404': *6 - '204': *126 + '204': *132 '403': *29 '422': *15 x-github: @@ -44592,9 +44633,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: *351 + default: *354 headers: Link: *40 x-github: @@ -44636,7 +44677,7 @@ paths: type: integer configurations: type: array - items: &359 + items: &362 title: Organization private registry description: Private registry configuration for an organization type: object @@ -44889,7 +44930,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &360 + org-private-registry-with-selected-visibility: &363 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -44979,15 +45020,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *76 - - *245 + - *251 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *359 + schema: *362 examples: - default: *360 + default: *363 '404': *6 x-github: githubCloudOnly: false @@ -45009,7 +45050,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *76 - - *245 + - *251 requestBody: required: true content: @@ -45105,7 +45146,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *76 - - *245 + - *251 responses: '204': description: Response @@ -45151,7 +45192,7 @@ paths: application/json: schema: type: array - items: &361 + items: &364 title: Project description: Projects are a way to organize columns and cards of work. @@ -45324,7 +45365,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *364 examples: default: value: @@ -45362,7 +45403,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &443 + '410': &446 description: Gone content: application/json: @@ -45395,8 +45436,8 @@ paths: required: false schema: type: string - - *92 - - *93 + - *98 + - *99 - *17 responses: '200': @@ -45405,7 +45446,7 @@ paths: application/json: schema: type: array - items: &362 + items: &365 title: Projects v2 Project description: A projects v2 project type: object @@ -45475,7 +45516,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &875 + properties: &876 id: type: number description: The unique identifier of the status update. @@ -45523,7 +45564,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &876 + required: &877 - id - node_id - created_at @@ -45548,7 +45589,7 @@ paths: - deleted_at - deleted_by examples: - default: &363 + default: &366 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -45651,7 +45692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &364 + - &367 name: project_number description: The project's number. in: path @@ -45664,9 +45705,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *365 examples: - default: *363 + default: *366 headers: Link: *40 '304': *37 @@ -45688,11 +45729,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *364 + - *367 - *76 - *17 - - *92 - - *93 + - *98 + - *99 responses: '200': description: Response @@ -45700,7 +45741,7 @@ paths: application/json: schema: type: array - items: &365 + items: &368 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -45847,7 +45888,7 @@ paths: - updated_at - project_url examples: - default: &366 + default: &369 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -45890,8 +45931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *364 - - &808 + - *367 + - &809 name: field_id description: The unique identifier of the field. in: path @@ -45904,9 +45945,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *368 examples: - default: *366 + default: *369 headers: Link: *40 '304': *37 @@ -45929,7 +45970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *364 + - *367 - *76 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -45949,8 +45990,8 @@ paths: items: type: string example: fields[]=123,fields[]=456,fields[]=789 - - *92 - - *93 + - *98 + - *99 - *17 responses: '200': @@ -45959,7 +46000,7 @@ paths: application/json: schema: type: array - items: &371 + items: &374 title: Projects v2 Item description: An item belonging to a project type: object @@ -45975,7 +46016,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &370 + content_type: &373 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -46025,7 +46066,7 @@ paths: - updated_at - archived_at examples: - default: &372 + default: &375 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -46720,7 +46761,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *76 - - *364 + - *367 requestBody: required: true description: Details of the item to add to the project. @@ -46757,7 +46798,7 @@ paths: description: Response content: application/json: - schema: &809 + schema: &810 title: Projects v2 Item description: An item belonging to a project type: object @@ -46770,8 +46811,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *185 - - &557 + - *191 + - &558 title: Pull Request Simple description: Pull Request Simple type: object @@ -46877,8 +46918,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *367 - required: *368 + properties: *370 + required: *371 nullable: true active_lock_reason: type: string @@ -46923,7 +46964,7 @@ paths: nullable: true requested_teams: type: array - items: *266 + items: *269 nullable: true head: type: object @@ -46974,7 +47015,7 @@ paths: _links: type: object properties: - comments: &369 + comments: &372 title: Link description: Hypermedia Link type: object @@ -46983,13 +47024,13 @@ paths: type: string required: - href - commits: *369 - statuses: *369 - html: *369 - issue: *369 - review_comments: *369 - review_comment: *369 - self: *369 + commits: *372 + statuses: *372 + html: *372 + issue: *372 + review_comments: *372 + review_comment: *372 + self: *372 required: - comments - commits @@ -46999,8 +47040,8 @@ paths: - review_comments - review_comment - self - author_association: *172 - auto_merge: &668 + author_association: *178 + auto_merge: &669 title: Auto merge description: The status of auto merging a pull request. type: object @@ -47102,7 +47143,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *370 + content_type: *373 creator: *4 created_at: type: string @@ -47135,7 +47176,7 @@ paths: - updated_at - archived_at examples: - default: &810 + default: &811 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -47209,9 +47250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *364 + - *367 - *76 - - &373 + - &376 name: item_id description: The unique identifier of the project item. in: path @@ -47234,9 +47275,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *374 examples: - default: *372 + default: *375 headers: Link: *40 '304': *37 @@ -47257,9 +47298,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *364 + - *367 - *76 - - *373 + - *376 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -47329,9 +47370,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *374 examples: - default: *372 + default: *375 '401': *25 '403': *29 '404': *6 @@ -47351,9 +47392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *364 + - *367 - *76 - - *373 + - *376 responses: '204': description: Response @@ -47385,9 +47426,9 @@ paths: application/json: schema: type: array - items: *122 + items: *128 examples: - default: *123 + default: *129 '403': *29 '404': *6 x-github: @@ -47425,7 +47466,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *122 + items: *128 minItems: 1 maxItems: 100 required: @@ -47455,9 +47496,9 @@ paths: application/json: schema: type: array - items: *122 + items: *128 examples: - default: *123 + default: *129 '403': *29 '404': *6 x-github: @@ -47479,15 +47520,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *76 - - *124 + - *130 responses: '200': description: Response content: application/json: - schema: *122 + schema: *128 examples: - default: *125 + default: *131 '403': *29 '404': *6 x-github: @@ -47511,12 +47552,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *76 - - *124 + - *130 requestBody: required: true content: application/json: - schema: *374 + schema: *377 examples: default: value: @@ -47532,9 +47573,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *128 examples: - default: *125 + default: *131 '403': *29 '404': *6 x-github: @@ -47558,9 +47599,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *76 - - *124 + - *130 responses: - '204': *126 + '204': *132 '403': *29 '404': *6 x-github: @@ -47619,7 +47660,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &375 + items: &378 title: Custom Property Value description: Custom property name and associated value type: object @@ -47706,7 +47747,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *375 + items: *378 required: - repository_names - properties @@ -47759,7 +47800,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 x-github: @@ -47779,7 +47820,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *76 - - *257 + - *263 responses: '204': description: Response if user is a public member @@ -47804,7 +47845,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *76 - - *257 + - *263 responses: '204': description: Response @@ -47826,7 +47867,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *76 - - *257 + - *263 responses: '204': description: Response @@ -47897,9 +47938,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: *351 + default: *354 headers: Link: *40 x-github: @@ -48102,7 +48143,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &448 title: Full Repository description: Full Repository type: object @@ -48379,8 +48420,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *376 - required: *377 + properties: *379 + required: *380 nullable: true temp_clone_token: type: string @@ -48467,8 +48508,8 @@ paths: title: License Simple description: License Simple type: object - properties: *186 - required: *187 + properties: *192 + required: *193 nullable: true organization: title: Simple User @@ -48495,7 +48536,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &562 + properties: &563 url: type: string format: uri @@ -48511,12 +48552,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &563 + required: &564 - url - key - name - html_url - security_and_analysis: *378 + security_and_analysis: *381 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -48600,7 +48641,7 @@ paths: - network_count - subscribers_count examples: - default: &447 + default: &450 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -49126,9 +49167,9 @@ paths: application/json: schema: type: array - items: *379 + items: *382 examples: - default: *380 + default: *383 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -49153,7 +49194,7 @@ paths: - *76 - *17 - *19 - - &690 + - &691 name: targets description: | A comma-separated list of rule targets to filter by. @@ -49171,7 +49212,7 @@ paths: application/json: schema: type: array - items: *155 + items: *161 examples: default: value: @@ -49239,26 +49280,20 @@ paths: - push - repository default: branch - enforcement: *133 + enforcement: *139 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *134 - conditions: *381 + items: *140 + conditions: *384 rules: type: array description: An array of rules within the ruleset. - items: &383 + items: &386 title: Repository Rule type: object description: A repository rule. oneOf: - - *135 - - *136 - - *137 - - *138 - - *139 - - *140 - *141 - *142 - *143 @@ -49273,6 +49308,12 @@ paths: - *152 - *153 - *154 + - *155 + - *156 + - *157 + - *158 + - *159 + - *160 required: - name - enforcement @@ -49310,9 +49351,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *161 examples: - default: &382 + default: &385 value: id: 21 name: super cool ruleset @@ -49367,7 +49408,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *76 - - &692 + - &693 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -49377,16 +49418,16 @@ paths: schema: type: string x-multi-segment: true - - *264 - - *260 - - &693 + - *266 + - *95 + - &694 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &694 + - &695 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -49406,7 +49447,7 @@ paths: description: Response content: application/json: - schema: &695 + schema: &696 title: Rule Suites description: Response type: array @@ -49461,7 +49502,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &696 + default: &697 value: - id: 21 actor_id: 12 @@ -49505,7 +49546,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *76 - - &697 + - &698 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -49521,7 +49562,7 @@ paths: description: Response content: application/json: - schema: &698 + schema: &699 title: Rule Suite description: Response type: object @@ -49620,7 +49661,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &699 + default: &700 value: id: 21 actor_id: 12 @@ -49693,9 +49734,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *161 examples: - default: *382 + default: *385 '404': *6 '500': *91 put: @@ -49739,16 +49780,16 @@ paths: - tag - push - repository - enforcement: *133 + enforcement: *139 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *134 - conditions: *381 + items: *140 + conditions: *384 rules: description: An array of rules within the ruleset. type: array - items: *383 + items: *386 examples: default: value: @@ -49783,9 +49824,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *161 examples: - default: *382 + default: *385 '404': *6 '500': *91 delete: @@ -49842,9 +49883,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - default: *384 + default: *387 '404': *6 '500': *91 x-github: @@ -49881,7 +49922,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *388 examples: default: value: @@ -49944,14 +49985,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *76 - - *386 - - *387 - - *388 - *389 - - *94 + - *390 + - *391 + - *392 + - *100 - *19 - *17 - - &701 + - &702 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -49961,7 +50002,7 @@ paths: required: false schema: type: string - - &702 + - &703 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -49971,10 +50012,10 @@ paths: required: false schema: type: string - - *390 - - *391 - - *392 - *393 + - *394 + - *395 + - *396 responses: '200': description: Response @@ -49982,13 +50023,13 @@ paths: application/json: schema: type: array - items: *394 + items: *397 examples: - default: *395 + default: *398 headers: Link: *40 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50019,9 +50060,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *399 examples: - default: *397 + default: *400 '403': *29 '404': *6 patch: @@ -50050,7 +50091,7 @@ paths: schema: type: object properties: - pattern_config_version: *162 + pattern_config_version: *168 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -50076,7 +50117,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *162 + custom_pattern_version: *168 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -50112,7 +50153,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *102 + '409': *108 '422': *15 "/orgs/{org}/security-advisories": get: @@ -50131,7 +50172,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - *76 - - *94 + - *100 - name: sort description: The property to sort the results by. in: query @@ -50143,8 +50184,8 @@ paths: - updated - published default: created - - *92 - - *93 + - *98 + - *99 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -50174,7 +50215,7 @@ paths: application/json: schema: type: array - items: &723 + items: &724 description: A repository security advisory. type: object properties: @@ -50361,7 +50402,7 @@ paths: required: - vector_string - score - cvss_severities: *108 + cvss_severities: *114 cwes: type: array nullable: true @@ -50394,7 +50435,7 @@ paths: login: type: string description: The username of the user credited. - type: *398 + type: *401 credits_detailed: type: array nullable: true @@ -50404,7 +50445,7 @@ paths: type: object properties: user: *4 - type: *398 + type: *401 state: type: string description: The state of the user's acceptance of the @@ -50428,14 +50469,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *266 + items: *269 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *103 + - *109 required: - ghsa_id - cve_id @@ -50465,7 +50506,7 @@ paths: - private_fork additionalProperties: false examples: - default: &724 + default: &725 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -50852,9 +50893,9 @@ paths: application/json: schema: type: array - items: *399 + items: *402 examples: - default: *344 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50878,7 +50919,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *76 - - *341 + - *344 responses: '204': description: Response @@ -50904,7 +50945,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *76 - - *341 + - *344 responses: '204': description: Response @@ -50939,9 +50980,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *403 examples: - default: *401 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -50966,7 +51007,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *76 - - *402 + - *405 - *17 - *19 responses: @@ -50974,9 +51015,9 @@ paths: description: Success content: application/json: - schema: *403 + schema: *406 examples: - default: *404 + default: *407 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -51004,9 +51045,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *408 examples: - default: *406 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -51034,9 +51075,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *410 examples: - default: *408 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -51074,9 +51115,9 @@ paths: type: integer network_configurations: type: array - items: *119 + items: *125 examples: - default: *409 + default: *412 headers: Link: *40 x-github: @@ -51139,9 +51180,9 @@ paths: description: Response content: application/json: - schema: *119 + schema: *125 examples: - default: *120 + default: *126 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51162,15 +51203,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *76 - - *121 + - *127 responses: '200': description: Response content: application/json: - schema: *119 + schema: *125 examples: - default: *120 + default: *126 headers: Link: *40 x-github: @@ -51192,7 +51233,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *76 - - *121 + - *127 requestBody: required: true content: @@ -51231,9 +51272,9 @@ paths: description: Response content: application/json: - schema: *119 + schema: *125 examples: - default: *120 + default: *126 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51253,7 +51294,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *76 - - *121 + - *127 responses: '204': description: Response @@ -51277,15 +51318,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *76 - - *410 + - *413 responses: '200': description: Response content: application/json: - schema: *411 + schema: *414 examples: - default: *412 + default: *415 headers: Link: *40 x-github: @@ -51323,7 +51364,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &437 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -51369,7 +51410,7 @@ paths: type: string nullable: true examples: - default: &435 + default: &438 value: groups: - group_id: '123' @@ -51415,7 +51456,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *76 - - *341 + - *344 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -51447,13 +51488,13 @@ paths: application/json: schema: type: array - items: *166 + items: *172 examples: - default: *167 + default: *173 '500': *91 '403': *29 '404': *6 - '422': *168 + '422': *174 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51481,9 +51522,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *344 + default: *347 headers: Link: *40 '403': *29 @@ -51577,7 +51618,7 @@ paths: description: Response content: application/json: - schema: &413 + schema: &416 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -51640,8 +51681,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *342 - required: *343 + properties: *345 + required: *346 nullable: true members_count: type: integer @@ -51887,7 +51928,7 @@ paths: - repos_count - organization examples: - default: &414 + default: &417 value: id: 1 node_id: MDQ6VGVhbTE= @@ -51958,15 +51999,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *76 - - *341 + - *344 responses: '200': description: Response content: application/json: - schema: *413 + schema: *416 examples: - default: *414 + default: *417 '404': *6 x-github: githubCloudOnly: false @@ -51988,7 +52029,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *76 - - *341 + - *344 requestBody: required: false content: @@ -52050,16 +52091,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *413 + schema: *416 examples: - default: *414 + default: *417 '201': description: Response content: application/json: - schema: *413 + schema: *416 examples: - default: *414 + default: *417 '404': *6 '422': *15 '403': *29 @@ -52085,7 +52126,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *76 - - *341 + - *344 responses: '204': description: Response @@ -52112,8 +52153,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *76 - - *341 - - *94 + - *344 + - *100 - *17 - *19 - name: pinned @@ -52129,7 +52170,7 @@ paths: application/json: schema: type: array - items: &415 + items: &418 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -52208,7 +52249,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *173 + reactions: *179 required: - author - body @@ -52228,7 +52269,7 @@ paths: - updated_at - url examples: - default: &767 + default: &768 value: - author: login: octocat @@ -52303,7 +52344,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *76 - - *341 + - *344 requestBody: required: true content: @@ -52337,9 +52378,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: - default: &416 + default: &419 value: author: login: octocat @@ -52412,8 +52453,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *76 - - *341 - - &417 + - *344 + - &420 name: discussion_number description: The number that identifies the discussion. in: path @@ -52425,9 +52466,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: - default: *416 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52450,8 +52491,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *76 - - *341 - - *417 + - *344 + - *420 requestBody: required: false content: @@ -52474,9 +52515,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: - default: &768 + default: &769 value: author: login: octocat @@ -52547,8 +52588,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *76 - - *341 - - *417 + - *344 + - *420 responses: '204': description: Response @@ -52575,9 +52616,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *76 - - *341 - - *417 - - *94 + - *344 + - *420 + - *100 - *17 - *19 responses: @@ -52587,7 +52628,7 @@ paths: application/json: schema: type: array - items: &418 + items: &421 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -52644,7 +52685,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *173 + reactions: *179 required: - author - body @@ -52659,7 +52700,7 @@ paths: - updated_at - url examples: - default: &769 + default: &770 value: - author: login: octocat @@ -52728,8 +52769,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *76 - - *341 - - *417 + - *344 + - *420 requestBody: required: true content: @@ -52751,9 +52792,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *421 examples: - default: &419 + default: &422 value: author: login: octocat @@ -52820,9 +52861,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *76 - - *341 - - *417 - - &420 + - *344 + - *420 + - &423 name: comment_number description: The number that identifies the comment. in: path @@ -52834,9 +52875,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *421 examples: - default: *419 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52859,9 +52900,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *76 - - *341 - - *417 + - *344 - *420 + - *423 requestBody: required: true content: @@ -52883,9 +52924,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *421 examples: - default: &770 + default: &771 value: author: login: octocat @@ -52950,9 +52991,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *76 - - *341 - - *417 + - *344 - *420 + - *423 responses: '204': description: Response @@ -52979,9 +53020,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *76 - - *341 - - *417 + - *344 - *420 + - *423 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -53007,7 +53048,7 @@ paths: application/json: schema: type: array - items: &421 + items: &424 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -53050,7 +53091,7 @@ paths: - content - created_at examples: - default: &423 + default: &426 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -53101,9 +53142,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *76 - - *341 - - *417 + - *344 - *420 + - *423 requestBody: required: true content: @@ -53136,9 +53177,9 @@ paths: team discussion comment content: application/json: - schema: *421 + schema: *424 examples: - default: &422 + default: &425 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -53167,9 +53208,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53193,10 +53234,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *76 - - *341 - - *417 + - *344 - *420 - - &424 + - *423 + - &427 name: reaction_id description: The unique identifier of the reaction. in: path @@ -53229,8 +53270,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *76 - - *341 - - *417 + - *344 + - *420 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -53256,9 +53297,9 @@ paths: application/json: schema: type: array - items: *421 + items: *424 examples: - default: *423 + default: *426 headers: Link: *40 x-github: @@ -53285,8 +53326,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *76 - - *341 - - *417 + - *344 + - *420 requestBody: required: true content: @@ -53318,16 +53359,16 @@ paths: description: Response content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '201': description: Response content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53351,9 +53392,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *76 - - *341 - - *417 - - *424 + - *344 + - *420 + - *427 responses: '204': description: Response @@ -53377,15 +53418,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *76 - - *341 + - *344 responses: '200': description: Response content: application/json: - schema: *425 + schema: *428 examples: - default: *426 + default: *429 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -53405,7 +53446,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: - *76 - - *341 + - *344 requestBody: required: true content: @@ -53428,9 +53469,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *430 examples: - default: *428 + default: *431 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -53450,7 +53491,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: - *76 - - *341 + - *344 responses: '204': description: Response @@ -53475,7 +53516,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *76 - - *341 + - *344 - *17 - *19 responses: @@ -53485,9 +53526,9 @@ paths: application/json: schema: type: array - items: *324 + items: *327 examples: - default: *325 + default: *328 headers: Link: *40 x-github: @@ -53510,7 +53551,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *76 - - *341 + - *344 - name: role description: Filters members returned by their role in the team. in: query @@ -53533,7 +53574,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 x-github: @@ -53564,14 +53605,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *76 - - *341 - - *257 + - *344 + - *263 responses: '200': description: Response content: application/json: - schema: &429 + schema: &432 title: Team Membership description: Team Membership type: object @@ -53598,7 +53639,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &771 + response-if-user-is-a-team-maintainer: &772 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -53635,8 +53676,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *76 - - *341 - - *257 + - *344 + - *263 requestBody: required: false content: @@ -53661,9 +53702,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *432 examples: - response-if-users-membership-with-team-is-now-pending: &772 + response-if-users-membership-with-team-is-now-pending: &773 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -53699,8 +53740,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *76 - - *341 - - *257 + - *344 + - *263 responses: '204': description: Response @@ -53726,7 +53767,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *76 - - *341 + - *344 - *17 - *19 responses: @@ -53736,7 +53777,7 @@ paths: application/json: schema: type: array - items: &430 + items: &433 title: Team Project description: A team's access to a project. type: object @@ -53804,7 +53845,7 @@ paths: - updated_at - permissions examples: - default: &773 + default: &774 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -53868,8 +53909,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *76 - - *341 - - &431 + - *344 + - &434 name: project_id description: The unique identifier of the project. in: path @@ -53881,9 +53922,9 @@ paths: description: Response content: application/json: - schema: *430 + schema: *433 examples: - default: &774 + default: &775 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -53946,8 +53987,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *76 - - *341 - - *431 + - *344 + - *434 requestBody: required: false content: @@ -54014,8 +54055,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *76 - - *341 - - *431 + - *344 + - *434 responses: '204': description: Response @@ -54043,7 +54084,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *76 - - *341 + - *344 - *17 - *19 responses: @@ -54053,9 +54094,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: *351 + default: *354 headers: Link: *40 x-github: @@ -54085,15 +54126,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *76 - - *341 - - *432 - - *433 + - *344 + - *435 + - *436 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &775 + schema: &776 title: Team Repository description: A team's access to a repository. type: object @@ -54116,8 +54157,8 @@ paths: title: License Simple description: License Simple type: object - properties: *186 - required: *187 + properties: *192 + required: *193 nullable: true forks: type: integer @@ -54663,9 +54704,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *76 - - *341 - - *432 - - *433 + - *344 + - *435 + - *436 requestBody: required: false content: @@ -54711,9 +54752,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *76 - - *341 - - *432 - - *433 + - *344 + - *435 + - *436 responses: '204': description: Response @@ -54740,15 +54781,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *76 - - *341 + - *344 responses: '200': description: Response content: application/json: - schema: *434 + schema: *437 examples: - default: *435 + default: *438 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -54771,7 +54812,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *76 - - *341 + - *344 requestBody: required: true content: @@ -54814,7 +54855,7 @@ paths: description: Response content: application/json: - schema: *434 + schema: *437 examples: default: value: @@ -54847,7 +54888,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *76 - - *341 + - *344 - *17 - *19 responses: @@ -54857,9 +54898,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - response-if-child-teams-exist: &776 + response-if-child-teams-exist: &777 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -54986,7 +55027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &436 + - &439 name: card_id description: The unique identifier of the card. in: path @@ -54998,7 +55039,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &440 title: Project Card description: Project cards represent a scope of work. type: object @@ -55065,7 +55106,7 @@ paths: - created_at - updated_at examples: - default: &438 + default: &441 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -55121,7 +55162,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *436 + - *439 requestBody: required: false content: @@ -55148,9 +55189,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *440 examples: - default: *438 + default: *441 '304': *37 '403': *29 '401': *25 @@ -55177,7 +55218,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *436 + - *439 responses: '204': description: Response @@ -55221,7 +55262,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *436 + - *439 requestBody: required: true content: @@ -55332,7 +55373,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &439 + - &442 name: column_id description: The unique identifier of the column. in: path @@ -55344,7 +55385,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &443 title: Project Column description: Project columns contain cards of work. type: object @@ -55390,7 +55431,7 @@ paths: - created_at - updated_at examples: - default: &441 + default: &444 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -55425,7 +55466,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *439 + - *442 requestBody: required: true content: @@ -55449,9 +55490,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *443 examples: - default: *441 + default: *444 '304': *37 '403': *29 '401': *25 @@ -55476,7 +55517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *439 + - *442 responses: '204': description: Response @@ -55505,7 +55546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *439 + - *442 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -55526,7 +55567,7 @@ paths: application/json: schema: type: array - items: *437 + items: *440 examples: default: value: @@ -55585,7 +55626,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *439 + - *442 requestBody: required: true content: @@ -55625,9 +55666,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *440 examples: - default: *438 + default: *441 '304': *37 '403': *29 '401': *25 @@ -55637,8 +55678,8 @@ paths: application/json: schema: oneOf: - - *212 - - *213 + - *218 + - *219 '503': description: Response content: @@ -55683,7 +55724,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *439 + - *442 requestBody: required: true content: @@ -55743,15 +55784,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *431 + - *434 responses: '200': description: Response content: application/json: - schema: *361 + schema: *364 examples: - default: &442 + default: &445 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -55808,7 +55849,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *431 + - *434 requestBody: required: false content: @@ -55854,9 +55895,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *364 examples: - default: *442 + default: *445 '404': description: Not Found if the authenticated user does not have access to the project @@ -55877,7 +55918,7 @@ paths: items: type: string '401': *25 - '410': *443 + '410': *446 '422': *7 x-github: githubCloudOnly: false @@ -55900,7 +55941,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *431 + - *434 responses: '204': description: Delete Success @@ -55921,7 +55962,7 @@ paths: items: type: string '401': *25 - '410': *443 + '410': *446 '404': *6 x-github: githubCloudOnly: false @@ -55945,7 +55986,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *431 + - *434 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -55972,7 +56013,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 '404': *6 @@ -56002,8 +56043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *431 - - *257 + - *434 + - *263 requestBody: required: false content: @@ -56055,8 +56096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *431 - - *257 + - *434 + - *263 responses: '204': description: Response @@ -56087,8 +56128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *431 - - *257 + - *434 + - *263 responses: '200': description: Response @@ -56161,7 +56202,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *431 + - *434 - *17 - *19 responses: @@ -56171,7 +56212,7 @@ paths: application/json: schema: type: array - items: *440 + items: *443 examples: default: value: @@ -56209,7 +56250,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *431 + - *434 requestBody: required: true content: @@ -56232,7 +56273,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *443 examples: default: value: @@ -56297,7 +56338,7 @@ paths: resources: type: object properties: - core: &444 + core: &447 title: Rate Limit type: object properties: @@ -56314,21 +56355,21 @@ paths: - remaining - reset - used - graphql: *444 - search: *444 - code_search: *444 - source_import: *444 - integration_manifest: *444 - code_scanning_upload: *444 - actions_runner_registration: *444 - scim: *444 - dependency_snapshots: *444 - dependency_sbom: *444 - code_scanning_autofix: *444 + graphql: *447 + search: *447 + code_search: *447 + source_import: *447 + integration_manifest: *447 + code_scanning_upload: *447 + actions_runner_registration: *447 + scim: *447 + dependency_snapshots: *447 + dependency_sbom: *447 + code_scanning_autofix: *447 required: - core - search - rate: *444 + rate: *447 required: - rate - resources @@ -56433,14 +56474,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *445 + schema: *448 examples: default-response: summary: Default response @@ -56945,7 +56986,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *446 + '301': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56963,8 +57004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: false content: @@ -57221,10 +57262,10 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *447 - '307': &448 + default: *450 + '307': &451 description: Temporary Redirect content: application/json: @@ -57253,8 +57294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -57276,9 +57317,9 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *448 + '307': *451 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57300,11 +57341,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 - - &463 + - &466 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -57327,7 +57368,7 @@ paths: type: integer artifacts: type: array - items: &449 + items: &452 title: Artifact description: An artifact type: object @@ -57405,7 +57446,7 @@ paths: - expires_at - updated_at examples: - default: &464 + default: &467 value: total_count: 2 artifacts: @@ -57466,9 +57507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *432 - - *433 - - &450 + - *435 + - *436 + - &453 name: artifact_id description: The unique identifier of the artifact. in: path @@ -57480,7 +57521,7 @@ paths: description: Response content: application/json: - schema: *449 + schema: *452 examples: default: value: @@ -57518,9 +57559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *432 - - *433 - - *450 + - *435 + - *436 + - *453 responses: '204': description: Response @@ -57544,9 +57585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *432 - - *433 - - *450 + - *435 + - *436 + - *453 - name: archive_format in: path required: true @@ -57560,7 +57601,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57583,14 +57624,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *451 + schema: *454 examples: default: value: @@ -57616,11 +57657,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 - - &452 + - &455 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -57648,13 +57689,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *94 + - *100 responses: '200': description: Response content: application/json: - schema: &453 + schema: &456 title: Repository actions caches description: Repository actions caches type: object @@ -57696,7 +57737,7 @@ paths: - total_count - actions_caches examples: - default: &454 + default: &457 value: total_count: 1 actions_caches: @@ -57728,23 +57769,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *432 - - *433 + - *435 + - *436 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *452 + - *455 responses: '200': description: Response content: application/json: - schema: *453 + schema: *456 examples: - default: *454 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57764,8 +57805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *432 - - *433 + - *435 + - *436 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -57796,9 +57837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *432 - - *433 - - &455 + - *435 + - *436 + - &458 name: job_id description: The unique identifier of the job. in: path @@ -57810,7 +57851,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &470 title: Job description: Information of a job execution in a workflow run type: object @@ -58117,9 +58158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *432 - - *433 - - *455 + - *435 + - *436 + - *458 responses: '302': description: Response @@ -58147,9 +58188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *432 - - *433 - - *455 + - *435 + - *436 + - *458 requestBody: required: false content: @@ -58170,7 +58211,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -58194,8 +58235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Status response @@ -58245,8 +58286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -58280,7 +58321,7 @@ paths: description: Empty response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -58309,8 +58350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -58328,7 +58369,7 @@ paths: type: integer secrets: type: array - items: &469 + items: &472 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -58348,7 +58389,7 @@ paths: - created_at - updated_at examples: - default: &470 + default: &473 value: total_count: 2 secrets: @@ -58381,9 +58422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *432 - - *433 - - *456 + - *435 + - *436 + - *459 - *19 responses: '200': @@ -58400,7 +58441,7 @@ paths: type: integer variables: type: array - items: &473 + items: &476 title: Actions Variable type: object properties: @@ -58430,7 +58471,7 @@ paths: - created_at - updated_at examples: - default: &474 + default: &477 value: total_count: 2 variables: @@ -58463,8 +58504,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -58473,11 +58514,11 @@ paths: schema: type: object properties: - enabled: &457 + enabled: &460 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *49 - selected_actions_url: *222 + selected_actions_url: *228 sha_pinning_required: *50 required: - enabled @@ -58508,8 +58549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -58520,7 +58561,7 @@ paths: schema: type: object properties: - enabled: *457 + enabled: *460 allowed_actions: *49 sha_pinning_required: *50 required: @@ -58553,14 +58594,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: &458 + schema: &461 type: object properties: access_level: @@ -58578,7 +58619,7 @@ paths: required: - access_level examples: - default: &459 + default: &462 value: access_level: organization x-github: @@ -58603,15 +58644,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: application/json: - schema: *458 + schema: *461 examples: - default: *459 + default: *462 responses: '204': description: Response @@ -58635,14 +58676,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *224 + schema: *230 examples: default: value: @@ -58666,8 +58707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Empty response for successful settings update @@ -58677,7 +58718,7 @@ paths: required: true content: application/json: - schema: *225 + schema: *231 examples: default: summary: Set retention days @@ -58701,8 +58742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -58710,7 +58751,7 @@ paths: application/json: schema: *51 examples: - default: *226 + default: *232 '404': *6 x-github: enabledForGitHubApps: true @@ -58729,8 +58770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -58764,14 +58805,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *227 + schema: *233 examples: default: *52 '403': *29 @@ -58793,13 +58834,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: application/json: - schema: *228 + schema: *234 examples: default: *52 responses: @@ -58825,8 +58866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -58857,8 +58898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -58890,14 +58931,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *231 + schema: *237 examples: default: *58 x-github: @@ -58920,8 +58961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Success response @@ -58932,7 +58973,7 @@ paths: required: true content: application/json: - schema: *232 + schema: *238 examples: default: *58 x-github: @@ -58961,8 +59002,8 @@ paths: in: query schema: type: string - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -59006,8 +59047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -59015,9 +59056,9 @@ paths: application/json: schema: type: array - items: *236 + items: *242 examples: - default: *237 + default: *243 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59039,8 +59080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -59083,10 +59124,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *238 + '201': *244 '404': *6 '422': *7 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59114,8 +59155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '201': description: Response @@ -59123,7 +59164,7 @@ paths: application/json: schema: *68 examples: - default: *239 + default: *245 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59151,8 +59192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '201': description: Response @@ -59160,7 +59201,7 @@ paths: application/json: schema: *68 examples: - default: *240 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59182,8 +59223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *64 responses: '200': @@ -59192,7 +59233,7 @@ paths: application/json: schema: *65 examples: - default: *241 + default: *247 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59213,8 +59254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *64 responses: '204': @@ -59241,8 +59282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *64 responses: '200': *70 @@ -59267,8 +59308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *64 requestBody: required: true @@ -59317,8 +59358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *64 requestBody: required: true @@ -59368,11 +59409,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *64 responses: - '200': *242 + '200': *248 '404': *6 x-github: githubCloudOnly: false @@ -59399,10 +59440,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *64 - - *243 + - *249 responses: '200': *70 '404': *6 @@ -59430,9 +59471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *432 - - *433 - - &477 + - *435 + - *436 + - &480 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -59440,7 +59481,7 @@ paths: required: false schema: type: string - - &478 + - &481 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -59448,7 +59489,7 @@ paths: required: false schema: type: string - - &479 + - &482 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -59457,7 +59498,7 @@ paths: required: false schema: type: string - - &480 + - &483 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -59484,7 +59525,7 @@ paths: - pending - *17 - *19 - - &481 + - &484 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -59493,7 +59534,7 @@ paths: schema: type: string format: date-time - - &460 + - &463 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -59502,13 +59543,13 @@ paths: schema: type: boolean default: false - - &482 + - &485 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &483 + - &486 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -59531,7 +59572,7 @@ paths: type: integer workflow_runs: type: array - items: &461 + items: &464 title: Workflow Run description: An invocation of a workflow type: object @@ -59626,7 +59667,7 @@ paths: that triggered the run. type: array nullable: true - items: &504 + items: &505 title: Pull Request Minimal type: object properties: @@ -59745,7 +59786,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &508 + properties: &509 id: type: string description: SHA for the commit @@ -59796,7 +59837,7 @@ paths: - name - email nullable: true - required: &509 + required: &510 - id - tree_id - message @@ -59804,8 +59845,8 @@ paths: - author - committer nullable: true - repository: *235 - head_repository: *235 + repository: *241 + head_repository: *241 head_repository_id: type: integer example: 5 @@ -59843,7 +59884,7 @@ paths: - workflow_url - pull_requests examples: - default: &484 + default: &487 value: total_count: 1 workflow_runs: @@ -60079,24 +60120,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *432 - - *433 - - &462 + - *435 + - *436 + - &465 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *460 + - *463 responses: '200': description: Response content: application/json: - schema: *461 + schema: *464 examples: - default: &465 + default: &468 value: id: 30433642 name: Build @@ -60337,9 +60378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 responses: '204': description: Response @@ -60362,9 +60403,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 responses: '200': description: Response @@ -60483,15 +60524,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 responses: '201': description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -60518,12 +60559,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 - *17 - *19 - - *463 + - *466 responses: '200': description: Response @@ -60539,9 +60580,9 @@ paths: type: integer artifacts: type: array - items: *449 + items: *452 examples: - default: *464 + default: *467 headers: Link: *40 x-github: @@ -60565,25 +60606,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *432 - - *433 - - *462 - - &466 + - *435 + - *436 + - *465 + - &469 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *460 + - *463 responses: '200': description: Response content: application/json: - schema: *461 + schema: *464 examples: - default: *465 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60606,10 +60647,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *432 - - *433 - - *462 - - *466 + - *435 + - *436 + - *465 + - *469 - *17 - *19 responses: @@ -60627,9 +60668,9 @@ paths: type: integer jobs: type: array - items: *467 + items: *470 examples: - default: &468 + default: &471 value: total_count: 1 jobs: @@ -60742,10 +60783,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *432 - - *433 - - *462 - - *466 + - *435 + - *436 + - *465 + - *469 responses: '302': description: Response @@ -60773,19 +60814,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 responses: '202': description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60808,9 +60849,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 requestBody: required: true content: @@ -60877,19 +60918,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 responses: '202': description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60912,9 +60953,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -60944,9 +60985,9 @@ paths: type: integer jobs: type: array - items: *467 + items: *470 examples: - default: *468 + default: *471 headers: Link: *40 x-github: @@ -60971,9 +61012,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 responses: '302': description: Response @@ -61000,9 +61041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 responses: '204': description: Response @@ -61029,9 +61070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 responses: '200': description: Response @@ -61091,7 +61132,7 @@ paths: items: type: object properties: - type: &592 + type: &593 type: string description: The type of reviewer. enum: @@ -61101,7 +61142,7 @@ paths: reviewer: anyOf: - *4 - - *266 + - *269 required: - environment - wait_timer @@ -61176,9 +61217,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 requestBody: required: true content: @@ -61225,7 +61266,7 @@ paths: application/json: schema: type: array - items: &578 + items: &579 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -61313,8 +61354,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 required: - id - node_id @@ -61331,7 +61372,7 @@ paths: - created_at - updated_at examples: - default: &579 + default: &580 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -61387,9 +61428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 requestBody: required: false content: @@ -61410,7 +61451,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -61433,9 +61474,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 requestBody: required: false content: @@ -61456,7 +61497,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -61489,9 +61530,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 responses: '200': description: Response @@ -61628,8 +61669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -61647,9 +61688,9 @@ paths: type: integer secrets: type: array - items: *469 + items: *472 examples: - default: *470 + default: *473 headers: Link: *40 x-github: @@ -61674,16 +61715,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *471 + schema: *474 examples: - default: *472 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61705,17 +61746,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *432 - - *433 - - *245 + - *435 + - *436 + - *251 responses: '200': description: Response content: application/json: - schema: *469 + schema: *472 examples: - default: &605 + default: &606 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -61741,9 +61782,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *432 - - *433 - - *245 + - *435 + - *436 + - *251 requestBody: required: true content: @@ -61774,7 +61815,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -61800,9 +61841,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *432 - - *433 - - *245 + - *435 + - *436 + - *251 responses: '204': description: Response @@ -61827,9 +61868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *432 - - *433 - - *456 + - *435 + - *436 + - *459 - *19 responses: '200': @@ -61846,9 +61887,9 @@ paths: type: integer variables: type: array - items: *473 + items: *476 examples: - default: *474 + default: *477 headers: Link: *40 x-github: @@ -61871,8 +61912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -61899,7 +61940,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -61924,17 +61965,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *432 - - *433 - - *248 + - *435 + - *436 + - *254 responses: '200': description: Response content: application/json: - schema: *473 + schema: *476 examples: - default: &606 + default: &607 value: name: USERNAME value: octocat @@ -61960,9 +62001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *432 - - *433 - - *248 + - *435 + - *436 + - *254 requestBody: required: true content: @@ -62004,9 +62045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *432 - - *433 - - *248 + - *435 + - *436 + - *254 responses: '204': description: Response @@ -62031,8 +62072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -62050,7 +62091,7 @@ paths: type: integer workflows: type: array - items: &475 + items: &478 title: Workflow description: A GitHub Actions workflow type: object @@ -62157,9 +62198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *432 - - *433 - - &476 + - *435 + - *436 + - &479 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -62174,7 +62215,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *478 examples: default: value: @@ -62207,9 +62248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *432 - - *433 - - *476 + - *435 + - *436 + - *479 responses: '204': description: Response @@ -62234,9 +62275,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *432 - - *433 - - *476 + - *435 + - *436 + - *479 responses: '204': description: Response @@ -62287,9 +62328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *432 - - *433 - - *476 + - *435 + - *436 + - *479 responses: '204': description: Response @@ -62316,19 +62357,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *432 - - *433 - - *476 - - *477 - - *478 + - *435 + - *436 - *479 - *480 - - *17 - - *19 - *481 - - *460 - *482 - *483 + - *17 + - *19 + - *484 + - *463 + - *485 + - *486 responses: '200': description: Response @@ -62344,9 +62385,9 @@ paths: type: integer workflow_runs: type: array - items: *461 + items: *464 examples: - default: *484 + default: *487 headers: Link: *40 x-github: @@ -62379,9 +62420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *432 - - *433 - - *476 + - *435 + - *436 + - *479 responses: '200': description: Response @@ -62442,12 +62483,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *432 - - *433 - - *94 + - *435 + - *436 + - *100 - *17 - - *92 - - *93 + - *98 + - *99 - name: ref description: |- The Git reference for the activities you want to list. @@ -62607,8 +62648,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -62620,7 +62661,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 '404': *6 @@ -62645,8 +62686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *432 - - *433 + - *435 + - *436 - name: assignee in: path required: true @@ -62682,8 +62723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -62795,11 +62836,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *432 - - *433 + - *435 + - *436 - *17 - - *92 - - *93 + - *98 + - *99 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -62850,7 +62891,7 @@ paths: bundle_url: type: string examples: - default: *485 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62870,8 +62911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -62879,7 +62920,7 @@ paths: application/json: schema: type: array - items: &486 + items: &489 title: Autolink reference description: An autolink reference. type: object @@ -62933,8 +62974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -62973,9 +63014,9 @@ paths: description: response content: application/json: - schema: *486 + schema: *489 examples: - default: &487 + default: &490 value: id: 1 key_prefix: TICKET- @@ -63006,9 +63047,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *432 - - *433 - - &488 + - *435 + - *436 + - &491 name: autolink_id description: The unique identifier of the autolink. in: path @@ -63020,9 +63061,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *489 examples: - default: *487 + default: *490 '404': *6 x-github: githubCloudOnly: false @@ -63042,9 +63083,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *432 - - *433 - - *488 + - *435 + - *436 + - *491 responses: '204': description: Response @@ -63068,8 +63109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response if Dependabot is enabled @@ -63117,8 +63158,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -63139,8 +63180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -63160,8 +63201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *432 - - *433 + - *435 + - *436 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -63199,7 +63240,7 @@ paths: - url protected: type: boolean - protection: &490 + protection: &493 title: Branch Protection description: Branch Protection type: object @@ -63241,7 +63282,7 @@ paths: required: - contexts - checks - enforce_admins: &493 + enforce_admins: &496 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -63256,7 +63297,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &495 + required_pull_request_reviews: &498 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -63277,7 +63318,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *266 + items: *269 apps: description: The list of apps with review dismissal access. @@ -63306,7 +63347,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *266 + items: *269 apps: description: The list of apps allowed to bypass pull request requirements. @@ -63332,7 +63373,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &492 + restrictions: &495 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -63639,9 +63680,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *432 - - *433 - - &491 + - *435 + - *436 + - &494 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -63655,14 +63696,14 @@ paths: description: Response content: application/json: - schema: &501 + schema: &504 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &553 + commit: &554 title: Commit description: Commit type: object @@ -63696,7 +63737,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &489 + properties: &492 name: type: string example: '"Chris Wanstrath"' @@ -63711,7 +63752,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *489 + properties: *492 nullable: true message: type: string @@ -63732,7 +63773,7 @@ paths: required: - sha - url - verification: &612 + verification: &613 title: Verification type: object properties: @@ -63766,12 +63807,12 @@ paths: nullable: true oneOf: - *4 - - *246 + - *252 committer: nullable: true oneOf: - *4 - - *246 + - *252 parents: type: array items: @@ -63802,7 +63843,7 @@ paths: type: integer files: type: array - items: &566 + items: &567 title: Diff Entry description: Diff Entry type: object @@ -63885,7 +63926,7 @@ paths: - self protected: type: boolean - protection: *490 + protection: *493 protection_url: type: string format: uri @@ -63992,7 +64033,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *446 + '301': *449 '404': *6 x-github: githubCloudOnly: false @@ -64014,15 +64055,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *490 + schema: *493 examples: default: value: @@ -64216,9 +64257,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -64473,7 +64514,7 @@ paths: url: type: string format: uri - required_status_checks: &498 + required_status_checks: &501 title: Status Check Policy description: Status Check Policy type: object @@ -64549,7 +64590,7 @@ paths: items: *4 teams: type: array - items: *266 + items: *269 apps: type: array items: *5 @@ -64567,7 +64608,7 @@ paths: items: *4 teams: type: array - items: *266 + items: *269 apps: type: array items: *5 @@ -64625,7 +64666,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *492 + restrictions: *495 required_conversation_resolution: type: object properties: @@ -64737,9 +64778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -64764,17 +64805,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *493 + schema: *496 examples: - default: &494 + default: &497 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -64796,17 +64837,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *493 + schema: *496 examples: - default: *494 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64825,9 +64866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -64852,17 +64893,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: &496 + default: &499 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -64958,9 +64999,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -65058,9 +65099,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *496 + default: *499 '422': *15 x-github: githubCloudOnly: false @@ -65081,9 +65122,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -65110,17 +65151,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *493 + schema: *496 examples: - default: &497 + default: &500 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -65143,17 +65184,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *493 + schema: *496 examples: - default: *497 + default: *500 '404': *6 x-github: githubCloudOnly: false @@ -65173,9 +65214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -65200,17 +65241,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *498 + schema: *501 examples: - default: &499 + default: &502 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -65236,9 +65277,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -65290,9 +65331,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *501 examples: - default: *499 + default: *502 '404': *6 '422': *15 x-github: @@ -65314,9 +65355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -65340,9 +65381,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response @@ -65376,9 +65417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -65445,9 +65486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -65511,9 +65552,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: content: application/json: @@ -65579,15 +65620,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *492 + schema: *495 examples: default: value: @@ -65678,9 +65719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -65703,9 +65744,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response @@ -65715,7 +65756,7 @@ paths: type: array items: *5 examples: - default: &500 + default: &503 value: - id: 1 slug: octoapp @@ -65772,9 +65813,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -65808,7 +65849,7 @@ paths: type: array items: *5 examples: - default: *500 + default: *503 '422': *15 x-github: githubCloudOnly: false @@ -65829,9 +65870,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -65865,7 +65906,7 @@ paths: type: array items: *5 examples: - default: *500 + default: *503 '422': *15 x-github: githubCloudOnly: false @@ -65886,9 +65927,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -65922,7 +65963,7 @@ paths: type: array items: *5 examples: - default: *500 + default: *503 '422': *15 x-github: githubCloudOnly: false @@ -65944,9 +65985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response @@ -65954,9 +65995,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *344 + default: *347 '404': *6 x-github: githubCloudOnly: false @@ -65976,9 +66017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -66014,9 +66055,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *344 + default: *347 '422': *15 x-github: githubCloudOnly: false @@ -66037,9 +66078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -66075,9 +66116,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *344 + default: *347 '422': *15 x-github: githubCloudOnly: false @@ -66098,9 +66139,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: content: application/json: @@ -66135,9 +66176,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *344 + default: *347 '422': *15 x-github: githubCloudOnly: false @@ -66159,9 +66200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response @@ -66171,7 +66212,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 '404': *6 x-github: githubCloudOnly: false @@ -66195,9 +66236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -66230,7 +66271,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 '422': *15 x-github: githubCloudOnly: false @@ -66255,9 +66296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -66290,7 +66331,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 '422': *15 x-github: githubCloudOnly: false @@ -66315,9 +66356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -66350,7 +66391,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 '422': *15 x-github: githubCloudOnly: false @@ -66377,9 +66418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -66401,7 +66442,7 @@ paths: description: Response content: application/json: - schema: *501 + schema: *504 examples: default: value: @@ -66515,12 +66556,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *432 - - *433 - - *258 - - *259 - - *260 - - *261 + - *435 + - *436 + - *93 + - *94 + - *95 + - *96 - *17 - *19 responses: @@ -66530,9 +66571,9 @@ paths: application/json: schema: type: array - items: *262 + items: *264 examples: - default: *263 + default: *265 '404': *6 '500': *91 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -66552,8 +66593,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *432 - - *433 + - *435 + - *436 - name: bypass_request_number in: path required: true @@ -66567,7 +66608,7 @@ paths: description: Response content: application/json: - schema: *262 + schema: *264 examples: default: value: @@ -66626,12 +66667,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *432 - - *433 - - *258 - - *259 - - *260 - - *261 + - *435 + - *436 + - *93 + - *94 + - *95 + - *96 - *17 - *19 responses: @@ -66641,9 +66682,9 @@ paths: application/json: schema: type: array - items: *502 + items: *267 examples: - default: *503 + default: *268 '404': *6 '403': *29 '500': *91 @@ -66667,8 +66708,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *432 - - *433 + - *435 + - *436 - name: bypass_request_number in: path required: true @@ -66680,7 +66721,7 @@ paths: description: A single bypass request. content: application/json: - schema: *502 + schema: *267 examples: default: value: @@ -66738,8 +66779,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *432 - - *433 + - *435 + - *436 - name: bypass_request_number in: path required: true @@ -66810,8 +66851,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *432 - - *433 + - *435 + - *436 - name: bypass_response_id in: path required: true @@ -66844,8 +66885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -67124,7 +67165,7 @@ paths: description: Response content: application/json: - schema: &505 + schema: &506 title: CheckRun description: A check performed on the code of a given code change type: object @@ -67235,16 +67276,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 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: *504 - deployment: &833 + items: *505 + deployment: &834 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -67311,8 +67352,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 required: - id - node_id @@ -67524,9 +67565,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *432 - - *433 - - &506 + - *435 + - *436 + - &507 name: check_run_id description: The unique identifier of the check run. in: path @@ -67538,9 +67579,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: &507 + default: &508 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -67640,9 +67681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *432 - - *433 - - *506 + - *435 + - *436 + - *507 requestBody: required: true content: @@ -67882,9 +67923,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *507 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67904,9 +67945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *432 - - *433 - - *506 + - *435 + - *436 + - *507 - *17 - *19 responses: @@ -68001,15 +68042,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *432 - - *433 - - *506 + - *435 + - *436 + - *507 responses: '201': description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -68047,8 +68088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -68070,7 +68111,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &510 + schema: &511 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -68134,7 +68175,7 @@ paths: nullable: true pull_requests: type: array - items: *504 + items: *505 nullable: true app: title: GitHub app @@ -68145,9 +68186,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 - repository: *235 + properties: *176 + required: *177 + repository: *241 created_at: type: string format: date-time @@ -68156,12 +68197,12 @@ paths: type: string format: date-time nullable: true - head_commit: &859 + head_commit: &860 title: Simple Commit description: A commit. type: object - properties: *508 - required: *509 + properties: *509 + required: *510 latest_check_runs_count: type: integer check_runs_url: @@ -68189,7 +68230,7 @@ paths: - check_runs_url - pull_requests examples: - default: &511 + default: &512 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -68480,9 +68521,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *510 + schema: *511 examples: - default: *511 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68501,8 +68542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -68563,7 +68604,7 @@ paths: required: - app_id - setting - repository: *235 + repository: *241 examples: default: value: @@ -68811,9 +68852,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *432 - - *433 - - &512 + - *435 + - *436 + - &513 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -68825,9 +68866,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: - default: *511 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68850,17 +68891,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *432 - - *433 - - *512 - - &559 + - *435 + - *436 + - *513 + - &560 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &560 + - &561 name: status description: Returns check runs with the specified `status`. in: query @@ -68899,9 +68940,9 @@ paths: type: integer check_runs: type: array - items: *505 + items: *506 examples: - default: &561 + default: &562 value: total_count: 1 check_runs: @@ -69003,15 +69044,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *432 - - *433 - - *512 + - *435 + - *436 + - *513 responses: '201': description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -69038,30 +69079,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *432 - - *433 - - *270 - - *271 + - *435 + - *436 + - *273 + - *274 - *19 - *17 - - &528 + - &529 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *513 - - &529 + schema: *514 + - &530 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *94 - - *92 - - *93 + - *100 + - *98 + - *99 - name: sort description: The property by which to sort the results. in: query @@ -69077,13 +69118,13 @@ paths: be returned. in: query required: false - schema: *272 + schema: *275 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *514 + schema: *515 responses: '200': description: Response @@ -69094,14 +69135,14 @@ paths: items: type: object properties: - number: *106 - created_at: *113 - updated_at: *114 - url: *111 - html_url: *112 - instances_url: *515 - state: *97 - fixed_at: *116 + number: *112 + created_at: *119 + updated_at: *120 + url: *117 + html_url: *118 + instances_url: *516 + state: *103 + fixed_at: *122 dismissed_by: title: Simple User description: A GitHub user. @@ -69109,12 +69150,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *115 - dismissed_reason: *516 - dismissed_comment: *517 - rule: *518 - tool: *519 - most_recent_instance: *520 + dismissed_at: *121 + dismissed_reason: *517 + dismissed_comment: *518 + rule: *519 + tool: *520 + most_recent_instance: *521 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -69237,14 +69278,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &521 + '403': &522 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69264,9 +69305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *432 - - *433 - - &522 + - *435 + - *436 + - &523 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -69274,23 +69315,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *106 + schema: *112 responses: '200': description: Response content: application/json: - schema: &523 + schema: &524 type: object properties: - number: *106 - created_at: *113 - updated_at: *114 - url: *111 - html_url: *112 - instances_url: *515 - state: *97 - fixed_at: *116 + number: *112 + created_at: *119 + updated_at: *120 + url: *117 + html_url: *118 + instances_url: *516 + state: *103 + fixed_at: *122 dismissed_by: title: Simple User description: A GitHub user. @@ -69298,9 +69339,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *115 - dismissed_reason: *516 - dismissed_comment: *517 + dismissed_at: *121 + dismissed_reason: *517 + dismissed_comment: *518 rule: type: object properties: @@ -69354,8 +69395,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *519 - most_recent_instance: *520 + tool: *520 + most_recent_instance: *521 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -69451,9 +69492,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *521 + '403': *522 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69471,9 +69512,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *432 - - *433 - - *522 + - *435 + - *436 + - *523 requestBody: required: true content: @@ -69488,8 +69529,8 @@ paths: enum: - open - dismissed - dismissed_reason: *516 - dismissed_comment: *517 + dismissed_reason: *517 + dismissed_comment: *518 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -69508,7 +69549,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *524 examples: default: value: @@ -69584,14 +69625,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &527 + '403': &528 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *160 + '503': *166 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -69611,15 +69652,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *432 - - *433 - - *522 + - *435 + - *436 + - *523 responses: '200': description: Response content: application/json: - schema: &524 + schema: &525 type: object properties: status: @@ -69645,13 +69686,13 @@ paths: - description - started_at examples: - default: &525 + default: &526 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &526 + '400': &527 description: Bad Request content: application/json: @@ -69662,9 +69703,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *521 + '403': *522 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69687,29 +69728,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *432 - - *433 - - *522 + - *435 + - *436 + - *523 responses: '200': description: OK content: application/json: - schema: *524 + schema: *525 examples: - default: *525 + default: *526 '202': description: Accepted content: application/json: - schema: *524 + schema: *525 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *526 + '400': *527 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -69719,7 +69760,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69741,9 +69782,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *432 - - *433 - - *522 + - *435 + - *436 + - *523 requestBody: required: false content: @@ -69788,12 +69829,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *526 - '403': *527 + '400': *527 + '403': *528 '404': *6 '422': description: Unprocessable Entity - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69813,13 +69854,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *432 - - *433 - - *522 + - *435 + - *436 + - *523 - *19 - *17 - - *528 - *529 + - *530 responses: '200': description: Response @@ -69827,7 +69868,7 @@ paths: application/json: schema: type: array - items: *520 + items: *521 examples: default: value: @@ -69866,9 +69907,9 @@ paths: end_column: 50 classifications: - source - '403': *521 + '403': *522 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69900,29 +69941,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *432 - - *433 - - *270 - - *271 + - *435 + - *436 + - *273 + - *274 - *19 - *17 - - *529 + - *530 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *513 + schema: *514 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &532 + schema: &533 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *94 + - *100 - name: sort description: The property by which to sort the results. in: query @@ -69939,23 +69980,23 @@ paths: application/json: schema: type: array - items: &533 + items: &534 type: object properties: - ref: *513 - commit_sha: &541 + ref: *514 + commit_sha: &542 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *530 + analysis_key: *531 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *531 + category: *532 error: type: string example: error reading field xyz @@ -69979,8 +70020,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *532 - tool: *519 + sarif_id: *533 + tool: *520 deletable: type: boolean warning: @@ -70041,9 +70082,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *521 + '403': *522 '404': *6 - '503': *160 + '503': *166 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -70077,8 +70118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -70091,7 +70132,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: response: summary: application/json response @@ -70145,14 +70186,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *521 + '403': *522 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *160 + '503': *166 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -70232,8 +70273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -70286,9 +70327,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *527 + '403': *528 '404': *6 - '503': *160 + '503': *166 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -70308,8 +70349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -70317,7 +70358,7 @@ paths: application/json: schema: type: array - items: &534 + items: &535 title: CodeQL Database description: A CodeQL database. type: object @@ -70428,9 +70469,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *521 + '403': *522 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70457,8 +70498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - name: language in: path description: The language of the CodeQL database. @@ -70470,7 +70511,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: default: value: @@ -70502,11 +70543,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &568 + '302': &569 description: Found - '403': *521 + '403': *522 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70526,8 +70567,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *432 - - *433 + - *435 + - *436 - name: language in: path description: The language of the CodeQL database. @@ -70537,9 +70578,9 @@ paths: responses: '204': description: Response - '403': *527 + '403': *528 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70565,8 +70606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -70575,7 +70616,7 @@ paths: type: object additionalProperties: false properties: - language: &535 + language: &536 type: string description: The language targeted by the CodeQL query enum: @@ -70654,7 +70695,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &539 + schema: &540 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -70662,9 +70703,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *103 + controller_repo: *109 actor: *4 - query_language: *535 + query_language: *536 query_pack_url: type: string description: The download url for the query pack. @@ -70711,7 +70752,7 @@ paths: items: type: object properties: - repository: &536 + repository: &537 title: Repository Identifier description: Repository Identifier type: object @@ -70747,7 +70788,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &540 + analysis_status: &541 type: string description: The new status of the CodeQL variant analysis repository task. @@ -70779,7 +70820,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &537 + access_mismatch_repos: &538 type: object properties: repository_count: @@ -70793,7 +70834,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *536 + items: *537 required: - repository_count - repositories @@ -70815,8 +70856,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *537 - over_limit_repos: *537 + no_codeql_db_repos: *538 + over_limit_repos: *538 required: - access_mismatch_repos - not_found_repos @@ -70832,7 +70873,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &538 + value: &539 summary: Default response value: id: 1 @@ -70984,17 +71025,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *538 + value: *539 repository_lists: summary: Response for a successful variant analysis submission - value: *538 + value: *539 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71015,8 +71056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *432 - - *433 + - *435 + - *436 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -71028,11 +71069,11 @@ paths: description: Response content: application/json: - schema: *539 + schema: *540 examples: - default: *538 + default: *539 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71053,7 +71094,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *432 + - *435 - name: repo in: path description: The name of the controller repository. @@ -71087,8 +71128,8 @@ paths: schema: type: object properties: - repository: *103 - analysis_status: *540 + repository: *109 + analysis_status: *541 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -71192,7 +71233,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71213,8 +71254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -71299,9 +71340,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *521 + '403': *522 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71320,8 +71361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -71388,7 +71429,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -71413,7 +71454,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *527 + '403': *528 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -71427,7 +71468,7 @@ paths: content: application/json: schema: *3 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71484,8 +71525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -71493,7 +71534,7 @@ paths: schema: type: object properties: - commit_sha: *541 + commit_sha: *542 ref: type: string description: |- @@ -71551,7 +71592,7 @@ paths: schema: type: object properties: - id: *532 + id: *533 url: type: string description: The REST API URL for checking the status of the upload. @@ -71565,11 +71606,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *527 + '403': *528 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *160 + '503': *166 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -71588,8 +71629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *432 - - *433 + - *435 + - *436 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -71635,10 +71676,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *521 + '403': *522 '404': description: Not Found if the sarif id does not match any upload - '503': *160 + '503': *166 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -71660,8 +71701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -71685,7 +71726,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *98 + configuration: *104 examples: default: value: @@ -71717,7 +71758,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *126 + '204': *132 '304': *37 '403': *29 '404': *6 @@ -71742,8 +71783,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *432 - - *433 + - *435 + - *436 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -71863,8 +71904,8 @@ paths: parameters: - *17 - *19 - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -71880,7 +71921,7 @@ paths: type: integer codespaces: type: array - items: *333 + items: *336 examples: default: value: @@ -72178,8 +72219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -72242,22 +72283,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -72281,8 +72322,8 @@ paths: parameters: - *17 - *19 - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -72346,8 +72387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -72382,14 +72423,14 @@ paths: type: integer machines: type: array - items: &783 + items: &784 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *543 - required: *544 + properties: *544 + required: *545 examples: - default: &784 + default: &785 value: total_count: 2 machines: @@ -72429,8 +72470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *432 - - *433 + - *435 + - *436 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -72514,8 +72555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *432 - - *433 + - *435 + - *436 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -72560,7 +72601,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72581,8 +72622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -72600,7 +72641,7 @@ paths: type: integer secrets: type: array - items: &548 + items: &549 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -72620,7 +72661,7 @@ paths: - created_at - updated_at examples: - default: *545 + default: *546 headers: Link: *40 x-github: @@ -72643,16 +72684,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *546 + schema: *547 examples: - default: *547 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -72672,17 +72713,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *432 - - *433 - - *245 + - *435 + - *436 + - *251 responses: '200': description: Response content: application/json: - schema: *548 + schema: *549 examples: - default: *549 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72702,9 +72743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *432 - - *433 - - *245 + - *435 + - *436 + - *251 requestBody: required: true content: @@ -72732,7 +72773,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -72756,9 +72797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *432 - - *433 - - *245 + - *435 + - *436 + - *251 responses: '204': description: Response @@ -72786,8 +72827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *432 - - *433 + - *435 + - *436 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -72829,7 +72870,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &550 + properties: &551 login: type: string example: octocat @@ -72922,7 +72963,7 @@ paths: user_view_type: type: string example: public - required: &551 + required: &552 - avatar_url - events_url - followers_url @@ -72996,9 +73037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *432 - - *433 - - *257 + - *435 + - *436 + - *263 responses: '204': description: Response if user is a collaborator @@ -73044,9 +73085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *432 - - *433 - - *257 + - *435 + - *436 + - *263 requestBody: required: false content: @@ -73072,7 +73113,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &625 + schema: &626 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -73083,7 +73124,7 @@ paths: example: 42 type: integer format: int64 - repository: *235 + repository: *241 invitee: title: Simple User description: A GitHub user. @@ -73261,7 +73302,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *212 + schema: *218 '403': *29 x-github: triggersNotification: true @@ -73301,9 +73342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *432 - - *433 - - *257 + - *435 + - *436 + - *263 responses: '204': description: No Content when collaborator was removed from the repository. @@ -73334,9 +73375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *432 - - *433 - - *257 + - *435 + - *436 + - *263 responses: '200': description: if user has admin permissions @@ -73356,8 +73397,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *550 - required: *551 + properties: *551 + required: *552 nullable: true required: - permission @@ -73412,8 +73453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -73423,7 +73464,7 @@ paths: application/json: schema: type: array - items: &552 + items: &553 title: Commit Comment description: Commit Comment type: object @@ -73464,8 +73505,8 @@ paths: updated_at: type: string format: date-time - author_association: *172 - reactions: *173 + author_association: *178 + reactions: *179 required: - url - html_url @@ -73481,7 +73522,7 @@ paths: - created_at - updated_at examples: - default: &555 + default: &556 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -73540,17 +73581,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 responses: '200': description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: &556 + default: &557 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -73607,9 +73648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 requestBody: required: true content: @@ -73631,7 +73672,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -73682,9 +73723,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 responses: '204': description: Response @@ -73705,9 +73746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 - 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. @@ -73733,9 +73774,9 @@ paths: application/json: schema: type: array - items: *421 + items: *424 examples: - default: *423 + default: *426 headers: Link: *40 '404': *6 @@ -73756,9 +73797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 requestBody: required: true content: @@ -73790,16 +73831,16 @@ paths: description: Reaction exists content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '201': description: Reaction created content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -73821,10 +73862,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *432 - - *433 - - *184 - - *424 + - *435 + - *436 + - *190 + - *427 responses: '204': description: Response @@ -73873,8 +73914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *432 - - *433 + - *435 + - *436 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -73930,9 +73971,9 @@ paths: application/json: schema: type: array - items: *553 + items: *554 examples: - default: &675 + default: &676 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -74006,7 +74047,7 @@ paths: '500': *91 '400': *14 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74026,9 +74067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *432 - - *433 - - &554 + - *435 + - *436 + - &555 name: commit_sha description: The SHA of the commit. in: path @@ -74075,7 +74116,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74100,9 +74141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *432 - - *433 - - *554 + - *435 + - *436 + - *555 - *17 - *19 responses: @@ -74112,9 +74153,9 @@ paths: application/json: schema: type: array - items: *552 + items: *553 examples: - default: *555 + default: *556 headers: Link: *40 x-github: @@ -74142,9 +74183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *432 - - *433 - - *554 + - *435 + - *436 + - *555 requestBody: required: true content: @@ -74179,9 +74220,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: *556 + default: *557 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74209,9 +74250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *432 - - *433 - - *554 + - *435 + - *436 + - *555 - *17 - *19 responses: @@ -74221,9 +74262,9 @@ paths: application/json: schema: type: array - items: *557 + items: *558 examples: - default: &667 + default: &668 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -74703,7 +74744,7 @@ paths: draft: false headers: Link: *40 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74760,11 +74801,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *432 - - *433 + - *435 + - *436 - *19 - *17 - - &558 + - &559 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -74779,9 +74820,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *554 examples: - default: &654 + default: &655 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -74868,8 +74909,8 @@ paths: '422': *15 '404': *6 '500': *91 - '503': *160 - '409': *102 + '503': *166 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74894,11 +74935,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *432 - - *433 - - *558 + - *435 + - *436 - *559 - *560 + - *561 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -74932,9 +74973,9 @@ paths: type: integer check_runs: type: array - items: *505 + items: *506 examples: - default: *561 + default: *562 headers: Link: *40 x-github: @@ -74959,9 +75000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *432 - - *433 - - *558 + - *435 + - *436 + - *559 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -74969,7 +75010,7 @@ paths: schema: type: integer example: 1 - - *559 + - *560 - *17 - *19 responses: @@ -74987,7 +75028,7 @@ paths: type: integer check_suites: type: array - items: *510 + items: *511 examples: default: value: @@ -75187,9 +75228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *432 - - *433 - - *558 + - *435 + - *436 + - *559 - *17 - *19 responses: @@ -75256,7 +75297,7 @@ paths: type: string total_count: type: integer - repository: *235 + repository: *241 commit_url: type: string format: uri @@ -75387,9 +75428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *432 - - *433 - - *558 + - *435 + - *436 + - *559 - *17 - *19 responses: @@ -75399,7 +75440,7 @@ paths: application/json: schema: type: array - items: &728 + items: &729 title: Status description: The status of a commit. type: object @@ -75480,7 +75521,7 @@ paths: site_admin: false headers: Link: *40 - '301': *446 + '301': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75508,8 +75549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -75538,20 +75579,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *562 - required: *563 + properties: *563 + required: *564 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &564 + properties: &565 url: type: string format: uri html_url: type: string format: uri - required: &565 + required: &566 - url - html_url nullable: true @@ -75559,32 +75600,32 @@ paths: title: License Simple description: License Simple type: object - properties: *186 - required: *187 + properties: *192 + required: *193 nullable: true contributing: title: Community Health File type: object - properties: *564 - required: *565 + properties: *565 + required: *566 nullable: true readme: title: Community Health File type: object - properties: *564 - required: *565 + properties: *565 + required: *566 nullable: true issue_template: title: Community Health File type: object - properties: *564 - required: *565 + properties: *565 + required: *566 nullable: true pull_request_template: title: Community Health File type: object - properties: *564 - required: *565 + properties: *565 + required: *566 nullable: true required: - code_of_conduct @@ -75711,8 +75752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *432 - - *433 + - *435 + - *436 - *19 - *17 - name: basehead @@ -75755,8 +75796,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *553 - merge_base_commit: *553 + base_commit: *554 + merge_base_commit: *554 status: type: string enum: @@ -75776,10 +75817,10 @@ paths: example: 6 commits: type: array - items: *553 + items: *554 files: type: array - items: *566 + items: *567 required: - url - html_url @@ -76023,7 +76064,7 @@ paths: module Test" '404': *6 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76065,8 +76106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *432 - - *433 + - *435 + - *436 - name: path description: path parameter in: path @@ -76209,7 +76250,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &567 + response-if-content-is-a-file: &568 summary: Response if content is a file value: type: file @@ -76341,7 +76382,7 @@ paths: - size - type - url - - &680 + - &681 title: Content File description: Content File type: object @@ -76542,7 +76583,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *567 + response-if-content-is-a-file: *568 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -76611,7 +76652,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *568 + '302': *569 '304': *37 x-github: githubCloudOnly: false @@ -76634,8 +76675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *432 - - *433 + - *435 + - *436 - name: path description: path parameter in: path @@ -76728,7 +76769,7 @@ paths: description: Response content: application/json: - schema: &569 + schema: &570 title: File Commit description: File Commit type: object @@ -76880,7 +76921,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: example-for-creating-a-file: value: @@ -76934,7 +76975,7 @@ paths: schema: oneOf: - *3 - - &607 + - &608 description: Repository rule violation was detected type: object properties: @@ -76955,7 +76996,7 @@ paths: items: type: object properties: - placeholder_id: &720 + placeholder_id: &721 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -76987,8 +77028,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *432 - - *433 + - *435 + - *436 - name: path description: path parameter in: path @@ -77049,7 +77090,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: default: value: @@ -77083,8 +77124,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *102 - '503': *160 + '409': *108 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77104,8 +77145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *432 - - *433 + - *435 + - *436 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -77228,23 +77269,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *432 - - *433 - - *287 - - *288 - - *289 + - *435 + - *436 - *290 + - *291 + - *292 + - *293 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *291 - - *292 - - *293 - *294 - - *94 + - *295 + - *296 + - *297 + - *100 - name: page description: "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead." @@ -77261,10 +77302,10 @@ paths: schema: type: integer default: 30 - - *92 - - *93 - - *295 - - *296 + - *98 + - *99 + - *298 + - *299 responses: '200': description: Response @@ -77272,11 +77313,11 @@ paths: application/json: schema: type: array - items: &572 + items: &573 type: object description: A Dependabot alert. properties: - number: *106 + number: *112 state: type: string description: The state of the Dependabot alert. @@ -77291,7 +77332,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *107 + package: *113 manifest_path: type: string description: The full path to the dependency manifest file, @@ -77318,13 +77359,13 @@ paths: - unknown - direct - transitive - security_advisory: *570 - security_vulnerability: *110 - url: *111 - html_url: *112 - created_at: *113 - updated_at: *114 - dismissed_at: *115 + security_advisory: *571 + security_vulnerability: *116 + url: *117 + html_url: *118 + created_at: *119 + updated_at: *120 + dismissed_at: *121 dismissed_by: title: Simple User description: A GitHub user. @@ -77348,8 +77389,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *116 - auto_dismissed_at: *571 + fixed_at: *122 + auto_dismissed_at: *572 required: - number - state @@ -77579,9 +77620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *432 - - *433 - - &573 + - *435 + - *436 + - &574 name: alert_number in: path description: |- @@ -77590,13 +77631,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *106 + schema: *112 responses: '200': description: Response content: application/json: - schema: *572 + schema: *573 examples: default: value: @@ -77709,9 +77750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *432 - - *433 - - *573 + - *435 + - *436 + - *574 requestBody: required: true content: @@ -77756,7 +77797,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *573 examples: default: value: @@ -77862,7 +77903,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *102 + '409': *108 '422': *7 x-github: githubCloudOnly: false @@ -77885,8 +77926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -77904,7 +77945,7 @@ paths: type: integer secrets: type: array - items: &576 + items: &577 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -77957,16 +77998,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *574 + schema: *575 examples: - default: *575 + default: *576 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77986,15 +78027,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *432 - - *433 - - *245 + - *435 + - *436 + - *251 responses: '200': description: Response content: application/json: - schema: *576 + schema: *577 examples: default: value: @@ -78020,9 +78061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *432 - - *433 - - *245 + - *435 + - *436 + - *251 requestBody: required: true content: @@ -78050,7 +78091,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -78074,9 +78115,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *432 - - *433 - - *245 + - *435 + - *436 + - *251 responses: '204': description: Response @@ -78098,8 +78139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *432 - - *433 + - *435 + - *436 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -78259,8 +78300,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -78499,8 +78540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -78575,7 +78616,7 @@ paths: - version - url additionalProperties: false - metadata: &577 + metadata: &578 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -78608,7 +78649,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *577 + metadata: *578 resolved: type: object description: A collection of resolved package dependencies. @@ -78621,7 +78662,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *577 + metadata: *578 relationship: type: string description: A notation of whether a dependency is requested @@ -78750,8 +78791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *432 - - *433 + - *435 + - *436 - name: sha description: The SHA recorded at creation time. in: query @@ -78791,9 +78832,9 @@ paths: application/json: schema: type: array - items: *578 + items: *579 examples: - default: *579 + default: *580 headers: Link: *40 x-github: @@ -78859,8 +78900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -78941,7 +78982,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *579 examples: simple-example: summary: Simple example @@ -79014,9 +79055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *432 - - *433 - - &580 + - *435 + - *436 + - &581 name: deployment_id description: deployment_id parameter in: path @@ -79028,7 +79069,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *579 examples: default: value: @@ -79093,9 +79134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *432 - - *433 - - *580 + - *435 + - *436 + - *581 responses: '204': description: Response @@ -79117,9 +79158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *432 - - *433 - - *580 + - *435 + - *436 + - *581 - *17 - *19 responses: @@ -79129,7 +79170,7 @@ paths: application/json: schema: type: array - items: &581 + items: &582 title: Deployment Status description: The status of a deployment. type: object @@ -79220,8 +79261,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 required: - id - node_id @@ -79290,9 +79331,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *432 - - *433 - - *580 + - *435 + - *436 + - *581 requestBody: required: true content: @@ -79367,9 +79408,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *582 examples: - default: &582 + default: &583 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -79425,9 +79466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *432 - - *433 - - *580 + - *435 + - *436 + - *581 - name: status_id in: path required: true @@ -79438,9 +79479,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *582 examples: - default: *582 + default: *583 '404': *6 x-github: githubCloudOnly: false @@ -79467,12 +79508,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *432 - - *433 - - *583 + - *435 + - *436 - *584 - *585 - *586 + - *587 - *17 - *19 responses: @@ -79482,9 +79523,9 @@ paths: application/json: schema: type: array - items: *587 + items: *588 examples: - default: *588 + default: *589 '404': *6 '403': *29 '500': *91 @@ -79508,8 +79549,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *432 - - *433 + - *435 + - *436 - name: alert_number in: path required: true @@ -79521,7 +79562,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *587 + schema: *588 examples: default: value: @@ -79577,8 +79618,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *432 - - *433 + - *435 + - *436 - name: alert_number in: path required: true @@ -79637,12 +79678,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *432 - - *433 - - *258 - - *259 - - *260 - - *589 + - *435 + - *436 + - *93 + - *94 + - *95 + - *590 - *17 - *19 responses: @@ -79652,9 +79693,9 @@ paths: application/json: schema: type: array - items: *590 + items: *591 examples: - default: *591 + default: *592 '404': *6 '403': *29 '500': *91 @@ -79679,8 +79720,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *432 - - *433 + - *435 + - *436 - name: alert_number in: path required: true @@ -79692,7 +79733,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -79750,8 +79791,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *432 - - *433 + - *435 + - *436 - name: alert_number in: path required: true @@ -79820,8 +79861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -79878,8 +79919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -79896,7 +79937,7 @@ paths: type: integer environments: type: array - items: &593 + items: &594 title: Environment description: Details of a deployment environment type: object @@ -79948,7 +79989,7 @@ paths: type: type: string example: wait_timer - wait_timer: &595 + wait_timer: &596 type: integer example: 30 description: The amount of time to delay a job after @@ -79985,11 +80026,11 @@ paths: items: type: object properties: - type: *592 + type: *593 reviewer: anyOf: - *4 - - *266 + - *269 required: - id - node_id @@ -80009,7 +80050,7 @@ paths: - id - node_id - type - deployment_branch_policy: &596 + deployment_branch_policy: &597 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -80125,9 +80166,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *432 - - *433 - - &594 + - *435 + - *436 + - &595 name: environment_name in: path required: true @@ -80140,9 +80181,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *594 examples: - default: &597 + default: &598 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -80226,9 +80267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *432 - - *433 - - *594 + - *435 + - *436 + - *595 requestBody: required: false content: @@ -80237,7 +80278,7 @@ paths: type: object nullable: true properties: - wait_timer: *595 + wait_timer: *596 prevent_self_review: type: boolean example: false @@ -80254,13 +80295,13 @@ paths: items: type: object properties: - type: *592 + type: *593 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *596 + deployment_branch_policy: *597 additionalProperties: false examples: default: @@ -80280,9 +80321,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *594 examples: - default: *597 + default: *598 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -80306,9 +80347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *432 - - *433 - - *594 + - *435 + - *436 + - *595 responses: '204': description: Default response @@ -80333,9 +80374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *432 - - *433 - - *594 + - *435 + - *436 + - *595 - *17 - *19 responses: @@ -80353,7 +80394,7 @@ paths: example: 2 branch_policies: type: array - items: &598 + items: &599 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -80410,9 +80451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *432 - - *433 - - *594 + - *435 + - *436 + - *595 requestBody: required: true content: @@ -80458,9 +80499,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - example-wildcard: &599 + example-wildcard: &600 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -80502,10 +80543,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *432 - - *433 - - *594 - - &600 + - *435 + - *436 + - *595 + - &601 name: branch_policy_id in: path required: true @@ -80517,9 +80558,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - default: *599 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80538,10 +80579,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *432 - - *433 - - *594 - - *600 + - *435 + - *436 + - *595 + - *601 requestBody: required: true content: @@ -80569,9 +80610,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - default: *599 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80590,10 +80631,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *432 - - *433 - - *594 - - *600 + - *435 + - *436 + - *595 + - *601 responses: '204': description: Response @@ -80618,9 +80659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *594 - - *433 - - *432 + - *595 + - *436 + - *435 responses: '200': description: List of deployment protection rules @@ -80636,7 +80677,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &601 + items: &602 title: Deployment protection rule description: Deployment protection rule type: object @@ -80655,7 +80696,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &602 + app: &603 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -80754,9 +80795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *594 - - *433 - - *432 + - *595 + - *436 + - *435 requestBody: content: application/json: @@ -80777,9 +80818,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *601 + schema: *602 examples: - default: &603 + default: &604 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -80814,9 +80855,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *594 - - *433 - - *432 + - *595 + - *436 + - *435 - *19 - *17 responses: @@ -80835,7 +80876,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *602 + items: *603 examples: default: value: @@ -80870,10 +80911,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *432 - - *433 - - *594 - - &604 + - *435 + - *436 + - *595 + - &605 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -80885,9 +80926,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *602 examples: - default: *603 + default: *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80908,10 +80949,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *594 - - *433 - - *432 - - *604 + - *595 + - *436 + - *435 + - *605 responses: '204': description: Response @@ -80937,9 +80978,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *432 - - *433 - - *594 + - *435 + - *436 + - *595 - *17 - *19 responses: @@ -80957,9 +80998,9 @@ paths: type: integer secrets: type: array - items: *469 + items: *472 examples: - default: *470 + default: *473 headers: Link: *40 x-github: @@ -80984,17 +81025,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *432 - - *433 - - *594 + - *435 + - *436 + - *595 responses: '200': description: Response content: application/json: - schema: *471 + schema: *474 examples: - default: *472 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81016,18 +81057,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *432 - - *433 - - *594 - - *245 + - *435 + - *436 + - *595 + - *251 responses: '200': description: Response content: application/json: - schema: *469 + schema: *472 examples: - default: *605 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81049,10 +81090,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *432 - - *433 - - *594 - - *245 + - *435 + - *436 + - *595 + - *251 requestBody: required: true content: @@ -81083,7 +81124,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -81109,10 +81150,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *432 - - *433 - - *594 - - *245 + - *435 + - *436 + - *595 + - *251 responses: '204': description: Default response @@ -81137,10 +81178,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *432 - - *433 - - *594 - - *456 + - *435 + - *436 + - *595 + - *459 - *19 responses: '200': @@ -81157,9 +81198,9 @@ paths: type: integer variables: type: array - items: *473 + items: *476 examples: - default: *474 + default: *477 headers: Link: *40 x-github: @@ -81182,9 +81223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *432 - - *433 - - *594 + - *435 + - *436 + - *595 requestBody: required: true content: @@ -81211,7 +81252,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -81236,18 +81277,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *432 - - *433 - - *594 - - *248 + - *435 + - *436 + - *595 + - *254 responses: '200': description: Response content: application/json: - schema: *473 + schema: *476 examples: - default: *606 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81268,10 +81309,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *432 - - *433 - - *248 - - *594 + - *435 + - *436 + - *254 + - *595 requestBody: required: true content: @@ -81313,10 +81354,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *432 - - *433 - - *248 - - *594 + - *435 + - *436 + - *254 + - *595 responses: '204': description: Response @@ -81338,8 +81379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -81349,7 +81390,7 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: 200-response: value: @@ -81416,8 +81457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *432 - - *433 + - *435 + - *436 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -81439,7 +81480,7 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: default: value: @@ -81576,8 +81617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: false content: @@ -81609,9 +81650,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *447 + default: *450 '400': *14 '422': *15 '403': *29 @@ -81632,8 +81673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -81684,7 +81725,7 @@ paths: schema: type: string '404': *6 - '409': *102 + '409': *108 '403': *29 '422': description: Validation failed @@ -81692,8 +81733,8 @@ paths: application/json: schema: oneOf: - - *212 - - *607 + - *218 + - *608 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81718,8 +81759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *432 - - *433 + - *435 + - *436 - name: file_sha in: path required: true @@ -81770,7 +81811,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81818,8 +81859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -81928,7 +81969,7 @@ paths: description: Response content: application/json: - schema: &608 + schema: &609 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -82092,7 +82133,7 @@ paths: type: string '422': *15 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82142,15 +82183,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *432 - - *433 - - *554 + - *435 + - *436 + - *555 responses: '200': description: Response content: application/json: - schema: *608 + schema: *609 examples: default: value: @@ -82181,7 +82222,7 @@ paths: payload: verified_at: '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82206,9 +82247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *432 - - *433 - - &609 + - *435 + - *436 + - &610 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -82225,7 +82266,7 @@ paths: application/json: schema: type: array - items: &610 + items: &611 title: Git Reference description: Git references within a repository type: object @@ -82279,7 +82320,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *40 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82300,17 +82341,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *432 - - *433 - - *609 + - *435 + - *436 + - *610 responses: '200': description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: &611 + default: &612 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -82320,7 +82361,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82339,8 +82380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -82369,16 +82410,16 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: *611 + default: *612 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82397,9 +82438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *432 - - *433 - - *609 + - *435 + - *436 + - *610 requestBody: required: true content: @@ -82428,11 +82469,11 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: *611 + default: *612 '422': *15 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82448,16 +82489,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *432 - - *433 - - *609 + - *435 + - *436 + - *610 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82505,8 +82546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -82573,7 +82614,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &614 title: Git Tag description: Metadata for a Git tag type: object @@ -82624,7 +82665,7 @@ paths: - sha - type - url - verification: *612 + verification: *613 required: - sha - url @@ -82634,7 +82675,7 @@ paths: - tag - message examples: - default: &614 + default: &615 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -82661,7 +82702,7 @@ paths: schema: type: string '422': *15 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82707,8 +82748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *432 - - *433 + - *435 + - *436 - name: tag_sha in: path required: true @@ -82719,11 +82760,11 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *614 + default: *615 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82745,8 +82786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -82819,7 +82860,7 @@ paths: description: Response content: application/json: - schema: &615 + schema: &616 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -82892,7 +82933,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82915,8 +82956,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *432 - - *433 + - *435 + - *436 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -82939,7 +82980,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: default-response: summary: Default response @@ -82980,7 +83021,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82998,8 +83039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -83009,7 +83050,7 @@ paths: application/json: schema: type: array - items: &616 + items: &617 title: Webhook description: Webhooks for repositories. type: object @@ -83063,7 +83104,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &867 + last_response: &868 title: Hook Response type: object properties: @@ -83137,8 +83178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: false content: @@ -83190,9 +83231,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: &617 + default: &618 value: type: Repository id: 12345678 @@ -83240,17 +83281,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 responses: '200': description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: *617 + default: *618 '404': *6 x-github: githubCloudOnly: false @@ -83270,9 +83311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 requestBody: required: true content: @@ -83317,9 +83358,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: *617 + default: *618 '422': *15 '404': *6 x-github: @@ -83340,9 +83381,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 responses: '204': description: Response @@ -83366,9 +83407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 responses: '200': description: Response @@ -83395,9 +83436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 requestBody: required: false content: @@ -83441,11 +83482,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 - *17 - - *305 + - *308 responses: '200': description: Response @@ -83453,9 +83494,9 @@ paths: application/json: schema: type: array - items: *306 + items: *309 examples: - default: *307 + default: *310 '400': *14 '422': *15 x-github: @@ -83474,18 +83515,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 - *16 responses: '200': description: Response content: application/json: - schema: *308 + schema: *311 examples: - default: *309 + default: *312 '400': *14 '422': *15 x-github: @@ -83504,9 +83545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 - *16 responses: '202': *39 @@ -83529,9 +83570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 responses: '204': description: Response @@ -83556,9 +83597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 responses: '204': description: Response @@ -83616,14 +83657,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: &618 + schema: &619 title: Import description: A repository import from an external source. type: object @@ -83722,7 +83763,7 @@ paths: - html_url - authors_url examples: - default: &621 + default: &622 value: vcs: subversion use_lfs: true @@ -83738,7 +83779,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &619 + '503': &620 description: Unavailable due to service under maintenance. content: application/json: @@ -83767,8 +83808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -83816,7 +83857,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: default: value: @@ -83841,7 +83882,7 @@ paths: type: string '422': *15 '404': *6 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83869,8 +83910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: false content: @@ -83919,7 +83960,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: example-1: summary: Example 1 @@ -83967,7 +84008,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83990,12 +84031,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84021,9 +84062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *432 - - *433 - - &806 + - *435 + - *436 + - &807 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -84037,7 +84078,7 @@ paths: application/json: schema: type: array - items: &620 + items: &621 title: Porter Author description: Porter Author type: object @@ -84091,7 +84132,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84116,8 +84157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *432 - - *433 + - *435 + - *436 - name: author_id in: path required: true @@ -84147,7 +84188,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *621 examples: default: value: @@ -84160,7 +84201,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84184,8 +84225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -84226,7 +84267,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84254,8 +84295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -84282,11 +84323,11 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: - default: *621 + default: *622 '422': *15 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84309,8 +84350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -84318,8 +84359,8 @@ paths: application/json: schema: *22 examples: - default: *622 - '301': *446 + default: *623 + '301': *449 '404': *6 x-github: githubCloudOnly: false @@ -84339,8 +84380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -84348,12 +84389,12 @@ paths: application/json: schema: anyOf: - - *322 + - *325 - type: object properties: {} additionalProperties: false examples: - default: &624 + default: &625 value: limit: collaborators_only origin: repository @@ -84378,13 +84419,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: application/json: - schema: *623 + schema: *624 examples: default: summary: Example request body @@ -84396,9 +84437,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *325 examples: - default: *624 + default: *625 '409': description: Response x-github: @@ -84420,8 +84461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -84444,8 +84485,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -84455,9 +84496,9 @@ paths: application/json: schema: type: array - items: *625 + items: *626 examples: - default: &799 + default: &800 value: - id: 1 repository: @@ -84588,9 +84629,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *432 - - *433 - - *326 + - *435 + - *436 + - *329 requestBody: required: false content: @@ -84619,7 +84660,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: default: value: @@ -84750,9 +84791,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *432 - - *433 - - *326 + - *435 + - *436 + - *329 responses: '204': description: Response @@ -84783,8 +84824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *432 - - *433 + - *435 + - *436 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -84832,7 +84873,7 @@ paths: required: false schema: type: string - - *330 + - *333 - name: sort description: What to sort results by. in: query @@ -84844,8 +84885,8 @@ paths: - updated - comments default: created - - *94 - - *175 + - *100 + - *181 - *17 - *19 responses: @@ -84855,9 +84896,9 @@ paths: application/json: schema: type: array - items: *185 + items: *191 examples: - default: &634 + default: &635 value: - id: 1 node_id: MDU6SXNzdWUx @@ -85005,7 +85046,7 @@ paths: state_reason: completed headers: Link: *40 - '301': *446 + '301': *449 '422': *15 '404': *6 x-github: @@ -85034,8 +85075,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -85117,9 +85158,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: &631 + default: &632 value: id: 1 node_id: MDU6SXNzdWUx @@ -85273,9 +85314,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *160 + '503': *166 '404': *6 - '410': *443 + '410': *446 x-github: triggersNotification: true githubCloudOnly: false @@ -85303,9 +85344,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *432 - - *433 - - *195 + - *435 + - *436 + - *201 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -85315,7 +85356,7 @@ paths: enum: - asc - desc - - *175 + - *181 - *17 - *19 responses: @@ -85325,9 +85366,9 @@ paths: application/json: schema: type: array - items: *626 + items: *627 examples: - default: &633 + default: &634 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -85385,17 +85426,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 responses: '200': description: Response content: application/json: - schema: *626 + schema: *627 examples: - default: &627 + default: &628 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -85449,9 +85490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 requestBody: required: true content: @@ -85473,9 +85514,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *627 examples: - default: *627 + default: *628 '422': *15 x-github: githubCloudOnly: false @@ -85493,9 +85534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 responses: '204': description: Response @@ -85515,9 +85556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 - 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. @@ -85543,9 +85584,9 @@ paths: application/json: schema: type: array - items: *421 + items: *424 examples: - default: *423 + default: *426 headers: Link: *40 '404': *6 @@ -85566,9 +85607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 requestBody: required: true content: @@ -85600,16 +85641,16 @@ paths: description: Reaction exists content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '201': description: Reaction created content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -85631,10 +85672,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *432 - - *433 - - *184 - - *424 + - *435 + - *436 + - *190 + - *427 responses: '204': description: Response @@ -85654,8 +85695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -85665,7 +85706,7 @@ paths: application/json: schema: type: array - items: &630 + items: &631 title: Issue Event description: Issue Event type: object @@ -85708,8 +85749,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *628 - required: *629 + properties: *629 + required: *630 nullable: true label: title: Issue Event Label @@ -85753,7 +85794,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *266 + requested_team: *269 dismissed_review: title: Issue Event Dismissed Review type: object @@ -85818,7 +85859,7 @@ paths: required: - from - to - author_association: *172 + author_association: *178 lock_reason: type: string nullable: true @@ -85831,8 +85872,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 required: - id - node_id @@ -86016,8 +86057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *432 - - *433 + - *435 + - *436 - name: event_id in: path required: true @@ -86028,7 +86069,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *631 examples: default: value: @@ -86221,7 +86262,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *443 + '410': *446 '403': *29 x-github: githubCloudOnly: false @@ -86255,9 +86296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *432 - - *433 - - &632 + - *435 + - *436 + - &633 name: issue_number description: The number that identifies the issue. in: path @@ -86269,12 +86310,12 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 - '301': *446 + default: *632 + '301': *449 '404': *6 - '410': *443 + '410': *446 '304': *37 x-github: githubCloudOnly: false @@ -86299,9 +86340,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: false content: @@ -86405,15 +86446,15 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 + default: *632 '422': *15 - '503': *160 + '503': *166 '403': *29 - '301': *446 + '301': *449 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86431,9 +86472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: false content: @@ -86459,9 +86500,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86477,9 +86518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: content: application/json: @@ -86504,9 +86545,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86528,9 +86569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - name: assignee in: path required: true @@ -86570,10 +86611,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *432 - - *433 - - *632 - - *175 + - *435 + - *436 + - *633 + - *181 - *17 - *19 responses: @@ -86583,13 +86624,13 @@ paths: application/json: schema: type: array - items: *626 + items: *627 examples: - default: *633 + default: *634 headers: Link: *40 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86618,9 +86659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: true content: @@ -86642,16 +86683,16 @@ paths: description: Response content: application/json: - schema: *626 + schema: *627 examples: - default: *627 + default: *628 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *443 + '410': *446 '422': *15 '404': *6 x-github: @@ -86679,9 +86720,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - *17 - *19 responses: @@ -86691,14 +86732,14 @@ paths: application/json: schema: type: array - items: *185 + items: *191 examples: - default: *634 + default: *635 headers: Link: *40 - '301': *446 + '301': *449 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86726,9 +86767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: true content: @@ -86750,17 +86791,17 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 + default: *632 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *446 + '301': *449 '403': *29 - '410': *443 + '410': *446 '422': *15 '404': *6 x-github: @@ -86791,9 +86832,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -86805,15 +86846,15 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 - '301': *446 + default: *632 + '301': *449 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *443 + '410': *446 x-github: triggersNotification: true githubCloudOnly: false @@ -86839,9 +86880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - *17 - *19 responses: @@ -86851,14 +86892,14 @@ paths: application/json: schema: type: array - items: *185 + items: *191 examples: - default: *634 + default: *635 headers: Link: *40 - '301': *446 + '301': *449 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86875,9 +86916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - *17 - *19 responses: @@ -86891,7 +86932,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &637 + - &638 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -86922,8 +86963,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 label: type: object properties: @@ -86945,7 +86986,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &638 + - &639 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -86976,8 +87017,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 label: type: object properties: @@ -87065,8 +87106,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 assignee: *4 assigner: *4 required: @@ -87081,7 +87122,7 @@ paths: - performed_via_github_app - assignee - assigner - - &639 + - &640 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -87112,8 +87153,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 milestone: type: object properties: @@ -87132,7 +87173,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &640 + - &641 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -87163,8 +87204,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 milestone: type: object properties: @@ -87183,7 +87224,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &641 + - &642 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -87214,8 +87255,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 rename: type: object properties: @@ -87237,7 +87278,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &642 + - &643 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -87268,10 +87309,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 review_requester: *4 - requested_team: *266 + requested_team: *269 requested_reviewer: *4 required: - review_requester @@ -87284,7 +87325,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &643 + - &644 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -87315,10 +87356,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 review_requester: *4 - requested_team: *266 + requested_team: *269 requested_reviewer: *4 required: - review_requester @@ -87331,7 +87372,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &644 + - &645 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -87362,8 +87403,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 dismissed_review: type: object properties: @@ -87391,7 +87432,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &645 + - &646 title: Locked Issue Event description: Locked Issue Event type: object @@ -87422,8 +87463,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 lock_reason: type: string example: '"off-topic"' @@ -87439,7 +87480,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &646 + - &647 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -87470,8 +87511,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 project_card: type: object properties: @@ -87505,7 +87546,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &647 + - &648 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -87536,8 +87577,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 project_card: type: object properties: @@ -87571,7 +87612,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &648 + - &649 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -87602,8 +87643,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 project_card: type: object properties: @@ -87637,7 +87678,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &650 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -87728,7 +87769,7 @@ paths: color: red headers: Link: *40 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87745,9 +87786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - *17 - *19 responses: @@ -87757,7 +87798,7 @@ paths: application/json: schema: type: array - items: &635 + items: &636 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -87804,7 +87845,7 @@ paths: - color - default examples: - default: &636 + default: &637 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -87822,9 +87863,9 @@ paths: default: false headers: Link: *40 - '301': *446 + '301': *449 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87841,9 +87882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: false content: @@ -87902,12 +87943,12 @@ paths: application/json: schema: type: array - items: *635 + items: *636 examples: - default: *636 - '301': *446 + default: *637 + '301': *449 '404': *6 - '410': *443 + '410': *446 '422': *15 x-github: githubCloudOnly: false @@ -87924,9 +87965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: false content: @@ -87986,12 +88027,12 @@ paths: application/json: schema: type: array - items: *635 + items: *636 examples: - default: *636 - '301': *446 + default: *637 + '301': *449 '404': *6 - '410': *443 + '410': *446 '422': *15 x-github: githubCloudOnly: false @@ -88008,15 +88049,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 responses: '204': description: Response - '301': *446 + '301': *449 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88035,9 +88076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - name: name in: path required: true @@ -88050,7 +88091,7 @@ paths: application/json: schema: type: array - items: *635 + items: *636 examples: default: value: @@ -88061,9 +88102,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *446 + '301': *449 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88083,9 +88124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: false content: @@ -88113,7 +88154,7 @@ paths: '204': description: Response '403': *29 - '410': *443 + '410': *446 '404': *6 '422': *15 x-github: @@ -88131,9 +88172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 responses: '204': description: Response @@ -88163,20 +88204,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 responses: '200': description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 - '301': *446 + default: *632 + '301': *449 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88193,9 +88234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - 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. @@ -88221,13 +88262,13 @@ paths: application/json: schema: type: array - items: *421 + items: *424 examples: - default: *423 + default: *426 headers: Link: *40 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88245,9 +88286,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: true content: @@ -88279,16 +88320,16 @@ paths: description: Response content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '201': description: Response content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -88310,10 +88351,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *432 - - *433 - - *632 - - *424 + - *435 + - *436 + - *633 + - *427 responses: '204': description: Response @@ -88342,9 +88383,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: true content: @@ -88366,9 +88407,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 + default: *632 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -88401,9 +88442,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - *17 - *19 responses: @@ -88413,13 +88454,13 @@ paths: application/json: schema: type: array - items: *185 + items: *191 examples: - default: *634 + default: *635 headers: Link: *40 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88447,9 +88488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: true content: @@ -88476,16 +88517,16 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 + default: *632 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *443 + '410': *446 '422': *15 '404': *6 x-github: @@ -88505,9 +88546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: true content: @@ -88538,13 +88579,13 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 + default: *632 '403': *29 '404': *6 '422': *7 - '503': *160 + '503': *166 x-github: triggersNotification: true githubCloudOnly: false @@ -88562,9 +88603,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - *17 - *19 responses: @@ -88579,7 +88620,6 @@ paths: description: Timeline Event type: object anyOf: - - *637 - *638 - *639 - *640 @@ -88592,6 +88632,7 @@ paths: - *647 - *648 - *649 + - *650 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -88634,7 +88675,7 @@ paths: issue_url: type: string format: uri - author_association: *172 + author_association: *178 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -88644,9 +88685,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 - reactions: *173 + properties: *176 + required: *177 + reactions: *179 required: - event - actor @@ -88677,7 +88718,7 @@ paths: properties: type: type: string - issue: *185 + issue: *191 required: - event - created_at @@ -88877,7 +88918,7 @@ paths: type: string body_text: type: string - author_association: *172 + author_association: *178 required: - event - id @@ -88900,7 +88941,7 @@ paths: type: string comments: type: array - items: &669 + items: &670 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -88989,7 +89030,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *172 + author_association: *178 _links: type: object properties: @@ -89073,7 +89114,7 @@ paths: enum: - line - file - reactions: *173 + reactions: *179 body_html: type: string example: '"

comment body

"' @@ -89109,7 +89150,7 @@ paths: type: string comments: type: array - items: *552 + items: *553 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -89140,8 +89181,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 assignee: *4 required: - id @@ -89184,8 +89225,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 assignee: *4 required: - id @@ -89228,8 +89269,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 state_reason: type: string nullable: true @@ -89398,7 +89439,7 @@ paths: headers: Link: *40 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89415,8 +89456,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -89426,7 +89467,7 @@ paths: application/json: schema: type: array - items: &650 + items: &651 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -89492,8 +89533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -89529,9 +89570,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: &651 + default: &652 value: id: 1 key: ssh-rsa AAA... @@ -89565,9 +89606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *432 - - *433 - - &652 + - *435 + - *436 + - &653 name: key_id description: The unique identifier of the key. in: path @@ -89579,9 +89620,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: *651 + default: *652 '404': *6 x-github: githubCloudOnly: false @@ -89599,9 +89640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *432 - - *433 - - *652 + - *435 + - *436 + - *653 responses: '204': description: Response @@ -89621,8 +89662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -89632,9 +89673,9 @@ paths: application/json: schema: type: array - items: *635 + items: *636 examples: - default: *636 + default: *637 headers: Link: *40 '404': *6 @@ -89655,8 +89696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -89692,9 +89733,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: &653 + default: &654 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -89726,8 +89767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *432 - - *433 + - *435 + - *436 - name: name in: path required: true @@ -89738,9 +89779,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: *653 + default: *654 '404': *6 x-github: githubCloudOnly: false @@ -89757,8 +89798,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *432 - - *433 + - *435 + - *436 - name: name in: path required: true @@ -89797,7 +89838,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: default: value: @@ -89823,8 +89864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *432 - - *433 + - *435 + - *436 - name: name in: path required: true @@ -89850,8 +89891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -89887,8 +89928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '202': *39 '403': @@ -89916,8 +89957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -89943,9 +89984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *432 - - *433 - - *528 + - *435 + - *436 + - *529 responses: '200': description: Response @@ -90007,8 +90048,8 @@ paths: title: License Simple description: License Simple type: object - properties: *186 - required: *187 + properties: *192 + required: *193 nullable: true required: - _links @@ -90090,8 +90131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -90156,8 +90197,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -90191,9 +90232,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *553 + schema: *554 examples: - default: *654 + default: *655 '204': description: Response when already merged '404': @@ -90218,8 +90259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *432 - - *433 + - *435 + - *436 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -90260,12 +90301,12 @@ paths: application/json: schema: type: array - items: &655 + items: &656 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *367 - required: *368 + properties: *370 + required: *371 examples: default: value: @@ -90321,8 +90362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -90362,9 +90403,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *656 examples: - default: &656 + default: &657 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -90423,9 +90464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *432 - - *433 - - &657 + - *435 + - *436 + - &658 name: milestone_number description: The number that identifies the milestone. in: path @@ -90437,9 +90478,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *656 examples: - default: *656 + default: *657 '404': *6 x-github: githubCloudOnly: false @@ -90456,9 +90497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *432 - - *433 - - *657 + - *435 + - *436 + - *658 requestBody: required: false content: @@ -90496,9 +90537,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *656 examples: - default: *656 + default: *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90514,9 +90555,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *432 - - *433 - - *657 + - *435 + - *436 + - *658 responses: '204': description: Response @@ -90537,9 +90578,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *432 - - *433 - - *657 + - *435 + - *436 + - *658 - *17 - *19 responses: @@ -90549,9 +90590,9 @@ paths: application/json: schema: type: array - items: *635 + items: *636 examples: - default: *636 + default: *637 headers: Link: *40 x-github: @@ -90570,12 +90611,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *432 - - *433 - - *658 + - *435 + - *436 - *659 - - *175 - *660 + - *181 + - *661 - *17 - *19 responses: @@ -90585,9 +90626,9 @@ paths: application/json: schema: type: array - items: *198 + items: *204 examples: - default: *661 + default: *662 headers: Link: *40 x-github: @@ -90611,8 +90652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: false content: @@ -90670,14 +90711,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: &662 + schema: &663 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -90802,7 +90843,7 @@ paths: - custom_404 - public examples: - default: &663 + default: &664 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -90843,8 +90884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -90898,11 +90939,11 @@ paths: description: Response content: application/json: - schema: *662 + schema: *663 examples: - default: *663 + default: *664 '422': *15 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90923,8 +90964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -91010,7 +91051,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91031,14 +91072,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response '422': *15 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91058,8 +91099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -91069,7 +91110,7 @@ paths: application/json: schema: type: array - items: &664 + items: &665 title: Page Build description: Page Build type: object @@ -91163,8 +91204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *432 - - *433 + - *435 + - *436 responses: '201': description: Response @@ -91209,16 +91250,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: &665 + default: &666 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -91266,8 +91307,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *432 - - *433 + - *435 + - *436 - name: build_id in: path required: true @@ -91278,9 +91319,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: *665 + default: *666 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91300,8 +91341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -91406,9 +91447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *432 - - *433 - - &666 + - *435 + - *436 + - &667 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -91466,11 +91507,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *432 - - *433 - - *666 + - *435 + - *436 + - *667 responses: - '204': *126 + '204': *132 '404': *6 x-github: githubCloudOnly: false @@ -91495,8 +91536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -91727,7 +91768,7 @@ paths: description: Empty response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -91754,8 +91795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Private vulnerability reporting status @@ -91792,10 +91833,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: - '204': *126 + '204': *132 '422': *14 x-github: githubCloudOnly: false @@ -91814,10 +91855,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: - '204': *126 + '204': *132 '422': *14 x-github: githubCloudOnly: false @@ -91838,8 +91879,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *432 - - *433 + - *435 + - *436 - name: state description: Indicates the state of the projects to return. in: query @@ -91860,7 +91901,7 @@ paths: application/json: schema: type: array - items: *361 + items: *364 examples: default: value: @@ -91900,7 +91941,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *443 + '410': *446 '422': *7 x-github: githubCloudOnly: false @@ -91923,8 +91964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -91950,13 +91991,13 @@ paths: description: Response content: application/json: - schema: *361 + schema: *364 examples: - default: *442 + default: *445 '401': *25 '403': *29 '404': *6 - '410': *443 + '410': *446 '422': *7 x-github: githubCloudOnly: false @@ -91979,8 +92020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -91988,7 +92029,7 @@ paths: application/json: schema: type: array - items: *375 + items: *378 examples: default: value: @@ -92019,8 +92060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -92032,7 +92073,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *375 + items: *378 required: - properties examples: @@ -92082,8 +92123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *432 - - *433 + - *435 + - *436 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -92143,9 +92184,9 @@ paths: application/json: schema: type: array - items: *557 + items: *558 examples: - default: *667 + default: *668 headers: Link: *40 '304': *37 @@ -92177,8 +92218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -92243,7 +92284,7 @@ paths: description: Response content: application/json: - schema: &671 + schema: &672 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -92354,8 +92395,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *367 - required: *368 + properties: *370 + required: *371 nullable: true active_lock_reason: type: string @@ -92400,7 +92441,7 @@ paths: nullable: true requested_teams: type: array - items: *399 + items: *402 nullable: true head: type: object @@ -92439,14 +92480,14 @@ paths: _links: type: object properties: - comments: *369 - commits: *369 - statuses: *369 - html: *369 - issue: *369 - review_comments: *369 - review_comment: *369 - self: *369 + comments: *372 + commits: *372 + statuses: *372 + html: *372 + issue: *372 + review_comments: *372 + review_comment: *372 + self: *372 required: - comments - commits @@ -92456,8 +92497,8 @@ paths: - review_comments - review_comment - self - author_association: *172 - auto_merge: *668 + author_association: *178 + auto_merge: *669 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -92549,7 +92590,7 @@ paths: - merged_by - review_comments examples: - default: &672 + default: &673 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -93076,8 +93117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - name: sort in: query required: false @@ -93096,7 +93137,7 @@ paths: enum: - asc - desc - - *175 + - *181 - *17 - *19 responses: @@ -93106,9 +93147,9 @@ paths: application/json: schema: type: array - items: *669 + items: *670 examples: - default: &674 + default: &675 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -93185,17 +93226,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 responses: '200': description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: &670 + default: &671 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -93270,9 +93311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 requestBody: required: true content: @@ -93294,9 +93335,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: *670 + default: *671 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93312,9 +93353,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 responses: '204': description: Response @@ -93335,9 +93376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 - 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. @@ -93363,9 +93404,9 @@ paths: application/json: schema: type: array - items: *421 + items: *424 examples: - default: *423 + default: *426 headers: Link: *40 '404': *6 @@ -93386,9 +93427,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 requestBody: required: true content: @@ -93420,16 +93461,16 @@ paths: description: Reaction exists content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '201': description: Reaction created content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -93451,10 +93492,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *432 - - *433 - - *184 - - *424 + - *435 + - *436 + - *190 + - *427 responses: '204': description: Response @@ -93497,9 +93538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *432 - - *433 - - &673 + - *435 + - *436 + - &674 name: pull_number description: The number that identifies the pull request. in: path @@ -93512,9 +93553,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *671 + schema: *672 examples: - default: *672 + default: *673 '304': *37 '404': *6 '406': @@ -93523,7 +93564,7 @@ paths: application/json: schema: *3 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93549,9 +93590,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 requestBody: required: false content: @@ -93593,9 +93634,9 @@ paths: description: Response content: application/json: - schema: *671 + schema: *672 examples: - default: *672 + default: *673 '422': *15 '403': *29 x-github: @@ -93617,9 +93658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 requestBody: required: true content: @@ -93679,21 +93720,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '401': *25 '403': *29 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93719,10 +93760,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *432 - - *433 - - *673 - - *195 + - *435 + - *436 + - *674 + - *201 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -93732,7 +93773,7 @@ paths: enum: - asc - desc - - *175 + - *181 - *17 - *19 responses: @@ -93742,9 +93783,9 @@ paths: application/json: schema: type: array - items: *669 + items: *670 examples: - default: *674 + default: *675 headers: Link: *40 x-github: @@ -93777,9 +93818,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 requestBody: required: true content: @@ -93884,7 +93925,7 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: example-for-a-multi-line-comment: value: @@ -93972,10 +94013,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *432 - - *433 - - *673 - - *184 + - *435 + - *436 + - *674 + - *190 requestBody: required: true content: @@ -93997,7 +94038,7 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: default: value: @@ -94083,9 +94124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 - *17 - *19 responses: @@ -94095,9 +94136,9 @@ paths: application/json: schema: type: array - items: *553 + items: *554 examples: - default: *675 + default: *676 headers: Link: *40 x-github: @@ -94127,9 +94168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 - *17 - *19 responses: @@ -94139,7 +94180,7 @@ paths: application/json: schema: type: array - items: *566 + items: *567 examples: default: value: @@ -94158,7 +94199,7 @@ paths: Link: *40 '422': *15 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94177,9 +94218,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 responses: '204': description: Response if pull request has been merged @@ -94202,9 +94243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 requestBody: required: false content: @@ -94315,9 +94356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 responses: '200': description: Response @@ -94333,7 +94374,7 @@ paths: items: *4 teams: type: array - items: *266 + items: *269 required: - users - teams @@ -94392,9 +94433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 requestBody: required: false content: @@ -94431,7 +94472,7 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: default: value: @@ -94967,9 +95008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 requestBody: required: true content: @@ -95003,7 +95044,7 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: default: value: @@ -95508,9 +95549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 - *17 - *19 responses: @@ -95520,7 +95561,7 @@ paths: application/json: schema: type: array - items: &676 + items: &677 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -95589,7 +95630,7 @@ paths: type: string body_text: type: string - author_association: *172 + author_association: *178 required: - id - node_id @@ -95671,9 +95712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 requestBody: required: false content: @@ -95759,9 +95800,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *677 examples: - default: &678 + default: &679 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -95824,10 +95865,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *432 - - *433 - - *673 - - &677 + - *435 + - *436 + - *674 + - &678 name: review_id description: The unique identifier of the review. in: path @@ -95839,9 +95880,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *677 examples: - default: &679 + default: &680 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -95900,10 +95941,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *432 - - *433 - - *673 - - *677 + - *435 + - *436 + - *674 + - *678 requestBody: required: true content: @@ -95926,7 +95967,7 @@ paths: description: Response content: application/json: - schema: *676 + schema: *677 examples: default: value: @@ -95988,18 +96029,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *432 - - *433 - - *673 - - *677 + - *435 + - *436 + - *674 + - *678 responses: '200': description: Response content: application/json: - schema: *676 + schema: *677 examples: - default: *678 + default: *679 '422': *7 '404': *6 x-github: @@ -96026,10 +96067,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *432 - - *433 - - *673 - - *677 + - *435 + - *436 + - *674 + - *678 - *17 - *19 responses: @@ -96108,13 +96149,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *172 + author_association: *178 _links: type: object properties: - self: *369 - html: *369 - pull_request: *369 + self: *372 + html: *372 + pull_request: *372 required: - self - html @@ -96123,7 +96164,7 @@ paths: type: string body_html: type: string - reactions: *173 + reactions: *179 side: description: The side of the first line of the range for a multi-line comment. @@ -96264,10 +96305,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *432 - - *433 - - *673 - - *677 + - *435 + - *436 + - *674 + - *678 requestBody: required: true content: @@ -96295,7 +96336,7 @@ paths: description: Response content: application/json: - schema: *676 + schema: *677 examples: default: value: @@ -96358,10 +96399,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *432 - - *433 - - *673 - - *677 + - *435 + - *436 + - *674 + - *678 requestBody: required: true content: @@ -96396,9 +96437,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *677 examples: - default: *679 + default: *680 '404': *6 '422': *7 '403': *29 @@ -96420,9 +96461,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 requestBody: required: false content: @@ -96485,8 +96526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *432 - - *433 + - *435 + - *436 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -96499,9 +96540,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *681 examples: - default: &681 + default: &682 value: type: file encoding: base64 @@ -96543,8 +96584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *432 - - *433 + - *435 + - *436 - name: dir description: The alternate path to look for a README file in: path @@ -96564,9 +96605,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *681 examples: - default: *681 + default: *682 '404': *6 '422': *15 x-github: @@ -96588,8 +96629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -96599,7 +96640,7 @@ paths: application/json: schema: type: array - items: &682 + items: &683 title: Release description: A release. type: object @@ -96670,7 +96711,7 @@ paths: author: *4 assets: type: array - items: &683 + items: &684 title: Release Asset description: Data related to a release. type: object @@ -96745,7 +96786,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *173 + reactions: *179 required: - assets_url - upload_url @@ -96857,8 +96898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -96934,9 +96975,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *683 examples: - default: &686 + default: &687 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -97041,9 +97082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *432 - - *433 - - &684 + - *435 + - *436 + - &685 name: asset_id description: The unique identifier of the asset. in: path @@ -97055,9 +97096,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: &685 + default: &686 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -97092,7 +97133,7 @@ paths: type: User site_admin: false '404': *6 - '302': *568 + '302': *569 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97108,9 +97149,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *432 - - *433 - - *684 + - *435 + - *436 + - *685 requestBody: required: false content: @@ -97138,9 +97179,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: *685 + default: *686 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97156,9 +97197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *432 - - *433 - - *684 + - *435 + - *436 + - *685 responses: '204': description: Response @@ -97182,8 +97223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -97268,16 +97309,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *682 + schema: *683 examples: - default: *686 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97294,8 +97335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *432 - - *433 + - *435 + - *436 - name: tag description: tag parameter in: path @@ -97308,9 +97349,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *683 examples: - default: *686 + default: *687 '404': *6 x-github: githubCloudOnly: false @@ -97332,9 +97373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *432 - - *433 - - &687 + - *435 + - *436 + - &688 name: release_id description: The unique identifier of the release. in: path @@ -97348,9 +97389,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *682 + schema: *683 examples: - default: *686 + default: *687 '401': description: Unauthorized x-github: @@ -97368,9 +97409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *432 - - *433 - - *687 + - *435 + - *436 + - *688 requestBody: required: false content: @@ -97434,9 +97475,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *683 examples: - default: *686 + default: *687 '404': description: Not Found if the discussion category name is invalid content: @@ -97457,9 +97498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *432 - - *433 - - *687 + - *435 + - *436 + - *688 responses: '204': description: Response @@ -97479,9 +97520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *432 - - *433 - - *687 + - *435 + - *436 + - *688 - *17 - *19 responses: @@ -97491,7 +97532,7 @@ paths: application/json: schema: type: array - items: *683 + items: *684 examples: default: value: @@ -97573,9 +97614,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *432 - - *433 - - *687 + - *435 + - *436 + - *688 - name: name in: query required: true @@ -97601,7 +97642,7 @@ paths: description: Response for successful upload content: application/json: - schema: *683 + schema: *684 examples: response-for-successful-upload: value: @@ -97656,9 +97697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *432 - - *433 - - *687 + - *435 + - *436 + - *688 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -97682,9 +97723,9 @@ paths: application/json: schema: type: array - items: *421 + items: *424 examples: - default: *423 + default: *426 headers: Link: *40 '404': *6 @@ -97705,9 +97746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *432 - - *433 - - *687 + - *435 + - *436 + - *688 requestBody: required: true content: @@ -97737,16 +97778,16 @@ paths: description: Reaction exists content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '201': description: Reaction created content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -97768,10 +97809,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *432 - - *433 - - *687 - - *424 + - *435 + - *436 + - *688 + - *427 responses: '204': description: Response @@ -97795,9 +97836,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 - *17 - *19 responses: @@ -97813,8 +97854,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *135 - - &688 + - *141 + - &689 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -97833,66 +97874,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *136 - - *688 - - allOf: - - *137 - - *688 - - allOf: - - *138 - - *688 - - allOf: - - *689 - - *688 - - allOf: - - *139 - - *688 - - allOf: - - *140 - - *688 - - allOf: - - *141 - - *688 - allOf: - *142 - - *688 + - *689 - allOf: - *143 - - *688 + - *689 - allOf: - *144 - - *688 + - *689 + - allOf: + - *690 + - *689 - allOf: - *145 - - *688 + - *689 - allOf: - *146 - - *688 + - *689 - allOf: - *147 - - *688 + - *689 - allOf: - *148 - - *688 + - *689 - allOf: - *149 - - *688 + - *689 - allOf: - *150 - - *688 + - *689 - allOf: - *151 - - *688 + - *689 - allOf: - *152 - - *688 + - *689 - allOf: - *153 - - *688 + - *689 - allOf: - *154 - - *688 + - *689 + - allOf: + - *155 + - *689 + - allOf: + - *156 + - *689 + - allOf: + - *157 + - *689 + - allOf: + - *158 + - *689 + - allOf: + - *159 + - *689 + - allOf: + - *160 + - *689 examples: default: value: @@ -97931,8 +97972,8 @@ paths: category: repos subcategory: rules parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 - name: includes_parents @@ -97943,7 +97984,7 @@ paths: schema: type: boolean default: true - - *690 + - *691 responses: '200': description: Response @@ -97951,7 +97992,7 @@ paths: application/json: schema: type: array - items: *155 + items: *161 examples: default: value: @@ -97998,8 +98039,8 @@ paths: category: repos subcategory: rules parameters: - - *432 - - *433 + - *435 + - *436 requestBody: description: Request body required: true @@ -98019,16 +98060,16 @@ paths: - tag - push default: branch - enforcement: *133 + enforcement: *139 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *134 - conditions: *129 + items: *140 + conditions: *135 rules: type: array description: An array of rules within the ruleset. - items: *691 + items: *692 required: - name - enforcement @@ -98059,9 +98100,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *161 examples: - default: &700 + default: &701 value: id: 42 name: super cool ruleset @@ -98108,12 +98149,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *432 - - *433 - - *692 - - *260 + - *435 + - *436 - *693 + - *95 - *694 + - *695 - *17 - *19 responses: @@ -98121,9 +98162,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *696 examples: - default: *696 + default: *697 '404': *6 '500': *91 x-github: @@ -98144,17 +98185,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *432 - - *433 - - *697 + - *435 + - *436 + - *698 responses: '200': description: Response content: application/json: - schema: *698 + schema: *699 examples: - default: *699 + default: *700 '404': *6 '500': *91 x-github: @@ -98182,8 +98223,8 @@ paths: category: repos subcategory: rules parameters: - - *432 - - *433 + - *435 + - *436 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98203,9 +98244,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *161 examples: - default: *700 + default: *701 '404': *6 '500': *91 put: @@ -98223,8 +98264,8 @@ paths: category: repos subcategory: rules parameters: - - *432 - - *433 + - *435 + - *436 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98249,16 +98290,16 @@ paths: - branch - tag - push - enforcement: *133 + enforcement: *139 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *134 - conditions: *129 + items: *140 + conditions: *135 rules: description: An array of rules within the ruleset. type: array - items: *691 + items: *692 examples: default: value: @@ -98286,9 +98327,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *161 examples: - default: *700 + default: *701 '404': *6 '500': *91 delete: @@ -98306,8 +98347,8 @@ paths: category: repos subcategory: rules parameters: - - *432 - - *433 + - *435 + - *436 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98330,8 +98371,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 - name: ruleset_id @@ -98347,9 +98388,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - default: *384 + default: *387 '404': *6 '500': *91 x-github: @@ -98368,8 +98409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *432 - - *433 + - *435 + - *436 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98387,7 +98428,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *388 examples: default: value: @@ -98442,21 +98483,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *432 - - *433 - - *386 - - *387 - - *388 + - *435 + - *436 - *389 - - *94 - - *19 - - *17 - - *701 - - *702 - *390 - *391 - *392 + - *100 + - *19 + - *17 + - *702 + - *703 - *393 + - *394 + - *395 + - *396 responses: '200': description: Response @@ -98464,11 +98505,11 @@ paths: application/json: schema: type: array - items: &706 + items: &707 type: object properties: - number: *106 - created_at: *113 + number: *112 + created_at: *119 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -98476,15 +98517,15 @@ paths: format: date-time readOnly: true nullable: true - url: *111 - html_url: *112 + url: *117 + html_url: *118 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *703 - resolution: *704 + state: *704 + resolution: *705 resolved_at: type: string format: date-time @@ -98580,7 +98621,7 @@ paths: pull request. ' - oneOf: *705 + oneOf: *706 nullable: true has_more_locations: type: boolean @@ -98681,7 +98722,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98703,16 +98744,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *432 - - *433 - - *522 - - *393 + - *435 + - *436 + - *523 + - *396 responses: '200': description: Response content: application/json: - schema: *706 + schema: *707 examples: default: value: @@ -98743,7 +98784,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98764,9 +98805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *432 - - *433 - - *522 + - *435 + - *436 + - *523 requestBody: required: true content: @@ -98774,8 +98815,8 @@ paths: schema: type: object properties: - state: *703 - resolution: *704 + state: *704 + resolution: *705 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -98793,7 +98834,7 @@ paths: description: Response content: application/json: - schema: *706 + schema: *707 examples: default: value: @@ -98846,7 +98887,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *160 + '503': *166 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -98868,9 +98909,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *432 - - *433 - - *522 + - *435 + - *436 + - *523 - *19 - *17 responses: @@ -98881,7 +98922,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &889 + items: &890 type: object properties: type: @@ -98907,7 +98948,6 @@ paths: example: commit details: oneOf: - - *707 - *708 - *709 - *710 @@ -98920,6 +98960,7 @@ paths: - *717 - *718 - *719 + - *720 examples: default: value: @@ -98983,7 +99024,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99005,8 +99046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -99014,14 +99055,14 @@ paths: schema: type: object properties: - reason: &721 + reason: &722 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *720 + placeholder_id: *721 required: - reason - placeholder_id @@ -99038,7 +99079,7 @@ paths: schema: type: object properties: - reason: *721 + reason: *722 expire_at: type: string format: date-time @@ -99061,7 +99102,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *160 + '503': *166 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -99081,13 +99122,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *160 + '503': *166 '200': description: Response content: @@ -99097,7 +99138,7 @@ paths: properties: incremental_scans: type: array - items: &722 + items: &723 description: Information on a single scan performed by secret scanning on the repository type: object @@ -99123,15 +99164,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *722 + items: *723 backfill_scans: type: array - items: *722 + items: *723 custom_pattern_backfill_scans: type: array items: allOf: - - *722 + - *723 - type: object properties: pattern_name: @@ -99201,9 +99242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *432 - - *433 - - *94 + - *435 + - *436 + - *100 - name: sort description: The property to sort the results by. in: query @@ -99215,8 +99256,8 @@ paths: - updated - published default: created - - *92 - - *93 + - *98 + - *99 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -99246,9 +99287,9 @@ paths: application/json: schema: type: array - items: *723 + items: *724 examples: - default: *724 + default: *725 '400': *14 '404': *6 x-github: @@ -99271,8 +99312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -99345,7 +99386,7 @@ paths: login: type: string description: The username of the user credited. - type: *398 + type: *401 required: - login - type @@ -99432,9 +99473,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *724 examples: - default: &726 + default: &727 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -99667,8 +99708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -99772,7 +99813,7 @@ paths: description: Response content: application/json: - schema: *723 + schema: *724 examples: default: value: @@ -99919,17 +99960,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *432 - - *433 - - *725 + - *435 + - *436 + - *726 responses: '200': description: Response content: application/json: - schema: *723 + schema: *724 examples: - default: *726 + default: *727 '403': *29 '404': *6 x-github: @@ -99953,9 +99994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *432 - - *433 - - *725 + - *435 + - *436 + - *726 requestBody: required: true content: @@ -100028,7 +100069,7 @@ paths: login: type: string description: The username of the user credited. - type: *398 + type: *401 required: - login - type @@ -100114,17 +100155,17 @@ paths: description: Response content: application/json: - schema: *723 + schema: *724 examples: - default: *726 - add_credit: *726 + default: *727 + add_credit: *727 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *212 + schema: *218 examples: invalid_state_transition: value: @@ -100155,9 +100196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *432 - - *433 - - *725 + - *435 + - *436 + - *726 responses: '202': *39 '400': *14 @@ -100184,17 +100225,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *432 - - *433 - - *725 + - *435 + - *436 + - *726 responses: '202': description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *447 + default: *450 '400': *14 '422': *15 '403': *29 @@ -100220,8 +100261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -100320,8 +100361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -100330,7 +100371,7 @@ paths: application/json: schema: type: array - items: &727 + items: &728 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -100343,7 +100384,7 @@ paths: - 1124 - -435 '202': *39 - '204': *126 + '204': *132 '422': description: Repository contains more than 10,000 commits x-github: @@ -100363,8 +100404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -100413,7 +100454,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *126 + '204': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100440,8 +100481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -100515,7 +100556,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *126 + '204': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100537,8 +100578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -100692,8 +100733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -100703,7 +100744,7 @@ paths: application/json: schema: type: array - items: *727 + items: *728 examples: default: value: @@ -100716,7 +100757,7 @@ paths: - - 0 - 2 - 21 - '204': *126 + '204': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100736,8 +100777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *432 - - *433 + - *435 + - *436 - name: sha in: path required: true @@ -100791,7 +100832,7 @@ paths: description: Response content: application/json: - schema: *728 + schema: *729 examples: default: value: @@ -100845,8 +100886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -100858,7 +100899,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 x-github: @@ -100878,14 +100919,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &729 + schema: &730 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -100953,8 +100994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: false content: @@ -100980,7 +101021,7 @@ paths: description: Response content: application/json: - schema: *729 + schema: *730 examples: default: value: @@ -101007,8 +101048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -101028,8 +101069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -101108,8 +101149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -101117,7 +101158,7 @@ paths: application/json: schema: type: array - items: &730 + items: &731 title: Tag protection description: Tag protection type: object @@ -101169,8 +101210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -101193,7 +101234,7 @@ paths: description: Response content: application/json: - schema: *730 + schema: *731 examples: default: value: @@ -101224,8 +101265,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -101262,8 +101303,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *432 - - *433 + - *435 + - *436 - name: ref in: path required: true @@ -101299,8 +101340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -101310,9 +101351,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *344 + default: *347 headers: Link: *40 '404': *6 @@ -101332,8 +101373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *432 - - *433 + - *435 + - *436 - *19 - *17 responses: @@ -101341,7 +101382,7 @@ paths: description: Response content: application/json: - schema: &731 + schema: &732 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -101353,7 +101394,7 @@ paths: required: - names examples: - default: &732 + default: &733 value: names: - octocat @@ -101376,8 +101417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -101408,9 +101449,9 @@ paths: description: Response content: application/json: - schema: *731 + schema: *732 examples: - default: *732 + default: *733 '404': *6 '422': *7 x-github: @@ -101431,9 +101472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *432 - - *433 - - &733 + - *435 + - *436 + - &734 name: per description: The time frame to display results for. in: query @@ -101462,7 +101503,7 @@ paths: example: 128 clones: type: array - items: &734 + items: &735 title: Traffic type: object properties: @@ -101549,8 +101590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -101640,8 +101681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -101701,9 +101742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *432 - - *433 - - *733 + - *435 + - *436 + - *734 responses: '200': description: Response @@ -101722,7 +101763,7 @@ paths: example: 3782 views: type: array - items: *734 + items: *735 required: - uniques - count @@ -101799,8 +101840,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -101836,7 +101877,7 @@ paths: description: Response content: application/json: - schema: *235 + schema: *241 examples: default: value: @@ -102074,8 +102115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -102098,8 +102139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -102121,8 +102162,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -102148,8 +102189,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *432 - - *433 + - *435 + - *436 - name: ref in: path required: true @@ -102241,9 +102282,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *447 + default: *450 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102284,7 +102325,7 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: default: value: @@ -102394,7 +102435,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &742 + - &743 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -102403,7 +102444,7 @@ paths: schema: type: string example: members - - &747 + - &748 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -102414,7 +102455,7 @@ paths: default: 1 format: int32 example: 1 - - &748 + - &749 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -102456,7 +102497,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &737 + items: &738 allOf: - type: object required: @@ -102531,7 +102572,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &749 + meta: &750 type: object description: The metadata associated with the creation/updates to the user. @@ -102591,30 +102632,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &738 + '400': &739 description: Bad request content: application/json: - schema: *735 + schema: *736 application/scim+json: - schema: *735 - '401': *736 - '403': &739 + schema: *736 + '401': *737 + '403': &740 description: Permission denied - '429': &740 + '429': &741 description: Too many requests content: application/json: - schema: *735 + schema: *736 application/scim+json: - schema: *735 - '500': &741 + schema: *736 + '500': &742 description: Internal server error content: application/json: - schema: *735 + schema: *736 application/scim+json: - schema: *735 + schema: *736 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102638,7 +102679,7 @@ paths: required: true content: application/json: - schema: &745 + schema: &746 type: object required: - schemas @@ -102698,9 +102739,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *737 + schema: *738 examples: - group: &743 + group: &744 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -102719,13 +102760,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *738 - '401': *736 - '403': *739 - '409': &746 + '400': *739 + '401': *737 + '403': *740 + '409': &747 description: Duplicate record detected - '429': *740 - '500': *741 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102742,7 +102783,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &744 + - &745 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -102750,22 +102791,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *742 + - *743 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *737 + schema: *738 examples: - default: *743 - '400': *738 - '401': *736 - '403': *739 + default: *744 + '400': *739 + '401': *737 + '403': *740 '404': *6 - '429': *740 - '500': *741 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102784,13 +102825,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *744 + - *745 - *41 requestBody: required: true content: application/json: - schema: *745 + schema: *746 examples: group: summary: Group @@ -102816,17 +102857,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *737 + schema: *738 examples: - group: *743 - groupWithMembers: *743 - '400': *738 - '401': *736 - '403': *739 + group: *744 + groupWithMembers: *744 + '400': *739 + '401': *737 + '403': *740 '404': *6 - '409': *746 - '429': *740 - '500': *741 + '409': *747 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102850,13 +102891,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *744 + - *745 - *41 requestBody: required: true content: application/json: - schema: &756 + schema: &757 type: object required: - Operations @@ -102916,17 +102957,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *737 + schema: *738 examples: - updateGroup: *743 - addMembers: *743 - '400': *738 - '401': *736 - '403': *739 + updateGroup: *744 + addMembers: *744 + '400': *739 + '401': *737 + '403': *740 '404': *6 - '409': *746 - '429': *740 - '500': *741 + '409': *747 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102942,17 +102983,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *744 + - *745 - *41 responses: '204': description: Group was deleted, no content - '400': *738 - '401': *736 - '403': *739 + '400': *739 + '401': *737 + '403': *740 '404': *6 - '429': *740 - '500': *741 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102986,8 +103027,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *747 - *748 + - *749 - *41 responses: '200': @@ -103020,7 +103061,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &751 + items: &752 allOf: - type: object required: @@ -103099,7 +103140,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &750 + roles: &751 type: array description: The roles assigned to the user. items: @@ -103155,7 +103196,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *749 + meta: *750 startIndex: type: integer description: A starting index for the returned page @@ -103192,11 +103233,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *738 - '401': *736 - '403': *739 - '429': *740 - '500': *741 + '400': *739 + '401': *737 + '403': *740 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103220,7 +103261,7 @@ paths: required: true content: application/json: - schema: &754 + schema: &755 type: object required: - schemas @@ -103302,9 +103343,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *750 + roles: *751 examples: - user: &755 + user: &756 summary: User value: schemas: @@ -103351,9 +103392,9 @@ paths: description: User has been created content: application/scim+json: - schema: *751 + schema: *752 examples: - user: &752 + user: &753 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -103379,13 +103420,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *752 - '400': *738 - '401': *736 - '403': *739 - '409': *746 - '429': *740 - '500': *741 + enterpriseOwner: *753 + '400': *739 + '401': *737 + '403': *740 + '409': *747 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103402,7 +103443,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &753 + - &754 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -103415,15 +103456,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *751 + schema: *752 examples: - default: *752 - '400': *738 - '401': *736 - '403': *739 + default: *753 + '400': *739 + '401': *737 + '403': *740 '404': *6 - '429': *740 - '500': *741 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103445,30 +103486,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *753 + - *754 - *41 requestBody: required: true content: application/json: - schema: *754 + schema: *755 examples: - user: *755 + user: *756 responses: '200': description: User was updated content: application/scim+json: - schema: *751 + schema: *752 examples: - user: *752 - '400': *738 - '401': *736 - '403': *739 + user: *753 + '400': *739 + '401': *737 + '403': *740 '404': *6 - '409': *746 - '429': *740 - '500': *741 + '409': *747 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103503,13 +103544,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *753 + - *754 - *41 requestBody: required: true content: application/json: - schema: *756 + schema: *757 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -103549,18 +103590,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *751 + schema: *752 examples: - userMultiValuedProperties: *752 - userSingleValuedProperties: *752 - disableUser: *752 - '400': *738 - '401': *736 - '403': *739 + userMultiValuedProperties: *753 + userSingleValuedProperties: *753 + disableUser: *753 + '400': *739 + '401': *737 + '403': *740 '404': *6 - '409': *746 - '429': *740 - '500': *741 + '409': *747 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103580,17 +103621,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *753 + - *754 - *41 responses: '204': description: User was deleted, no content - '400': *738 - '401': *736 - '403': *739 + '400': *739 + '401': *737 + '403': *740 '404': *6 - '429': *740 - '500': *741 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103677,7 +103718,7 @@ paths: example: 1 Resources: type: array - items: &757 + items: &758 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -103908,22 +103949,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &758 + '404': &759 description: Resource not found content: application/json: - schema: *735 + schema: *736 application/scim+json: - schema: *735 - '403': &759 + schema: *736 + '403': &760 description: Forbidden content: application/json: - schema: *735 + schema: *736 application/scim+json: - schema: *735 - '400': *738 - '429': *740 + schema: *736 + '400': *739 + '429': *741 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -103949,9 +103990,9 @@ paths: description: Response content: application/scim+json: - schema: *757 + schema: *758 examples: - default: &760 + default: &761 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -103974,17 +104015,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *758 - '403': *759 - '500': *741 + '404': *759 + '403': *760 + '500': *742 '409': description: Conflict content: application/json: - schema: *735 + schema: *736 application/scim+json: - schema: *735 - '400': *738 + schema: *736 + '400': *739 requestBody: required: true content: @@ -104082,17 +104123,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *76 - - *753 + - *754 responses: '200': description: Response content: application/scim+json: - schema: *757 + schema: *758 examples: - default: *760 - '404': *758 - '403': *759 + default: *761 + '404': *759 + '403': *760 '304': *37 x-github: githubCloudOnly: true @@ -104116,18 +104157,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *76 - - *753 + - *754 responses: '200': description: Response content: application/scim+json: - schema: *757 + schema: *758 examples: - default: *760 + default: *761 '304': *37 - '404': *758 - '403': *759 + '404': *759 + '403': *760 requestBody: required: true content: @@ -104240,19 +104281,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *76 - - *753 + - *754 responses: '200': description: Response content: application/scim+json: - schema: *757 + schema: *758 examples: - default: *760 + default: *761 '304': *37 - '404': *758 - '403': *759 - '400': *738 + '404': *759 + '403': *760 + '400': *739 '429': description: Response content: @@ -104343,12 +104384,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *76 - - *753 + - *754 responses: '204': description: Response - '404': *758 - '403': *759 + '404': *759 + '403': *760 '304': *37 x-github: githubCloudOnly: true @@ -104463,7 +104504,7 @@ paths: html_url: type: string format: uri - repository: *235 + repository: *241 score: type: number file_size: @@ -104481,7 +104522,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &761 + text_matches: &762 title: Search Result Text Matches type: array items: @@ -104595,7 +104636,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *160 + '503': *166 '422': *15 '403': *29 x-github: @@ -104644,7 +104685,7 @@ paths: enum: - author-date - committer-date - - &762 + - &763 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -104715,7 +104756,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *489 + properties: *492 nullable: true comment_count: type: integer @@ -104735,7 +104776,7 @@ paths: url: type: string format: uri - verification: *612 + verification: *613 required: - author - committer @@ -104754,7 +104795,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *489 + properties: *492 nullable: true parents: type: array @@ -104767,12 +104808,12 @@ paths: type: string sha: type: string - repository: *235 + repository: *241 score: type: number node_id: type: string - text_matches: *761 + text_matches: *762 required: - sha - node_id @@ -104955,7 +104996,7 @@ paths: - interactions - created - updated - - *762 + - *763 - *17 - *19 - name: advanced_search @@ -105052,11 +105093,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: type: string state_reason: @@ -105073,8 +105114,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *367 - required: *368 + properties: *370 + required: *371 nullable: true comments: type: integer @@ -105088,7 +105129,7 @@ paths: type: string format: date-time nullable: true - text_matches: *761 + text_matches: *762 pull_request: type: object properties: @@ -105121,7 +105162,7 @@ paths: type: string score: type: number - author_association: *172 + author_association: *178 draft: type: boolean repository: *67 @@ -105132,7 +105173,7 @@ paths: timeline_url: type: string format: uri - type: *327 + type: *330 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -105142,9 +105183,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 - reactions: *173 + properties: *176 + required: *177 + reactions: *179 required: - assignee - closed_at @@ -105260,7 +105301,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *160 + '503': *166 '422': *15 '304': *37 '403': *29 @@ -105316,7 +105357,7 @@ paths: enum: - created - updated - - *762 + - *763 - *17 - *19 responses: @@ -105360,7 +105401,7 @@ paths: nullable: true score: type: number - text_matches: *761 + text_matches: *762 required: - id - node_id @@ -105446,7 +105487,7 @@ paths: - forks - help-wanted-issues - updated - - *762 + - *763 - *17 - *19 responses: @@ -105665,8 +105706,8 @@ paths: title: License Simple description: License Simple type: object - properties: *186 - required: *187 + properties: *192 + required: *193 nullable: true permissions: type: object @@ -105685,7 +105726,7 @@ paths: - admin - pull - push - text_matches: *761 + text_matches: *762 temp_clone_token: type: string allow_merge_commit: @@ -105887,7 +105928,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *160 + '503': *166 '422': *15 '304': *37 x-github: @@ -105986,7 +106027,7 @@ paths: type: string format: uri nullable: true - text_matches: *761 + text_matches: *762 related: type: array nullable: true @@ -106179,7 +106220,7 @@ paths: - followers - repositories - joined - - *762 + - *763 - *17 - *19 responses: @@ -106283,7 +106324,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *761 + text_matches: *762 blog: type: string nullable: true @@ -106342,7 +106383,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *160 + '503': *166 '422': *15 x-github: githubCloudOnly: false @@ -106362,7 +106403,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &766 + - &767 name: team_id description: The unique identifier of the team. in: path @@ -106374,9 +106415,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *416 examples: - default: *414 + default: *417 '404': *6 x-github: githubCloudOnly: false @@ -106403,7 +106444,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *766 + - *767 requestBody: required: true content: @@ -106466,16 +106507,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *413 + schema: *416 examples: - default: *414 + default: *417 '201': description: Response content: application/json: - schema: *413 + schema: *416 examples: - default: *414 + default: *417 '404': *6 '422': *15 '403': *29 @@ -106503,7 +106544,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *766 + - *767 responses: '204': description: Response @@ -106534,8 +106575,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *766 - - *94 + - *767 + - *100 - *17 - *19 responses: @@ -106545,9 +106586,9 @@ paths: application/json: schema: type: array - items: *415 + items: *418 examples: - default: *767 + default: *768 headers: Link: *40 x-github: @@ -106576,7 +106617,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *766 + - *767 requestBody: required: true content: @@ -106610,9 +106651,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: - default: *416 + default: *419 x-github: triggersNotification: true githubCloudOnly: false @@ -106639,16 +106680,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *766 - - *417 + - *767 + - *420 responses: '200': description: Response content: application/json: - schema: *415 + schema: *418 examples: - default: *416 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106673,8 +106714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *766 - - *417 + - *767 + - *420 requestBody: required: false content: @@ -106697,9 +106738,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: - default: *768 + default: *769 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106724,8 +106765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *766 - - *417 + - *767 + - *420 responses: '204': description: Response @@ -106754,9 +106795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *766 - - *417 - - *94 + - *767 + - *420 + - *100 - *17 - *19 responses: @@ -106766,9 +106807,9 @@ paths: application/json: schema: type: array - items: *418 + items: *421 examples: - default: *769 + default: *770 headers: Link: *40 x-github: @@ -106797,8 +106838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *766 - - *417 + - *767 + - *420 requestBody: required: true content: @@ -106820,9 +106861,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *421 examples: - default: *419 + default: *422 x-github: triggersNotification: true githubCloudOnly: false @@ -106849,17 +106890,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *766 - - *417 + - *767 - *420 + - *423 responses: '200': description: Response content: application/json: - schema: *418 + schema: *421 examples: - default: *419 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106884,9 +106925,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *766 - - *417 + - *767 - *420 + - *423 requestBody: required: true content: @@ -106908,9 +106949,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *421 examples: - default: *770 + default: *771 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106935,9 +106976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *766 - - *417 + - *767 - *420 + - *423 responses: '204': description: Response @@ -106966,9 +107007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *766 - - *417 + - *767 - *420 + - *423 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -106994,9 +107035,9 @@ paths: application/json: schema: type: array - items: *421 + items: *424 examples: - default: *423 + default: *426 headers: Link: *40 x-github: @@ -107025,9 +107066,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *766 - - *417 + - *767 - *420 + - *423 requestBody: required: true content: @@ -107059,9 +107100,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107087,8 +107128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *766 - - *417 + - *767 + - *420 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -107114,9 +107155,9 @@ paths: application/json: schema: type: array - items: *421 + items: *424 examples: - default: *423 + default: *426 headers: Link: *40 x-github: @@ -107145,8 +107186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *766 - - *417 + - *767 + - *420 requestBody: required: true content: @@ -107178,9 +107219,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107204,7 +107245,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *766 + - *767 - *17 - *19 responses: @@ -107214,9 +107255,9 @@ paths: application/json: schema: type: array - items: *324 + items: *327 examples: - default: *325 + default: *328 headers: Link: *40 x-github: @@ -107242,7 +107283,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *766 + - *767 - name: role description: Filters members returned by their role in the team. in: query @@ -107265,7 +107306,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 '404': *6 @@ -107293,8 +107334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *766 - - *257 + - *767 + - *263 responses: '204': description: if user is a member @@ -107330,8 +107371,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *766 - - *257 + - *767 + - *263 responses: '204': description: Response @@ -107370,8 +107411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *766 - - *257 + - *767 + - *263 responses: '204': description: Response @@ -107407,16 +107448,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *766 - - *257 + - *767 + - *263 responses: '200': description: Response content: application/json: - schema: *429 + schema: *432 examples: - response-if-user-is-a-team-maintainer: *771 + response-if-user-is-a-team-maintainer: *772 '404': *6 x-github: githubCloudOnly: false @@ -107449,8 +107490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *766 - - *257 + - *767 + - *263 requestBody: required: false content: @@ -107475,9 +107516,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *432 examples: - response-if-users-membership-with-team-is-now-pending: *772 + response-if-users-membership-with-team-is-now-pending: *773 '403': description: Forbidden if team synchronization is set up '422': @@ -107511,8 +107552,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *766 - - *257 + - *767 + - *263 responses: '204': description: Response @@ -107540,7 +107581,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *766 + - *767 - *17 - *19 responses: @@ -107550,9 +107591,9 @@ paths: application/json: schema: type: array - items: *430 + items: *433 examples: - default: *773 + default: *774 headers: Link: *40 '404': *6 @@ -107578,16 +107619,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *766 - - *431 + - *767 + - *434 responses: '200': description: Response content: application/json: - schema: *430 + schema: *433 examples: - default: *774 + default: *775 '404': description: Not Found if project is not managed by this team x-github: @@ -107611,8 +107652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *766 - - *431 + - *767 + - *434 requestBody: required: false content: @@ -107679,8 +107720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *766 - - *431 + - *767 + - *434 responses: '204': description: Response @@ -107707,7 +107748,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *766 + - *767 - *17 - *19 responses: @@ -107717,9 +107758,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: *351 + default: *354 headers: Link: *40 '404': *6 @@ -107749,15 +107790,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *766 - - *432 - - *433 + - *767 + - *435 + - *436 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *775 + schema: *776 examples: alternative-response-with-extra-repository-information: value: @@ -107908,9 +107949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *766 - - *432 - - *433 + - *767 + - *435 + - *436 requestBody: required: false content: @@ -107960,9 +108001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *766 - - *432 - - *433 + - *767 + - *435 + - *436 responses: '204': description: Response @@ -107991,15 +108032,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *766 + - *767 responses: '200': description: Response content: application/json: - schema: *434 + schema: *437 examples: - default: *435 + default: *438 '403': *29 '404': *6 x-github: @@ -108026,7 +108067,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *766 + - *767 requestBody: required: true content: @@ -108083,7 +108124,7 @@ paths: description: Response content: application/json: - schema: *434 + schema: *437 examples: default: value: @@ -108114,7 +108155,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *766 + - *767 - *17 - *19 responses: @@ -108124,9 +108165,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - response-if-child-teams-exist: *776 + response-if-child-teams-exist: *777 headers: Link: *40 '404': *6 @@ -108159,7 +108200,7 @@ paths: application/json: schema: oneOf: - - &778 + - &779 title: Private User description: Private User type: object @@ -108362,7 +108403,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *777 + - *778 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -108515,7 +108556,7 @@ paths: description: Response content: application/json: - schema: *778 + schema: *779 examples: default: value: @@ -108594,7 +108635,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 '304': *37 '404': *6 '403': *29 @@ -108617,7 +108658,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: - - *257 + - *263 responses: '204': description: If the user is blocked @@ -108645,7 +108686,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *257 + - *263 responses: '204': description: Response @@ -108669,7 +108710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *257 + - *263 responses: '204': description: Response @@ -108718,9 +108759,9 @@ paths: type: integer codespaces: type: array - items: *333 + items: *336 examples: - default: *334 + default: *337 '304': *37 '500': *91 '401': *25 @@ -108859,21 +108900,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '401': *25 '403': *29 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108913,7 +108954,7 @@ paths: type: integer secrets: type: array - items: &779 + items: &780 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -108953,7 +108994,7 @@ paths: - visibility - selected_repositories_url examples: - default: *545 + default: *546 headers: Link: *40 x-github: @@ -109023,13 +109064,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *245 + - *251 responses: '200': description: Response content: application/json: - schema: *779 + schema: *780 examples: default: value: @@ -109059,7 +109100,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: - - *245 + - *251 requestBody: required: true content: @@ -109104,7 +109145,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -109132,7 +109173,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: - - *245 + - *251 responses: '204': description: Response @@ -109157,7 +109198,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: - - *245 + - *251 responses: '200': description: Response @@ -109173,9 +109214,9 @@ paths: type: integer repositories: type: array - items: *235 + items: *241 examples: - default: *780 + default: *781 '401': *25 '403': *29 '404': *6 @@ -109200,7 +109241,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: - - *245 + - *251 requestBody: required: true content: @@ -109254,7 +109295,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: - - *245 + - *251 - name: repository_id in: path required: true @@ -109287,7 +109328,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: - - *245 + - *251 - name: repository_id in: path required: true @@ -109319,15 +109360,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *335 + - *338 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '304': *37 '500': *91 '401': *25 @@ -109353,7 +109394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *335 + - *338 requestBody: required: false content: @@ -109383,9 +109424,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '401': *25 '403': *29 '404': *6 @@ -109407,7 +109448,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *335 + - *338 responses: '202': *39 '304': *37 @@ -109436,13 +109477,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *335 + - *338 responses: '202': description: Response content: application/json: - schema: &781 + schema: &782 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -109483,7 +109524,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &782 + default: &783 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -109515,7 +109556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *335 + - *338 - name: export_id in: path required: true @@ -109528,9 +109569,9 @@ paths: description: Response content: application/json: - schema: *781 + schema: *782 examples: - default: *782 + default: *783 '404': *6 x-github: githubCloudOnly: false @@ -109551,7 +109592,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *335 + - *338 responses: '200': description: Response @@ -109567,9 +109608,9 @@ paths: type: integer machines: type: array - items: *783 + items: *784 examples: - default: *784 + default: *785 '304': *37 '500': *91 '401': *25 @@ -109598,7 +109639,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *335 + - *338 requestBody: required: true content: @@ -109648,13 +109689,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *445 + repository: *448 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *543 - required: *544 + properties: *544 + required: *545 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -110428,15 +110469,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *335 + - *338 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '304': *37 '500': *91 '400': *14 @@ -110448,7 +110489,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110468,15 +110509,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *335 + - *338 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '500': *91 '401': *25 '403': *29 @@ -110506,9 +110547,9 @@ paths: application/json: schema: type: array - items: *345 + items: *348 examples: - default: &796 + default: &797 value: - id: 197 name: hello_docker @@ -110609,7 +110650,7 @@ paths: application/json: schema: type: array - items: &785 + items: &786 title: Email description: Email type: object @@ -110674,9 +110715,9 @@ paths: application/json: schema: type: array - items: *785 + items: *786 examples: - default: &798 + default: &799 value: - email: octocat@github.com verified: true @@ -110751,7 +110792,7 @@ paths: application/json: schema: type: array - items: *785 + items: *786 examples: default: value: @@ -110861,7 +110902,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 '304': *37 @@ -110894,7 +110935,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 '304': *37 @@ -110916,7 +110957,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: - - *257 + - *263 responses: '204': description: if the person is followed by the authenticated user @@ -110946,7 +110987,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *257 + - *263 responses: '204': description: Response @@ -110971,7 +111012,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *257 + - *263 responses: '204': description: Response @@ -111007,7 +111048,7 @@ paths: application/json: schema: type: array - items: &786 + items: &787 title: GPG Key description: A unique encryption key type: object @@ -111138,7 +111179,7 @@ paths: - subkeys - revoked examples: - default: &816 + default: &817 value: - id: 3 name: Octocat's GPG Key @@ -111223,9 +111264,9 @@ paths: description: Response content: application/json: - schema: *786 + schema: *787 examples: - default: &787 + default: &788 value: id: 3 name: Octocat's GPG Key @@ -111282,7 +111323,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &788 + - &789 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -111294,9 +111335,9 @@ paths: description: Response content: application/json: - schema: *786 + schema: *787 examples: - default: *787 + default: *788 '404': *6 '304': *37 '403': *29 @@ -111319,7 +111360,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *788 + - *789 responses: '204': description: Response @@ -111510,7 +111551,7 @@ paths: type: array items: *67 examples: - default: *230 + default: *236 headers: Link: *40 '404': *6 @@ -111535,7 +111576,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *229 + - *235 responses: '204': description: Response @@ -111561,7 +111602,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *229 + - *235 responses: '204': description: Response @@ -111595,12 +111636,12 @@ paths: application/json: schema: anyOf: - - *322 + - *325 - type: object properties: {} additionalProperties: false examples: - default: *323 + default: *326 '204': description: Response when there are no restrictions x-github: @@ -111624,7 +111665,7 @@ paths: required: true content: application/json: - schema: *623 + schema: *624 examples: default: value: @@ -111635,7 +111676,7 @@ paths: description: Response content: application/json: - schema: *322 + schema: *325 examples: default: value: @@ -111716,7 +111757,7 @@ paths: - closed - all default: open - - *330 + - *333 - name: sort description: What to sort results by. in: query @@ -111728,8 +111769,8 @@ paths: - updated - comments default: created - - *94 - - *175 + - *100 + - *181 - *17 - *19 responses: @@ -111739,9 +111780,9 @@ paths: application/json: schema: type: array - items: *185 + items: *191 examples: - default: *331 + default: *334 headers: Link: *40 '404': *6 @@ -111774,7 +111815,7 @@ paths: application/json: schema: type: array - items: &789 + items: &790 title: Key description: Key type: object @@ -111875,9 +111916,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *790 examples: - default: &790 + default: &791 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -111910,15 +111951,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *652 + - *653 responses: '200': description: Response content: application/json: - schema: *789 + schema: *790 examples: - default: *790 + default: *791 '404': *6 '304': *37 '403': *29 @@ -111941,7 +111982,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *652 + - *653 responses: '204': description: Response @@ -111974,7 +112015,7 @@ paths: application/json: schema: type: array - items: &791 + items: &792 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -112031,7 +112072,7 @@ paths: - id - type - login - plan: *189 + plan: *195 required: - billing_cycle - next_billing_date @@ -112042,7 +112083,7 @@ paths: - account - plan examples: - default: &792 + default: &793 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -112104,9 +112145,9 @@ paths: application/json: schema: type: array - items: *791 + items: *792 examples: - default: *792 + default: *793 headers: Link: *40 '304': *37 @@ -112146,7 +112187,7 @@ paths: application/json: schema: type: array - items: *336 + items: *339 examples: default: value: @@ -112254,7 +112295,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: default: value: @@ -112337,7 +112378,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: default: value: @@ -112405,7 +112446,7 @@ paths: application/json: schema: type: array - items: *338 + items: *341 examples: default: value: @@ -112658,7 +112699,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *341 examples: default: value: @@ -112838,7 +112879,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *339 + - *342 - name: exclude in: query required: false @@ -112851,7 +112892,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *341 examples: default: value: @@ -113045,7 +113086,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *339 + - *342 responses: '302': description: Response @@ -113071,7 +113112,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *339 + - *342 responses: '204': description: Response @@ -113100,8 +113141,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *339 - - *793 + - *342 + - *794 responses: '204': description: Response @@ -113125,7 +113166,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *339 + - *342 - *17 - *19 responses: @@ -113135,9 +113176,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: *351 + default: *354 headers: Link: *40 '404': *6 @@ -113174,7 +113215,7 @@ paths: type: array items: *62 examples: - default: *794 + default: *795 headers: Link: *40 '304': *37 @@ -113216,7 +113257,7 @@ paths: - docker - nuget - container - - *795 + - *796 - *19 - *17 responses: @@ -113226,10 +113267,10 @@ paths: application/json: schema: type: array - items: *345 + items: *348 examples: - default: *796 - '400': *797 + default: *797 + '400': *798 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113249,16 +113290,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *347 - - *348 + - *350 + - *351 responses: '200': description: Response content: application/json: - schema: *345 + schema: *348 examples: - default: &817 + default: &818 value: id: 40201 name: octo-name @@ -113371,8 +113412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *347 - - *348 + - *350 + - *351 responses: '204': description: Response @@ -113402,8 +113443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *347 - - *348 + - *350 + - *351 - name: token description: package token schema: @@ -113435,8 +113476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *347 - - *348 + - *350 + - *351 - *19 - *17 - name: state @@ -113456,7 +113497,7 @@ paths: application/json: schema: type: array - items: *349 + items: *352 examples: default: value: @@ -113505,15 +113546,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *347 - - *348 - *350 + - *351 + - *353 responses: '200': description: Response content: application/json: - schema: *349 + schema: *352 examples: default: value: @@ -113549,9 +113590,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *347 - - *348 - *350 + - *351 + - *353 responses: '204': description: Response @@ -113581,9 +113622,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *347 - - *348 - *350 + - *351 + - *353 responses: '204': description: Response @@ -113639,7 +113680,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *364 examples: default: value: @@ -113711,9 +113752,9 @@ paths: application/json: schema: type: array - items: *785 + items: *786 examples: - default: *798 + default: *799 headers: Link: *40 '304': *37 @@ -113826,7 +113867,7 @@ paths: type: array items: *67 examples: - default: &805 + default: &806 summary: Default response value: - id: 1296269 @@ -114130,9 +114171,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *447 + default: *450 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -114170,9 +114211,9 @@ paths: application/json: schema: type: array - items: *625 + items: *626 examples: - default: *799 + default: *800 headers: Link: *40 '304': *37 @@ -114195,12 +114236,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *326 + - *329 responses: '204': description: Response '403': *29 - '409': *102 + '409': *108 '404': *6 '304': *37 x-github: @@ -114218,11 +114259,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *326 + - *329 responses: '204': description: Response - '409': *102 + '409': *108 '304': *37 '404': *6 '403': *29 @@ -114251,7 +114292,7 @@ paths: application/json: schema: type: array - items: &800 + items: &801 title: Social account description: Social media account type: object @@ -114266,7 +114307,7 @@ paths: - provider - url examples: - default: &801 + default: &802 value: - provider: twitter url: https://twitter.com/github @@ -114328,9 +114369,9 @@ paths: application/json: schema: type: array - items: *800 + items: *801 examples: - default: *801 + default: *802 '422': *15 '304': *37 '404': *6 @@ -114417,7 +114458,7 @@ paths: application/json: schema: type: array - items: &802 + items: &803 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -114437,7 +114478,7 @@ paths: - title - created_at examples: - default: &818 + default: &819 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -114503,9 +114544,9 @@ paths: description: Response content: application/json: - schema: *802 + schema: *803 examples: - default: &803 + default: &804 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -114536,7 +114577,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &804 + - &805 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -114548,9 +114589,9 @@ paths: description: Response content: application/json: - schema: *802 + schema: *803 examples: - default: *803 + default: *804 '404': *6 '304': *37 '403': *29 @@ -114573,7 +114614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *804 + - *805 responses: '204': description: Response @@ -114602,7 +114643,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &819 + - &820 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -114615,7 +114656,7 @@ paths: - created - updated default: created - - *94 + - *100 - *17 - *19 responses: @@ -114627,11 +114668,11 @@ paths: type: array items: *67 examples: - default-response: *805 + default-response: *806 application/vnd.github.v3.star+json: schema: type: array - items: &820 + items: &821 title: Starred Repository description: Starred Repository type: object @@ -114787,8 +114828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response if this repository is starred by you @@ -114816,8 +114857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -114841,8 +114882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -114875,9 +114916,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: *351 + default: *354 headers: Link: *40 '304': *37 @@ -114914,7 +114955,7 @@ paths: application/json: schema: type: array - items: *413 + items: *416 examples: default: value: @@ -114992,7 +115033,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *191 + - *197 responses: '200': description: Response @@ -115000,10 +115041,10 @@ paths: application/json: schema: oneOf: + - *779 - *778 - - *777 examples: - default-response: &811 + default-response: &812 summary: Default response value: login: octocat @@ -115038,7 +115079,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &812 + response-with-git-hub-plan-information: &813 summary: Response with GitHub plan information value: login: octocat @@ -115098,7 +115139,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *806 + - *807 - *17 responses: '200': @@ -115109,7 +115150,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: example: ; rel="next" @@ -115132,8 +115173,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *364 - - &807 + - *367 + - &808 name: user_id description: The unique identifier of the user. in: path @@ -115145,9 +115186,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *365 examples: - default: *363 + default: *366 headers: Link: *40 '304': *37 @@ -115169,11 +115210,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *364 - - *807 + - *367 + - *808 - *17 - - *92 - - *93 + - *98 + - *99 responses: '200': description: Response @@ -115181,9 +115222,9 @@ paths: application/json: schema: type: array - items: *365 + items: *368 examples: - default: *366 + default: *369 headers: Link: *40 '304': *37 @@ -115205,17 +115246,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *364 + - *367 + - *809 - *808 - - *807 responses: '200': description: Response content: application/json: - schema: *365 + schema: *368 examples: - default: *366 + default: *369 headers: Link: *40 '304': *37 @@ -115238,10 +115279,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *364 - - *807 - - *92 - - *93 + - *367 + - *808 + - *98 + - *99 - *17 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -115268,9 +115309,9 @@ paths: application/json: schema: type: array - items: *371 + items: *374 examples: - default: *372 + default: *375 headers: Link: *40 '304': *37 @@ -115291,8 +115332,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *807 - - *364 + - *808 + - *367 requestBody: required: true description: Details of the item to add to the project. @@ -115329,9 +115370,9 @@ paths: description: Response content: application/json: - schema: *809 + schema: *810 examples: - default: *810 + default: *811 '304': *37 '403': *29 '401': *25 @@ -115351,9 +115392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *364 - - *807 - - *373 + - *367 + - *808 + - *376 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -115370,9 +115411,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *374 examples: - default: *372 + default: *375 headers: Link: *40 '304': *37 @@ -115393,9 +115434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *364 - - *807 - - *373 + - *367 + - *808 + - *376 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -115465,9 +115506,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *374 examples: - default: *372 + default: *375 '401': *25 '403': *29 '404': *6 @@ -115487,9 +115528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *364 - - *807 - - *373 + - *367 + - *808 + - *376 responses: '204': description: Response @@ -115518,7 +115559,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *257 + - *263 responses: '200': description: Response @@ -115526,11 +115567,11 @@ paths: application/json: schema: oneOf: + - *779 - *778 - - *777 examples: - default-response: *811 - response-with-git-hub-plan-information: *812 + default-response: *812 + response-with-git-hub-plan-information: *813 '404': *6 x-github: githubCloudOnly: false @@ -115554,9 +115595,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *92 - - *93 - - *257 + - *98 + - *99 + - *263 requestBody: required: true content: @@ -115579,8 +115620,8 @@ paths: required: - subject_digests examples: - default: *813 - withPredicateType: *814 + default: *814 + withPredicateType: *815 responses: '200': description: Response @@ -115633,7 +115674,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *815 + default: *816 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115651,7 +115692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *257 + - *263 requestBody: required: true content: @@ -115716,7 +115757,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *257 + - *263 - name: subject_digest description: Subject Digest in: path @@ -115747,7 +115788,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *257 + - *263 - name: attestation_id description: Attestation ID in: path @@ -115783,9 +115824,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *92 - - *93 - - *257 + - *98 + - *99 + - *263 - name: subject_digest description: Subject Digest in: path @@ -115835,12 +115876,12 @@ paths: bundle_url: type: string examples: - default: *485 + default: *488 '201': description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -115866,7 +115907,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: - - *257 + - *263 responses: '200': description: Response @@ -115874,9 +115915,9 @@ paths: application/json: schema: type: array - items: *345 + items: *348 examples: - default: *796 + default: *797 '403': *29 '401': *25 x-github: @@ -115899,7 +115940,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *257 + - *263 - *17 - *19 responses: @@ -115909,7 +115950,7 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: default: value: @@ -115980,7 +116021,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: - - *257 + - *263 - *76 - *17 - *19 @@ -115991,7 +116032,7 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: default: value: @@ -116070,7 +116111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *257 + - *263 - *17 - *19 responses: @@ -116080,7 +116121,7 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: default: value: @@ -116147,7 +116188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *257 + - *263 - *17 - *19 responses: @@ -116159,7 +116200,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 x-github: @@ -116178,7 +116219,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *257 + - *263 - *17 - *19 responses: @@ -116190,7 +116231,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 x-github: @@ -116209,7 +116250,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: - - *257 + - *263 - name: target_user in: path required: true @@ -116236,8 +116277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *257 - - *175 + - *263 + - *181 - *17 - *19 responses: @@ -116247,9 +116288,9 @@ paths: application/json: schema: type: array - items: *176 + items: *182 examples: - default: *177 + default: *183 headers: Link: *40 '422': *15 @@ -116270,7 +116311,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: - - *257 + - *263 - *17 - *19 responses: @@ -116280,9 +116321,9 @@ paths: application/json: schema: type: array - items: *786 + items: *787 examples: - default: *816 + default: *817 headers: Link: *40 x-github: @@ -116306,7 +116347,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *257 + - *263 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -116378,7 +116419,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: - - *257 + - *263 responses: '200': description: Response @@ -116386,7 +116427,7 @@ paths: application/json: schema: *22 examples: - default: *622 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116404,7 +116445,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *257 + - *263 - *17 - *19 responses: @@ -116459,7 +116500,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *257 + - *263 - *17 - *19 responses: @@ -116471,7 +116512,7 @@ paths: type: array items: *62 examples: - default: *794 + default: *795 headers: Link: *40 x-github: @@ -116510,8 +116551,8 @@ paths: - docker - nuget - container - - *795 - - *257 + - *796 + - *263 - *19 - *17 responses: @@ -116521,12 +116562,12 @@ paths: application/json: schema: type: array - items: *345 + items: *348 examples: - default: *796 + default: *797 '403': *29 '401': *25 - '400': *797 + '400': *798 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116546,17 +116587,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *347 - - *348 - - *257 + - *350 + - *351 + - *263 responses: '200': description: Response content: application/json: - schema: *345 + schema: *348 examples: - default: *817 + default: *818 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116577,9 +116618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *347 - - *348 - - *257 + - *350 + - *351 + - *263 responses: '204': description: Response @@ -116611,9 +116652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *347 - - *348 - - *257 + - *350 + - *351 + - *263 - name: token description: package token schema: @@ -116645,9 +116686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *347 - - *348 - - *257 + - *350 + - *351 + - *263 responses: '200': description: Response @@ -116655,7 +116696,7 @@ paths: application/json: schema: type: array - items: *349 + items: *352 examples: default: value: @@ -116713,16 +116754,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *347 - - *348 - *350 - - *257 + - *351 + - *353 + - *263 responses: '200': description: Response content: application/json: - schema: *349 + schema: *352 examples: default: value: @@ -116757,10 +116798,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *347 - - *348 - - *257 - *350 + - *351 + - *263 + - *353 responses: '204': description: Response @@ -116792,10 +116833,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *347 - - *348 - - *257 - *350 + - *351 + - *263 + - *353 responses: '204': description: Response @@ -116821,7 +116862,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects parameters: - - *257 + - *263 - name: state description: Indicates the state of the projects to return. in: query @@ -116842,7 +116883,7 @@ paths: application/json: schema: type: array - items: *361 + items: *364 examples: default: value: @@ -116900,15 +116941,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *257 + - *263 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *92 - - *93 + - *98 + - *99 - *17 responses: '200': @@ -116917,9 +116958,9 @@ paths: application/json: schema: type: array - items: *362 + items: *365 examples: - default: *363 + default: *366 headers: Link: *40 '304': *37 @@ -116946,7 +116987,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: - - *257 + - *263 - *17 - *19 responses: @@ -116956,7 +116997,7 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: default: value: @@ -117035,7 +117076,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: - - *257 + - *263 - *17 - *19 responses: @@ -117045,7 +117086,7 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: default: value: @@ -117122,7 +117163,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *257 + - *263 - name: type description: Limit results to repositories of the specified type. in: query @@ -117165,9 +117206,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: *351 + default: *354 headers: Link: *40 x-github: @@ -117191,15 +117232,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *257 + - *263 responses: '200': description: Response content: application/json: - schema: *400 + schema: *403 examples: - default: *401 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117221,15 +117262,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *257 + - *263 responses: '200': description: Response content: application/json: - schema: *405 + schema: *408 examples: - default: *406 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117251,15 +117292,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *257 + - *263 responses: '200': description: Response content: application/json: - schema: *407 + schema: *410 examples: - default: *408 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117279,11 +117320,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *257 - - *204 - - *205 - - *206 - - *207 + - *263 + - *210 + - *211 + - *212 + - *213 responses: '200': description: Response when getting a billing usage report @@ -117354,7 +117395,7 @@ paths: '400': *14 '403': *29 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117372,7 +117413,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: - - *257 + - *263 - *17 - *19 responses: @@ -117382,9 +117423,9 @@ paths: application/json: schema: type: array - items: *800 + items: *801 examples: - default: *801 + default: *802 headers: Link: *40 x-github: @@ -117404,7 +117445,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: - - *257 + - *263 - *17 - *19 responses: @@ -117414,9 +117455,9 @@ paths: application/json: schema: type: array - items: *802 + items: *803 examples: - default: *818 + default: *819 headers: Link: *40 x-github: @@ -117440,9 +117481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *257 - - *819 - - *94 + - *263 + - *820 + - *100 - *17 - *19 responses: @@ -117453,11 +117494,11 @@ paths: schema: anyOf: - type: array - items: *820 + items: *821 - type: array items: *67 examples: - default-response: *805 + default-response: *806 headers: Link: *40 x-github: @@ -117476,7 +117517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *257 + - *263 - *17 - *19 responses: @@ -117486,9 +117527,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: *351 + default: *354 headers: Link: *40 x-github: @@ -117616,7 +117657,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &821 + enterprise: &822 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -117674,7 +117715,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &822 + installation: &823 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -117693,7 +117734,7 @@ x-webhooks: required: - id - node_id - organization: &823 + organization: &824 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -117753,13 +117794,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &824 + repository: &825 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &861 + properties: &862 id: description: Unique identifier of the repository example: 42 @@ -117779,8 +117820,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *186 - required: *187 + properties: *192 + required: *193 nullable: true organization: title: Simple User @@ -118442,7 +118483,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &862 + required: &863 - archive_url - assignees_url - blobs_url @@ -118593,10 +118634,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -118672,11 +118713,11 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - rule: &825 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + rule: &826 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -118899,11 +118940,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - rule: *825 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + rule: *826 sender: *4 required: - action @@ -119086,11 +119127,11 @@ x-webhooks: - everyone required: - from - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - rule: *825 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + rule: *826 sender: *4 required: - action @@ -119161,7 +119202,7 @@ x-webhooks: required: true content: application/json: - schema: &828 + schema: &829 title: Exemption request cancellation event type: object properties: @@ -119169,11 +119210,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - exemption_request: &826 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + exemption_request: &827 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -119406,7 +119447,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &827 + items: &828 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -119514,7 +119555,7 @@ x-webhooks: required: true content: application/json: - schema: &829 + schema: &830 title: Exemption request completed event type: object properties: @@ -119522,11 +119563,11 @@ x-webhooks: type: string enum: - completed - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - exemption_request: *826 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + exemption_request: *827 sender: *4 required: - action @@ -119596,7 +119637,7 @@ x-webhooks: required: true content: application/json: - schema: &830 + schema: &831 title: Exemption request created event type: object properties: @@ -119604,11 +119645,11 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - exemption_request: *826 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + exemption_request: *827 sender: *4 required: - action @@ -119678,7 +119719,7 @@ x-webhooks: required: true content: application/json: - schema: &831 + schema: &832 title: Exemption response dismissed event type: object properties: @@ -119686,12 +119727,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - exemption_request: *826 - exemption_response: *827 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + exemption_request: *827 + exemption_response: *828 sender: *4 required: - action @@ -119763,7 +119804,7 @@ x-webhooks: required: true content: application/json: - schema: &832 + schema: &833 title: Exemption response submitted event type: object properties: @@ -119771,12 +119812,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - exemption_request: *826 - exemption_response: *827 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + exemption_request: *827 + exemption_response: *828 sender: *4 required: - action @@ -119849,7 +119890,7 @@ x-webhooks: required: true content: application/json: - schema: *828 + schema: *829 responses: '200': description: Return a 200 status to indicate that the data was received @@ -119916,7 +119957,7 @@ x-webhooks: required: true content: application/json: - schema: *829 + schema: *830 responses: '200': description: Return a 200 status to indicate that the data was received @@ -119983,7 +120024,7 @@ x-webhooks: required: true content: application/json: - schema: *830 + schema: *831 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120050,7 +120091,7 @@ x-webhooks: required: true content: application/json: - schema: *831 + schema: *832 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120118,7 +120159,7 @@ x-webhooks: required: true content: application/json: - schema: *832 + schema: *833 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120196,7 +120237,7 @@ x-webhooks: type: string enum: - completed - check_run: &834 + check_run: &835 title: CheckRun description: A check performed on the code of a given code change type: object @@ -120249,8 +120290,8 @@ x-webhooks: type: string pull_requests: type: array - items: *504 - repository: *235 + items: *505 + repository: *241 status: example: completed type: string @@ -120287,7 +120328,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *833 + deployment: *834 details_url: example: https://example.com type: string @@ -120337,7 +120378,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *504 + items: *505 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -120372,10 +120413,10 @@ x-webhooks: - output - app - pull_requests - installation: *822 - enterprise: *821 - organization: *823 - repository: *824 + installation: *823 + enterprise: *822 + organization: *824 + repository: *825 sender: *4 required: - check_run @@ -120768,11 +120809,11 @@ x-webhooks: type: string enum: - created - check_run: *834 - installation: *822 - enterprise: *821 - organization: *823 - repository: *824 + check_run: *835 + installation: *823 + enterprise: *822 + organization: *824 + repository: *825 sender: *4 required: - check_run @@ -121168,11 +121209,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *834 - installation: *822 - enterprise: *821 - organization: *823 - repository: *824 + check_run: *835 + installation: *823 + enterprise: *822 + organization: *824 + repository: *825 requested_action: description: The action requested by the user. type: object @@ -121577,11 +121618,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *834 - installation: *822 - enterprise: *821 - organization: *823 - repository: *824 + check_run: *835 + installation: *823 + enterprise: *822 + organization: *824 + repository: *825 sender: *4 required: - check_run @@ -122558,10 +122599,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -123231,10 +123272,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -123898,10 +123939,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -124064,7 +124105,7 @@ x-webhooks: required: - login - id - dismissed_comment: *517 + dismissed_comment: *518 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -124209,20 +124250,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &835 + commit_oid: &836 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *821 - installation: *822 - organization: *823 - ref: &836 + enterprise: *822 + installation: *823 + organization: *824 + ref: &837 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *824 + repository: *825 sender: *4 required: - action @@ -124384,7 +124425,7 @@ x-webhooks: required: - login - id - dismissed_comment: *517 + dismissed_comment: *518 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -124614,12 +124655,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *835 - enterprise: *821 - installation: *822 - organization: *823 - ref: *836 - repository: *824 + commit_oid: *836 + enterprise: *822 + installation: *823 + organization: *824 + ref: *837 + repository: *825 sender: *4 required: - action @@ -124714,7 +124755,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *517 + dismissed_comment: *518 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -124882,12 +124923,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *835 - enterprise: *821 - installation: *822 - organization: *823 - ref: *836 - repository: *824 + commit_oid: *836 + enterprise: *822 + installation: *823 + organization: *824 + ref: *837 + repository: *825 sender: *4 required: - action @@ -125050,7 +125091,7 @@ x-webhooks: required: - login - id - dismissed_comment: *517 + dismissed_comment: *518 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -125216,12 +125257,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *835 - enterprise: *821 - installation: *822 - organization: *823 - ref: *836 - repository: *824 + commit_oid: *836 + enterprise: *822 + installation: *823 + organization: *824 + ref: *837 + repository: *825 sender: *4 required: - action @@ -125318,7 +125359,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *517 + dismissed_comment: *518 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -125486,16 +125527,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *824 + repository: *825 sender: *4 required: - action @@ -125589,7 +125630,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *517 + dismissed_comment: *518 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -125729,12 +125770,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *835 - enterprise: *821 - installation: *822 - organization: *823 - ref: *836 - repository: *824 + commit_oid: *836 + enterprise: *822 + installation: *823 + organization: *824 + ref: *837 + repository: *825 sender: *4 required: - action @@ -125991,10 +126032,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -126074,18 +126115,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *823 - pusher_type: &837 + organization: *824 + pusher_type: &838 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &838 + ref: &839 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -126095,7 +126136,7 @@ x-webhooks: enum: - tag - branch - repository: *824 + repository: *825 sender: *4 required: - ref @@ -126177,10 +126218,10 @@ x-webhooks: type: string enum: - created - definition: *122 - enterprise: *821 - installation: *822 - organization: *823 + definition: *128 + enterprise: *822 + installation: *823 + organization: *824 sender: *4 required: - action @@ -126265,9 +126306,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 sender: *4 required: - action @@ -126344,10 +126385,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *122 - enterprise: *821 - installation: *822 - organization: *823 + definition: *128 + enterprise: *822 + installation: *823 + organization: *824 sender: *4 required: - action @@ -126424,10 +126465,10 @@ x-webhooks: type: string enum: - updated - definition: *122 - enterprise: *821 - installation: *822 - organization: *823 + definition: *128 + enterprise: *822 + installation: *823 + organization: *824 sender: *4 required: - action @@ -126504,19 +126545,19 @@ x-webhooks: type: string enum: - updated - enterprise: *821 - installation: *822 - repository: *824 - organization: *823 + enterprise: *822 + installation: *823 + repository: *825 + organization: *824 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *375 + items: *378 old_property_values: type: array description: The old custom property values for the repository. - items: *375 + items: *378 required: - action - repository @@ -126592,18 +126633,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *821 - installation: *822 - organization: *823 - pusher_type: *837 - ref: *838 + enterprise: *822 + installation: *823 + organization: *824 + pusher_type: *838 + ref: *839 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *824 + repository: *825 sender: *4 required: - ref @@ -126687,11 +126728,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *572 - installation: *822 - organization: *823 - enterprise: *821 - repository: *824 + alert: *573 + installation: *823 + organization: *824 + enterprise: *822 + repository: *825 sender: *4 required: - action @@ -126775,11 +126816,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *572 - installation: *822 - organization: *823 - enterprise: *821 - repository: *824 + alert: *573 + installation: *823 + organization: *824 + enterprise: *822 + repository: *825 sender: *4 required: - action @@ -126863,11 +126904,11 @@ x-webhooks: type: string enum: - created - alert: *572 - installation: *822 - organization: *823 - enterprise: *821 - repository: *824 + alert: *573 + installation: *823 + organization: *824 + enterprise: *822 + repository: *825 sender: *4 required: - action @@ -126949,11 +126990,11 @@ x-webhooks: type: string enum: - dismissed - alert: *572 - installation: *822 - organization: *823 - enterprise: *821 - repository: *824 + alert: *573 + installation: *823 + organization: *824 + enterprise: *822 + repository: *825 sender: *4 required: - action @@ -127035,11 +127076,11 @@ x-webhooks: type: string enum: - fixed - alert: *572 - installation: *822 - organization: *823 - enterprise: *821 - repository: *824 + alert: *573 + installation: *823 + organization: *824 + enterprise: *822 + repository: *825 sender: *4 required: - action @@ -127122,11 +127163,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *572 - installation: *822 - organization: *823 - enterprise: *821 - repository: *824 + alert: *573 + installation: *823 + organization: *824 + enterprise: *822 + repository: *825 sender: *4 required: - action @@ -127208,11 +127249,11 @@ x-webhooks: type: string enum: - reopened - alert: *572 - installation: *822 - organization: *823 - enterprise: *821 - repository: *824 + alert: *573 + installation: *823 + organization: *824 + enterprise: *822 + repository: *825 sender: *4 required: - action @@ -127289,9 +127330,9 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - key: &839 + enterprise: *822 + installation: *823 + key: &840 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -127327,8 +127368,8 @@ x-webhooks: - verified - created_at - read_only - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -127405,11 +127446,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - key: *839 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + key: *840 + organization: *824 + repository: *825 sender: *4 required: - action @@ -127970,12 +128011,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - workflow: &843 + workflow: &844 title: Workflow type: object nullable: true @@ -128701,13 +128742,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *578 + deployment: *579 pull_requests: type: array - items: *671 - repository: *824 - organization: *823 - installation: *822 + items: *672 + repository: *825 + organization: *824 + installation: *823 sender: *4 responses: '200': @@ -128778,7 +128819,7 @@ x-webhooks: type: string enum: - approved - approver: &840 + approver: &841 type: object properties: avatar_url: @@ -128821,11 +128862,11 @@ x-webhooks: type: string comment: type: string - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - reviewers: &841 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + reviewers: &842 type: array items: type: object @@ -128904,7 +128945,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &842 + workflow_job_run: &843 type: object properties: conclusion: @@ -129635,18 +129676,18 @@ x-webhooks: type: string enum: - rejected - approver: *840 + approver: *841 comment: type: string - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - reviewers: *841 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + reviewers: *842 sender: *4 since: type: string - workflow_job_run: *842 + workflow_job_run: *843 workflow_job_runs: type: array items: @@ -130350,13 +130391,13 @@ x-webhooks: type: string enum: - requested - enterprise: *821 + enterprise: *822 environment: type: string - installation: *822 - organization: *823 - repository: *824 - requestor: &848 + installation: *823 + organization: *824 + repository: *825 + requestor: &849 title: User type: object nullable: true @@ -132255,12 +132296,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - workflow: *843 + workflow: *844 workflow_run: title: Deployment Workflow Run type: object @@ -132940,7 +132981,7 @@ x-webhooks: type: string enum: - answered - answer: &846 + answer: &847 type: object properties: author_association: @@ -133097,7 +133138,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &844 + discussion: &845 title: Discussion description: A Discussion in a repository. type: object @@ -133383,7 +133424,7 @@ x-webhooks: - id labels: type: array - items: *635 + items: *636 required: - repository_url - category @@ -133405,10 +133446,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -133535,11 +133576,11 @@ x-webhooks: - from required: - category - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -133622,11 +133663,11 @@ x-webhooks: type: string enum: - closed - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -133708,7 +133749,7 @@ x-webhooks: type: string enum: - created - comment: &845 + comment: &846 type: object properties: author_association: @@ -133865,11 +133906,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -133952,12 +133993,12 @@ x-webhooks: type: string enum: - deleted - comment: *845 - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + comment: *846 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134052,12 +134093,12 @@ x-webhooks: - from required: - body - comment: *845 - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + comment: *846 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134141,11 +134182,11 @@ x-webhooks: type: string enum: - created - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134227,11 +134268,11 @@ x-webhooks: type: string enum: - deleted - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134331,11 +134372,11 @@ x-webhooks: type: string required: - from - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134417,10 +134458,10 @@ x-webhooks: type: string enum: - labeled - discussion: *844 - enterprise: *821 - installation: *822 - label: &847 + discussion: *845 + enterprise: *822 + installation: *823 + label: &848 title: Label type: object properties: @@ -134452,8 +134493,8 @@ x-webhooks: - color - default - description - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134536,11 +134577,11 @@ x-webhooks: type: string enum: - locked - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134622,11 +134663,11 @@ x-webhooks: type: string enum: - pinned - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134708,11 +134749,11 @@ x-webhooks: type: string enum: - reopened - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134797,16 +134838,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *844 - new_repository: *824 + new_discussion: *845 + new_repository: *825 required: - new_discussion - new_repository - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134889,10 +134930,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *844 - old_answer: *846 - organization: *823 - repository: *824 + discussion: *845 + old_answer: *847 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134974,12 +135015,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *844 - enterprise: *821 - installation: *822 - label: *847 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + label: *848 + organization: *824 + repository: *825 sender: *4 required: - action @@ -135062,11 +135103,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -135148,11 +135189,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -135221,7 +135262,7 @@ x-webhooks: required: true content: application/json: - schema: *830 + schema: *831 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135284,7 +135325,7 @@ x-webhooks: required: true content: application/json: - schema: *832 + schema: *833 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135350,7 +135391,7 @@ x-webhooks: required: true content: application/json: - schema: *828 + schema: *829 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135416,7 +135457,7 @@ x-webhooks: required: true content: application/json: - schema: *829 + schema: *830 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135482,7 +135523,7 @@ x-webhooks: required: true content: application/json: - schema: *830 + schema: *831 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135548,7 +135589,7 @@ x-webhooks: required: true content: application/json: - schema: *831 + schema: *832 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135614,7 +135655,7 @@ x-webhooks: required: true content: application/json: - schema: *832 + schema: *833 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135681,7 +135722,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *821 + enterprise: *822 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -136341,9 +136382,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *822 - organization: *823 - repository: *824 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - forkee @@ -136489,9 +136530,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 pages: description: The pages that were updated. type: array @@ -136528,7 +136569,7 @@ x-webhooks: - action - sha - html_url - repository: *824 + repository: *825 sender: *4 required: - pages @@ -136604,10 +136645,10 @@ x-webhooks: type: string enum: - created - enterprise: *821 + enterprise: *822 installation: *22 - organization: *823 - repositories: &849 + organization: *824 + repositories: &850 description: An array of repository objects that the installation can access. type: array @@ -136633,8 +136674,8 @@ x-webhooks: - name - full_name - private - repository: *824 - requester: *848 + repository: *825 + requester: *849 sender: *4 required: - action @@ -136709,11 +136750,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 + enterprise: *822 installation: *22 - organization: *823 - repositories: *849 - repository: *824 + organization: *824 + repositories: *850 + repository: *825 requester: nullable: true sender: *4 @@ -136789,11 +136830,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *821 + enterprise: *822 installation: *22 - organization: *823 - repositories: *849 - repository: *824 + organization: *824 + repositories: *850 + repository: *825 requester: nullable: true sender: *4 @@ -136869,10 +136910,10 @@ x-webhooks: type: string enum: - added - enterprise: *821 + enterprise: *822 installation: *22 - organization: *823 - repositories_added: &850 + organization: *824 + repositories_added: &851 description: An array of repository objects, which were added to the installation. type: array @@ -136918,15 +136959,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *824 - repository_selection: &851 + repository: *825 + repository_selection: &852 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *848 + requester: *849 sender: *4 required: - action @@ -137005,10 +137046,10 @@ x-webhooks: type: string enum: - removed - enterprise: *821 + enterprise: *822 installation: *22 - organization: *823 - repositories_added: *850 + organization: *824 + repositories_added: *851 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -137035,9 +137076,9 @@ x-webhooks: - name - full_name - private - repository: *824 - repository_selection: *851 - requester: *848 + repository: *825 + repository_selection: *852 + requester: *849 sender: *4 required: - action @@ -137116,11 +137157,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *821 + enterprise: *822 installation: *22 - organization: *823 - repositories: *849 - repository: *824 + organization: *824 + repositories: *850 + repository: *825 requester: nullable: true sender: *4 @@ -137299,10 +137340,10 @@ x-webhooks: type: string required: - from - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 target_type: type: string @@ -137381,11 +137422,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *821 + enterprise: *822 installation: *22 - organization: *823 - repositories: *849 - repository: *824 + organization: *824 + repositories: *850 + repository: *825 requester: nullable: true sender: *4 @@ -137509,8 +137550,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 reactions: title: Reactions type: object @@ -137637,8 +137678,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -138432,8 +138473,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138449,7 +138490,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -138782,8 +138823,8 @@ x-webhooks: - state - locked - assignee - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -138863,7 +138904,7 @@ x-webhooks: type: string enum: - deleted - comment: &852 + comment: &853 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -139028,8 +139069,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -139819,8 +139860,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139836,7 +139877,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -140171,8 +140212,8 @@ x-webhooks: - state - locked - assignee - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -140252,7 +140293,7 @@ x-webhooks: type: string enum: - edited - changes: &881 + changes: &882 description: The changes to the comment. type: object properties: @@ -140264,9 +140305,9 @@ x-webhooks: type: string required: - from - comment: *852 - enterprise: *821 - installation: *822 + comment: *853 + enterprise: *822 + installation: *823 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -141059,8 +141100,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141076,7 +141117,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -141409,8 +141450,8 @@ x-webhooks: - state - locked - assignee - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -141494,15 +141535,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *185 + blocked_issue: *191 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *185 + blocking_issue: *191 blocking_issue_repo: *67 - installation: *822 - organization: *823 - repository: *824 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -141590,15 +141631,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *185 + blocked_issue: *191 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *185 + blocking_issue: *191 blocking_issue_repo: *67 - installation: *822 - organization: *823 - repository: *824 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -141685,15 +141726,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *185 + blocked_issue: *191 blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *185 - installation: *822 - organization: *823 - repository: *824 + blocking_issue: *191 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -141781,15 +141822,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *185 + blocked_issue: *191 blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *185 - installation: *822 - organization: *823 - repository: *824 + blocking_issue: *191 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -141874,10 +141915,10 @@ x-webhooks: type: string enum: - assigned - assignee: *848 - enterprise: *821 - installation: *822 - issue: &855 + assignee: *849 + enterprise: *822 + installation: *823 + issue: &856 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -142666,11 +142707,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142686,7 +142727,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -142787,8 +142828,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -142868,8 +142909,8 @@ x-webhooks: type: string enum: - closed - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -143663,11 +143704,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143683,7 +143724,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -143919,8 +143960,8 @@ x-webhooks: required: - state - closed_at - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -143999,8 +144040,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144785,11 +144826,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144805,7 +144846,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -144905,8 +144946,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -144985,8 +145026,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145793,11 +145834,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145813,7 +145854,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -145892,7 +145933,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &853 + milestone: &854 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146030,8 +146071,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -146130,8 +146171,8 @@ x-webhooks: type: string required: - from - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146920,11 +146961,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146937,7 +146978,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *327 + type: *330 title: description: Title of the issue type: string @@ -147041,9 +147082,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *847 - organization: *823 - repository: *824 + label: *848 + organization: *824 + repository: *825 sender: *4 required: - action @@ -147123,8 +147164,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147912,11 +147953,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147929,7 +147970,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *327 + type: *330 title: description: Title of the issue type: string @@ -148033,9 +148074,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *847 - organization: *823 - repository: *824 + label: *848 + organization: *824 + repository: *825 sender: *4 required: - action @@ -148115,8 +148156,8 @@ x-webhooks: type: string enum: - locked - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148928,11 +148969,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148945,7 +148986,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *327 + type: *330 title: description: Title of the issue type: string @@ -149026,8 +149067,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -149106,8 +149147,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149913,11 +149954,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149933,7 +149974,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -150011,9 +150052,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *853 - organization: *823 - repository: *824 + milestone: *854 + organization: *824 + repository: *825 sender: *4 required: - action @@ -150881,11 +150922,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150978,7 +151019,7 @@ x-webhooks: required: - login - id - type: *327 + type: *330 required: - id - number @@ -151447,8 +151488,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152237,11 +152278,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152257,7 +152298,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -152357,8 +152398,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -152438,9 +152479,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *821 - installation: *822 - issue: &854 + enterprise: *822 + installation: *823 + issue: &855 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -153223,11 +153264,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153243,7 +153284,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -153343,8 +153384,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -153423,8 +153464,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154234,11 +154275,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154332,9 +154373,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *327 - organization: *823 - repository: *824 + type: *330 + organization: *824 + repository: *825 sender: *4 required: - action @@ -155200,11 +155241,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155220,7 +155261,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -155788,11 +155829,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *821 - installation: *822 - issue: *854 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + issue: *855 + organization: *824 + repository: *825 sender: *4 required: - action @@ -155872,12 +155913,12 @@ x-webhooks: type: string enum: - typed - enterprise: *821 - installation: *822 - issue: *855 - type: *327 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + issue: *856 + type: *330 + organization: *824 + repository: *825 sender: *4 required: - action @@ -155958,7 +155999,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &884 + assignee: &885 title: User type: object nullable: true @@ -156028,11 +156069,11 @@ x-webhooks: required: - login - id - enterprise: *821 - installation: *822 - issue: *855 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + issue: *856 + organization: *824 + repository: *825 sender: *4 required: - action @@ -156111,12 +156152,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *821 - installation: *822 - issue: *855 - label: *847 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + issue: *856 + label: *848 + organization: *824 + repository: *825 sender: *4 required: - action @@ -156196,8 +156237,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157007,11 +157048,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157027,7 +157068,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -157105,8 +157146,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -157186,11 +157227,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *821 - installation: *822 - issue: *854 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + issue: *855 + organization: *824 + repository: *825 sender: *4 required: - action @@ -157269,12 +157310,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *821 - installation: *822 - issue: *855 - type: *327 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + issue: *856 + type: *330 + organization: *824 + repository: *825 sender: *4 required: - action @@ -157354,11 +157395,11 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - label: *847 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + label: *848 + organization: *824 + repository: *825 sender: *4 required: - action @@ -157436,11 +157477,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - label: *847 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + label: *848 + organization: *824 + repository: *825 sender: *4 required: - action @@ -157550,11 +157591,11 @@ x-webhooks: type: string required: - from - enterprise: *821 - installation: *822 - label: *847 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + label: *848 + organization: *824 + repository: *825 sender: *4 required: - action @@ -157636,9 +157677,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *821 - installation: *822 - marketplace_purchase: &856 + enterprise: *822 + installation: *823 + marketplace_purchase: &857 title: Marketplace Purchase type: object required: @@ -157721,8 +157762,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *823 - previous_marketplace_purchase: &857 + organization: *824 + previous_marketplace_purchase: &858 title: Marketplace Purchase type: object properties: @@ -157802,7 +157843,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *824 + repository: *825 sender: *4 required: - action @@ -157882,10 +157923,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *821 - installation: *822 - marketplace_purchase: *856 - organization: *823 + enterprise: *822 + installation: *823 + marketplace_purchase: *857 + organization: *824 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -157968,7 +158009,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *824 + repository: *825 sender: *4 required: - action @@ -158050,10 +158091,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *821 - installation: *822 - marketplace_purchase: *856 - organization: *823 + enterprise: *822 + installation: *823 + marketplace_purchase: *857 + organization: *824 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -158135,7 +158176,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *824 + repository: *825 sender: *4 required: - action @@ -158216,8 +158257,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 marketplace_purchase: title: Marketplace Purchase type: object @@ -158299,9 +158340,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *823 - previous_marketplace_purchase: *857 - repository: *824 + organization: *824 + previous_marketplace_purchase: *858 + repository: *825 sender: *4 required: - action @@ -158381,12 +158422,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *821 - installation: *822 - marketplace_purchase: *856 - organization: *823 - previous_marketplace_purchase: *857 - repository: *824 + enterprise: *822 + installation: *823 + marketplace_purchase: *857 + organization: *824 + previous_marketplace_purchase: *858 + repository: *825 sender: *4 required: - action @@ -158488,11 +158529,11 @@ x-webhooks: type: string required: - to - enterprise: *821 - installation: *822 - member: *848 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + member: *849 + organization: *824 + repository: *825 sender: *4 required: - action @@ -158592,11 +158633,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *821 - installation: *822 - member: *848 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + member: *849 + organization: *824 + repository: *825 sender: *4 required: - action @@ -158675,11 +158716,11 @@ x-webhooks: type: string enum: - removed - enterprise: *821 - installation: *822 - member: *848 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + member: *849 + organization: *824 + repository: *825 sender: *4 required: - action @@ -158757,11 +158798,11 @@ x-webhooks: type: string enum: - added - enterprise: *821 - installation: *822 - member: *848 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + member: *849 + organization: *824 + repository: *825 scope: description: The scope of the membership. Currently, can only be `team`. @@ -158837,7 +158878,7 @@ x-webhooks: required: - login - id - team: &858 + team: &859 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -159027,11 +159068,11 @@ x-webhooks: type: string enum: - removed - enterprise: *821 - installation: *822 - member: *848 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + member: *849 + organization: *824 + repository: *825 scope: description: The scope of the membership. Currently, can only be `team`. @@ -159108,7 +159149,7 @@ x-webhooks: required: - login - id - team: *858 + team: *859 required: - action - scope @@ -159190,8 +159231,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *822 - merge_group: &860 + installation: *823 + merge_group: &861 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -159210,15 +159251,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *859 + head_commit: *860 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -159304,10 +159345,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *822 - merge_group: *860 - organization: *823 - repository: *824 + installation: *823 + merge_group: *861 + organization: *824 + repository: *825 sender: *4 required: - action @@ -159380,7 +159421,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 + enterprise: *822 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -159489,16 +159530,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *822 - organization: *823 + installation: *823 + organization: *824 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *861 - required: *862 + properties: *862 + required: *863 nullable: true sender: *4 required: @@ -159579,11 +159620,11 @@ x-webhooks: type: string enum: - closed - enterprise: *821 - installation: *822 - milestone: *853 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + milestone: *854 + organization: *824 + repository: *825 sender: *4 required: - action @@ -159662,9 +159703,9 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - milestone: &863 + enterprise: *822 + installation: *823 + milestone: &864 title: Milestone description: A collection of related issues and pull requests. type: object @@ -159801,8 +159842,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -159881,11 +159922,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - milestone: *853 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + milestone: *854 + organization: *824 + repository: *825 sender: *4 required: - action @@ -159995,11 +160036,11 @@ x-webhooks: type: string required: - from - enterprise: *821 - installation: *822 - milestone: *853 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + milestone: *854 + organization: *824 + repository: *825 sender: *4 required: - action @@ -160079,11 +160120,11 @@ x-webhooks: type: string enum: - opened - enterprise: *821 - installation: *822 - milestone: *863 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + milestone: *864 + organization: *824 + repository: *825 sender: *4 required: - action @@ -160162,11 +160203,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *848 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + blocked_user: *849 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -160245,11 +160286,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *848 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + blocked_user: *849 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -160328,9 +160369,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - membership: &864 + enterprise: *822 + installation: *823 + membership: &865 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -160437,8 +160478,8 @@ x-webhooks: - role - organization_url - user - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -160516,11 +160557,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *821 - installation: *822 - membership: *864 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + membership: *865 + organization: *824 + repository: *825 sender: *4 required: - action @@ -160599,8 +160640,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -160716,10 +160757,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 - user: *848 + user: *849 required: - action - invitation @@ -160797,11 +160838,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *821 - installation: *822 - membership: *864 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + membership: *865 + organization: *824 + repository: *825 sender: *4 required: - action @@ -160888,11 +160929,11 @@ x-webhooks: properties: from: type: string - enterprise: *821 - installation: *822 - membership: *864 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + membership: *865 + organization: *824 + repository: *825 sender: *4 required: - action @@ -160968,9 +161009,9 @@ x-webhooks: type: string enum: - published - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 package: description: Information about the package. type: object @@ -161469,7 +161510,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &865 + items: &866 title: Ruby Gems metadata type: object properties: @@ -161564,7 +161605,7 @@ x-webhooks: - owner - package_version - registry - repository: *824 + repository: *825 sender: *4 required: - action @@ -161640,9 +161681,9 @@ x-webhooks: type: string enum: - updated - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 package: description: Information about the package. type: object @@ -161995,7 +162036,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *865 + items: *866 source_url: type: string format: uri @@ -162065,7 +162106,7 @@ x-webhooks: - owner - package_version - registry - repository: *824 + repository: *825 sender: *4 required: - action @@ -162242,12 +162283,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *821 + enterprise: *822 id: type: integer - installation: *822 - organization: *823 - repository: *824 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - id @@ -162324,7 +162365,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &866 + personal_access_token_request: &867 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -162470,10 +162511,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *821 - organization: *823 + enterprise: *822 + organization: *824 sender: *4 - installation: *822 + installation: *823 required: - action - personal_access_token_request @@ -162550,11 +162591,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *866 - enterprise: *821 - organization: *823 + personal_access_token_request: *867 + enterprise: *822 + organization: *824 sender: *4 - installation: *822 + installation: *823 required: - action - personal_access_token_request @@ -162630,11 +162671,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *866 - enterprise: *821 - organization: *823 + personal_access_token_request: *867 + enterprise: *822 + organization: *824 sender: *4 - installation: *822 + installation: *823 required: - action - personal_access_token_request @@ -162709,11 +162750,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *866 - organization: *823 - enterprise: *821 + personal_access_token_request: *867 + organization: *824 + enterprise: *822 sender: *4 - installation: *822 + installation: *823 required: - action - personal_access_token_request @@ -162818,7 +162859,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *867 + last_response: *868 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -162850,8 +162891,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 zen: description: Random string of GitHub zen. @@ -163096,10 +163137,10 @@ x-webhooks: - from required: - note - enterprise: *821 - installation: *822 - organization: *823 - project_card: &868 + enterprise: *822 + installation: *823 + organization: *824 + project_card: &869 title: Project Card type: object properties: @@ -163218,7 +163259,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *824 + repository: *825 sender: *4 required: - action @@ -163299,11 +163340,11 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - project_card: *868 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + project_card: *869 + repository: *825 sender: *4 required: - action @@ -163383,9 +163424,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 project_card: title: Project Card type: object @@ -163513,8 +163554,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *861 - required: *862 + properties: *862 + required: *863 nullable: true sender: *4 required: @@ -163608,11 +163649,11 @@ x-webhooks: - from required: - note - enterprise: *821 - installation: *822 - organization: *823 - project_card: *868 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + project_card: *869 + repository: *825 sender: *4 required: - action @@ -163706,9 +163747,9 @@ x-webhooks: - from required: - column_id - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 project_card: allOf: - title: Project Card @@ -163898,7 +163939,7 @@ x-webhooks: type: string required: - after_id - repository: *824 + repository: *825 sender: *4 required: - action @@ -163978,10 +164019,10 @@ x-webhooks: type: string enum: - closed - enterprise: *821 - installation: *822 - organization: *823 - project: &870 + enterprise: *822 + installation: *823 + organization: *824 + project: &871 title: Project type: object properties: @@ -164105,7 +164146,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *824 + repository: *825 sender: *4 required: - action @@ -164185,10 +164226,10 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - project_column: &869 + enterprise: *822 + installation: *823 + organization: *824 + project_column: &870 title: Project Column type: object properties: @@ -164227,7 +164268,7 @@ x-webhooks: - name - created_at - updated_at - repository: *824 + repository: *825 sender: *4 required: - action @@ -164306,18 +164347,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - organization: *823 - project_column: *869 + enterprise: *822 + installation: *823 + organization: *824 + project_column: *870 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *861 - required: *862 + properties: *862 + required: *863 nullable: true sender: *4 required: @@ -164407,11 +164448,11 @@ x-webhooks: type: string required: - from - enterprise: *821 - installation: *822 - organization: *823 - project_column: *869 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + project_column: *870 + repository: *825 sender: *4 required: - action @@ -164491,11 +164532,11 @@ x-webhooks: type: string enum: - moved - enterprise: *821 - installation: *822 - organization: *823 - project_column: *869 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + project_column: *870 + repository: *825 sender: *4 required: - action @@ -164575,11 +164616,11 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - project: *870 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + project: *871 + repository: *825 sender: *4 required: - action @@ -164659,18 +164700,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - organization: *823 - project: *870 + enterprise: *822 + installation: *823 + organization: *824 + project: *871 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *861 - required: *862 + properties: *862 + required: *863 nullable: true sender: *4 required: @@ -164772,11 +164813,11 @@ x-webhooks: type: string required: - from - enterprise: *821 - installation: *822 - organization: *823 - project: *870 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + project: *871 + repository: *825 sender: *4 required: - action @@ -164855,11 +164896,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *821 - installation: *822 - organization: *823 - project: *870 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + project: *871 + repository: *825 sender: *4 required: - action @@ -164940,9 +164981,9 @@ x-webhooks: type: string enum: - closed - installation: *822 - organization: *823 - projects_v2: *362 + installation: *823 + organization: *824 + projects_v2: *365 sender: *4 required: - action @@ -165023,9 +165064,9 @@ x-webhooks: type: string enum: - created - installation: *822 - organization: *823 - projects_v2: *362 + installation: *823 + organization: *824 + projects_v2: *365 sender: *4 required: - action @@ -165106,9 +165147,9 @@ x-webhooks: type: string enum: - deleted - installation: *822 - organization: *823 - projects_v2: *362 + installation: *823 + organization: *824 + projects_v2: *365 sender: *4 required: - action @@ -165225,9 +165266,9 @@ x-webhooks: type: string to: type: string - installation: *822 - organization: *823 - projects_v2: *362 + installation: *823 + organization: *824 + projects_v2: *365 sender: *4 required: - action @@ -165310,7 +165351,7 @@ x-webhooks: type: string enum: - archived - changes: &874 + changes: &875 type: object properties: archived_at: @@ -165324,9 +165365,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *822 - organization: *823 - projects_v2_item: &871 + installation: *823 + organization: *824 + projects_v2_item: &872 title: Projects v2 Item description: An item belonging to a project type: object @@ -165344,7 +165385,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *370 + content_type: *373 creator: *4 created_at: type: string @@ -165461,9 +165502,9 @@ x-webhooks: nullable: true to: type: string - installation: *822 - organization: *823 - projects_v2_item: *871 + installation: *823 + organization: *824 + projects_v2_item: *872 sender: *4 required: - action @@ -165545,9 +165586,9 @@ x-webhooks: type: string enum: - created - installation: *822 - organization: *823 - projects_v2_item: *871 + installation: *823 + organization: *824 + projects_v2_item: *872 sender: *4 required: - action @@ -165628,9 +165669,9 @@ x-webhooks: type: string enum: - deleted - installation: *822 - organization: *823 - projects_v2_item: *871 + installation: *823 + organization: *824 + projects_v2_item: *872 sender: *4 required: - action @@ -165736,7 +165777,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &872 + - &873 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -165758,7 +165799,7 @@ x-webhooks: required: - id - name - - &873 + - &874 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -165792,8 +165833,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *872 - *873 + - *874 required: - field_value - type: object @@ -165809,9 +165850,9 @@ x-webhooks: nullable: true required: - body - installation: *822 - organization: *823 - projects_v2_item: *871 + installation: *823 + organization: *824 + projects_v2_item: *872 sender: *4 required: - action @@ -165906,9 +165947,9 @@ x-webhooks: to: type: string nullable: true - installation: *822 - organization: *823 - projects_v2_item: *871 + installation: *823 + organization: *824 + projects_v2_item: *872 sender: *4 required: - action @@ -165991,10 +166032,10 @@ x-webhooks: type: string enum: - restored - changes: *874 - installation: *822 - organization: *823 - projects_v2_item: *871 + changes: *875 + installation: *823 + organization: *824 + projects_v2_item: *872 sender: *4 required: - action @@ -166076,9 +166117,9 @@ x-webhooks: type: string enum: - reopened - installation: *822 - organization: *823 - projects_v2: *362 + installation: *823 + organization: *824 + projects_v2: *365 sender: *4 required: - action @@ -166159,14 +166200,14 @@ x-webhooks: type: string enum: - created - installation: *822 - organization: *823 - projects_v2_status_update: &877 + installation: *823 + organization: *824 + projects_v2_status_update: &878 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *875 - required: *876 + properties: *876 + required: *877 sender: *4 required: - action @@ -166247,9 +166288,9 @@ x-webhooks: type: string enum: - deleted - installation: *822 - organization: *823 - projects_v2_status_update: *877 + installation: *823 + organization: *824 + projects_v2_status_update: *878 sender: *4 required: - action @@ -166385,9 +166426,9 @@ x-webhooks: type: string format: date nullable: true - installation: *822 - organization: *823 - projects_v2_status_update: *877 + installation: *823 + organization: *824 + projects_v2_status_update: *878 sender: *4 required: - action @@ -166458,10 +166499,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - repository @@ -166538,13 +166579,13 @@ x-webhooks: type: string enum: - assigned - assignee: *848 - enterprise: *821 - installation: *822 - number: &878 + assignee: *849 + enterprise: *822 + installation: *823 + number: &879 description: The pull request number. type: integer - organization: *823 + organization: *824 pull_request: title: Pull Request type: object @@ -168827,7 +168868,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 sender: *4 required: - action @@ -168909,11 +168950,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 number: type: integer - organization: *823 + organization: *824 pull_request: title: Pull Request type: object @@ -171191,7 +171232,7 @@ x-webhooks: - draft reason: type: string - repository: *824 + repository: *825 sender: *4 required: - action @@ -171273,11 +171314,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 number: type: integer - organization: *823 + organization: *824 pull_request: title: Pull Request type: object @@ -173555,7 +173596,7 @@ x-webhooks: - draft reason: type: string - repository: *824 + repository: *825 sender: *4 required: - action @@ -173637,13 +173678,13 @@ x-webhooks: type: string enum: - closed - enterprise: *821 - installation: *822 - number: *878 - organization: *823 - pull_request: &879 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 + pull_request: &880 allOf: - - *671 + - *672 - type: object properties: allow_auto_merge: @@ -173705,7 +173746,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *824 + repository: *825 sender: *4 required: - action @@ -173786,12 +173827,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *821 - installation: *822 - number: *878 - organization: *823 - pull_request: *879 - repository: *824 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 + pull_request: *880 + repository: *825 sender: *4 required: - action @@ -173871,11 +173912,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *821 - milestone: *655 - number: *878 - organization: *823 - pull_request: &880 + enterprise: *822 + milestone: *656 + number: *879 + organization: *824 + pull_request: &881 title: Pull Request type: object properties: @@ -176138,7 +176179,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 sender: *4 required: - action @@ -176217,11 +176258,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 number: type: integer - organization: *823 + organization: *824 pull_request: title: Pull Request type: object @@ -178503,7 +178544,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *824 + repository: *825 sender: *4 required: - action @@ -178627,12 +178668,12 @@ x-webhooks: type: string required: - from - enterprise: *821 - installation: *822 - number: *878 - organization: *823 - pull_request: *879 - repository: *824 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 + pull_request: *880 + repository: *825 sender: *4 required: - action @@ -178712,11 +178753,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 number: type: integer - organization: *823 + organization: *824 pull_request: title: Pull Request type: object @@ -180983,7 +181024,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 sender: *4 required: - action @@ -181063,11 +181104,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *821 - installation: *822 - label: *847 - number: *878 - organization: *823 + enterprise: *822 + installation: *823 + label: *848 + number: *879 + organization: *824 pull_request: title: Pull Request type: object @@ -183349,7 +183390,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 sender: *4 required: - action @@ -183430,10 +183471,10 @@ x-webhooks: type: string enum: - locked - enterprise: *821 - installation: *822 - number: *878 - organization: *823 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 pull_request: title: Pull Request type: object @@ -185713,7 +185754,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 sender: *4 required: - action @@ -185793,12 +185834,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *821 - milestone: *655 - number: *878 - organization: *823 - pull_request: *880 - repository: *824 + enterprise: *822 + milestone: *656 + number: *879 + organization: *824 + pull_request: *881 + repository: *825 sender: *4 required: - action @@ -185877,12 +185918,12 @@ x-webhooks: type: string enum: - opened - enterprise: *821 - installation: *822 - number: *878 - organization: *823 - pull_request: *879 - repository: *824 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 + pull_request: *880 + repository: *825 sender: *4 required: - action @@ -185963,12 +186004,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *821 - installation: *822 - number: *878 - organization: *823 - pull_request: *879 - repository: *824 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 + pull_request: *880 + repository: *825 sender: *4 required: - action @@ -186048,12 +186089,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *821 - installation: *822 - number: *878 - organization: *823 - pull_request: *879 - repository: *824 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 + pull_request: *880 + repository: *825 sender: *4 required: - action @@ -186419,9 +186460,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 pull_request: type: object properties: @@ -188591,7 +188632,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *824 + repository: *825 sender: *4 required: - action @@ -188671,7 +188712,7 @@ x-webhooks: type: string enum: - deleted - comment: &882 + comment: &883 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -188956,9 +188997,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 pull_request: type: object properties: @@ -191116,7 +191157,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *824 + repository: *825 sender: *4 required: - action @@ -191196,11 +191237,11 @@ x-webhooks: type: string enum: - edited - changes: *881 - comment: *882 - enterprise: *821 - installation: *822 - organization: *823 + changes: *882 + comment: *883 + enterprise: *822 + installation: *823 + organization: *824 pull_request: type: object properties: @@ -193361,7 +193402,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *824 + repository: *825 sender: *4 required: - action @@ -193442,9 +193483,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 pull_request: title: Simple Pull Request type: object @@ -195617,7 +195658,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *824 + repository: *825 review: description: The review that was affected. type: object @@ -195864,9 +195905,9 @@ x-webhooks: type: string required: - from - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 pull_request: title: Simple Pull Request type: object @@ -197920,8 +197961,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *824 - review: &883 + repository: *825 + review: &884 description: The review that was affected. type: object properties: @@ -198154,12 +198195,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 number: description: The pull request number. type: integer - organization: *823 + organization: *824 pull_request: title: Pull Request type: object @@ -200442,7 +200483,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 requested_reviewer: title: User type: object @@ -200526,12 +200567,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 number: description: The pull request number. type: integer - organization: *823 + organization: *824 pull_request: title: Pull Request type: object @@ -202821,7 +202862,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 requested_team: title: Team description: Groups of organization members that gives permissions @@ -203013,12 +203054,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 number: description: The pull request number. type: integer - organization: *823 + organization: *824 pull_request: title: Pull Request type: object @@ -205303,7 +205344,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 requested_reviewer: title: User type: object @@ -205388,12 +205429,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 number: description: The pull request number. type: integer - organization: *823 + organization: *824 pull_request: title: Pull Request type: object @@ -207669,7 +207710,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 requested_team: title: Team description: Groups of organization members that gives permissions @@ -207850,9 +207891,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 pull_request: title: Simple Pull Request type: object @@ -210027,8 +210068,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *824 - review: *883 + repository: *825 + review: *884 sender: *4 required: - action @@ -210108,9 +210149,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 pull_request: title: Simple Pull Request type: object @@ -212180,7 +212221,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *824 + repository: *825 sender: *4 thread: type: object @@ -212567,9 +212608,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 pull_request: title: Simple Pull Request type: object @@ -214625,7 +214666,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *824 + repository: *825 sender: *4 thread: type: object @@ -215015,10 +215056,10 @@ x-webhooks: type: string before: type: string - enterprise: *821 - installation: *822 - number: *878 - organization: *823 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 pull_request: title: Pull Request type: object @@ -217289,7 +217330,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 sender: *4 required: - action @@ -217371,11 +217412,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *884 - enterprise: *821 - installation: *822 - number: *878 - organization: *823 + assignee: *885 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 pull_request: title: Pull Request type: object @@ -219658,7 +219699,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 sender: *4 required: - action @@ -219737,11 +219778,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *821 - installation: *822 - label: *847 - number: *878 - organization: *823 + enterprise: *822 + installation: *823 + label: *848 + number: *879 + organization: *824 pull_request: title: Pull Request type: object @@ -222014,7 +222055,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 sender: *4 required: - action @@ -222095,10 +222136,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *821 - installation: *822 - number: *878 - organization: *823 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 pull_request: title: Pull Request type: object @@ -224363,7 +224404,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 sender: *4 required: - action @@ -224563,7 +224604,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *821 + enterprise: *822 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -224655,8 +224696,8 @@ x-webhooks: - url - author - committer - installation: *822 - organization: *823 + installation: *823 + organization: *824 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -225231,9 +225272,9 @@ x-webhooks: type: string enum: - published - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 registry_package: type: object properties: @@ -225679,7 +225720,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *865 + items: *866 summary: type: string tag_name: @@ -225733,7 +225774,7 @@ x-webhooks: - owner - package_version - registry - repository: *824 + repository: *825 sender: *4 required: - action @@ -225811,9 +225852,9 @@ x-webhooks: type: string enum: - updated - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 registry_package: type: object properties: @@ -226121,7 +226162,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *865 + items: *866 summary: type: string tag_name: @@ -226170,7 +226211,7 @@ x-webhooks: - owner - package_version - registry - repository: *824 + repository: *825 sender: *4 required: - action @@ -226247,10 +226288,10 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - release: &885 + enterprise: *822 + installation: *823 + organization: *824 + release: &886 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -226568,7 +226609,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *824 + repository: *825 sender: *4 required: - action @@ -226645,11 +226686,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - organization: *823 - release: *885 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + release: *886 + repository: *825 sender: *4 required: - action @@ -226766,11 +226807,11 @@ x-webhooks: type: boolean required: - to - enterprise: *821 - installation: *822 - organization: *823 - release: *885 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + release: *886 + repository: *825 sender: *4 required: - action @@ -226848,9 +226889,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -227172,7 +227213,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *824 + repository: *825 sender: *4 required: - action @@ -227248,10 +227289,10 @@ x-webhooks: type: string enum: - published - enterprise: *821 - installation: *822 - organization: *823 - release: &886 + enterprise: *822 + installation: *823 + organization: *824 + release: &887 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -227570,7 +227611,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *824 + repository: *825 sender: *4 required: - action @@ -227646,11 +227687,11 @@ x-webhooks: type: string enum: - released - enterprise: *821 - installation: *822 - organization: *823 - release: *885 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + release: *886 + repository: *825 sender: *4 required: - action @@ -227726,11 +227767,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *821 - installation: *822 - organization: *823 - release: *886 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + release: *887 + repository: *825 sender: *4 required: - action @@ -227806,11 +227847,11 @@ x-webhooks: type: string enum: - published - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - repository_advisory: *723 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + repository_advisory: *724 sender: *4 required: - action @@ -227886,11 +227927,11 @@ x-webhooks: type: string enum: - reported - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - repository_advisory: *723 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + repository_advisory: *724 sender: *4 required: - action @@ -227966,10 +228007,10 @@ x-webhooks: type: string enum: - archived - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -228046,10 +228087,10 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -228127,10 +228168,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -228214,10 +228255,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -228329,10 +228370,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -228404,10 +228445,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 status: type: string @@ -228488,10 +228529,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -228568,10 +228609,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -228665,10 +228706,10 @@ x-webhooks: - name required: - repository - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -228748,11 +228789,11 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - repository_ruleset: *155 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + repository_ruleset: *161 sender: *4 required: - action @@ -228830,11 +228871,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - repository_ruleset: *155 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + repository_ruleset: *161 sender: *4 required: - action @@ -228912,11 +228953,11 @@ x-webhooks: type: string enum: - edited - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - repository_ruleset: *155 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + repository_ruleset: *161 changes: type: object properties: @@ -228935,16 +228976,16 @@ x-webhooks: properties: added: type: array - items: *129 + items: *135 deleted: type: array - items: *129 + items: *135 updated: type: array items: type: object properties: - condition: *129 + condition: *135 changes: type: object properties: @@ -228977,16 +229018,16 @@ x-webhooks: properties: added: type: array - items: *691 + items: *692 deleted: type: array - items: *691 + items: *692 updated: type: array items: type: object properties: - rule: *691 + rule: *692 changes: type: object properties: @@ -229220,10 +229261,10 @@ x-webhooks: - from required: - owner - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -229301,10 +229342,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -229382,7 +229423,7 @@ x-webhooks: type: string enum: - create - alert: &887 + alert: &888 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -229503,10 +229544,10 @@ x-webhooks: type: string enum: - open - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -229712,10 +229753,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -229793,11 +229834,11 @@ x-webhooks: type: string enum: - reopen - alert: *887 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + alert: *888 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -229996,10 +230037,10 @@ x-webhooks: enum: - fixed - open - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -230077,11 +230118,11 @@ x-webhooks: type: string enum: - created - alert: &888 + alert: &889 type: object properties: - number: *106 - created_at: *113 + number: *112 + created_at: *119 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -230089,8 +230130,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *111 - html_url: *112 + url: *117 + html_url: *118 locations_url: type: string format: uri @@ -230188,10 +230229,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -230272,11 +230313,11 @@ x-webhooks: type: string enum: - created - alert: *888 - installation: *822 - location: *889 - organization: *823 - repository: *824 + alert: *889 + installation: *823 + location: *890 + organization: *824 + repository: *825 sender: *4 required: - location @@ -230514,11 +230555,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *888 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + alert: *889 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -230596,11 +230637,11 @@ x-webhooks: type: string enum: - reopened - alert: *888 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + alert: *889 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -230678,11 +230719,11 @@ x-webhooks: type: string enum: - resolved - alert: *888 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + alert: *889 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -230760,11 +230801,11 @@ x-webhooks: type: string enum: - validated - alert: *888 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + alert: *889 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -230890,10 +230931,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *824 - enterprise: *821 - installation: *822 - organization: *823 + repository: *825 + enterprise: *822 + installation: *823 + organization: *824 sender: *4 required: - action @@ -230971,11 +231012,11 @@ x-webhooks: type: string enum: - published - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - security_advisory: &890 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + security_advisory: &891 description: The details of the security advisory, including summary, description, and severity. type: object @@ -230991,7 +231032,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *108 + cvss_severities: *114 cwes: type: array items: @@ -231158,11 +231199,11 @@ x-webhooks: type: string enum: - updated - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - security_advisory: *890 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + security_advisory: *891 sender: *4 required: - action @@ -231235,10 +231276,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -231255,7 +231296,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *108 + cvss_severities: *114 cwes: type: array items: @@ -231422,11 +231463,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *378 - enterprise: *821 - installation: *822 - organization: *823 - repository: *445 + security_and_analysis: *381 + enterprise: *822 + installation: *823 + organization: *824 + repository: *448 sender: *4 required: - changes @@ -231504,12 +231545,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - sponsorship: &891 + sponsorship: &892 type: object properties: created_at: @@ -231810,12 +231851,12 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - sponsorship: *891 + sponsorship: *892 required: - action - sponsorship @@ -231903,12 +231944,12 @@ x-webhooks: type: string required: - from - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - sponsorship: *891 + sponsorship: *892 required: - action - changes @@ -231985,17 +232026,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &892 + effective_date: &893 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - sponsorship: *891 + sponsorship: *892 required: - action - sponsorship @@ -232069,7 +232110,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &893 + changes: &894 type: object properties: tier: @@ -232113,13 +232154,13 @@ x-webhooks: - from required: - tier - effective_date: *892 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + effective_date: *893 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - sponsorship: *891 + sponsorship: *892 required: - action - changes @@ -232196,13 +232237,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *893 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + changes: *894 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - sponsorship: *891 + sponsorship: *892 required: - action - changes @@ -232276,10 +232317,10 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -232362,10 +232403,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -232785,15 +232826,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *821 + enterprise: *822 id: description: The unique identifier of the status. type: integer - installation: *822 + installation: *823 name: type: string - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 sha: description: The Commit SHA. @@ -232902,15 +232943,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *185 + parent_issue: *191 parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *185 - installation: *822 - organization: *823 - repository: *824 + sub_issue: *191 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -232994,15 +233035,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *185 + parent_issue: *191 parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *185 - installation: *822 - organization: *823 - repository: *824 + sub_issue: *191 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -233086,15 +233127,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *185 + sub_issue: *191 sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *185 - installation: *822 - organization: *823 - repository: *824 + parent_issue: *191 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -233178,15 +233219,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *185 + sub_issue: *191 sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *185 - installation: *822 - organization: *823 - repository: *824 + parent_issue: *191 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -233263,12 +233304,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - team: &894 + team: &895 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -233458,9 +233499,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 repository: title: Repository description: A git repository @@ -233918,7 +233959,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *894 + team: *895 required: - action - team @@ -233994,9 +234035,9 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 repository: title: Repository description: A git repository @@ -234454,7 +234495,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *894 + team: *895 required: - action - team @@ -234531,9 +234572,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 repository: title: Repository description: A git repository @@ -234991,7 +235032,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *894 + team: *895 required: - action - team @@ -235135,9 +235176,9 @@ x-webhooks: - from required: - permissions - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 repository: title: Repository description: A git repository @@ -235595,7 +235636,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *894 + team: *895 required: - action - changes @@ -235673,9 +235714,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 repository: title: Repository description: A git repository @@ -236133,7 +236174,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *894 + team: *895 required: - action - team @@ -236209,10 +236250,10 @@ x-webhooks: type: string enum: - started - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -236285,16 +236326,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *821 + enterprise: *822 inputs: type: object nullable: true additionalProperties: true - installation: *822 - organization: *823 + installation: *823 + organization: *824 ref: type: string - repository: *824 + repository: *825 sender: *4 workflow: type: string @@ -236376,10 +236417,10 @@ x-webhooks: type: string enum: - completed - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 workflow_job: allOf: @@ -236616,7 +236657,7 @@ x-webhooks: type: string required: - conclusion - deployment: *578 + deployment: *579 required: - action - repository @@ -236695,10 +236736,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 workflow_job: allOf: @@ -236958,7 +236999,7 @@ x-webhooks: required: - status - steps - deployment: *578 + deployment: *579 required: - action - repository @@ -237037,10 +237078,10 @@ x-webhooks: type: string enum: - queued - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 workflow_job: type: object @@ -237175,7 +237216,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *578 + deployment: *579 required: - action - repository @@ -237254,10 +237295,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 workflow_job: type: object @@ -237393,7 +237434,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *578 + deployment: *579 required: - action - repository @@ -237473,12 +237514,12 @@ x-webhooks: type: string enum: - completed - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - workflow: *843 + workflow: *844 workflow_run: title: Workflow Run type: object @@ -238477,12 +238518,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - workflow: *843 + workflow: *844 workflow_run: title: Workflow Run type: object @@ -239466,12 +239507,12 @@ x-webhooks: type: string enum: - requested - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - workflow: *843 + workflow: *844 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 5c2de408e..b4748ba78 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -31967,6 +31967,459 @@ } } }, + "/enterprises/{enterprise}/bypass-requests/secret-scanning": { + "get": { + "summary": "List bypass requests for secret scanning for an enterprise", + "description": "List requests to bypass secret scanning push protection in an enterprise.\n\nDelegated bypass must be enabled on repositories in the enterprise and the user must be a bypass reviewer to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/list-enterprise-bypass-requests", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-an-enterprise" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "secret-scanning", + "subcategory": "delegated-bypass" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "organization_name", + "description": "The name of the organization to filter on.", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "reviewer", + "description": "Filter bypass requests by the handle of the GitHub user who reviewed the bypass request.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "requester", + "description": "Filter bypass requests by the handle of the GitHub user who requested the bypass.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for rule suites that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "hour", + "day", + "week", + "month" + ], + "default": "day" + } + }, + { + "name": "request_status", + "description": "The status of the bypass request to filter on. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "completed", + "cancelled", + "approved", + "expired", + "deleted", + "denied", + "open", + "all" + ], + "default": "all" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Secret scanning bypass request", + "description": "A bypass request made by a user asking to be exempted from push protection in this repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the bypass request." + }, + "number": { + "type": "integer", + "description": "The number uniquely identifying the bypass request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the bypass request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the repository the bypass request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the bypass request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the bypass request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the bypass request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the bypass.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who requested the bypass." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the bypass." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the push rules that are being requested to be bypassed.", + "items": { + "type": "object", + "properties": { + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "bypass_reason": { + "type": "string", + "enum": [ + "used_in_tests", + "false_positive", + "fix_later" + ], + "description": "The reason the bypass was requested." + }, + "path": { + "type": "string", + "description": "The path in the repo where the secret was located during the request." + }, + "branch": { + "type": "string", + "description": "The branch in the repo where the secret was located during the request." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the bypass request. For example, a commit SHA.", + "example": "827efc6d56897b048c772eb4087f854f46256132" + }, + "status": { + "type": "string", + "description": "The status of the bypass request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "completed", + "expired", + "open" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the bypass request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the bypass request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the bypass request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the bypass request.", + "nullable": true, + "items": { + "title": "Bypass response", + "description": "A response made by a delegated bypasser to a bypass request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the response to the bypass request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the bypass request.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who reviewed the bypass request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the bypass request." + } + } + }, + "status": { + "type": "string", + "description": "The response status to the bypass request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the bypass request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the bypass request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/exemptions/1" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning", + "data": [ + { + "secret_type": "adafruit_io_key", + "bypass_reason": "used_in_tests", + "path": "/tests/README.md:16:0", + "branch": "refs/heads/main" + } + ], + "resource_identifier": "827efc6d56897b048c772eb4087f854f46256132", + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1", + "html_url": "https://github.com/octo-org/smile/exemptions/1" + }, + { + "id": 12, + "number": 24, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning", + "data": [ + { + "secret_type": "adafruit_io_key", + "bypass_reason": "fix_later", + "path": "README.md:17:0", + "branch": "refs/heads/my-branch" + } + ], + "resource_identifier": "827efc6d56897b048c772eb4087f854f46255555", + "status": "denied", + "requester_comment": "Token is already revoked, I'll remove it later", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2", + "html_url": "https://github.com/octo-org/smile/exemptions/2" + } + ] + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + } + } + }, "/enterprises/{enterprise}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an enterprise", diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index ade0abb0f..b4975abf0 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -444,7 +444,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &92 + - &98 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For @@ -453,7 +453,7 @@ paths: required: false schema: type: string - - &93 + - &99 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For @@ -462,7 +462,7 @@ paths: required: false schema: type: string - - &94 + - &100 name: direction description: The direction to sort the results by. in: query @@ -683,7 +683,7 @@ paths: required: - vector_string - score - cvss_severities: &108 + cvss_severities: &114 type: object nullable: true properties: @@ -723,7 +723,7 @@ paths: required: - vector_string - score - epss: &109 + epss: &115 type: object nullable: true readOnly: true @@ -861,7 +861,7 @@ paths: - subscriptions_url - type - url - type: &398 + type: &401 type: string description: The type of credit the user is receiving. enum: @@ -994,7 +994,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &213 + schema: &219 title: Validation Error Simple description: Validation Error Simple type: object @@ -1027,7 +1027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &725 + - &726 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1145,7 +1145,7 @@ paths: GitHub. type: object nullable: true - properties: &170 + properties: &176 id: description: Unique identifier of the GitHub app example: 37 @@ -1278,7 +1278,7 @@ paths: about itself. example: 5 type: integer - required: &171 + required: &177 - id - node_id - owner @@ -1583,7 +1583,7 @@ paths: schema: type: integer default: 30 - - &305 + - &308 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1599,7 +1599,7 @@ paths: application/json: schema: type: array - items: &306 + items: &309 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1679,7 +1679,7 @@ paths: - installation_id - repository_id examples: - default: &307 + default: &310 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1711,7 +1711,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &735 + schema: &736 title: Scim Error description: Scim Error type: object @@ -1738,7 +1738,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &212 + schema: &218 title: Validation Error description: Validation Error type: object @@ -1807,7 +1807,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &311 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1921,7 +1921,7 @@ paths: - request - response examples: - default: &309 + default: &312 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2122,7 +2122,7 @@ paths: parameters: - *17 - *19 - - &175 + - &181 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) @@ -2870,7 +2870,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &376 + properties: &379 id: description: Unique identifier of the repository example: 42 @@ -2890,7 +2890,7 @@ paths: title: License Simple description: License Simple type: object - properties: &186 + properties: &192 key: type: string example: mit @@ -2912,7 +2912,7 @@ paths: html_url: type: string format: uri - required: &187 + required: &193 - key - name - url @@ -3308,7 +3308,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &377 + required: &380 - archive_url - assignees_url - blobs_url @@ -7380,7 +7380,7 @@ paths: description: Response content: application/json: - schema: &214 + schema: &220 type: object properties: total_active_caches_count: @@ -7395,7 +7395,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &215 + default: &221 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7579,7 +7579,7 @@ paths: - public_ip_enabled - platform examples: - default: &216 + default: &222 value: total_count: 2 runners: @@ -7865,7 +7865,7 @@ paths: description: Response content: application/json: - schema: &217 + schema: &223 type: object properties: public_ips: @@ -7890,7 +7890,7 @@ paths: required: - public_ips examples: - default: &218 + default: &224 value: public_ips: current_usage: 17 @@ -7930,7 +7930,7 @@ paths: type: array items: *45 examples: - default: &219 + default: &225 value: id: 4-core cpu_cores: 4 @@ -8187,7 +8187,7 @@ paths: - all - local_only - selected - selected_actions_url: &222 + selected_actions_url: &228 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` @@ -8267,7 +8267,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &224 + schema: &230 type: object properties: days: @@ -8285,7 +8285,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &736 + '401': &737 description: Authorization failure '404': *6 x-github: @@ -8313,7 +8313,7 @@ paths: required: true content: application/json: - schema: &225 + schema: &231 type: object properties: days: @@ -8362,7 +8362,7 @@ paths: required: - approval_policy examples: - default: &226 + default: &232 value: approval_policy: first_time_contributors '404': *6 @@ -8420,7 +8420,7 @@ paths: description: Response content: application/json: - schema: &227 + schema: &233 type: object required: - run_workflows_from_fork_pull_requests @@ -8474,7 +8474,7 @@ paths: required: true content: application/json: - schema: &228 + schema: &234 type: object required: - run_workflows_from_fork_pull_requests @@ -8541,7 +8541,7 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: &104 + properties: &110 login: type: string example: github @@ -8582,7 +8582,7 @@ paths: type: string example: A great organization nullable: true - required: &105 + required: &111 - login - url - id @@ -8897,7 +8897,7 @@ paths: description: Success response content: application/json: - schema: &231 + schema: &237 type: object properties: default_workflow_permissions: &56 @@ -8945,7 +8945,7 @@ paths: required: true content: application/json: - schema: &232 + schema: &238 type: object properties: default_workflow_permissions: *56 @@ -9781,7 +9781,7 @@ paths: application/json: schema: type: array - items: &236 + items: &242 title: Runner Application description: Runner Application type: object @@ -9806,7 +9806,7 @@ paths: - download_url - filename examples: - default: &237 + default: &243 value: - os: osx architecture: x64 @@ -9890,7 +9890,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &238 + '201': &244 description: Response content: application/json: @@ -9929,7 +9929,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &102 + '409': &108 description: Conflict content: application/json: @@ -10005,7 +10005,7 @@ paths: - token - expires_at examples: - default: &239 + default: &245 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10045,7 +10045,7 @@ paths: application/json: schema: *68 examples: - default: &240 + default: &246 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10077,7 +10077,7 @@ paths: application/json: schema: *65 examples: - default: &241 + default: &247 value: id: 23 name: MBP @@ -10293,7 +10293,7 @@ paths: - *41 - *64 responses: - '200': &242 + '200': &248 description: Response content: application/json: @@ -10349,7 +10349,7 @@ paths: parameters: - *41 - *64 - - &243 + - &249 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10440,7 +10440,7 @@ paths: required: true content: application/json: - schema: &250 + schema: &256 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11081,7 +11081,7 @@ paths: required: false schema: type: string - - &251 + - &257 name: include description: |- The event types to include: @@ -11099,7 +11099,7 @@ paths: - web - git - all - - &252 + - &258 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. @@ -11107,7 +11107,7 @@ paths: required: false schema: type: string - - &253 + - &259 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. @@ -11115,7 +11115,7 @@ paths: required: false schema: type: string - - &254 + - &260 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11137,7 +11137,7 @@ paths: application/json: schema: type: array - items: &255 + items: &261 type: object properties: "@timestamp": @@ -11259,7 +11259,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &256 + default: &262 value: - "@timestamp": 1606929874512 action: team.add_member @@ -11860,12 +11860,13 @@ paths: subcategory: bypass-requests parameters: - *41 - - name: organization_name + - &92 + name: organization_name description: The name of the organization to filter on. in: query schema: type: string - - &258 + - &93 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -11873,7 +11874,7 @@ paths: required: false schema: type: string - - &259 + - &94 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -11881,7 +11882,7 @@ paths: required: false schema: type: string - - &260 + - &95 name: time_period description: |- The time period to filter by. @@ -11897,7 +11898,7 @@ paths: - week - month default: day - - &261 + - &96 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -11924,7 +11925,7 @@ paths: application/json: schema: type: array - items: &262 + items: &264 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12041,7 +12042,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: &265 + items: &97 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -12085,7 +12086,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &263 + default: &265 value: - id: 21 number: 42 @@ -12155,6 +12156,234 @@ paths: html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 '500': *91 + "/enterprises/{enterprise}/bypass-requests/secret-scanning": + get: + summary: List bypass requests for secret scanning for an enterprise + description: |- + List requests to bypass secret scanning push protection in an enterprise. + + Delegated bypass must be enabled on repositories in the enterprise and the user must be a bypass reviewer to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/list-enterprise-bypass-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-an-enterprise + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: secret-scanning + subcategory: delegated-bypass + parameters: + - *41 + - *92 + - *93 + - *94 + - *95 + - *96 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &267 + title: Secret scanning bypass request + description: A bypass request made by a user asking to be exempted + from push protection in this repository. + type: object + properties: + id: + type: integer + description: The unique identifier of the bypass request. + number: + type: integer + description: The number uniquely identifying the bypass request + within its repository. + repository: + type: object + description: The repository the bypass request is for. + properties: + id: + type: integer + description: The ID of the repository the bypass request + is for. + name: + type: string + description: The name of the repository the bypass request + is for. + full_name: + type: string + description: The full name of the repository the bypass + request is for. + organization: + type: object + description: The organization associated with the repository + the bypass request is for. + properties: + id: + type: integer + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the bypass. + properties: + actor_id: + type: integer + description: The ID of the GitHub user who requested the + bypass. + actor_name: + type: string + description: The name of the GitHub user who requested the + bypass. + request_type: + type: string + description: The type of request. + data: + nullable: true + type: array + description: Data describing the push rules that are being requested + to be bypassed. + items: + type: object + properties: + secret_type: + type: string + description: The type of secret that secret scanning detected. + bypass_reason: + type: string + enum: + - used_in_tests + - false_positive + - fix_later + description: The reason the bypass was requested. + path: + type: string + description: The path in the repo where the secret was + located during the request. + branch: + type: string + description: The branch in the repo where the secret was + located during the request. + resource_identifier: + type: string + description: The unique identifier for the request type of the + bypass request. For example, a commit SHA. + example: 827efc6d56897b048c772eb4087f854f46256132 + status: + type: string + description: The status of the bypass request. + enum: + - pending + - denied + - approved + - cancelled + - completed + - expired + - open + requester_comment: + type: string + description: The comment the requester provided when creating + the bypass request. + nullable: true + expires_at: + type: string + format: date-time + description: The date and time the bypass request will expire. + created_at: + type: string + format: date-time + description: The date and time the bypass request was created. + responses: + type: array + description: The responses to the bypass request. + nullable: true + items: *97 + url: + type: string + format: uri + example: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1 + html_url: + type: string + description: The URL to view the bypass request in a browser. + format: uri + example: https://github.com/octo-org/smile/exemptions/1 + examples: + default: &268 + value: + - id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning + data: + - secret_type: adafruit_io_key + bypass_reason: used_in_tests + path: "/tests/README.md:16:0" + branch: refs/heads/main + resource_identifier: 827efc6d56897b048c772eb4087f854f46256132 + status: denied + requester_comment: Test token used in the readme as an example + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1 + html_url: https://github.com/octo-org/smile/exemptions/1 + - id: 12 + number: 24 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning + data: + - secret_type: adafruit_io_key + bypass_reason: fix_later + path: README.md:17:0 + branch: refs/heads/my-branch + resource_identifier: 827efc6d56897b048c772eb4087f854f46255555 + status: denied + requester_comment: Token is already revoked, I'll remove it later + expires_at: '2024-07-08T07:43:03Z' + created_at: '2024-07-01T07:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2 + html_url: https://github.com/octo-org/smile/exemptions/2 + '404': *6 + '500': *91 "/enterprises/{enterprise}/code-scanning/alerts": get: summary: List code scanning alerts for an enterprise @@ -12172,17 +12401,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &270 + - &273 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. in: query required: false - schema: &95 + schema: &101 type: string description: The name of the tool used to generate the code scanning analysis. - - &271 + - &274 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -12190,22 +12419,22 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &96 + schema: &102 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *92 - - *93 + - *98 + - *99 - *19 - *17 - - *94 + - *100 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &272 + schema: &275 type: string description: State of a code scanning alert. enum: @@ -12230,42 +12459,42 @@ paths: application/json: schema: type: array - items: &273 + items: &276 type: object properties: - number: &106 + number: &112 type: integer description: The security alert number. readOnly: true - created_at: &113 + created_at: &119 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: &114 + updated_at: &120 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: &111 + url: &117 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &112 + html_url: &118 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &515 + instances_url: &516 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &97 + state: &103 type: string description: State of a code scanning alert. nullable: true @@ -12273,7 +12502,7 @@ paths: - open - dismissed - fixed - fixed_at: &116 + fixed_at: &122 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`.' @@ -12287,14 +12516,14 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &115 + dismissed_at: &121 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissed_reason: &516 + dismissed_reason: &517 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12303,13 +12532,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &517 + dismissed_comment: &518 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &518 + rule: &519 type: object properties: id: @@ -12362,25 +12591,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &519 + tool: &520 type: object properties: - name: *95 + name: *101 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *96 - most_recent_instance: &520 + guid: *102 + most_recent_instance: &521 type: object properties: - ref: &513 + ref: &514 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &530 + analysis_key: &531 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -12391,13 +12620,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &531 + category: &532 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *97 + state: *103 commit_sha: type: string message: @@ -12436,11 +12665,11 @@ paths: - generated - test - library - repository: &103 + repository: &109 title: Simple Repository description: A GitHub repository. type: object - properties: &202 + properties: &208 id: type: integer format: int64 @@ -12667,7 +12896,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: &203 + required: &209 - archive_url - assignees_url - blobs_url @@ -12736,7 +12965,7 @@ paths: - most_recent_instance - repository examples: - default: &274 + default: &277 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12967,7 +13196,7 @@ paths: headers: Link: *40 '404': *6 - '503': &160 + '503': &166 description: Service unavailable content: application/json: @@ -13011,8 +13240,8 @@ paths: schema: type: integer default: 30 - - *92 - - *93 + - *98 + - *99 responses: '200': description: Response @@ -13020,7 +13249,7 @@ paths: application/json: schema: type: array - items: &98 + items: &104 type: object description: A code security configuration properties: @@ -13389,7 +13618,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &275 + code_scanning_options: &278 type: object description: Security Configuration feature options for code scanning nullable: true @@ -13406,7 +13635,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &101 + code_scanning_default_setup_options: &107 type: object description: Feature options for code scanning default setup nullable: true @@ -13523,9 +13752,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *98 + schema: *104 examples: - default: &99 + default: &105 value: id: 1325 target_type: enterprise @@ -13583,7 +13812,7 @@ paths: description: Response content: application/json: - schema: &277 + schema: &280 type: array description: A list of default code security configurations items: @@ -13597,9 +13826,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *98 + configuration: *104 examples: - default: &278 + default: &281 value: - default_for_new_repos: public configuration: @@ -13688,7 +13917,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - *41 - - &100 + - &106 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -13700,9 +13929,9 @@ paths: description: Response content: application/json: - schema: *98 + schema: *104 examples: - default: *99 + default: *105 '304': *37 '403': *29 '404': *6 @@ -13727,7 +13956,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - *41 - - *100 + - *106 requestBody: required: true content: @@ -13806,7 +14035,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *101 + code_scanning_default_setup_options: *107 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -13894,13 +14123,13 @@ paths: description: Response content: application/json: - schema: *98 + schema: *104 examples: - default: *99 + default: *105 '304': *37 '403': *29 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13924,14 +14153,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - *41 - - *100 + - *106 responses: - '204': &126 + '204': &132 description: A header with no content is returned. '400': *14 '403': *29 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13956,7 +14185,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - *41 - - *100 + - *106 requestBody: required: true content: @@ -13983,7 +14212,7 @@ paths: '202': *39 '403': *29 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14008,7 +14237,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise parameters: - *41 - - *100 + - *106 requestBody: required: true content: @@ -14048,12 +14277,12 @@ paths: - none - private_and_internal - public - configuration: *98 + configuration: *104 examples: default: value: default_for_new_repos: all - configuration: &276 + configuration: &279 value: id: 1325 target_type: organization @@ -14110,7 +14339,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - *41 - - *100 + - *106 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -14119,8 +14348,8 @@ paths: schema: type: integer default: 30 - - *92 - - *93 + - *98 + - *99 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -14138,7 +14367,7 @@ paths: application/json: schema: type: array - items: &279 + items: &282 type: object description: Repositories associated with a code security configuration and attachment status @@ -14156,13 +14385,13 @@ paths: - failed - updating - removed_by_enterprise - repository: *103 + repository: *109 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: &280 + repository: &283 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -14627,7 +14856,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &117 + items: &123 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -14644,14 +14873,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *104 - required: *105 + properties: *110 + required: *111 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &266 + - &269 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -14710,7 +14939,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &342 + properties: &345 id: description: Unique identifier of the team type: integer @@ -14766,7 +14995,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &343 + required: &346 - id - node_id - url @@ -14894,7 +15123,7 @@ paths: - created_at additionalProperties: false examples: - default: &118 + default: &124 value: total_seats: 2 seats: @@ -15346,7 +15575,7 @@ paths: application/json: schema: type: array - items: &166 + items: &172 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -15653,7 +15882,7 @@ paths: - date additionalProperties: true examples: - default: &167 + default: &173 value: - date: '2024-06-24' total_active_users: 24 @@ -15755,7 +15984,7 @@ paths: '500': *91 '403': *29 '404': *6 - '422': &168 + '422': &174 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -15785,7 +16014,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &287 + - &290 name: state in: query description: |- @@ -15794,7 +16023,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &288 + - &291 name: severity in: query description: |- @@ -15803,7 +16032,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &289 + - &292 name: ecosystem in: query description: |- @@ -15812,14 +16041,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &290 + - &293 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &291 + - &294 name: epss_percentage in: query description: |- @@ -15831,7 +16060,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &292 + - &295 name: has in: query description: |- @@ -15845,7 +16074,7 @@ paths: type: string enum: - patch - - &293 + - &296 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -15855,7 +16084,7 @@ paths: enum: - development - runtime - - &294 + - &297 name: sort in: query description: |- @@ -15870,10 +16099,10 @@ paths: - updated - epss_percentage default: created - - *94 - - *92 - - *93 - - &295 + - *100 + - *98 + - *99 + - &298 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -15886,7 +16115,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &296 + - &299 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -15906,11 +16135,11 @@ paths: application/json: schema: type: array - items: &297 + items: &300 type: object description: A Dependabot alert. properties: - number: *106 + number: *112 state: type: string description: The state of the Dependabot alert. @@ -15925,7 +16154,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &107 + package: &113 type: object description: Details for the vulnerable package. readOnly: true @@ -15969,7 +16198,7 @@ paths: - unknown - direct - transitive - security_advisory: &570 + security_advisory: &571 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -15999,13 +16228,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &110 + items: &116 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *107 + package: *113 severity: type: string description: The severity of the vulnerability. @@ -16071,8 +16300,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *108 - epss: *109 + cvss_severities: *114 + epss: *115 cwes: type: array description: Details for the advisory pertaining to Common @@ -16171,12 +16400,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *110 - url: *111 - html_url: *112 - created_at: *113 - updated_at: *114 - dismissed_at: *115 + security_vulnerability: *116 + url: *117 + html_url: *118 + created_at: *119 + updated_at: *120 + dismissed_at: *121 dismissed_by: title: Simple User description: A GitHub user. @@ -16200,15 +16429,15 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *116 - auto_dismissed_at: &571 + fixed_at: *122 + auto_dismissed_at: &572 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - repository: *103 + repository: *109 required: - number - state @@ -16227,7 +16456,7 @@ paths: - repository additionalProperties: false examples: - default: &298 + default: &301 value: - number: 2 state: dismissed @@ -16644,7 +16873,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 - - &257 + - &263 name: username description: The handle for the GitHub user account. in: path @@ -16666,9 +16895,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *117 + items: *123 examples: - default: *118 + default: *124 '500': *91 '401': *25 '403': *29 @@ -16711,7 +16940,7 @@ paths: type: integer network_configurations: type: array - items: &119 + items: &125 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -16751,7 +16980,7 @@ paths: - name - created_on examples: - default: &409 + default: &412 value: total_count: 2 network_configurations: @@ -16829,9 +17058,9 @@ paths: description: Response content: application/json: - schema: *119 + schema: *125 examples: - default: &120 + default: &126 value: id: 123456789ABCDEF name: My network configuration @@ -16858,7 +17087,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 - - &121 + - &127 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -16870,9 +17099,9 @@ paths: description: Response content: application/json: - schema: *119 + schema: *125 examples: - default: *120 + default: *126 headers: Link: *40 x-github: @@ -16892,7 +17121,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 - - *121 + - *127 requestBody: required: true content: @@ -16931,9 +17160,9 @@ paths: description: Response content: application/json: - schema: *119 + schema: *125 examples: - default: *120 + default: *126 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -16951,7 +17180,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 - - *121 + - *127 responses: '204': description: Response @@ -16974,7 +17203,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &410 + - &413 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -16986,7 +17215,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &414 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17020,7 +17249,7 @@ paths: - subnet_id - region examples: - default: &412 + default: &415 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -17055,7 +17284,7 @@ paths: application/json: schema: type: array - items: &122 + items: &128 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -17121,7 +17350,7 @@ paths: - property_name - value_type examples: - default: &123 + default: &129 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -17178,7 +17407,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *122 + items: *128 minItems: 1 maxItems: 100 required: @@ -17208,9 +17437,9 @@ paths: application/json: schema: type: array - items: *122 + items: *128 examples: - default: *123 + default: *129 '403': *29 '404': *6 x-github: @@ -17234,7 +17463,7 @@ paths: parameters: - *41 - *76 - - &124 + - &130 name: custom_property_name description: The custom property name in: path @@ -17246,9 +17475,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *128 examples: - default: &125 + default: &131 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -17281,15 +17510,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *41 - - *124 + - *130 responses: '200': description: Response content: application/json: - schema: *122 + schema: *128 examples: - default: *125 + default: *131 '403': *29 '404': *6 x-github: @@ -17311,12 +17540,12 @@ 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 - - *124 + - *130 requestBody: required: true content: application/json: - schema: &374 + schema: &377 title: Custom Property Set Payload description: Custom property set payload type: object @@ -17380,9 +17609,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *128 examples: - default: *125 + default: *131 '403': *29 '404': *6 x-github: @@ -17404,9 +17633,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *41 - - *124 + - *130 responses: - '204': *126 + '204': *132 '403': *29 '404': *6 x-github: @@ -17446,7 +17675,7 @@ paths: - push - repository default: branch - enforcement: &133 + enforcement: &139 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -17459,7 +17688,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &134 + items: &140 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -17497,7 +17726,7 @@ paths: - always - pull_request default: always - conditions: &157 + conditions: &163 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -17511,7 +17740,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &127 + - &133 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -17537,7 +17766,7 @@ paths: type: string required: - organization_name - - &130 + - &136 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -17566,7 +17795,7 @@ paths: is prevented. required: - repository_name - - &129 + - &135 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -17594,8 +17823,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *127 - - &132 + - *133 + - &138 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -17608,7 +17837,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &128 + items: &134 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -17639,16 +17868,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *128 + items: *134 required: - repository_property - - *129 + - *135 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &131 + - &137 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -17665,25 +17894,25 @@ paths: type: integer required: - organization_id - - *130 - - *129 + - *136 + - *135 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *131 - - *132 - - *129 + - *137 + - *138 + - *135 rules: type: array description: An array of rules within the ruleset. - items: &158 + items: &164 title: Repository Rule type: object description: A repository rule. oneOf: - - &135 + - &141 title: creation description: Only allow users with bypass permission to create matching refs. @@ -17695,7 +17924,7 @@ paths: type: string enum: - creation - - &136 + - &142 title: update description: Only allow users with bypass permission to update matching refs. @@ -17716,7 +17945,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &137 + - &143 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -17728,7 +17957,7 @@ paths: type: string enum: - deletion - - &138 + - &144 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -17740,7 +17969,7 @@ paths: type: string enum: - required_linear_history - - &139 + - &145 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -17764,7 +17993,7 @@ paths: type: string required: - required_deployment_environments - - &140 + - &146 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -17776,7 +18005,7 @@ paths: type: string enum: - required_signatures - - &141 + - &147 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. @@ -17836,7 +18065,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &142 + - &148 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -17883,7 +18112,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &143 + - &149 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -17895,7 +18124,7 @@ paths: type: string enum: - non_fast_forward - - &144 + - &150 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -17931,7 +18160,7 @@ paths: required: - operator - pattern - - &145 + - &151 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -17967,7 +18196,7 @@ paths: required: - operator - pattern - - &146 + - &152 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -18003,7 +18232,7 @@ paths: required: - operator - pattern - - &147 + - &153 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -18039,7 +18268,7 @@ paths: required: - operator - pattern - - &148 + - &154 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -18075,7 +18304,7 @@ paths: required: - operator - pattern - - &149 + - &155 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -18099,7 +18328,7 @@ paths: type: string required: - restricted_file_paths - - &150 + - &156 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -18123,7 +18352,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &151 + - &157 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -18146,7 +18375,7 @@ paths: type: string required: - restricted_file_extensions - - &152 + - &158 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -18170,7 +18399,7 @@ paths: maximum: 100 required: - max_file_size - - &153 + - &159 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -18219,7 +18448,7 @@ paths: - repository_id required: - workflows - - &154 + - &160 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -18305,7 +18534,7 @@ paths: description: Response content: application/json: - schema: &155 + schema: &161 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -18340,11 +18569,11 @@ paths: source: type: string description: The name of the source - enforcement: *133 + enforcement: *139 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *134 + items: *140 current_user_can_bypass: type: string description: |- @@ -18375,8 +18604,8 @@ paths: conditions: nullable: true anyOf: - - *129 - - &381 + - *135 + - &384 title: Organization ruleset conditions type: object description: |- @@ -18390,14 +18619,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *129 - - *130 + - *135 + - *136 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *129 + - *135 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -18419,20 +18648,20 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *129 - - *132 + - *135 + - *138 rules: type: array - items: &691 + items: &692 title: Repository Rule type: object description: A repository rule. oneOf: - - *135 - - *136 - - *137 - - *138 - - &689 + - *141 + - *142 + - *143 + - *144 + - &690 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -18510,12 +18739,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *139 - - *140 - - *141 - - *142 - - *143 - - *144 - *145 - *146 - *147 @@ -18526,6 +18749,12 @@ paths: - *152 - *153 - *154 + - *155 + - *156 + - *157 + - *158 + - *159 + - *160 created_at: type: string format: date-time @@ -18533,7 +18762,7 @@ paths: type: string format: date-time examples: - default: &156 + default: &162 value: id: 21 name: super cool ruleset @@ -18592,9 +18821,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *161 examples: - default: *156 + default: *162 '404': *6 '500': *91 x-github: @@ -18638,16 +18867,16 @@ paths: - tag - push - repository - enforcement: *133 + enforcement: *139 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *134 - conditions: *157 + items: *140 + conditions: *163 rules: description: An array of rules within the ruleset. type: array - items: *158 + items: *164 examples: default: value: @@ -18671,9 +18900,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *161 examples: - default: *156 + default: *162 '404': *6 '500': *91 x-github: @@ -18735,7 +18964,7 @@ paths: application/json: schema: type: array - items: &159 + items: &165 title: Ruleset version type: object description: The historical version of a ruleset @@ -18759,7 +18988,7 @@ paths: type: string format: date-time examples: - default: &384 + default: &387 value: - version_id: 3 actor: @@ -18812,9 +19041,9 @@ paths: description: Response content: application/json: - schema: &385 + schema: &388 allOf: - - *159 + - *165 - type: object required: - state @@ -18867,7 +19096,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &386 + - &389 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -18878,7 +19107,7 @@ paths: enum: - open - resolved - - &387 + - &390 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -18888,7 +19117,7 @@ paths: required: false schema: type: string - - &388 + - &391 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -18897,7 +19126,7 @@ paths: required: false schema: type: string - - &389 + - &392 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -18909,11 +19138,11 @@ paths: - created - updated default: created - - *94 + - *100 - *17 - - *92 - - *93 - - &390 + - *98 + - *99 + - &393 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -18922,7 +19151,7 @@ paths: required: false schema: type: string - - &391 + - &394 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -18931,7 +19160,7 @@ paths: schema: type: boolean default: false - - &392 + - &395 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -18940,7 +19169,7 @@ paths: schema: type: boolean default: false - - &393 + - &396 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -18956,11 +19185,11 @@ paths: application/json: schema: type: array - items: &394 + items: &397 type: object properties: - number: *106 - created_at: *113 + number: *112 + created_at: *119 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -18968,21 +19197,21 @@ paths: format: date-time readOnly: true nullable: true - url: *111 - html_url: *112 + url: *117 + html_url: *118 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &703 + state: &704 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &704 + resolution: &705 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -19016,7 +19245,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *103 + repository: *109 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -19089,8 +19318,8 @@ paths: pull request. ' - oneOf: &705 - - &707 + oneOf: &706 + - &708 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -19142,7 +19371,7 @@ paths: - blob_url - commit_sha - commit_url - - &708 + - &709 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -19197,7 +19426,7 @@ paths: - page_url - commit_sha - commit_url - - &709 + - &710 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -19211,7 +19440,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &710 + - &711 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -19225,7 +19454,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &711 + - &712 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -19239,7 +19468,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &712 + - &713 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -19253,7 +19482,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &713 + - &714 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -19267,7 +19496,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &714 + - &715 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -19281,7 +19510,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &715 + - &716 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -19295,7 +19524,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &716 + - &717 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -19309,7 +19538,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &717 + - &718 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -19323,7 +19552,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &718 + - &719 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -19337,7 +19566,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &719 + - &720 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -19357,7 +19586,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &395 + default: &398 value: number: 2 created_at: '2020-11-06T18:48:51Z' @@ -19516,7 +19745,7 @@ paths: headers: Link: *40 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -19547,13 +19776,13 @@ paths: description: Response content: application/json: - schema: &396 + schema: &399 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. type: object properties: - pattern_config_version: &162 + pattern_config_version: &168 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -19562,7 +19791,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &161 + items: &167 type: object properties: token_type: @@ -19628,9 +19857,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *161 + items: *167 examples: - default: &397 + default: &400 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -19685,7 +19914,7 @@ paths: schema: type: object properties: - pattern_config_version: *162 + pattern_config_version: *168 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -19711,7 +19940,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *162 + custom_pattern_version: *168 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -19747,7 +19976,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *102 + '409': *108 '422': *15 "/enterprises/{enterprise}/settings/billing/actions": get: @@ -19774,7 +20003,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &403 type: object properties: total_minutes_used: @@ -19844,7 +20073,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &401 + default: &404 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -19875,7 +20104,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &402 + - &405 name: advanced_security_product in: query description: | @@ -19895,7 +20124,7 @@ paths: description: Success content: application/json: - schema: &403 + schema: &406 type: object properties: total_advanced_security_committers: @@ -19950,7 +20179,7 @@ paths: required: - repositories examples: - default: &404 + default: &407 value: total_advanced_security_committers: 2 total_count: 2 @@ -20060,7 +20289,7 @@ paths: '400': *14 '403': *29 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20189,7 +20418,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id parameters: - *41 - - &165 + - &171 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -20201,7 +20430,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &163 + schema: &169 type: object properties: id: @@ -20240,7 +20469,7 @@ paths: - name - resources examples: - default: &164 + default: &170 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -20254,7 +20483,7 @@ paths: '400': *14 '403': *29 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20304,15 +20533,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *163 + schema: *169 examples: - default: *164 + default: *170 '400': *14 '403': *29 '404': *6 - '409': *102 + '409': *108 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20330,7 +20559,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center parameters: - *41 - - *165 + - *171 responses: '200': description: Response when deleting a cost center @@ -20369,7 +20598,7 @@ paths: '404': *6 '403': *29 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20390,7 +20619,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center parameters: - *41 - - *165 + - *171 requestBody: required: true content: @@ -20460,9 +20689,9 @@ paths: previous_cost_center: yet-another-cost-center '400': *14 '403': *29 - '409': *102 + '409': *108 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20482,7 +20711,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center parameters: - *41 - - *165 + - *171 requestBody: required: true content: @@ -20529,7 +20758,7 @@ paths: '400': *14 '403': *29 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20560,7 +20789,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &408 type: object properties: total_gigabytes_bandwidth_used: @@ -20578,7 +20807,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &406 + default: &409 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -20613,7 +20842,7 @@ paths: description: Response content: application/json: - schema: &407 + schema: &410 type: object properties: days_left_in_billing_cycle: @@ -20631,7 +20860,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &408 + default: &411 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -20656,7 +20885,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *41 - - &204 + - &210 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, @@ -20665,7 +20894,7 @@ paths: required: false schema: type: integer - - &205 + - &211 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 @@ -20674,7 +20903,7 @@ paths: required: false schema: type: integer - - &206 + - &212 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 @@ -20683,7 +20912,7 @@ paths: required: false schema: type: integer - - &207 + - &213 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -20704,7 +20933,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &208 + schema: &214 type: object properties: usageItems: @@ -20757,7 +20986,7 @@ paths: - netAmount - organizationName examples: - default: &209 + default: &215 value: usageItems: - date: '2023-08-01' @@ -20774,7 +21003,7 @@ paths: '400': *14 '403': *29 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20845,13 +21074,13 @@ paths: application/json: schema: type: array - items: *166 + items: *172 examples: - default: *167 + default: *173 '500': *91 '403': *29 '404': *6 - '422': *168 + '422': *174 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -20940,7 +21169,7 @@ paths: application/json: schema: type: array - items: &197 + items: &203 title: Event description: Event type: object @@ -20950,7 +21179,7 @@ paths: type: type: string nullable: true - actor: &169 + actor: &175 title: Actor description: Actor type: object @@ -20990,18 +21219,18 @@ paths: - id - name - url - org: *169 + org: *175 payload: type: object properties: action: type: string - issue: &185 + issue: &191 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &628 + properties: &629 id: type: integer format: int64 @@ -21113,7 +21342,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &367 + properties: &370 url: type: string format: uri @@ -21183,7 +21412,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &368 + required: &371 - closed_issues - creator - description @@ -21262,7 +21491,7 @@ paths: timeline_url: type: string format: uri - type: &327 + type: &330 title: Issue Type description: The type of issue. type: object @@ -21321,9 +21550,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 - author_association: &172 + properties: *176 + required: *177 + author_association: &178 title: author_association type: string example: OWNER @@ -21337,7 +21566,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &173 + reactions: &179 title: Reaction Rollup type: object properties: @@ -21373,7 +21602,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &763 + sub_issues_summary: &764 title: Sub-issues Summary type: object properties: @@ -21393,7 +21622,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &764 + issue_dependencies_summary: &765 title: Issue Dependencies Summary type: object properties: @@ -21412,7 +21641,7 @@ paths: - total_blocking issue_field_values: type: array - items: &765 + items: &766 title: Issue Field Value description: A value assigned to an issue field type: object @@ -21472,7 +21701,7 @@ paths: - node_id - data_type - value - required: &629 + required: &630 - assignee - closed_at - comments @@ -21493,7 +21722,7 @@ paths: - user - created_at - updated_at - comment: &626 + comment: &627 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -21541,7 +21770,7 @@ paths: issue_url: type: string format: uri - author_association: *172 + author_association: *178 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -21551,9 +21780,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 - reactions: *173 + properties: *176 + required: *177 + reactions: *179 required: - id - node_id @@ -21648,7 +21877,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21729,7 +21958,7 @@ paths: _links: type: object properties: - timeline: &174 + timeline: &180 title: Link With Type description: Hypermedia Link with Type type: object @@ -21741,17 +21970,17 @@ paths: required: - href - type - user: *174 - security_advisories: *174 - current_user: *174 - current_user_public: *174 - current_user_actor: *174 - current_user_organization: *174 + user: *180 + security_advisories: *180 + current_user: *180 + current_user_public: *180 + current_user_actor: *180 + current_user_organization: *180 current_user_organizations: type: array - items: *174 - repository_discussions: *174 - repository_discussions_category: *174 + items: *180 + repository_discussions: *180 + repository_discussions_category: *180 required: - timeline - user @@ -21813,7 +22042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *175 + - *181 - *17 - *19 responses: @@ -21823,7 +22052,7 @@ paths: application/json: schema: type: array - items: &176 + items: &182 title: Base Gist description: Base Gist type: object @@ -21922,7 +22151,7 @@ paths: - created_at - updated_at examples: - default: &177 + default: &183 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -22043,7 +22272,7 @@ paths: description: Response content: application/json: - schema: &178 + schema: &184 title: Gist Simple description: Gist Simple type: object @@ -22060,7 +22289,7 @@ paths: url: type: string format: uri - user: &777 + user: &778 title: Public User description: Public User type: object @@ -22422,7 +22651,7 @@ paths: truncated: type: boolean examples: - default: &179 + default: &185 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -22526,7 +22755,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *175 + - *181 - *17 - *19 responses: @@ -22536,9 +22765,9 @@ paths: application/json: schema: type: array - items: *176 + items: *182 examples: - default: *177 + default: *183 headers: Link: *40 '422': *15 @@ -22560,7 +22789,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *175 + - *181 - *17 - *19 responses: @@ -22570,9 +22799,9 @@ paths: application/json: schema: type: array - items: *176 + items: *182 examples: - default: *177 + default: *183 headers: Link: *40 '401': *25 @@ -22600,7 +22829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &180 + - &186 name: gist_id description: The unique identifier of the gist. in: path @@ -22612,10 +22841,10 @@ paths: description: Response content: application/json: - schema: *178 + schema: *184 examples: - default: *179 - '403': &183 + default: *185 + '403': &189 description: Forbidden Gist content: application/json: @@ -22663,7 +22892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *180 + - *186 requestBody: required: true content: @@ -22723,9 +22952,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *184 examples: - updateGist: *179 + updateGist: *185 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -22883,7 +23112,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *180 + - *186 responses: '204': description: Response @@ -22912,7 +23141,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *180 + - *186 - *17 - *19 responses: @@ -22922,7 +23151,7 @@ paths: application/json: schema: type: array - items: &181 + items: &187 title: Gist Comment description: A comment made to a gist. type: object @@ -22957,7 +23186,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *172 + author_association: *178 required: - url - id @@ -23022,7 +23251,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *180 + - *186 requestBody: required: true content: @@ -23047,9 +23276,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *187 examples: - default: &182 + default: &188 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -23107,8 +23336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *180 - - &184 + - *186 + - &190 name: comment_id description: The unique identifier of the comment. in: path @@ -23121,12 +23350,12 @@ paths: description: Response content: application/json: - schema: *181 + schema: *187 examples: - default: *182 + default: *188 '304': *37 '404': *6 - '403': *183 + '403': *189 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23148,8 +23377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *180 - - *184 + - *186 + - *190 requestBody: required: true content: @@ -23174,9 +23403,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *187 examples: - default: *182 + default: *188 '404': *6 x-github: githubCloudOnly: false @@ -23193,8 +23422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *180 - - *184 + - *186 + - *190 responses: '204': description: Response @@ -23217,7 +23446,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *180 + - *186 - *17 - *19 responses: @@ -23318,7 +23547,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *180 + - *186 - *17 - *19 responses: @@ -23328,7 +23557,7 @@ paths: application/json: schema: type: array - items: *178 + items: *184 examples: default: value: @@ -23393,13 +23622,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *180 + - *186 responses: '201': description: Response content: application/json: - schema: *176 + schema: *182 examples: default: value: @@ -23470,7 +23699,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *180 + - *186 responses: '204': description: Response if gist is starred @@ -23500,7 +23729,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *180 + - *186 responses: '204': description: Response @@ -23522,7 +23751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *180 + - *186 responses: '204': description: Response @@ -23551,7 +23780,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *180 + - *186 - name: sha in: path required: true @@ -23562,9 +23791,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *184 examples: - default: *179 + default: *185 '422': *15 '404': *6 '403': *29 @@ -23930,7 +24159,7 @@ paths: - closed - all default: open - - &330 + - &333 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -23948,8 +24177,8 @@ paths: - updated - comments default: created - - *94 - - *175 + - *100 + - *181 - name: collab in: query required: false @@ -23979,9 +24208,9 @@ paths: application/json: schema: type: array - items: *185 + items: *191 examples: - default: &331 + default: &334 value: - id: 1 node_id: MDU6SXNzdWUx @@ -24265,8 +24494,8 @@ paths: title: License Simple description: License Simple type: object - properties: *186 - required: *187 + properties: *192 + required: *193 examples: default: value: @@ -24551,7 +24780,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &188 + X-CommonMarker-Version: &194 example: 0.17.4 schema: type: string @@ -24606,7 +24835,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *188 + X-CommonMarker-Version: *194 content: text/html: schema: @@ -24635,7 +24864,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: - - &191 + - &197 name: account_id description: account_id parameter in: path @@ -24647,7 +24876,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &196 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -24677,7 +24906,7 @@ paths: nullable: true id: type: integer - plan: &189 + plan: &195 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -24766,7 +24995,7 @@ paths: nullable: true updated_at: type: string - plan: *189 + plan: *195 required: - url - id @@ -24774,7 +25003,7 @@ paths: - login - marketplace_purchase examples: - default: &192 + default: &198 value: url: https://api.github.com/orgs/github type: Organization @@ -24859,9 +25088,9 @@ paths: application/json: schema: type: array - items: *189 + items: *195 examples: - default: &193 + default: &199 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -24901,14 +25130,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &194 + - &200 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &195 + - &201 name: sort description: The property to sort the results by. in: query @@ -24938,9 +25167,9 @@ paths: application/json: schema: type: array - items: *190 + items: *196 examples: - default: &196 + default: &202 value: - url: https://api.github.com/orgs/github type: Organization @@ -25014,15 +25243,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: - - *191 + - *197 responses: '200': description: Response content: application/json: - schema: *190 + schema: *196 examples: - default: *192 + default: *198 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -25054,9 +25283,9 @@ paths: application/json: schema: type: array - items: *189 + items: *195 examples: - default: *193 + default: *199 headers: Link: *40 '401': *25 @@ -25079,8 +25308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *194 - - *195 + - *200 + - *201 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -25100,9 +25329,9 @@ paths: application/json: schema: type: array - items: *190 + items: *196 examples: - default: *196 + default: *202 headers: Link: *40 '401': *25 @@ -25366,14 +25595,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &432 + - &435 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &433 + - &436 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -25390,7 +25619,7 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: default: value: @@ -25444,7 +25673,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &446 + '301': &449 description: Moved permanently content: application/json: @@ -25466,7 +25695,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &658 + - &659 name: all description: If `true`, show notifications marked as read. in: query @@ -25474,7 +25703,7 @@ paths: schema: type: boolean default: false - - &659 + - &660 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -25483,8 +25712,8 @@ paths: schema: type: boolean default: false - - *175 - - &660 + - *181 + - &661 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -25509,18 +25738,18 @@ paths: application/json: schema: type: array - items: &198 + items: &204 title: Thread description: Thread type: object properties: id: type: string - repository: &235 + repository: &241 title: Minimal Repository description: Minimal Repository type: object - properties: &300 + properties: &303 id: type: integer format: int64 @@ -25796,7 +26025,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &378 + security_and_analysis: &381 nullable: true type: object properties: @@ -25878,7 +26107,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &301 + required: &304 - archive_url - assignees_url - blobs_url @@ -25966,7 +26195,7 @@ paths: - url - subscription_url examples: - default: &661 + default: &662 value: - id: '1' repository: @@ -26132,7 +26361,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &199 + - &205 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 @@ -26146,7 +26375,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *204 examples: default: value: @@ -26249,7 +26478,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *199 + - *205 responses: '205': description: Reset Content @@ -26272,7 +26501,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *199 + - *205 responses: '204': description: No content @@ -26295,13 +26524,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: - - *199 + - *205 responses: '200': description: Response content: application/json: - schema: &200 + schema: &206 title: Thread Subscription description: Thread Subscription type: object @@ -26338,7 +26567,7 @@ paths: - url - subscribed examples: - default: &201 + default: &207 value: subscribed: true ignored: false @@ -26369,7 +26598,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *199 + - *205 requestBody: required: false content: @@ -26390,9 +26619,9 @@ paths: description: Response content: application/json: - schema: *200 + schema: *206 examples: - default: *201 + default: *207 '304': *37 '403': *29 '401': *25 @@ -26415,7 +26644,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *199 + - *205 responses: '204': description: Response @@ -26512,7 +26741,7 @@ paths: type: array items: *62 examples: - default: &794 + default: &795 value: - login: github id: 1 @@ -26576,7 +26805,7 @@ paths: type: integer custom_roles: type: array - items: &282 + items: &285 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -26624,7 +26853,7 @@ paths: - created_at - updated_at examples: - default: &283 + default: &286 value: id: 8030 name: Security Engineer @@ -26715,8 +26944,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *202 - required: *203 + properties: *208 + required: *209 nullable: true additionalProperties: false examples: @@ -26936,22 +27165,22 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *76 - - *204 - - *205 - - *206 - - *207 + - *210 + - *211 + - *212 + - *213 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *208 + schema: *214 examples: - default: *209 + default: *215 '400': *14 '403': *29 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26983,7 +27212,7 @@ paths: description: Response content: application/json: - schema: &210 + schema: &216 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -27316,7 +27545,7 @@ paths: - updated_at - archived_at examples: - default-response: &211 + default-response: &217 value: login: github id: 1 @@ -27641,18 +27870,18 @@ paths: description: Response content: application/json: - schema: *210 + schema: *216 examples: - default: *211 + default: *217 '422': description: Validation failed content: application/json: schema: oneOf: - - *212 - - *213 - '409': *102 + - *218 + - *219 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27706,9 +27935,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: *215 + default: *221 headers: Link: *40 x-github: @@ -27749,7 +27978,7 @@ paths: type: integer repository_cache_usages: type: array - items: &451 + items: &454 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -27824,7 +28053,7 @@ paths: type: array items: *42 examples: - default: *216 + default: *222 headers: Link: *40 x-github: @@ -28008,9 +28237,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *223 examples: - default: *218 + default: *224 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28046,7 +28275,7 @@ paths: type: array items: *45 examples: - default: *219 + default: *225 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28229,7 +28458,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &220 + schema: &226 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -28243,7 +28472,7 @@ paths: required: - include_claim_keys examples: - default: &221 + default: &227 value: include_claim_keys: - repo @@ -28270,15 +28499,15 @@ paths: required: true content: application/json: - schema: *220 + schema: *226 examples: - default: *221 + default: *227 responses: '201': description: Empty response content: application/json: - schema: &246 + schema: &252 title: Empty Object description: An object without any properties. type: object @@ -28317,7 +28546,7 @@ paths: schema: type: object properties: - enabled_repositories: &223 + enabled_repositories: &229 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -28331,7 +28560,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *49 - selected_actions_url: *222 + selected_actions_url: *228 sha_pinning_required: *50 required: - enabled_repositories @@ -28373,7 +28602,7 @@ paths: schema: type: object properties: - enabled_repositories: *223 + enabled_repositories: *229 allowed_actions: *49 sha_pinning_required: *50 required: @@ -28409,7 +28638,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *230 examples: response: summary: Example response @@ -28440,7 +28669,7 @@ paths: required: true content: application/json: - schema: *225 + schema: *231 examples: application/json: value: @@ -28450,7 +28679,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *102 + '409': *108 '422': *15 x-github: enabledForGitHubApps: true @@ -28478,7 +28707,7 @@ paths: application/json: schema: *51 examples: - default: *226 + default: *232 '404': *6 x-github: enabledForGitHubApps: true @@ -28535,7 +28764,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *233 examples: default: *52 '403': *29 @@ -28560,7 +28789,7 @@ paths: required: true content: application/json: - schema: *228 + schema: *234 examples: default: *52 responses: @@ -28612,7 +28841,7 @@ paths: type: array items: *67 examples: - default: &230 + default: &236 value: total_count: 1 repositories: @@ -28797,7 +29026,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *76 - - &229 + - &235 name: repository_id description: The unique identifier of the repository. in: path @@ -28826,7 +29055,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *76 - - *229 + - *235 responses: '204': description: Response @@ -28985,7 +29214,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *102 + '409': *108 '422': *15 x-github: enabledForGitHubApps: true @@ -29022,7 +29251,7 @@ paths: type: array items: *67 examples: - default: *230 + default: *236 '403': *29 '404': *6 x-github: @@ -29091,13 +29320,13 @@ 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: - *76 - - *229 + - *235 responses: '204': description: No content '403': *29 '404': *6 - '409': *102 + '409': *108 '422': *15 x-github: enabledForGitHubApps: true @@ -29118,13 +29347,13 @@ 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: - *76 - - *229 + - *235 responses: '204': description: No content '403': *29 '404': *6 - '409': *102 + '409': *108 '422': *15 x-github: enabledForGitHubApps: true @@ -29152,7 +29381,7 @@ paths: description: Response content: application/json: - schema: *231 + schema: *237 examples: default: *58 x-github: @@ -29186,7 +29415,7 @@ paths: required: false content: application/json: - schema: *232 + schema: *238 examples: default: *58 x-github: @@ -29233,7 +29462,7 @@ paths: type: number runner_groups: type: array - items: &233 + items: &239 type: object properties: id: @@ -29421,9 +29650,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *239 examples: - default: &234 + default: &240 value: id: 2 name: octo-runner-group @@ -29465,7 +29694,7 @@ paths: description: Response content: application/json: - schema: *233 + schema: *239 examples: default: value: @@ -29556,9 +29785,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *239 examples: - default: *234 + default: *240 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -29622,7 +29851,7 @@ paths: type: array items: *42 examples: - default: *216 + default: *222 headers: Link: *40 x-github: @@ -29663,9 +29892,9 @@ paths: type: number repositories: type: array - items: *235 + items: *241 examples: - default: &780 + default: &781 value: total_count: 1 repositories: @@ -29964,7 +30193,7 @@ paths: parameters: - *76 - *61 - - *229 + - *235 responses: '204': description: Response @@ -29988,7 +30217,7 @@ paths: parameters: - *76 - *61 - - *229 + - *235 responses: '204': description: Response @@ -30206,9 +30435,9 @@ paths: application/json: schema: type: array - items: *236 + items: *242 examples: - default: *237 + default: *243 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30273,10 +30502,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *238 + '201': *244 '404': *6 '422': *7 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30312,7 +30541,7 @@ paths: application/json: schema: *68 examples: - default: *239 + default: *245 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30348,7 +30577,7 @@ paths: application/json: schema: *68 examples: - default: *240 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30379,7 +30608,7 @@ paths: application/json: schema: *65 examples: - default: *241 + default: *247 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30554,7 +30783,7 @@ paths: - *76 - *64 responses: - '200': *242 + '200': *248 '404': *6 x-github: githubCloudOnly: false @@ -30583,7 +30812,7 @@ paths: parameters: - *76 - *64 - - *243 + - *249 responses: '200': *70 '404': *6 @@ -30628,7 +30857,7 @@ paths: type: integer secrets: type: array - items: &244 + items: &250 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -30707,7 +30936,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &474 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -30736,7 +30965,7 @@ paths: - key_id - key examples: - default: &472 + default: &475 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30762,7 +30991,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *76 - - &245 + - &251 name: secret_name description: The name of the secret. in: path @@ -30774,7 +31003,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *250 examples: default: value: @@ -30805,7 +31034,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *76 - - *245 + - *251 requestBody: required: true content: @@ -30862,7 +31091,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -30889,7 +31118,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *76 - - *245 + - *251 responses: '204': description: Response @@ -30916,7 +31145,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *245 + - *251 - *19 - *17 responses: @@ -30934,9 +31163,9 @@ paths: type: integer repositories: type: array - items: *235 + items: *241 examples: - default: &249 + default: &255 value: total_count: 1 repositories: @@ -31029,7 +31258,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *245 + - *251 requestBody: required: true content: @@ -31082,7 +31311,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *245 + - *251 - name: repository_id in: path required: true @@ -31116,7 +31345,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *245 + - *251 - name: repository_id in: path required: true @@ -31149,7 +31378,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *76 - - &456 + - &459 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)." @@ -31173,7 +31402,7 @@ paths: type: integer variables: type: array - items: &247 + items: &253 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -31306,7 +31535,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -31332,7 +31561,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *76 - - &248 + - &254 name: name description: The name of the variable. in: path @@ -31344,7 +31573,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *253 examples: default: value: @@ -31375,7 +31604,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *76 - - *248 + - *254 requestBody: required: true content: @@ -31438,7 +31667,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *76 - - *248 + - *254 responses: '204': description: Response @@ -31465,7 +31694,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *76 - - *248 + - *254 - *19 - *17 responses: @@ -31483,9 +31712,9 @@ paths: type: integer repositories: type: array - items: *235 + items: *241 examples: - default: *249 + default: *255 '409': description: Response when the visibility of the variable is not set to `selected` @@ -31512,7 +31741,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *76 - - *248 + - *254 requestBody: required: true content: @@ -31562,7 +31791,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *76 - - *248 + - *254 - name: repository_id in: path required: true @@ -31597,7 +31826,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *76 - - *248 + - *254 - name: repository_id in: path required: true @@ -31655,7 +31884,7 @@ paths: required: true content: application/json: - schema: *250 + schema: *256 examples: default: *74 parameters: @@ -31919,8 +32148,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations-by-bulk-subject-digests parameters: - *17 - - *92 - - *93 + - *98 + - *99 - *76 requestBody: required: true @@ -31944,12 +32173,12 @@ paths: required: - subject_digests examples: - default: &813 + default: &814 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &814 + withPredicateType: &815 value: subject_digests: - sha256:abc123 @@ -32007,7 +32236,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &815 + default: &816 value: attestations_subject_digests: - sha256:abc: @@ -32248,8 +32477,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations parameters: - *17 - - *92 - - *93 + - *98 + - *99 - *76 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 @@ -32301,7 +32530,7 @@ paths: bundle_url: type: string examples: - default: &485 + default: &488 value: attestations: - bundle: @@ -32427,10 +32656,10 @@ paths: required: false schema: type: string - - *251 - - *252 - - *253 - - *254 + - *257 + - *258 + - *259 + - *260 - *17 responses: '200': @@ -32439,9 +32668,9 @@ paths: application/json: schema: type: array - items: *255 + items: *261 examples: - default: *256 + default: *262 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -32470,7 +32699,7 @@ paths: type: array items: *4 examples: - default: &332 + default: &335 value: - login: octocat id: 1 @@ -32509,7 +32738,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *76 - - *257 + - *263 responses: '204': description: If the user is blocked @@ -32535,7 +32764,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - *76 - - *257 + - *263 responses: '204': description: Response @@ -32556,7 +32785,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *76 - - *257 + - *263 responses: '204': description: Response @@ -32583,16 +32812,16 @@ paths: subcategory: bypass-requests parameters: - *76 - - &264 + - &266 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *258 - - *259 - - *260 - - *261 + - *93 + - *94 + - *95 + - *96 - *17 - *19 responses: @@ -32602,9 +32831,9 @@ paths: application/json: schema: type: array - items: *262 + items: *264 examples: - default: *263 + default: *265 '404': *6 '500': *91 "/orgs/{org}/bypass-requests/secret-scanning": @@ -32628,11 +32857,11 @@ paths: subcategory: delegated-bypass parameters: - *76 - - *264 - - *258 - - *259 - - *260 - - *261 + - *266 + - *93 + - *94 + - *95 + - *96 - *17 - *19 responses: @@ -32642,197 +32871,9 @@ paths: application/json: schema: type: array - items: &502 - title: Secret scanning bypass request - description: A bypass request made by a user asking to be exempted - from push protection in this repository. - type: object - properties: - id: - type: integer - description: The unique identifier of the bypass request. - number: - type: integer - description: The number uniquely identifying the bypass request - within its repository. - repository: - type: object - description: The repository the bypass request is for. - properties: - id: - type: integer - description: The ID of the repository the bypass request - is for. - name: - type: string - description: The name of the repository the bypass request - is for. - full_name: - type: string - description: The full name of the repository the bypass - request is for. - organization: - type: object - description: The organization associated with the repository - the bypass request is for. - properties: - id: - type: integer - description: The ID of the organization. - name: - type: string - description: The name of the organization. - requester: - type: object - description: The user who requested the bypass. - properties: - actor_id: - type: integer - description: The ID of the GitHub user who requested the - bypass. - actor_name: - type: string - description: The name of the GitHub user who requested the - bypass. - request_type: - type: string - description: The type of request. - data: - nullable: true - type: array - description: Data describing the push rules that are being requested - to be bypassed. - items: - type: object - properties: - secret_type: - type: string - description: The type of secret that secret scanning detected. - bypass_reason: - type: string - enum: - - used_in_tests - - false_positive - - fix_later - description: The reason the bypass was requested. - path: - type: string - description: The path in the repo where the secret was - located during the request. - branch: - type: string - description: The branch in the repo where the secret was - located during the request. - resource_identifier: - type: string - description: The unique identifier for the request type of the - bypass request. For example, a commit SHA. - example: 827efc6d56897b048c772eb4087f854f46256132 - status: - type: string - description: The status of the bypass request. - enum: - - pending - - denied - - approved - - cancelled - - completed - - expired - - open - requester_comment: - type: string - description: The comment the requester provided when creating - the bypass request. - nullable: true - expires_at: - type: string - format: date-time - description: The date and time the bypass request will expire. - created_at: - type: string - format: date-time - description: The date and time the bypass request was created. - responses: - type: array - description: The responses to the bypass request. - nullable: true - items: *265 - url: - type: string - format: uri - example: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1 - html_url: - type: string - description: The URL to view the bypass request in a browser. - format: uri - example: https://github.com/octo-org/smile/exemptions/1 + items: *267 examples: - default: &503 - value: - - id: 21 - number: 42 - repository: - id: 1 - name: smile - full_name: octo-org/smile - organization: - id: 1 - name: octo-org - requester: - actor_id: 12 - actor_name: monalisa - request_type: secret_scanning - data: - - secret_type: adafruit_io_key - bypass_reason: used_in_tests - path: "/tests/README.md:16:0" - branch: refs/heads/main - resource_identifier: 827efc6d56897b048c772eb4087f854f46256132 - status: denied - requester_comment: Test token used in the readme as an example - expires_at: '2024-07-08T08:43:03Z' - created_at: '2024-07-01T08:43:03Z' - responses: - - id: 42 - reviewer: - actor_id: 4 - actor_name: octocat - status: denied - created_at: '2024-07-02T08:43:04Z' - url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1 - html_url: https://github.com/octo-org/smile/exemptions/1 - - id: 12 - number: 24 - repository: - id: 1 - name: smile - full_name: octo-org/smile - organization: - id: 1 - name: octo-org - requester: - actor_id: 12 - actor_name: monalisa - request_type: secret_scanning - data: - - secret_type: adafruit_io_key - bypass_reason: fix_later - path: README.md:17:0 - branch: refs/heads/my-branch - resource_identifier: 827efc6d56897b048c772eb4087f854f46255555 - status: denied - requester_comment: Token is already revoked, I'll remove it later - expires_at: '2024-07-08T07:43:03Z' - created_at: '2024-07-01T07:43:03Z' - responses: - - id: 42 - reviewer: - actor_id: 4 - actor_name: octocat - status: denied - created_at: '2024-07-02T08:43:04Z' - url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2 - html_url: https://github.com/octo-org/smile/exemptions/2 + default: *268 '404': *6 '500': *91 "/orgs/{org}/campaigns": @@ -32854,12 +32895,12 @@ paths: - *76 - *19 - *17 - - *94 + - *100 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &267 + schema: &270 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -32885,7 +32926,7 @@ paths: application/json: schema: type: array - items: &268 + items: &271 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -32916,7 +32957,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *266 + items: *269 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -32934,7 +32975,7 @@ paths: type: string format: date-time nullable: true - state: *267 + state: *270 contact_link: description: The contact link of the campaign. type: string @@ -33031,7 +33072,7 @@ paths: headers: Link: *40 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33149,9 +33190,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *271 examples: - default: &269 + default: &272 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -33200,7 +33241,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33234,16 +33275,16 @@ paths: description: Response content: application/json: - schema: *268 + schema: *271 examples: - default: *269 + default: *272 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33313,7 +33354,7 @@ paths: type: string format: uri nullable: true - state: *267 + state: *270 examples: default: value: @@ -33323,9 +33364,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *271 examples: - default: *269 + default: *272 '400': description: Bad Request content: @@ -33337,7 +33378,7 @@ paths: content: application/json: schema: *3 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33369,7 +33410,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33392,19 +33433,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *76 - - *270 - - *271 - - *92 - - *93 + - *273 + - *274 + - *98 + - *99 - *19 - *17 - - *94 + - *100 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *272 + schema: *275 - name: sort description: The property by which to sort the results. in: query @@ -33420,7 +33461,7 @@ paths: be returned. in: query required: false - schema: &514 + schema: &515 type: string description: Severity of a code scanning alert. enum: @@ -33438,13 +33479,13 @@ paths: application/json: schema: type: array - items: *273 + items: *276 examples: - default: *274 + default: *277 headers: Link: *40 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33485,8 +33526,8 @@ paths: schema: type: integer default: 30 - - *92 - - *93 + - *98 + - *99 responses: '200': description: Response @@ -33494,7 +33535,7 @@ paths: application/json: schema: type: array - items: *98 + items: *104 examples: default: value: @@ -33655,7 +33696,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *275 + code_scanning_options: *278 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -33664,7 +33705,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *101 + code_scanning_default_setup_options: *107 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -33796,9 +33837,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *98 + schema: *104 examples: - default: *276 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33826,9 +33867,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *280 examples: - default: *278 + default: *281 '304': *37 '403': *29 '404': *6 @@ -33880,11 +33921,11 @@ paths: - 32 - 91 responses: - '204': *126 + '204': *132 '400': *14 '403': *29 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33907,15 +33948,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - *76 - - *100 + - *106 responses: '200': description: Response content: application/json: - schema: *98 + schema: *104 examples: - default: *276 + default: *279 '304': *37 '403': *29 '404': *6 @@ -33940,7 +33981,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - *76 - - *100 + - *106 requestBody: required: true content: @@ -34019,7 +34060,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *101 + code_scanning_default_setup_options: *107 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -34137,7 +34178,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *98 + schema: *104 examples: default: value: @@ -34197,13 +34238,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - *76 - - *100 + - *106 responses: - '204': *126 + '204': *132 '400': *14 '403': *29 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34228,7 +34269,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - *76 - - *100 + - *106 requestBody: required: true content: @@ -34292,7 +34333,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - *76 - - *100 + - *106 requestBody: required: true content: @@ -34332,12 +34373,12 @@ paths: - none - private_and_internal - public - configuration: *98 + configuration: *104 examples: default: value: default_for_new_repos: all - configuration: *276 + configuration: *279 '403': *29 '404': *6 x-github: @@ -34362,7 +34403,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - *76 - - *100 + - *106 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -34371,8 +34412,8 @@ paths: schema: type: integer default: 30 - - *92 - - *93 + - *98 + - *99 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -34390,13 +34431,13 @@ paths: application/json: schema: type: array - items: *279 + items: *282 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *280 + repository: *283 '403': *29 '404': *6 x-github: @@ -34436,7 +34477,7 @@ paths: type: integer codespaces: type: array - items: &333 + items: &336 type: object title: Codespace description: A codespace. @@ -34461,12 +34502,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *235 + repository: *241 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &543 + properties: &544 name: type: string description: The name of the machine. @@ -34508,7 +34549,7 @@ paths: - ready - in_progress nullable: true - required: &544 + required: &545 - name - display_name - operating_system @@ -34713,7 +34754,7 @@ paths: - pulls_url - recent_folders examples: - default: &334 + default: &337 value: total_count: 3 codespaces: @@ -35337,7 +35378,7 @@ paths: type: integer secrets: type: array - items: &281 + items: &284 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -35376,7 +35417,7 @@ paths: - updated_at - visibility examples: - default: &545 + default: &546 value: total_count: 2 secrets: @@ -35414,7 +35455,7 @@ paths: description: Response content: application/json: - schema: &546 + schema: &547 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -35443,7 +35484,7 @@ paths: - key_id - key examples: - default: &547 + default: &548 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -35467,15 +35508,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *76 - - *245 + - *251 responses: '200': description: Response content: application/json: - schema: *281 + schema: *284 examples: - default: &549 + default: &550 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -35503,7 +35544,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *76 - - *245 + - *251 requestBody: required: true content: @@ -35558,7 +35599,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -35585,7 +35626,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *76 - - *245 + - *251 responses: '204': description: Response @@ -35611,7 +35652,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *245 + - *251 - *19 - *17 responses: @@ -35629,9 +35670,9 @@ paths: type: integer repositories: type: array - items: *235 + items: *241 examples: - default: *249 + default: *255 '404': *6 x-github: githubCloudOnly: false @@ -35654,7 +35695,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *245 + - *251 requestBody: required: true content: @@ -35705,7 +35746,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *245 + - *251 - name: repository_id in: path required: true @@ -35739,7 +35780,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *245 + - *251 - name: repository_id in: path required: true @@ -35942,9 +35983,9 @@ paths: currently being billed. seats: type: array - items: *117 + items: *123 examples: - default: *118 + default: *124 headers: Link: *40 '500': *91 @@ -36328,13 +36369,13 @@ paths: application/json: schema: type: array - items: *166 + items: *172 examples: - default: *167 + default: *173 '500': *91 '403': *29 '404': *6 - '422': *168 + '422': *174 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36546,7 +36587,7 @@ paths: type: integer custom_roles: type: array - items: *282 + items: *285 examples: default: value: @@ -36638,7 +36679,7 @@ paths: required: true content: application/json: - schema: &285 + schema: &288 type: object properties: name: @@ -36679,9 +36720,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *283 + default: *286 '422': *15 '404': *6 x-github: @@ -36706,7 +36747,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *76 - - &284 + - &287 name: role_id description: The unique identifier of the role. in: path @@ -36718,9 +36759,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *283 + default: *286 '404': *6 x-github: githubCloudOnly: true @@ -36743,12 +36784,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *76 - - *284 + - *287 requestBody: required: true content: application/json: - schema: &286 + schema: &289 type: object properties: name: @@ -36786,9 +36827,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *283 + default: *286 '422': *15 '404': *6 x-github: @@ -36813,7 +36854,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *76 - - *284 + - *287 responses: '204': description: Response @@ -36846,7 +36887,7 @@ paths: required: true content: application/json: - schema: *285 + schema: *288 examples: default: value: @@ -36860,9 +36901,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *283 + default: *286 '422': *15 '404': *6 x-github: @@ -36893,15 +36934,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *76 - - *284 + - *287 responses: '200': description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *283 + default: *286 '404': *6 x-github: githubCloudOnly: true @@ -36930,12 +36971,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *76 - - *284 + - *287 requestBody: required: true content: application/json: - schema: *286 + schema: *289 examples: default: value: @@ -36950,9 +36991,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *283 + default: *286 '422': *15 '404': *6 x-github: @@ -36983,7 +37024,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *76 - - *284 + - *287 responses: '204': description: Response @@ -37012,11 +37053,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *76 - - *287 - - *288 - - *289 - *290 - *291 + - *292 + - *293 + - *294 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -37032,14 +37073,14 @@ paths: Can be: `jfrog-artifactory` schema: type: string - - *292 - - *293 - - *294 - - *94 - - *92 - - *93 - *295 - *296 + - *297 + - *100 + - *98 + - *99 + - *298 + - *299 - *17 responses: '200': @@ -37048,9 +37089,9 @@ paths: application/json: schema: type: array - items: *297 + items: *300 examples: - default: *298 + default: *301 '304': *37 '400': *14 '403': *29 @@ -37094,7 +37135,7 @@ paths: type: integer secrets: type: array - items: &299 + items: &302 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -37171,7 +37212,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &575 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -37188,7 +37229,7 @@ paths: - key_id - key examples: - default: &575 + default: &576 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37212,13 +37253,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *76 - - *245 + - *251 responses: '200': description: Response content: application/json: - schema: *299 + schema: *302 examples: default: value: @@ -37247,7 +37288,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *76 - - *245 + - *251 requestBody: required: true content: @@ -37302,7 +37343,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -37327,7 +37368,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *76 - - *245 + - *251 responses: '204': description: Response @@ -37352,7 +37393,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *245 + - *251 - *19 - *17 responses: @@ -37370,9 +37411,9 @@ paths: type: integer repositories: type: array - items: *235 + items: *241 examples: - default: *249 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37394,7 +37435,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *245 + - *251 requestBody: required: true content: @@ -37445,7 +37486,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *245 + - *251 - name: repository_id in: path required: true @@ -37477,7 +37518,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *245 + - *251 - name: repository_id in: path required: true @@ -37514,7 +37555,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *76 - - &583 + - &584 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -37522,7 +37563,7 @@ paths: required: false schema: type: string - - &584 + - &585 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -37530,7 +37571,7 @@ paths: required: false schema: type: string - - &585 + - &586 name: time_period description: |- The time period to filter by. @@ -37546,7 +37587,7 @@ paths: - week - month default: month - - &586 + - &587 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -37561,7 +37602,7 @@ paths: - denied - all default: all - - *264 + - *266 - *17 - *19 responses: @@ -37571,7 +37612,7 @@ paths: application/json: schema: type: array - items: &587 + items: &588 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -37727,7 +37768,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &588 + default: &589 value: - id: 21 number: 42 @@ -37814,11 +37855,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *76 - - *264 - - *258 - - *259 - - *260 - - &589 + - *266 + - *93 + - *94 + - *95 + - &590 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -37844,7 +37885,7 @@ paths: application/json: schema: type: array - items: &590 + items: &591 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -37954,7 +37995,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *265 + items: *97 url: type: string format: uri @@ -37965,7 +38006,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &591 + default: &592 value: - id: 21 number: 42 @@ -38053,7 +38094,7 @@ paths: application/json: schema: type: array - items: &345 + items: &348 title: Package description: A software package type: object @@ -38103,8 +38144,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *300 - required: *301 + properties: *303 + required: *304 nullable: true created_at: type: string @@ -38123,7 +38164,7 @@ paths: - created_at - updated_at examples: - default: &346 + default: &349 value: - id: 197 name: hello_docker @@ -38211,7 +38252,7 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: 200-response: value: @@ -38307,7 +38348,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &430 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -38388,7 +38429,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &428 + default: &431 value: group_id: '123' group_name: Octocat admins @@ -38443,7 +38484,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &428 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -38480,7 +38521,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &426 + default: &429 value: groups: - group_id: '123' @@ -38524,7 +38565,7 @@ paths: application/json: schema: type: array - items: &324 + items: &327 title: Organization Invitation description: Organization Invitation type: object @@ -38571,7 +38612,7 @@ paths: - invitation_teams_url - node_id examples: - default: &325 + default: &328 value: - id: 1 login: monalisa @@ -38638,7 +38679,7 @@ paths: application/json: schema: type: array - items: &379 + items: &382 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -38652,7 +38693,7 @@ paths: - name - description examples: - default: &380 + default: &383 value: - name: add_assignee description: Assign or remove a user @@ -38693,7 +38734,7 @@ paths: application/json: schema: type: array - items: &302 + items: &305 title: Org Hook description: Org Hook type: object @@ -38862,9 +38903,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *305 examples: - default: &303 + default: &306 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -38909,7 +38950,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *76 - - &304 + - &307 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -38922,9 +38963,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *305 examples: - default: *303 + default: *306 '404': *6 x-github: githubCloudOnly: false @@ -38946,7 +38987,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *76 - - *304 + - *307 requestBody: required: false content: @@ -38991,7 +39032,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *305 examples: default: value: @@ -39031,7 +39072,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *76 - - *304 + - *307 responses: '204': description: Response @@ -39057,7 +39098,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *76 - - *304 + - *307 responses: '200': description: Response @@ -39086,7 +39127,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *76 - - *304 + - *307 requestBody: required: false content: @@ -39135,9 +39176,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *76 - - *304 + - *307 - *17 - - *305 + - *308 responses: '200': description: Response @@ -39145,9 +39186,9 @@ paths: application/json: schema: type: array - items: *306 + items: *309 examples: - default: *307 + default: *310 '400': *14 '422': *15 x-github: @@ -39171,16 +39212,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *76 - - *304 + - *307 - *16 responses: '200': description: Response content: application/json: - schema: *308 + schema: *311 examples: - default: *309 + default: *312 '400': *14 '422': *15 x-github: @@ -39204,7 +39245,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *76 - - *304 + - *307 - *16 responses: '202': *39 @@ -39231,7 +39272,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *76 - - *304 + - *307 responses: '204': description: Response @@ -39254,7 +39295,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *76 - - &314 + - &317 name: actor_type in: path description: The type of the actor @@ -39267,14 +39308,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &315 + - &318 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &310 + - &313 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -39282,7 +39323,7 @@ paths: required: true schema: type: string - - &311 + - &314 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -39293,7 +39334,7 @@ paths: type: string - *19 - *17 - - *94 + - *100 - name: sort description: The property to sort the results by. in: query @@ -39376,12 +39417,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *76 - - *310 - - *311 + - *313 + - *314 - *19 - *17 - - *94 - - &320 + - *100 + - &323 name: sort description: The property to sort the results by. in: query @@ -39460,14 +39501,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *76 - - *310 - - *311 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: &312 + schema: &315 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -39483,7 +39524,7 @@ paths: type: integer format: int64 examples: - default: &313 + default: &316 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -39504,23 +39545,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *76 - - &316 + - &319 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *310 - - *311 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *312 + schema: *315 examples: - default: *313 + default: *316 x-github: enabledForGitHubApps: true category: orgs @@ -39539,18 +39580,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *76 - - *310 - - *311 + - *313 - *314 - - *315 + - *317 + - *318 responses: '200': description: Response content: application/json: - schema: *312 + schema: *315 examples: - default: *313 + default: *316 x-github: enabledForGitHubApps: true category: orgs @@ -39568,9 +39609,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *76 - - *310 - - *311 - - &317 + - *313 + - *314 + - &320 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -39583,7 +39624,7 @@ paths: description: Response content: application/json: - schema: &318 + schema: &321 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -39599,7 +39640,7 @@ paths: type: integer format: int64 examples: - default: &319 + default: &322 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -39636,18 +39677,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *76 - - *316 - - *310 - - *311 - - *317 + - *319 + - *313 + - *314 + - *320 responses: '200': description: Response content: application/json: - schema: *318 + schema: *321 examples: - default: *319 + default: *322 x-github: enabledForGitHubApps: true category: orgs @@ -39665,19 +39706,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *76 - - *314 - - *315 - - *310 - - *311 - *317 + - *318 + - *313 + - *314 + - *320 responses: '200': description: Response content: application/json: - schema: *318 + schema: *321 examples: - default: *319 + default: *322 x-github: enabledForGitHubApps: true category: orgs @@ -39695,13 +39736,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *76 - - *316 - - *310 - - *311 + - *319 + - *313 + - *314 - *19 - *17 - - *94 - - *320 + - *100 + - *323 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -39782,7 +39823,7 @@ paths: application/json: schema: *22 examples: - default: &622 + default: &623 value: id: 1 account: @@ -39948,12 +39989,12 @@ paths: application/json: schema: anyOf: - - &322 + - &325 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &321 + limit: &324 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -39978,7 +40019,7 @@ paths: properties: {} additionalProperties: false examples: - default: &323 + default: &326 value: limit: collaborators_only origin: organization @@ -40007,13 +40048,13 @@ paths: required: true content: application/json: - schema: &623 + schema: &624 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *321 + limit: *324 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -40037,9 +40078,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *325 examples: - default: *323 + default: *326 '422': *15 x-github: githubCloudOnly: false @@ -40117,9 +40158,9 @@ paths: application/json: schema: type: array - items: *324 + items: *327 examples: - default: *325 + default: *328 headers: Link: *40 '404': *6 @@ -40197,7 +40238,7 @@ paths: description: Response content: application/json: - schema: *324 + schema: *327 examples: default: value: @@ -40254,7 +40295,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *76 - - &326 + - &329 name: invitation_id description: The unique identifier of the invitation. in: path @@ -40288,7 +40329,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *76 - - *326 + - *329 - *17 - *19 responses: @@ -40298,9 +40339,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: &344 + default: &347 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -40343,7 +40384,7 @@ paths: application/json: schema: type: array - items: *327 + items: *330 examples: default: value: @@ -40428,9 +40469,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *330 examples: - default: &328 + default: &331 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -40463,7 +40504,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *76 - - &329 + - &332 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -40516,9 +40557,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *330 examples: - default: *328 + default: *331 '404': *6 '422': *7 x-github: @@ -40543,7 +40584,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *76 - - *329 + - *332 responses: '204': description: Response @@ -40606,7 +40647,7 @@ paths: - closed - all default: open - - *330 + - *333 - name: type description: Can be the name of an issue type. in: query @@ -40624,8 +40665,8 @@ paths: - updated - comments default: created - - *94 - - *175 + - *100 + - *181 - *17 - *19 responses: @@ -40635,9 +40676,9 @@ paths: application/json: schema: type: array - items: *185 + items: *191 examples: - default: *331 + default: *334 headers: Link: *40 '404': *6 @@ -40697,7 +40738,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 '422': *15 @@ -40718,7 +40759,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - *76 - - *257 + - *263 responses: '204': description: Response if requester is an organization member and user is @@ -40753,7 +40794,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - *76 - - *257 + - *263 responses: '204': description: Response @@ -40780,7 +40821,7 @@ paths: - *17 - *19 - *76 - - *257 + - *263 responses: '200': description: Response @@ -40796,9 +40837,9 @@ paths: type: integer codespaces: type: array - items: *333 + items: *336 examples: - default: *334 + default: *337 '304': *37 '500': *91 '401': *25 @@ -40824,8 +40865,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *76 - - *257 - - &335 + - *263 + - &338 name: codespace_name in: path required: true @@ -40859,16 +40900,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *76 - - *257 - - *335 + - *263 + - *338 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: &542 + default: &543 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -41042,13 +41083,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *76 - - *257 + - *263 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *117 + schema: *123 examples: default: value: @@ -41118,13 +41159,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - *76 - - *257 + - *263 responses: '200': description: Response content: application/json: - schema: &336 + schema: &339 title: Org Membership description: Org Membership type: object @@ -41191,7 +41232,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &337 + response-if-user-has-an-active-admin-membership-with-organization: &340 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -41260,7 +41301,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - *76 - - *257 + - *263 requestBody: required: false content: @@ -41288,9 +41329,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - response-if-user-already-had-membership-with-organization: *337 + response-if-user-already-had-membership-with-organization: *340 '422': *15 '403': *29 x-github: @@ -41315,7 +41356,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - *76 - - *257 + - *263 responses: '204': description: Response @@ -41361,7 +41402,7 @@ paths: application/json: schema: type: array - items: &338 + items: &341 title: Migration description: A migration. type: object @@ -41690,7 +41731,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *341 examples: default: value: @@ -41869,7 +41910,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *76 - - &339 + - &342 name: migration_id description: The unique identifier of the migration. in: path @@ -41896,7 +41937,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *338 + schema: *341 examples: default: value: @@ -42066,7 +42107,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *76 - - *339 + - *342 responses: '302': description: Response @@ -42088,7 +42129,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *76 - - *339 + - *342 responses: '204': description: Response @@ -42112,8 +42153,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *76 - - *339 - - &793 + - *342 + - &794 name: repo_name description: repo_name parameter in: path @@ -42141,7 +42182,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *76 - - *339 + - *342 - *17 - *19 responses: @@ -42151,9 +42192,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: &351 + default: &354 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42362,7 +42403,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &340 + items: &343 title: Organization Role description: Organization roles type: object @@ -42569,7 +42610,7 @@ paths: description: Response content: application/json: - schema: *340 + schema: *343 examples: default: value: @@ -42598,7 +42639,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42621,7 +42662,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *76 - - &341 + - &344 name: team_slug description: The slug of the team name. in: path @@ -42653,8 +42694,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *76 - - *341 - - *284 + - *344 + - *287 responses: '204': description: Response @@ -42684,8 +42725,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *76 - - *341 - - *284 + - *344 + - *287 responses: '204': description: Response @@ -42711,7 +42752,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *76 - - *257 + - *263 responses: '204': description: Response @@ -42737,8 +42778,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *76 - - *257 - - *284 + - *263 + - *287 responses: '204': description: Response @@ -42769,8 +42810,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *76 - - *257 - - *284 + - *263 + - *287 responses: '204': description: Response @@ -42799,13 +42840,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *76 - - *284 + - *287 responses: '200': description: Response content: application/json: - schema: *340 + schema: *343 examples: default: value: @@ -42863,7 +42904,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *76 - - *284 + - *287 requestBody: required: true content: @@ -42902,7 +42943,7 @@ paths: description: Response content: application/json: - schema: *340 + schema: *343 examples: default: value: @@ -42930,7 +42971,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *102 + '409': *108 '404': *6 x-github: githubCloudOnly: true @@ -42956,7 +42997,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *76 - - *284 + - *287 responses: '204': description: Response @@ -42982,7 +43023,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *76 - - *284 + - *287 - *17 - *19 responses: @@ -43060,8 +43101,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *342 - required: *343 + properties: *345 + required: *346 nullable: true required: - id @@ -43076,7 +43117,7 @@ paths: - slug - parent examples: - default: *344 + default: *347 headers: Link: *40 '404': @@ -43106,7 +43147,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *76 - - *284 + - *287 - *17 - *19 responses: @@ -43134,13 +43175,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &399 + items: &402 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *342 - required: *343 + properties: *345 + required: *346 name: nullable: true type: string @@ -43235,7 +43276,7 @@ paths: - type - url examples: - default: *332 + default: *335 headers: Link: *40 '404': @@ -43286,7 +43327,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 x-github: @@ -43312,7 +43353,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *76 - - *257 + - *263 requestBody: required: false content: @@ -43370,7 +43411,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *76 - - *257 + - *263 responses: '204': description: Response @@ -43428,7 +43469,7 @@ paths: - nuget - container - *76 - - &795 + - &796 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -43464,12 +43505,12 @@ paths: application/json: schema: type: array - items: *345 + items: *348 examples: - default: *346 + default: *349 '403': *29 '401': *25 - '400': &797 + '400': &798 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -43491,7 +43532,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &347 + - &350 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -43509,7 +43550,7 @@ paths: - docker - nuget - container - - &348 + - &351 name: package_name description: The name of the package. in: path @@ -43522,7 +43563,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -43574,8 +43615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *347 - - *348 + - *350 + - *351 - *76 responses: '204': @@ -43608,8 +43649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *347 - - *348 + - *350 + - *351 - *76 - name: token description: package token @@ -43642,8 +43683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *347 - - *348 + - *350 + - *351 - *76 - *19 - *17 @@ -43664,7 +43705,7 @@ paths: application/json: schema: type: array - items: &349 + items: &352 title: Package Version description: A version of a software package type: object @@ -43789,10 +43830,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *347 - - *348 + - *350 + - *351 - *76 - - &350 + - &353 name: package_version_id description: Unique identifier of the package version. in: path @@ -43804,7 +43845,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *352 examples: default: value: @@ -43840,10 +43881,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *347 - - *348 - - *76 - *350 + - *351 + - *76 + - *353 responses: '204': description: Response @@ -43875,10 +43916,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *347 - - *348 - - *76 - *350 + - *351 + - *76 + - *353 responses: '204': description: Response @@ -43908,7 +43949,7 @@ paths: - *76 - *17 - *19 - - &352 + - &355 name: sort description: The property by which to sort the results. in: query @@ -43918,8 +43959,8 @@ paths: enum: - created_at default: created_at - - *94 - - &353 + - *100 + - &356 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -43930,7 +43971,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &354 + - &357 name: repository description: The name of the repository to use to filter the results. in: query @@ -43938,7 +43979,7 @@ paths: schema: type: string example: Hello-World - - &355 + - &358 name: permission description: The permission to use to filter the results. in: query @@ -43946,7 +43987,7 @@ paths: schema: type: string example: issues_read - - &356 + - &359 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -43956,7 +43997,7 @@ paths: schema: type: string format: date-time - - &357 + - &360 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -43966,7 +44007,7 @@ paths: schema: type: string format: date-time - - &358 + - &361 name: token_id description: The ID of the token in: query @@ -44236,7 +44277,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *126 + '204': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44277,9 +44318,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: *351 + default: *354 headers: Link: *40 x-github: @@ -44305,14 +44346,14 @@ paths: - *76 - *17 - *19 - - *352 - - *94 - - *353 - - *354 - *355 + - *100 - *356 - *357 - *358 + - *359 + - *360 + - *361 responses: '500': *91 '422': *15 @@ -44551,7 +44592,7 @@ paths: responses: '500': *91 '404': *6 - '204': *126 + '204': *132 '403': *29 '422': *15 x-github: @@ -44592,9 +44633,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: *351 + default: *354 headers: Link: *40 x-github: @@ -44636,7 +44677,7 @@ paths: type: integer configurations: type: array - items: &359 + items: &362 title: Organization private registry description: Private registry configuration for an organization type: object @@ -44889,7 +44930,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &360 + org-private-registry-with-selected-visibility: &363 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -44979,15 +45020,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *76 - - *245 + - *251 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *359 + schema: *362 examples: - default: *360 + default: *363 '404': *6 x-github: githubCloudOnly: false @@ -45009,7 +45050,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *76 - - *245 + - *251 requestBody: required: true content: @@ -45105,7 +45146,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *76 - - *245 + - *251 responses: '204': description: Response @@ -45151,7 +45192,7 @@ paths: application/json: schema: type: array - items: &361 + items: &364 title: Project description: Projects are a way to organize columns and cards of work. @@ -45324,7 +45365,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *364 examples: default: value: @@ -45362,7 +45403,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &443 + '410': &446 description: Gone content: application/json: @@ -45395,8 +45436,8 @@ paths: required: false schema: type: string - - *92 - - *93 + - *98 + - *99 - *17 responses: '200': @@ -45405,7 +45446,7 @@ paths: application/json: schema: type: array - items: &362 + items: &365 title: Projects v2 Project description: A projects v2 project type: object @@ -45475,7 +45516,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &875 + properties: &876 id: type: number description: The unique identifier of the status update. @@ -45523,7 +45564,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &876 + required: &877 - id - node_id - created_at @@ -45548,7 +45589,7 @@ paths: - deleted_at - deleted_by examples: - default: &363 + default: &366 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -45651,7 +45692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &364 + - &367 name: project_number description: The project's number. in: path @@ -45664,9 +45705,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *365 examples: - default: *363 + default: *366 headers: Link: *40 '304': *37 @@ -45688,11 +45729,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *364 + - *367 - *76 - *17 - - *92 - - *93 + - *98 + - *99 responses: '200': description: Response @@ -45700,7 +45741,7 @@ paths: application/json: schema: type: array - items: &365 + items: &368 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -45847,7 +45888,7 @@ paths: - updated_at - project_url examples: - default: &366 + default: &369 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -45890,8 +45931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *364 - - &808 + - *367 + - &809 name: field_id description: The unique identifier of the field. in: path @@ -45904,9 +45945,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *368 examples: - default: *366 + default: *369 headers: Link: *40 '304': *37 @@ -45929,7 +45970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *364 + - *367 - *76 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -45949,8 +45990,8 @@ paths: items: type: string example: fields[]=123,fields[]=456,fields[]=789 - - *92 - - *93 + - *98 + - *99 - *17 responses: '200': @@ -45959,7 +46000,7 @@ paths: application/json: schema: type: array - items: &371 + items: &374 title: Projects v2 Item description: An item belonging to a project type: object @@ -45975,7 +46016,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &370 + content_type: &373 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -46025,7 +46066,7 @@ paths: - updated_at - archived_at examples: - default: &372 + default: &375 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -46720,7 +46761,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *76 - - *364 + - *367 requestBody: required: true description: Details of the item to add to the project. @@ -46757,7 +46798,7 @@ paths: description: Response content: application/json: - schema: &809 + schema: &810 title: Projects v2 Item description: An item belonging to a project type: object @@ -46770,8 +46811,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *185 - - &557 + - *191 + - &558 title: Pull Request Simple description: Pull Request Simple type: object @@ -46877,8 +46918,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *367 - required: *368 + properties: *370 + required: *371 nullable: true active_lock_reason: type: string @@ -46923,7 +46964,7 @@ paths: nullable: true requested_teams: type: array - items: *266 + items: *269 nullable: true head: type: object @@ -46974,7 +47015,7 @@ paths: _links: type: object properties: - comments: &369 + comments: &372 title: Link description: Hypermedia Link type: object @@ -46983,13 +47024,13 @@ paths: type: string required: - href - commits: *369 - statuses: *369 - html: *369 - issue: *369 - review_comments: *369 - review_comment: *369 - self: *369 + commits: *372 + statuses: *372 + html: *372 + issue: *372 + review_comments: *372 + review_comment: *372 + self: *372 required: - comments - commits @@ -46999,8 +47040,8 @@ paths: - review_comments - review_comment - self - author_association: *172 - auto_merge: &668 + author_association: *178 + auto_merge: &669 title: Auto merge description: The status of auto merging a pull request. type: object @@ -47102,7 +47143,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *370 + content_type: *373 creator: *4 created_at: type: string @@ -47135,7 +47176,7 @@ paths: - updated_at - archived_at examples: - default: &810 + default: &811 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -47209,9 +47250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *364 + - *367 - *76 - - &373 + - &376 name: item_id description: The unique identifier of the project item. in: path @@ -47234,9 +47275,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *374 examples: - default: *372 + default: *375 headers: Link: *40 '304': *37 @@ -47257,9 +47298,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *364 + - *367 - *76 - - *373 + - *376 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -47329,9 +47370,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *374 examples: - default: *372 + default: *375 '401': *25 '403': *29 '404': *6 @@ -47351,9 +47392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *364 + - *367 - *76 - - *373 + - *376 responses: '204': description: Response @@ -47385,9 +47426,9 @@ paths: application/json: schema: type: array - items: *122 + items: *128 examples: - default: *123 + default: *129 '403': *29 '404': *6 x-github: @@ -47425,7 +47466,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *122 + items: *128 minItems: 1 maxItems: 100 required: @@ -47455,9 +47496,9 @@ paths: application/json: schema: type: array - items: *122 + items: *128 examples: - default: *123 + default: *129 '403': *29 '404': *6 x-github: @@ -47479,15 +47520,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *76 - - *124 + - *130 responses: '200': description: Response content: application/json: - schema: *122 + schema: *128 examples: - default: *125 + default: *131 '403': *29 '404': *6 x-github: @@ -47511,12 +47552,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *76 - - *124 + - *130 requestBody: required: true content: application/json: - schema: *374 + schema: *377 examples: default: value: @@ -47532,9 +47573,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *128 examples: - default: *125 + default: *131 '403': *29 '404': *6 x-github: @@ -47558,9 +47599,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *76 - - *124 + - *130 responses: - '204': *126 + '204': *132 '403': *29 '404': *6 x-github: @@ -47619,7 +47660,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &375 + items: &378 title: Custom Property Value description: Custom property name and associated value type: object @@ -47706,7 +47747,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *375 + items: *378 required: - repository_names - properties @@ -47759,7 +47800,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 x-github: @@ -47779,7 +47820,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *76 - - *257 + - *263 responses: '204': description: Response if user is a public member @@ -47804,7 +47845,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *76 - - *257 + - *263 responses: '204': description: Response @@ -47826,7 +47867,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *76 - - *257 + - *263 responses: '204': description: Response @@ -47897,9 +47938,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: *351 + default: *354 headers: Link: *40 x-github: @@ -48102,7 +48143,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &448 title: Full Repository description: Full Repository type: object @@ -48379,8 +48420,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *376 - required: *377 + properties: *379 + required: *380 nullable: true temp_clone_token: type: string @@ -48467,8 +48508,8 @@ paths: title: License Simple description: License Simple type: object - properties: *186 - required: *187 + properties: *192 + required: *193 nullable: true organization: title: Simple User @@ -48495,7 +48536,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &562 + properties: &563 url: type: string format: uri @@ -48511,12 +48552,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &563 + required: &564 - url - key - name - html_url - security_and_analysis: *378 + security_and_analysis: *381 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -48600,7 +48641,7 @@ paths: - network_count - subscribers_count examples: - default: &447 + default: &450 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -49126,9 +49167,9 @@ paths: application/json: schema: type: array - items: *379 + items: *382 examples: - default: *380 + default: *383 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -49153,7 +49194,7 @@ paths: - *76 - *17 - *19 - - &690 + - &691 name: targets description: | A comma-separated list of rule targets to filter by. @@ -49171,7 +49212,7 @@ paths: application/json: schema: type: array - items: *155 + items: *161 examples: default: value: @@ -49239,26 +49280,20 @@ paths: - push - repository default: branch - enforcement: *133 + enforcement: *139 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *134 - conditions: *381 + items: *140 + conditions: *384 rules: type: array description: An array of rules within the ruleset. - items: &383 + items: &386 title: Repository Rule type: object description: A repository rule. oneOf: - - *135 - - *136 - - *137 - - *138 - - *139 - - *140 - *141 - *142 - *143 @@ -49273,6 +49308,12 @@ paths: - *152 - *153 - *154 + - *155 + - *156 + - *157 + - *158 + - *159 + - *160 required: - name - enforcement @@ -49310,9 +49351,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *161 examples: - default: &382 + default: &385 value: id: 21 name: super cool ruleset @@ -49367,7 +49408,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *76 - - &692 + - &693 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -49377,16 +49418,16 @@ paths: schema: type: string x-multi-segment: true - - *264 - - *260 - - &693 + - *266 + - *95 + - &694 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &694 + - &695 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -49406,7 +49447,7 @@ paths: description: Response content: application/json: - schema: &695 + schema: &696 title: Rule Suites description: Response type: array @@ -49461,7 +49502,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &696 + default: &697 value: - id: 21 actor_id: 12 @@ -49505,7 +49546,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *76 - - &697 + - &698 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -49521,7 +49562,7 @@ paths: description: Response content: application/json: - schema: &698 + schema: &699 title: Rule Suite description: Response type: object @@ -49620,7 +49661,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &699 + default: &700 value: id: 21 actor_id: 12 @@ -49693,9 +49734,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *161 examples: - default: *382 + default: *385 '404': *6 '500': *91 put: @@ -49739,16 +49780,16 @@ paths: - tag - push - repository - enforcement: *133 + enforcement: *139 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *134 - conditions: *381 + items: *140 + conditions: *384 rules: description: An array of rules within the ruleset. type: array - items: *383 + items: *386 examples: default: value: @@ -49783,9 +49824,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *161 examples: - default: *382 + default: *385 '404': *6 '500': *91 delete: @@ -49842,9 +49883,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - default: *384 + default: *387 '404': *6 '500': *91 x-github: @@ -49881,7 +49922,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *388 examples: default: value: @@ -49944,14 +49985,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *76 - - *386 - - *387 - - *388 - *389 - - *94 + - *390 + - *391 + - *392 + - *100 - *19 - *17 - - &701 + - &702 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -49961,7 +50002,7 @@ paths: required: false schema: type: string - - &702 + - &703 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -49971,10 +50012,10 @@ paths: required: false schema: type: string - - *390 - - *391 - - *392 - *393 + - *394 + - *395 + - *396 responses: '200': description: Response @@ -49982,13 +50023,13 @@ paths: application/json: schema: type: array - items: *394 + items: *397 examples: - default: *395 + default: *398 headers: Link: *40 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50019,9 +50060,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *399 examples: - default: *397 + default: *400 '403': *29 '404': *6 patch: @@ -50050,7 +50091,7 @@ paths: schema: type: object properties: - pattern_config_version: *162 + pattern_config_version: *168 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -50076,7 +50117,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *162 + custom_pattern_version: *168 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -50112,7 +50153,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *102 + '409': *108 '422': *15 "/orgs/{org}/security-advisories": get: @@ -50131,7 +50172,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - *76 - - *94 + - *100 - name: sort description: The property to sort the results by. in: query @@ -50143,8 +50184,8 @@ paths: - updated - published default: created - - *92 - - *93 + - *98 + - *99 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -50174,7 +50215,7 @@ paths: application/json: schema: type: array - items: &723 + items: &724 description: A repository security advisory. type: object properties: @@ -50361,7 +50402,7 @@ paths: required: - vector_string - score - cvss_severities: *108 + cvss_severities: *114 cwes: type: array nullable: true @@ -50394,7 +50435,7 @@ paths: login: type: string description: The username of the user credited. - type: *398 + type: *401 credits_detailed: type: array nullable: true @@ -50404,7 +50445,7 @@ paths: type: object properties: user: *4 - type: *398 + type: *401 state: type: string description: The state of the user's acceptance of the @@ -50428,14 +50469,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *266 + items: *269 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *103 + - *109 required: - ghsa_id - cve_id @@ -50465,7 +50506,7 @@ paths: - private_fork additionalProperties: false examples: - default: &724 + default: &725 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -50852,9 +50893,9 @@ paths: application/json: schema: type: array - items: *399 + items: *402 examples: - default: *344 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50878,7 +50919,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *76 - - *341 + - *344 responses: '204': description: Response @@ -50904,7 +50945,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *76 - - *341 + - *344 responses: '204': description: Response @@ -50939,9 +50980,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *403 examples: - default: *401 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -50966,7 +51007,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *76 - - *402 + - *405 - *17 - *19 responses: @@ -50974,9 +51015,9 @@ paths: description: Success content: application/json: - schema: *403 + schema: *406 examples: - default: *404 + default: *407 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -51004,9 +51045,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *408 examples: - default: *406 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -51034,9 +51075,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *410 examples: - default: *408 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -51074,9 +51115,9 @@ paths: type: integer network_configurations: type: array - items: *119 + items: *125 examples: - default: *409 + default: *412 headers: Link: *40 x-github: @@ -51139,9 +51180,9 @@ paths: description: Response content: application/json: - schema: *119 + schema: *125 examples: - default: *120 + default: *126 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51162,15 +51203,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *76 - - *121 + - *127 responses: '200': description: Response content: application/json: - schema: *119 + schema: *125 examples: - default: *120 + default: *126 headers: Link: *40 x-github: @@ -51192,7 +51233,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *76 - - *121 + - *127 requestBody: required: true content: @@ -51231,9 +51272,9 @@ paths: description: Response content: application/json: - schema: *119 + schema: *125 examples: - default: *120 + default: *126 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51253,7 +51294,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *76 - - *121 + - *127 responses: '204': description: Response @@ -51277,15 +51318,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *76 - - *410 + - *413 responses: '200': description: Response content: application/json: - schema: *411 + schema: *414 examples: - default: *412 + default: *415 headers: Link: *40 x-github: @@ -51323,7 +51364,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &437 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -51369,7 +51410,7 @@ paths: type: string nullable: true examples: - default: &435 + default: &438 value: groups: - group_id: '123' @@ -51415,7 +51456,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *76 - - *341 + - *344 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -51447,13 +51488,13 @@ paths: application/json: schema: type: array - items: *166 + items: *172 examples: - default: *167 + default: *173 '500': *91 '403': *29 '404': *6 - '422': *168 + '422': *174 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51481,9 +51522,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *344 + default: *347 headers: Link: *40 '403': *29 @@ -51577,7 +51618,7 @@ paths: description: Response content: application/json: - schema: &413 + schema: &416 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -51640,8 +51681,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *342 - required: *343 + properties: *345 + required: *346 nullable: true members_count: type: integer @@ -51887,7 +51928,7 @@ paths: - repos_count - organization examples: - default: &414 + default: &417 value: id: 1 node_id: MDQ6VGVhbTE= @@ -51958,15 +51999,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *76 - - *341 + - *344 responses: '200': description: Response content: application/json: - schema: *413 + schema: *416 examples: - default: *414 + default: *417 '404': *6 x-github: githubCloudOnly: false @@ -51988,7 +52029,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *76 - - *341 + - *344 requestBody: required: false content: @@ -52050,16 +52091,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *413 + schema: *416 examples: - default: *414 + default: *417 '201': description: Response content: application/json: - schema: *413 + schema: *416 examples: - default: *414 + default: *417 '404': *6 '422': *15 '403': *29 @@ -52085,7 +52126,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *76 - - *341 + - *344 responses: '204': description: Response @@ -52112,8 +52153,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *76 - - *341 - - *94 + - *344 + - *100 - *17 - *19 - name: pinned @@ -52129,7 +52170,7 @@ paths: application/json: schema: type: array - items: &415 + items: &418 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -52208,7 +52249,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *173 + reactions: *179 required: - author - body @@ -52228,7 +52269,7 @@ paths: - updated_at - url examples: - default: &767 + default: &768 value: - author: login: octocat @@ -52303,7 +52344,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *76 - - *341 + - *344 requestBody: required: true content: @@ -52337,9 +52378,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: - default: &416 + default: &419 value: author: login: octocat @@ -52412,8 +52453,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *76 - - *341 - - &417 + - *344 + - &420 name: discussion_number description: The number that identifies the discussion. in: path @@ -52425,9 +52466,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: - default: *416 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52450,8 +52491,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *76 - - *341 - - *417 + - *344 + - *420 requestBody: required: false content: @@ -52474,9 +52515,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: - default: &768 + default: &769 value: author: login: octocat @@ -52547,8 +52588,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *76 - - *341 - - *417 + - *344 + - *420 responses: '204': description: Response @@ -52575,9 +52616,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *76 - - *341 - - *417 - - *94 + - *344 + - *420 + - *100 - *17 - *19 responses: @@ -52587,7 +52628,7 @@ paths: application/json: schema: type: array - items: &418 + items: &421 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -52644,7 +52685,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *173 + reactions: *179 required: - author - body @@ -52659,7 +52700,7 @@ paths: - updated_at - url examples: - default: &769 + default: &770 value: - author: login: octocat @@ -52728,8 +52769,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *76 - - *341 - - *417 + - *344 + - *420 requestBody: required: true content: @@ -52751,9 +52792,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *421 examples: - default: &419 + default: &422 value: author: login: octocat @@ -52820,9 +52861,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *76 - - *341 - - *417 - - &420 + - *344 + - *420 + - &423 name: comment_number description: The number that identifies the comment. in: path @@ -52834,9 +52875,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *421 examples: - default: *419 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52859,9 +52900,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *76 - - *341 - - *417 + - *344 - *420 + - *423 requestBody: required: true content: @@ -52883,9 +52924,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *421 examples: - default: &770 + default: &771 value: author: login: octocat @@ -52950,9 +52991,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *76 - - *341 - - *417 + - *344 - *420 + - *423 responses: '204': description: Response @@ -52979,9 +53020,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *76 - - *341 - - *417 + - *344 - *420 + - *423 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -53007,7 +53048,7 @@ paths: application/json: schema: type: array - items: &421 + items: &424 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -53050,7 +53091,7 @@ paths: - content - created_at examples: - default: &423 + default: &426 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -53101,9 +53142,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *76 - - *341 - - *417 + - *344 - *420 + - *423 requestBody: required: true content: @@ -53136,9 +53177,9 @@ paths: team discussion comment content: application/json: - schema: *421 + schema: *424 examples: - default: &422 + default: &425 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -53167,9 +53208,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53193,10 +53234,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *76 - - *341 - - *417 + - *344 - *420 - - &424 + - *423 + - &427 name: reaction_id description: The unique identifier of the reaction. in: path @@ -53229,8 +53270,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *76 - - *341 - - *417 + - *344 + - *420 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -53256,9 +53297,9 @@ paths: application/json: schema: type: array - items: *421 + items: *424 examples: - default: *423 + default: *426 headers: Link: *40 x-github: @@ -53285,8 +53326,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *76 - - *341 - - *417 + - *344 + - *420 requestBody: required: true content: @@ -53318,16 +53359,16 @@ paths: description: Response content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '201': description: Response content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53351,9 +53392,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *76 - - *341 - - *417 - - *424 + - *344 + - *420 + - *427 responses: '204': description: Response @@ -53377,15 +53418,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *76 - - *341 + - *344 responses: '200': description: Response content: application/json: - schema: *425 + schema: *428 examples: - default: *426 + default: *429 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -53405,7 +53446,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: - *76 - - *341 + - *344 requestBody: required: true content: @@ -53428,9 +53469,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *430 examples: - default: *428 + default: *431 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -53450,7 +53491,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: - *76 - - *341 + - *344 responses: '204': description: Response @@ -53475,7 +53516,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *76 - - *341 + - *344 - *17 - *19 responses: @@ -53485,9 +53526,9 @@ paths: application/json: schema: type: array - items: *324 + items: *327 examples: - default: *325 + default: *328 headers: Link: *40 x-github: @@ -53510,7 +53551,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *76 - - *341 + - *344 - name: role description: Filters members returned by their role in the team. in: query @@ -53533,7 +53574,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 x-github: @@ -53564,14 +53605,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *76 - - *341 - - *257 + - *344 + - *263 responses: '200': description: Response content: application/json: - schema: &429 + schema: &432 title: Team Membership description: Team Membership type: object @@ -53598,7 +53639,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &771 + response-if-user-is-a-team-maintainer: &772 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -53635,8 +53676,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *76 - - *341 - - *257 + - *344 + - *263 requestBody: required: false content: @@ -53661,9 +53702,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *432 examples: - response-if-users-membership-with-team-is-now-pending: &772 + response-if-users-membership-with-team-is-now-pending: &773 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -53699,8 +53740,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *76 - - *341 - - *257 + - *344 + - *263 responses: '204': description: Response @@ -53726,7 +53767,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *76 - - *341 + - *344 - *17 - *19 responses: @@ -53736,7 +53777,7 @@ paths: application/json: schema: type: array - items: &430 + items: &433 title: Team Project description: A team's access to a project. type: object @@ -53804,7 +53845,7 @@ paths: - updated_at - permissions examples: - default: &773 + default: &774 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -53868,8 +53909,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *76 - - *341 - - &431 + - *344 + - &434 name: project_id description: The unique identifier of the project. in: path @@ -53881,9 +53922,9 @@ paths: description: Response content: application/json: - schema: *430 + schema: *433 examples: - default: &774 + default: &775 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -53946,8 +53987,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *76 - - *341 - - *431 + - *344 + - *434 requestBody: required: false content: @@ -54014,8 +54055,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *76 - - *341 - - *431 + - *344 + - *434 responses: '204': description: Response @@ -54043,7 +54084,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *76 - - *341 + - *344 - *17 - *19 responses: @@ -54053,9 +54094,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: *351 + default: *354 headers: Link: *40 x-github: @@ -54085,15 +54126,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *76 - - *341 - - *432 - - *433 + - *344 + - *435 + - *436 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &775 + schema: &776 title: Team Repository description: A team's access to a repository. type: object @@ -54116,8 +54157,8 @@ paths: title: License Simple description: License Simple type: object - properties: *186 - required: *187 + properties: *192 + required: *193 nullable: true forks: type: integer @@ -54663,9 +54704,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *76 - - *341 - - *432 - - *433 + - *344 + - *435 + - *436 requestBody: required: false content: @@ -54711,9 +54752,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *76 - - *341 - - *432 - - *433 + - *344 + - *435 + - *436 responses: '204': description: Response @@ -54740,15 +54781,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *76 - - *341 + - *344 responses: '200': description: Response content: application/json: - schema: *434 + schema: *437 examples: - default: *435 + default: *438 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -54771,7 +54812,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *76 - - *341 + - *344 requestBody: required: true content: @@ -54814,7 +54855,7 @@ paths: description: Response content: application/json: - schema: *434 + schema: *437 examples: default: value: @@ -54847,7 +54888,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *76 - - *341 + - *344 - *17 - *19 responses: @@ -54857,9 +54898,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - response-if-child-teams-exist: &776 + response-if-child-teams-exist: &777 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -54986,7 +55027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &436 + - &439 name: card_id description: The unique identifier of the card. in: path @@ -54998,7 +55039,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &440 title: Project Card description: Project cards represent a scope of work. type: object @@ -55065,7 +55106,7 @@ paths: - created_at - updated_at examples: - default: &438 + default: &441 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -55121,7 +55162,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *436 + - *439 requestBody: required: false content: @@ -55148,9 +55189,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *440 examples: - default: *438 + default: *441 '304': *37 '403': *29 '401': *25 @@ -55177,7 +55218,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *436 + - *439 responses: '204': description: Response @@ -55221,7 +55262,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *436 + - *439 requestBody: required: true content: @@ -55332,7 +55373,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &439 + - &442 name: column_id description: The unique identifier of the column. in: path @@ -55344,7 +55385,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &443 title: Project Column description: Project columns contain cards of work. type: object @@ -55390,7 +55431,7 @@ paths: - created_at - updated_at examples: - default: &441 + default: &444 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -55425,7 +55466,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *439 + - *442 requestBody: required: true content: @@ -55449,9 +55490,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *443 examples: - default: *441 + default: *444 '304': *37 '403': *29 '401': *25 @@ -55476,7 +55517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *439 + - *442 responses: '204': description: Response @@ -55505,7 +55546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *439 + - *442 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -55526,7 +55567,7 @@ paths: application/json: schema: type: array - items: *437 + items: *440 examples: default: value: @@ -55585,7 +55626,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *439 + - *442 requestBody: required: true content: @@ -55625,9 +55666,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *440 examples: - default: *438 + default: *441 '304': *37 '403': *29 '401': *25 @@ -55637,8 +55678,8 @@ paths: application/json: schema: oneOf: - - *212 - - *213 + - *218 + - *219 '503': description: Response content: @@ -55683,7 +55724,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *439 + - *442 requestBody: required: true content: @@ -55743,15 +55784,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *431 + - *434 responses: '200': description: Response content: application/json: - schema: *361 + schema: *364 examples: - default: &442 + default: &445 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -55808,7 +55849,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *431 + - *434 requestBody: required: false content: @@ -55854,9 +55895,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *364 examples: - default: *442 + default: *445 '404': description: Not Found if the authenticated user does not have access to the project @@ -55877,7 +55918,7 @@ paths: items: type: string '401': *25 - '410': *443 + '410': *446 '422': *7 x-github: githubCloudOnly: false @@ -55900,7 +55941,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *431 + - *434 responses: '204': description: Delete Success @@ -55921,7 +55962,7 @@ paths: items: type: string '401': *25 - '410': *443 + '410': *446 '404': *6 x-github: githubCloudOnly: false @@ -55945,7 +55986,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *431 + - *434 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -55972,7 +56013,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 '404': *6 @@ -56002,8 +56043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *431 - - *257 + - *434 + - *263 requestBody: required: false content: @@ -56055,8 +56096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *431 - - *257 + - *434 + - *263 responses: '204': description: Response @@ -56087,8 +56128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *431 - - *257 + - *434 + - *263 responses: '200': description: Response @@ -56161,7 +56202,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *431 + - *434 - *17 - *19 responses: @@ -56171,7 +56212,7 @@ paths: application/json: schema: type: array - items: *440 + items: *443 examples: default: value: @@ -56209,7 +56250,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *431 + - *434 requestBody: required: true content: @@ -56232,7 +56273,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *443 examples: default: value: @@ -56297,7 +56338,7 @@ paths: resources: type: object properties: - core: &444 + core: &447 title: Rate Limit type: object properties: @@ -56314,21 +56355,21 @@ paths: - remaining - reset - used - graphql: *444 - search: *444 - code_search: *444 - source_import: *444 - integration_manifest: *444 - code_scanning_upload: *444 - actions_runner_registration: *444 - scim: *444 - dependency_snapshots: *444 - dependency_sbom: *444 - code_scanning_autofix: *444 + graphql: *447 + search: *447 + code_search: *447 + source_import: *447 + integration_manifest: *447 + code_scanning_upload: *447 + actions_runner_registration: *447 + scim: *447 + dependency_snapshots: *447 + dependency_sbom: *447 + code_scanning_autofix: *447 required: - core - search - rate: *444 + rate: *447 required: - rate - resources @@ -56433,14 +56474,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *445 + schema: *448 examples: default-response: summary: Default response @@ -56945,7 +56986,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *446 + '301': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56963,8 +57004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: false content: @@ -57221,10 +57262,10 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *447 - '307': &448 + default: *450 + '307': &451 description: Temporary Redirect content: application/json: @@ -57253,8 +57294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -57276,9 +57317,9 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *448 + '307': *451 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57300,11 +57341,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 - - &463 + - &466 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -57327,7 +57368,7 @@ paths: type: integer artifacts: type: array - items: &449 + items: &452 title: Artifact description: An artifact type: object @@ -57405,7 +57446,7 @@ paths: - expires_at - updated_at examples: - default: &464 + default: &467 value: total_count: 2 artifacts: @@ -57466,9 +57507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *432 - - *433 - - &450 + - *435 + - *436 + - &453 name: artifact_id description: The unique identifier of the artifact. in: path @@ -57480,7 +57521,7 @@ paths: description: Response content: application/json: - schema: *449 + schema: *452 examples: default: value: @@ -57518,9 +57559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *432 - - *433 - - *450 + - *435 + - *436 + - *453 responses: '204': description: Response @@ -57544,9 +57585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *432 - - *433 - - *450 + - *435 + - *436 + - *453 - name: archive_format in: path required: true @@ -57560,7 +57601,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57583,14 +57624,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *451 + schema: *454 examples: default: value: @@ -57616,11 +57657,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 - - &452 + - &455 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -57648,13 +57689,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *94 + - *100 responses: '200': description: Response content: application/json: - schema: &453 + schema: &456 title: Repository actions caches description: Repository actions caches type: object @@ -57696,7 +57737,7 @@ paths: - total_count - actions_caches examples: - default: &454 + default: &457 value: total_count: 1 actions_caches: @@ -57728,23 +57769,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *432 - - *433 + - *435 + - *436 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *452 + - *455 responses: '200': description: Response content: application/json: - schema: *453 + schema: *456 examples: - default: *454 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57764,8 +57805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *432 - - *433 + - *435 + - *436 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -57796,9 +57837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *432 - - *433 - - &455 + - *435 + - *436 + - &458 name: job_id description: The unique identifier of the job. in: path @@ -57810,7 +57851,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &470 title: Job description: Information of a job execution in a workflow run type: object @@ -58117,9 +58158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *432 - - *433 - - *455 + - *435 + - *436 + - *458 responses: '302': description: Response @@ -58147,9 +58188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *432 - - *433 - - *455 + - *435 + - *436 + - *458 requestBody: required: false content: @@ -58170,7 +58211,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -58194,8 +58235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Status response @@ -58245,8 +58286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -58280,7 +58321,7 @@ paths: description: Empty response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -58309,8 +58350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -58328,7 +58369,7 @@ paths: type: integer secrets: type: array - items: &469 + items: &472 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -58348,7 +58389,7 @@ paths: - created_at - updated_at examples: - default: &470 + default: &473 value: total_count: 2 secrets: @@ -58381,9 +58422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *432 - - *433 - - *456 + - *435 + - *436 + - *459 - *19 responses: '200': @@ -58400,7 +58441,7 @@ paths: type: integer variables: type: array - items: &473 + items: &476 title: Actions Variable type: object properties: @@ -58430,7 +58471,7 @@ paths: - created_at - updated_at examples: - default: &474 + default: &477 value: total_count: 2 variables: @@ -58463,8 +58504,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -58473,11 +58514,11 @@ paths: schema: type: object properties: - enabled: &457 + enabled: &460 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *49 - selected_actions_url: *222 + selected_actions_url: *228 sha_pinning_required: *50 required: - enabled @@ -58508,8 +58549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -58520,7 +58561,7 @@ paths: schema: type: object properties: - enabled: *457 + enabled: *460 allowed_actions: *49 sha_pinning_required: *50 required: @@ -58553,14 +58594,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: &458 + schema: &461 type: object properties: access_level: @@ -58578,7 +58619,7 @@ paths: required: - access_level examples: - default: &459 + default: &462 value: access_level: organization x-github: @@ -58603,15 +58644,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: application/json: - schema: *458 + schema: *461 examples: - default: *459 + default: *462 responses: '204': description: Response @@ -58635,14 +58676,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *224 + schema: *230 examples: default: value: @@ -58666,8 +58707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Empty response for successful settings update @@ -58677,7 +58718,7 @@ paths: required: true content: application/json: - schema: *225 + schema: *231 examples: default: summary: Set retention days @@ -58701,8 +58742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -58710,7 +58751,7 @@ paths: application/json: schema: *51 examples: - default: *226 + default: *232 '404': *6 x-github: enabledForGitHubApps: true @@ -58729,8 +58770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -58764,14 +58805,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *227 + schema: *233 examples: default: *52 '403': *29 @@ -58793,13 +58834,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: application/json: - schema: *228 + schema: *234 examples: default: *52 responses: @@ -58825,8 +58866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -58857,8 +58898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -58890,14 +58931,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *231 + schema: *237 examples: default: *58 x-github: @@ -58920,8 +58961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Success response @@ -58932,7 +58973,7 @@ paths: required: true content: application/json: - schema: *232 + schema: *238 examples: default: *58 x-github: @@ -58961,8 +59002,8 @@ paths: in: query schema: type: string - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -59006,8 +59047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -59015,9 +59056,9 @@ paths: application/json: schema: type: array - items: *236 + items: *242 examples: - default: *237 + default: *243 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59039,8 +59080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -59083,10 +59124,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *238 + '201': *244 '404': *6 '422': *7 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59114,8 +59155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '201': description: Response @@ -59123,7 +59164,7 @@ paths: application/json: schema: *68 examples: - default: *239 + default: *245 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59151,8 +59192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '201': description: Response @@ -59160,7 +59201,7 @@ paths: application/json: schema: *68 examples: - default: *240 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59182,8 +59223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *64 responses: '200': @@ -59192,7 +59233,7 @@ paths: application/json: schema: *65 examples: - default: *241 + default: *247 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59213,8 +59254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *64 responses: '204': @@ -59241,8 +59282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *64 responses: '200': *70 @@ -59267,8 +59308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *64 requestBody: required: true @@ -59317,8 +59358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *64 requestBody: required: true @@ -59368,11 +59409,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *64 responses: - '200': *242 + '200': *248 '404': *6 x-github: githubCloudOnly: false @@ -59399,10 +59440,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *64 - - *243 + - *249 responses: '200': *70 '404': *6 @@ -59430,9 +59471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *432 - - *433 - - &477 + - *435 + - *436 + - &480 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -59440,7 +59481,7 @@ paths: required: false schema: type: string - - &478 + - &481 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -59448,7 +59489,7 @@ paths: required: false schema: type: string - - &479 + - &482 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -59457,7 +59498,7 @@ paths: required: false schema: type: string - - &480 + - &483 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -59484,7 +59525,7 @@ paths: - pending - *17 - *19 - - &481 + - &484 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -59493,7 +59534,7 @@ paths: schema: type: string format: date-time - - &460 + - &463 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -59502,13 +59543,13 @@ paths: schema: type: boolean default: false - - &482 + - &485 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &483 + - &486 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -59531,7 +59572,7 @@ paths: type: integer workflow_runs: type: array - items: &461 + items: &464 title: Workflow Run description: An invocation of a workflow type: object @@ -59626,7 +59667,7 @@ paths: that triggered the run. type: array nullable: true - items: &504 + items: &505 title: Pull Request Minimal type: object properties: @@ -59745,7 +59786,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &508 + properties: &509 id: type: string description: SHA for the commit @@ -59796,7 +59837,7 @@ paths: - name - email nullable: true - required: &509 + required: &510 - id - tree_id - message @@ -59804,8 +59845,8 @@ paths: - author - committer nullable: true - repository: *235 - head_repository: *235 + repository: *241 + head_repository: *241 head_repository_id: type: integer example: 5 @@ -59843,7 +59884,7 @@ paths: - workflow_url - pull_requests examples: - default: &484 + default: &487 value: total_count: 1 workflow_runs: @@ -60079,24 +60120,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *432 - - *433 - - &462 + - *435 + - *436 + - &465 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *460 + - *463 responses: '200': description: Response content: application/json: - schema: *461 + schema: *464 examples: - default: &465 + default: &468 value: id: 30433642 name: Build @@ -60337,9 +60378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 responses: '204': description: Response @@ -60362,9 +60403,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 responses: '200': description: Response @@ -60483,15 +60524,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 responses: '201': description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -60518,12 +60559,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 - *17 - *19 - - *463 + - *466 responses: '200': description: Response @@ -60539,9 +60580,9 @@ paths: type: integer artifacts: type: array - items: *449 + items: *452 examples: - default: *464 + default: *467 headers: Link: *40 x-github: @@ -60565,25 +60606,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *432 - - *433 - - *462 - - &466 + - *435 + - *436 + - *465 + - &469 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *460 + - *463 responses: '200': description: Response content: application/json: - schema: *461 + schema: *464 examples: - default: *465 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60606,10 +60647,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *432 - - *433 - - *462 - - *466 + - *435 + - *436 + - *465 + - *469 - *17 - *19 responses: @@ -60627,9 +60668,9 @@ paths: type: integer jobs: type: array - items: *467 + items: *470 examples: - default: &468 + default: &471 value: total_count: 1 jobs: @@ -60742,10 +60783,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *432 - - *433 - - *462 - - *466 + - *435 + - *436 + - *465 + - *469 responses: '302': description: Response @@ -60773,19 +60814,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 responses: '202': description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60808,9 +60849,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 requestBody: required: true content: @@ -60877,19 +60918,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 responses: '202': description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60912,9 +60953,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -60944,9 +60985,9 @@ paths: type: integer jobs: type: array - items: *467 + items: *470 examples: - default: *468 + default: *471 headers: Link: *40 x-github: @@ -60971,9 +61012,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 responses: '302': description: Response @@ -61000,9 +61041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 responses: '204': description: Response @@ -61029,9 +61070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 responses: '200': description: Response @@ -61091,7 +61132,7 @@ paths: items: type: object properties: - type: &592 + type: &593 type: string description: The type of reviewer. enum: @@ -61101,7 +61142,7 @@ paths: reviewer: anyOf: - *4 - - *266 + - *269 required: - environment - wait_timer @@ -61176,9 +61217,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 requestBody: required: true content: @@ -61225,7 +61266,7 @@ paths: application/json: schema: type: array - items: &578 + items: &579 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -61313,8 +61354,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 required: - id - node_id @@ -61331,7 +61372,7 @@ paths: - created_at - updated_at examples: - default: &579 + default: &580 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -61387,9 +61428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 requestBody: required: false content: @@ -61410,7 +61451,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -61433,9 +61474,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 requestBody: required: false content: @@ -61456,7 +61497,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -61489,9 +61530,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *432 - - *433 - - *462 + - *435 + - *436 + - *465 responses: '200': description: Response @@ -61628,8 +61669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -61647,9 +61688,9 @@ paths: type: integer secrets: type: array - items: *469 + items: *472 examples: - default: *470 + default: *473 headers: Link: *40 x-github: @@ -61674,16 +61715,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *471 + schema: *474 examples: - default: *472 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61705,17 +61746,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *432 - - *433 - - *245 + - *435 + - *436 + - *251 responses: '200': description: Response content: application/json: - schema: *469 + schema: *472 examples: - default: &605 + default: &606 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -61741,9 +61782,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *432 - - *433 - - *245 + - *435 + - *436 + - *251 requestBody: required: true content: @@ -61774,7 +61815,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -61800,9 +61841,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *432 - - *433 - - *245 + - *435 + - *436 + - *251 responses: '204': description: Response @@ -61827,9 +61868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *432 - - *433 - - *456 + - *435 + - *436 + - *459 - *19 responses: '200': @@ -61846,9 +61887,9 @@ paths: type: integer variables: type: array - items: *473 + items: *476 examples: - default: *474 + default: *477 headers: Link: *40 x-github: @@ -61871,8 +61912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -61899,7 +61940,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -61924,17 +61965,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *432 - - *433 - - *248 + - *435 + - *436 + - *254 responses: '200': description: Response content: application/json: - schema: *473 + schema: *476 examples: - default: &606 + default: &607 value: name: USERNAME value: octocat @@ -61960,9 +62001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *432 - - *433 - - *248 + - *435 + - *436 + - *254 requestBody: required: true content: @@ -62004,9 +62045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *432 - - *433 - - *248 + - *435 + - *436 + - *254 responses: '204': description: Response @@ -62031,8 +62072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -62050,7 +62091,7 @@ paths: type: integer workflows: type: array - items: &475 + items: &478 title: Workflow description: A GitHub Actions workflow type: object @@ -62157,9 +62198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *432 - - *433 - - &476 + - *435 + - *436 + - &479 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -62174,7 +62215,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *478 examples: default: value: @@ -62207,9 +62248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *432 - - *433 - - *476 + - *435 + - *436 + - *479 responses: '204': description: Response @@ -62234,9 +62275,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *432 - - *433 - - *476 + - *435 + - *436 + - *479 responses: '204': description: Response @@ -62287,9 +62328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *432 - - *433 - - *476 + - *435 + - *436 + - *479 responses: '204': description: Response @@ -62316,19 +62357,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *432 - - *433 - - *476 - - *477 - - *478 + - *435 + - *436 - *479 - *480 - - *17 - - *19 - *481 - - *460 - *482 - *483 + - *17 + - *19 + - *484 + - *463 + - *485 + - *486 responses: '200': description: Response @@ -62344,9 +62385,9 @@ paths: type: integer workflow_runs: type: array - items: *461 + items: *464 examples: - default: *484 + default: *487 headers: Link: *40 x-github: @@ -62379,9 +62420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *432 - - *433 - - *476 + - *435 + - *436 + - *479 responses: '200': description: Response @@ -62442,12 +62483,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *432 - - *433 - - *94 + - *435 + - *436 + - *100 - *17 - - *92 - - *93 + - *98 + - *99 - name: ref description: |- The Git reference for the activities you want to list. @@ -62607,8 +62648,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -62620,7 +62661,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 '404': *6 @@ -62645,8 +62686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *432 - - *433 + - *435 + - *436 - name: assignee in: path required: true @@ -62682,8 +62723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -62795,11 +62836,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *432 - - *433 + - *435 + - *436 - *17 - - *92 - - *93 + - *98 + - *99 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -62850,7 +62891,7 @@ paths: bundle_url: type: string examples: - default: *485 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62870,8 +62911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -62879,7 +62920,7 @@ paths: application/json: schema: type: array - items: &486 + items: &489 title: Autolink reference description: An autolink reference. type: object @@ -62933,8 +62974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -62973,9 +63014,9 @@ paths: description: response content: application/json: - schema: *486 + schema: *489 examples: - default: &487 + default: &490 value: id: 1 key_prefix: TICKET- @@ -63006,9 +63047,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *432 - - *433 - - &488 + - *435 + - *436 + - &491 name: autolink_id description: The unique identifier of the autolink. in: path @@ -63020,9 +63061,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *489 examples: - default: *487 + default: *490 '404': *6 x-github: githubCloudOnly: false @@ -63042,9 +63083,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *432 - - *433 - - *488 + - *435 + - *436 + - *491 responses: '204': description: Response @@ -63068,8 +63109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response if Dependabot is enabled @@ -63117,8 +63158,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -63139,8 +63180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -63160,8 +63201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *432 - - *433 + - *435 + - *436 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -63199,7 +63240,7 @@ paths: - url protected: type: boolean - protection: &490 + protection: &493 title: Branch Protection description: Branch Protection type: object @@ -63241,7 +63282,7 @@ paths: required: - contexts - checks - enforce_admins: &493 + enforce_admins: &496 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -63256,7 +63297,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &495 + required_pull_request_reviews: &498 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -63277,7 +63318,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *266 + items: *269 apps: description: The list of apps with review dismissal access. @@ -63306,7 +63347,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *266 + items: *269 apps: description: The list of apps allowed to bypass pull request requirements. @@ -63332,7 +63373,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &492 + restrictions: &495 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -63639,9 +63680,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *432 - - *433 - - &491 + - *435 + - *436 + - &494 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -63655,14 +63696,14 @@ paths: description: Response content: application/json: - schema: &501 + schema: &504 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &553 + commit: &554 title: Commit description: Commit type: object @@ -63696,7 +63737,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &489 + properties: &492 name: type: string example: '"Chris Wanstrath"' @@ -63711,7 +63752,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *489 + properties: *492 nullable: true message: type: string @@ -63732,7 +63773,7 @@ paths: required: - sha - url - verification: &612 + verification: &613 title: Verification type: object properties: @@ -63766,12 +63807,12 @@ paths: nullable: true oneOf: - *4 - - *246 + - *252 committer: nullable: true oneOf: - *4 - - *246 + - *252 parents: type: array items: @@ -63802,7 +63843,7 @@ paths: type: integer files: type: array - items: &566 + items: &567 title: Diff Entry description: Diff Entry type: object @@ -63885,7 +63926,7 @@ paths: - self protected: type: boolean - protection: *490 + protection: *493 protection_url: type: string format: uri @@ -63992,7 +64033,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *446 + '301': *449 '404': *6 x-github: githubCloudOnly: false @@ -64014,15 +64055,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *490 + schema: *493 examples: default: value: @@ -64216,9 +64257,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -64473,7 +64514,7 @@ paths: url: type: string format: uri - required_status_checks: &498 + required_status_checks: &501 title: Status Check Policy description: Status Check Policy type: object @@ -64549,7 +64590,7 @@ paths: items: *4 teams: type: array - items: *266 + items: *269 apps: type: array items: *5 @@ -64567,7 +64608,7 @@ paths: items: *4 teams: type: array - items: *266 + items: *269 apps: type: array items: *5 @@ -64625,7 +64666,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *492 + restrictions: *495 required_conversation_resolution: type: object properties: @@ -64737,9 +64778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -64764,17 +64805,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *493 + schema: *496 examples: - default: &494 + default: &497 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -64796,17 +64837,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *493 + schema: *496 examples: - default: *494 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64825,9 +64866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -64852,17 +64893,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: &496 + default: &499 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -64958,9 +64999,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -65058,9 +65099,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *496 + default: *499 '422': *15 x-github: githubCloudOnly: false @@ -65081,9 +65122,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -65110,17 +65151,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *493 + schema: *496 examples: - default: &497 + default: &500 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -65143,17 +65184,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *493 + schema: *496 examples: - default: *497 + default: *500 '404': *6 x-github: githubCloudOnly: false @@ -65173,9 +65214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -65200,17 +65241,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *498 + schema: *501 examples: - default: &499 + default: &502 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -65236,9 +65277,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -65290,9 +65331,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *501 examples: - default: *499 + default: *502 '404': *6 '422': *15 x-github: @@ -65314,9 +65355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -65340,9 +65381,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response @@ -65376,9 +65417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -65445,9 +65486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -65511,9 +65552,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: content: application/json: @@ -65579,15 +65620,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *492 + schema: *495 examples: default: value: @@ -65678,9 +65719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -65703,9 +65744,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response @@ -65715,7 +65756,7 @@ paths: type: array items: *5 examples: - default: &500 + default: &503 value: - id: 1 slug: octoapp @@ -65772,9 +65813,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -65808,7 +65849,7 @@ paths: type: array items: *5 examples: - default: *500 + default: *503 '422': *15 x-github: githubCloudOnly: false @@ -65829,9 +65870,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -65865,7 +65906,7 @@ paths: type: array items: *5 examples: - default: *500 + default: *503 '422': *15 x-github: githubCloudOnly: false @@ -65886,9 +65927,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -65922,7 +65963,7 @@ paths: type: array items: *5 examples: - default: *500 + default: *503 '422': *15 x-github: githubCloudOnly: false @@ -65944,9 +65985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response @@ -65954,9 +65995,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *344 + default: *347 '404': *6 x-github: githubCloudOnly: false @@ -65976,9 +66017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -66014,9 +66055,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *344 + default: *347 '422': *15 x-github: githubCloudOnly: false @@ -66037,9 +66078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -66075,9 +66116,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *344 + default: *347 '422': *15 x-github: githubCloudOnly: false @@ -66098,9 +66139,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: content: application/json: @@ -66135,9 +66176,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *344 + default: *347 '422': *15 x-github: githubCloudOnly: false @@ -66159,9 +66200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 responses: '200': description: Response @@ -66171,7 +66212,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 '404': *6 x-github: githubCloudOnly: false @@ -66195,9 +66236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -66230,7 +66271,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 '422': *15 x-github: githubCloudOnly: false @@ -66255,9 +66296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -66290,7 +66331,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 '422': *15 x-github: githubCloudOnly: false @@ -66315,9 +66356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -66350,7 +66391,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 '422': *15 x-github: githubCloudOnly: false @@ -66377,9 +66418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -66401,7 +66442,7 @@ paths: description: Response content: application/json: - schema: *501 + schema: *504 examples: default: value: @@ -66515,12 +66556,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *432 - - *433 - - *258 - - *259 - - *260 - - *261 + - *435 + - *436 + - *93 + - *94 + - *95 + - *96 - *17 - *19 responses: @@ -66530,9 +66571,9 @@ paths: application/json: schema: type: array - items: *262 + items: *264 examples: - default: *263 + default: *265 '404': *6 '500': *91 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -66552,8 +66593,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *432 - - *433 + - *435 + - *436 - name: bypass_request_number in: path required: true @@ -66567,7 +66608,7 @@ paths: description: Response content: application/json: - schema: *262 + schema: *264 examples: default: value: @@ -66626,12 +66667,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *432 - - *433 - - *258 - - *259 - - *260 - - *261 + - *435 + - *436 + - *93 + - *94 + - *95 + - *96 - *17 - *19 responses: @@ -66641,9 +66682,9 @@ paths: application/json: schema: type: array - items: *502 + items: *267 examples: - default: *503 + default: *268 '404': *6 '403': *29 '500': *91 @@ -66667,8 +66708,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *432 - - *433 + - *435 + - *436 - name: bypass_request_number in: path required: true @@ -66680,7 +66721,7 @@ paths: description: A single bypass request. content: application/json: - schema: *502 + schema: *267 examples: default: value: @@ -66738,8 +66779,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *432 - - *433 + - *435 + - *436 - name: bypass_request_number in: path required: true @@ -66810,8 +66851,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *432 - - *433 + - *435 + - *436 - name: bypass_response_id in: path required: true @@ -66844,8 +66885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -67124,7 +67165,7 @@ paths: description: Response content: application/json: - schema: &505 + schema: &506 title: CheckRun description: A check performed on the code of a given code change type: object @@ -67235,16 +67276,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 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: *504 - deployment: &833 + items: *505 + deployment: &834 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -67311,8 +67352,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 required: - id - node_id @@ -67524,9 +67565,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *432 - - *433 - - &506 + - *435 + - *436 + - &507 name: check_run_id description: The unique identifier of the check run. in: path @@ -67538,9 +67579,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: &507 + default: &508 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -67640,9 +67681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *432 - - *433 - - *506 + - *435 + - *436 + - *507 requestBody: required: true content: @@ -67882,9 +67923,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *507 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67904,9 +67945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *432 - - *433 - - *506 + - *435 + - *436 + - *507 - *17 - *19 responses: @@ -68001,15 +68042,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *432 - - *433 - - *506 + - *435 + - *436 + - *507 responses: '201': description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -68047,8 +68088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -68070,7 +68111,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &510 + schema: &511 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -68134,7 +68175,7 @@ paths: nullable: true pull_requests: type: array - items: *504 + items: *505 nullable: true app: title: GitHub app @@ -68145,9 +68186,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 - repository: *235 + properties: *176 + required: *177 + repository: *241 created_at: type: string format: date-time @@ -68156,12 +68197,12 @@ paths: type: string format: date-time nullable: true - head_commit: &859 + head_commit: &860 title: Simple Commit description: A commit. type: object - properties: *508 - required: *509 + properties: *509 + required: *510 latest_check_runs_count: type: integer check_runs_url: @@ -68189,7 +68230,7 @@ paths: - check_runs_url - pull_requests examples: - default: &511 + default: &512 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -68480,9 +68521,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *510 + schema: *511 examples: - default: *511 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68501,8 +68542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -68563,7 +68604,7 @@ paths: required: - app_id - setting - repository: *235 + repository: *241 examples: default: value: @@ -68811,9 +68852,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *432 - - *433 - - &512 + - *435 + - *436 + - &513 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -68825,9 +68866,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: - default: *511 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68850,17 +68891,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *432 - - *433 - - *512 - - &559 + - *435 + - *436 + - *513 + - &560 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &560 + - &561 name: status description: Returns check runs with the specified `status`. in: query @@ -68899,9 +68940,9 @@ paths: type: integer check_runs: type: array - items: *505 + items: *506 examples: - default: &561 + default: &562 value: total_count: 1 check_runs: @@ -69003,15 +69044,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *432 - - *433 - - *512 + - *435 + - *436 + - *513 responses: '201': description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -69038,30 +69079,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *432 - - *433 - - *270 - - *271 + - *435 + - *436 + - *273 + - *274 - *19 - *17 - - &528 + - &529 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *513 - - &529 + schema: *514 + - &530 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *94 - - *92 - - *93 + - *100 + - *98 + - *99 - name: sort description: The property by which to sort the results. in: query @@ -69077,13 +69118,13 @@ paths: be returned. in: query required: false - schema: *272 + schema: *275 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *514 + schema: *515 responses: '200': description: Response @@ -69094,14 +69135,14 @@ paths: items: type: object properties: - number: *106 - created_at: *113 - updated_at: *114 - url: *111 - html_url: *112 - instances_url: *515 - state: *97 - fixed_at: *116 + number: *112 + created_at: *119 + updated_at: *120 + url: *117 + html_url: *118 + instances_url: *516 + state: *103 + fixed_at: *122 dismissed_by: title: Simple User description: A GitHub user. @@ -69109,12 +69150,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *115 - dismissed_reason: *516 - dismissed_comment: *517 - rule: *518 - tool: *519 - most_recent_instance: *520 + dismissed_at: *121 + dismissed_reason: *517 + dismissed_comment: *518 + rule: *519 + tool: *520 + most_recent_instance: *521 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -69237,14 +69278,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &521 + '403': &522 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69264,9 +69305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *432 - - *433 - - &522 + - *435 + - *436 + - &523 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -69274,23 +69315,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *106 + schema: *112 responses: '200': description: Response content: application/json: - schema: &523 + schema: &524 type: object properties: - number: *106 - created_at: *113 - updated_at: *114 - url: *111 - html_url: *112 - instances_url: *515 - state: *97 - fixed_at: *116 + number: *112 + created_at: *119 + updated_at: *120 + url: *117 + html_url: *118 + instances_url: *516 + state: *103 + fixed_at: *122 dismissed_by: title: Simple User description: A GitHub user. @@ -69298,9 +69339,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *115 - dismissed_reason: *516 - dismissed_comment: *517 + dismissed_at: *121 + dismissed_reason: *517 + dismissed_comment: *518 rule: type: object properties: @@ -69354,8 +69395,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *519 - most_recent_instance: *520 + tool: *520 + most_recent_instance: *521 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -69451,9 +69492,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *521 + '403': *522 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69471,9 +69512,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *432 - - *433 - - *522 + - *435 + - *436 + - *523 requestBody: required: true content: @@ -69488,8 +69529,8 @@ paths: enum: - open - dismissed - dismissed_reason: *516 - dismissed_comment: *517 + dismissed_reason: *517 + dismissed_comment: *518 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -69508,7 +69549,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *524 examples: default: value: @@ -69584,14 +69625,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &527 + '403': &528 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *160 + '503': *166 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -69611,15 +69652,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *432 - - *433 - - *522 + - *435 + - *436 + - *523 responses: '200': description: Response content: application/json: - schema: &524 + schema: &525 type: object properties: status: @@ -69645,13 +69686,13 @@ paths: - description - started_at examples: - default: &525 + default: &526 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &526 + '400': &527 description: Bad Request content: application/json: @@ -69662,9 +69703,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *521 + '403': *522 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69687,29 +69728,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *432 - - *433 - - *522 + - *435 + - *436 + - *523 responses: '200': description: OK content: application/json: - schema: *524 + schema: *525 examples: - default: *525 + default: *526 '202': description: Accepted content: application/json: - schema: *524 + schema: *525 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *526 + '400': *527 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -69719,7 +69760,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69741,9 +69782,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *432 - - *433 - - *522 + - *435 + - *436 + - *523 requestBody: required: false content: @@ -69788,12 +69829,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *526 - '403': *527 + '400': *527 + '403': *528 '404': *6 '422': description: Unprocessable Entity - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69813,13 +69854,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *432 - - *433 - - *522 + - *435 + - *436 + - *523 - *19 - *17 - - *528 - *529 + - *530 responses: '200': description: Response @@ -69827,7 +69868,7 @@ paths: application/json: schema: type: array - items: *520 + items: *521 examples: default: value: @@ -69866,9 +69907,9 @@ paths: end_column: 50 classifications: - source - '403': *521 + '403': *522 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69900,29 +69941,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *432 - - *433 - - *270 - - *271 + - *435 + - *436 + - *273 + - *274 - *19 - *17 - - *529 + - *530 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *513 + schema: *514 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &532 + schema: &533 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *94 + - *100 - name: sort description: The property by which to sort the results. in: query @@ -69939,23 +69980,23 @@ paths: application/json: schema: type: array - items: &533 + items: &534 type: object properties: - ref: *513 - commit_sha: &541 + ref: *514 + commit_sha: &542 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *530 + analysis_key: *531 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *531 + category: *532 error: type: string example: error reading field xyz @@ -69979,8 +70020,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *532 - tool: *519 + sarif_id: *533 + tool: *520 deletable: type: boolean warning: @@ -70041,9 +70082,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *521 + '403': *522 '404': *6 - '503': *160 + '503': *166 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -70077,8 +70118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -70091,7 +70132,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: response: summary: application/json response @@ -70145,14 +70186,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *521 + '403': *522 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *160 + '503': *166 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -70232,8 +70273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -70286,9 +70327,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *527 + '403': *528 '404': *6 - '503': *160 + '503': *166 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -70308,8 +70349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -70317,7 +70358,7 @@ paths: application/json: schema: type: array - items: &534 + items: &535 title: CodeQL Database description: A CodeQL database. type: object @@ -70428,9 +70469,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *521 + '403': *522 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70457,8 +70498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - name: language in: path description: The language of the CodeQL database. @@ -70470,7 +70511,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: default: value: @@ -70502,11 +70543,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &568 + '302': &569 description: Found - '403': *521 + '403': *522 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70526,8 +70567,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *432 - - *433 + - *435 + - *436 - name: language in: path description: The language of the CodeQL database. @@ -70537,9 +70578,9 @@ paths: responses: '204': description: Response - '403': *527 + '403': *528 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70565,8 +70606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -70575,7 +70616,7 @@ paths: type: object additionalProperties: false properties: - language: &535 + language: &536 type: string description: The language targeted by the CodeQL query enum: @@ -70654,7 +70695,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &539 + schema: &540 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -70662,9 +70703,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *103 + controller_repo: *109 actor: *4 - query_language: *535 + query_language: *536 query_pack_url: type: string description: The download url for the query pack. @@ -70711,7 +70752,7 @@ paths: items: type: object properties: - repository: &536 + repository: &537 title: Repository Identifier description: Repository Identifier type: object @@ -70747,7 +70788,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &540 + analysis_status: &541 type: string description: The new status of the CodeQL variant analysis repository task. @@ -70779,7 +70820,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &537 + access_mismatch_repos: &538 type: object properties: repository_count: @@ -70793,7 +70834,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *536 + items: *537 required: - repository_count - repositories @@ -70815,8 +70856,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *537 - over_limit_repos: *537 + no_codeql_db_repos: *538 + over_limit_repos: *538 required: - access_mismatch_repos - not_found_repos @@ -70832,7 +70873,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &538 + value: &539 summary: Default response value: id: 1 @@ -70984,17 +71025,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *538 + value: *539 repository_lists: summary: Response for a successful variant analysis submission - value: *538 + value: *539 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71015,8 +71056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *432 - - *433 + - *435 + - *436 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -71028,11 +71069,11 @@ paths: description: Response content: application/json: - schema: *539 + schema: *540 examples: - default: *538 + default: *539 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71053,7 +71094,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *432 + - *435 - name: repo in: path description: The name of the controller repository. @@ -71087,8 +71128,8 @@ paths: schema: type: object properties: - repository: *103 - analysis_status: *540 + repository: *109 + analysis_status: *541 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -71192,7 +71233,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71213,8 +71254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -71299,9 +71340,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *521 + '403': *522 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71320,8 +71361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -71388,7 +71429,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -71413,7 +71454,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *527 + '403': *528 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -71427,7 +71468,7 @@ paths: content: application/json: schema: *3 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71484,8 +71525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -71493,7 +71534,7 @@ paths: schema: type: object properties: - commit_sha: *541 + commit_sha: *542 ref: type: string description: |- @@ -71551,7 +71592,7 @@ paths: schema: type: object properties: - id: *532 + id: *533 url: type: string description: The REST API URL for checking the status of the upload. @@ -71565,11 +71606,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *527 + '403': *528 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *160 + '503': *166 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -71588,8 +71629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *432 - - *433 + - *435 + - *436 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -71635,10 +71676,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *521 + '403': *522 '404': description: Not Found if the sarif id does not match any upload - '503': *160 + '503': *166 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -71660,8 +71701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -71685,7 +71726,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *98 + configuration: *104 examples: default: value: @@ -71717,7 +71758,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *126 + '204': *132 '304': *37 '403': *29 '404': *6 @@ -71742,8 +71783,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *432 - - *433 + - *435 + - *436 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -71863,8 +71904,8 @@ paths: parameters: - *17 - *19 - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -71880,7 +71921,7 @@ paths: type: integer codespaces: type: array - items: *333 + items: *336 examples: default: value: @@ -72178,8 +72219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -72242,22 +72283,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -72281,8 +72322,8 @@ paths: parameters: - *17 - *19 - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -72346,8 +72387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -72382,14 +72423,14 @@ paths: type: integer machines: type: array - items: &783 + items: &784 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *543 - required: *544 + properties: *544 + required: *545 examples: - default: &784 + default: &785 value: total_count: 2 machines: @@ -72429,8 +72470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *432 - - *433 + - *435 + - *436 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -72514,8 +72555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *432 - - *433 + - *435 + - *436 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -72560,7 +72601,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72581,8 +72622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -72600,7 +72641,7 @@ paths: type: integer secrets: type: array - items: &548 + items: &549 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -72620,7 +72661,7 @@ paths: - created_at - updated_at examples: - default: *545 + default: *546 headers: Link: *40 x-github: @@ -72643,16 +72684,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *546 + schema: *547 examples: - default: *547 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -72672,17 +72713,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *432 - - *433 - - *245 + - *435 + - *436 + - *251 responses: '200': description: Response content: application/json: - schema: *548 + schema: *549 examples: - default: *549 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72702,9 +72743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *432 - - *433 - - *245 + - *435 + - *436 + - *251 requestBody: required: true content: @@ -72732,7 +72773,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -72756,9 +72797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *432 - - *433 - - *245 + - *435 + - *436 + - *251 responses: '204': description: Response @@ -72786,8 +72827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *432 - - *433 + - *435 + - *436 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -72829,7 +72870,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &550 + properties: &551 login: type: string example: octocat @@ -72922,7 +72963,7 @@ paths: user_view_type: type: string example: public - required: &551 + required: &552 - avatar_url - events_url - followers_url @@ -72996,9 +73037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *432 - - *433 - - *257 + - *435 + - *436 + - *263 responses: '204': description: Response if user is a collaborator @@ -73044,9 +73085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *432 - - *433 - - *257 + - *435 + - *436 + - *263 requestBody: required: false content: @@ -73072,7 +73113,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &625 + schema: &626 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -73083,7 +73124,7 @@ paths: example: 42 type: integer format: int64 - repository: *235 + repository: *241 invitee: title: Simple User description: A GitHub user. @@ -73261,7 +73302,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *212 + schema: *218 '403': *29 x-github: triggersNotification: true @@ -73301,9 +73342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *432 - - *433 - - *257 + - *435 + - *436 + - *263 responses: '204': description: No Content when collaborator was removed from the repository. @@ -73334,9 +73375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *432 - - *433 - - *257 + - *435 + - *436 + - *263 responses: '200': description: if user has admin permissions @@ -73356,8 +73397,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *550 - required: *551 + properties: *551 + required: *552 nullable: true required: - permission @@ -73412,8 +73453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -73423,7 +73464,7 @@ paths: application/json: schema: type: array - items: &552 + items: &553 title: Commit Comment description: Commit Comment type: object @@ -73464,8 +73505,8 @@ paths: updated_at: type: string format: date-time - author_association: *172 - reactions: *173 + author_association: *178 + reactions: *179 required: - url - html_url @@ -73481,7 +73522,7 @@ paths: - created_at - updated_at examples: - default: &555 + default: &556 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -73540,17 +73581,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 responses: '200': description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: &556 + default: &557 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -73607,9 +73648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 requestBody: required: true content: @@ -73631,7 +73672,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -73682,9 +73723,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 responses: '204': description: Response @@ -73705,9 +73746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 - 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. @@ -73733,9 +73774,9 @@ paths: application/json: schema: type: array - items: *421 + items: *424 examples: - default: *423 + default: *426 headers: Link: *40 '404': *6 @@ -73756,9 +73797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 requestBody: required: true content: @@ -73790,16 +73831,16 @@ paths: description: Reaction exists content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '201': description: Reaction created content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -73821,10 +73862,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *432 - - *433 - - *184 - - *424 + - *435 + - *436 + - *190 + - *427 responses: '204': description: Response @@ -73873,8 +73914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *432 - - *433 + - *435 + - *436 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -73930,9 +73971,9 @@ paths: application/json: schema: type: array - items: *553 + items: *554 examples: - default: &675 + default: &676 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -74006,7 +74047,7 @@ paths: '500': *91 '400': *14 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74026,9 +74067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *432 - - *433 - - &554 + - *435 + - *436 + - &555 name: commit_sha description: The SHA of the commit. in: path @@ -74075,7 +74116,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74100,9 +74141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *432 - - *433 - - *554 + - *435 + - *436 + - *555 - *17 - *19 responses: @@ -74112,9 +74153,9 @@ paths: application/json: schema: type: array - items: *552 + items: *553 examples: - default: *555 + default: *556 headers: Link: *40 x-github: @@ -74142,9 +74183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *432 - - *433 - - *554 + - *435 + - *436 + - *555 requestBody: required: true content: @@ -74179,9 +74220,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: *556 + default: *557 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74209,9 +74250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *432 - - *433 - - *554 + - *435 + - *436 + - *555 - *17 - *19 responses: @@ -74221,9 +74262,9 @@ paths: application/json: schema: type: array - items: *557 + items: *558 examples: - default: &667 + default: &668 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -74703,7 +74744,7 @@ paths: draft: false headers: Link: *40 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74760,11 +74801,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *432 - - *433 + - *435 + - *436 - *19 - *17 - - &558 + - &559 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -74779,9 +74820,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *554 examples: - default: &654 + default: &655 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -74868,8 +74909,8 @@ paths: '422': *15 '404': *6 '500': *91 - '503': *160 - '409': *102 + '503': *166 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74894,11 +74935,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *432 - - *433 - - *558 + - *435 + - *436 - *559 - *560 + - *561 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -74932,9 +74973,9 @@ paths: type: integer check_runs: type: array - items: *505 + items: *506 examples: - default: *561 + default: *562 headers: Link: *40 x-github: @@ -74959,9 +75000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *432 - - *433 - - *558 + - *435 + - *436 + - *559 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -74969,7 +75010,7 @@ paths: schema: type: integer example: 1 - - *559 + - *560 - *17 - *19 responses: @@ -74987,7 +75028,7 @@ paths: type: integer check_suites: type: array - items: *510 + items: *511 examples: default: value: @@ -75187,9 +75228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *432 - - *433 - - *558 + - *435 + - *436 + - *559 - *17 - *19 responses: @@ -75256,7 +75297,7 @@ paths: type: string total_count: type: integer - repository: *235 + repository: *241 commit_url: type: string format: uri @@ -75387,9 +75428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *432 - - *433 - - *558 + - *435 + - *436 + - *559 - *17 - *19 responses: @@ -75399,7 +75440,7 @@ paths: application/json: schema: type: array - items: &728 + items: &729 title: Status description: The status of a commit. type: object @@ -75480,7 +75521,7 @@ paths: site_admin: false headers: Link: *40 - '301': *446 + '301': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75508,8 +75549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -75538,20 +75579,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *562 - required: *563 + properties: *563 + required: *564 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &564 + properties: &565 url: type: string format: uri html_url: type: string format: uri - required: &565 + required: &566 - url - html_url nullable: true @@ -75559,32 +75600,32 @@ paths: title: License Simple description: License Simple type: object - properties: *186 - required: *187 + properties: *192 + required: *193 nullable: true contributing: title: Community Health File type: object - properties: *564 - required: *565 + properties: *565 + required: *566 nullable: true readme: title: Community Health File type: object - properties: *564 - required: *565 + properties: *565 + required: *566 nullable: true issue_template: title: Community Health File type: object - properties: *564 - required: *565 + properties: *565 + required: *566 nullable: true pull_request_template: title: Community Health File type: object - properties: *564 - required: *565 + properties: *565 + required: *566 nullable: true required: - code_of_conduct @@ -75711,8 +75752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *432 - - *433 + - *435 + - *436 - *19 - *17 - name: basehead @@ -75755,8 +75796,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *553 - merge_base_commit: *553 + base_commit: *554 + merge_base_commit: *554 status: type: string enum: @@ -75776,10 +75817,10 @@ paths: example: 6 commits: type: array - items: *553 + items: *554 files: type: array - items: *566 + items: *567 required: - url - html_url @@ -76023,7 +76064,7 @@ paths: module Test" '404': *6 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76065,8 +76106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *432 - - *433 + - *435 + - *436 - name: path description: path parameter in: path @@ -76209,7 +76250,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &567 + response-if-content-is-a-file: &568 summary: Response if content is a file value: type: file @@ -76341,7 +76382,7 @@ paths: - size - type - url - - &680 + - &681 title: Content File description: Content File type: object @@ -76542,7 +76583,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *567 + response-if-content-is-a-file: *568 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -76611,7 +76652,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *568 + '302': *569 '304': *37 x-github: githubCloudOnly: false @@ -76634,8 +76675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *432 - - *433 + - *435 + - *436 - name: path description: path parameter in: path @@ -76728,7 +76769,7 @@ paths: description: Response content: application/json: - schema: &569 + schema: &570 title: File Commit description: File Commit type: object @@ -76880,7 +76921,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: example-for-creating-a-file: value: @@ -76934,7 +76975,7 @@ paths: schema: oneOf: - *3 - - &607 + - &608 description: Repository rule violation was detected type: object properties: @@ -76955,7 +76996,7 @@ paths: items: type: object properties: - placeholder_id: &720 + placeholder_id: &721 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -76987,8 +77028,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *432 - - *433 + - *435 + - *436 - name: path description: path parameter in: path @@ -77049,7 +77090,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: default: value: @@ -77083,8 +77124,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *102 - '503': *160 + '409': *108 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77104,8 +77145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *432 - - *433 + - *435 + - *436 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -77228,23 +77269,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *432 - - *433 - - *287 - - *288 - - *289 + - *435 + - *436 - *290 + - *291 + - *292 + - *293 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *291 - - *292 - - *293 - *294 - - *94 + - *295 + - *296 + - *297 + - *100 - name: page description: "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead." @@ -77261,10 +77302,10 @@ paths: schema: type: integer default: 30 - - *92 - - *93 - - *295 - - *296 + - *98 + - *99 + - *298 + - *299 responses: '200': description: Response @@ -77272,11 +77313,11 @@ paths: application/json: schema: type: array - items: &572 + items: &573 type: object description: A Dependabot alert. properties: - number: *106 + number: *112 state: type: string description: The state of the Dependabot alert. @@ -77291,7 +77332,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *107 + package: *113 manifest_path: type: string description: The full path to the dependency manifest file, @@ -77318,13 +77359,13 @@ paths: - unknown - direct - transitive - security_advisory: *570 - security_vulnerability: *110 - url: *111 - html_url: *112 - created_at: *113 - updated_at: *114 - dismissed_at: *115 + security_advisory: *571 + security_vulnerability: *116 + url: *117 + html_url: *118 + created_at: *119 + updated_at: *120 + dismissed_at: *121 dismissed_by: title: Simple User description: A GitHub user. @@ -77348,8 +77389,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *116 - auto_dismissed_at: *571 + fixed_at: *122 + auto_dismissed_at: *572 required: - number - state @@ -77579,9 +77620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *432 - - *433 - - &573 + - *435 + - *436 + - &574 name: alert_number in: path description: |- @@ -77590,13 +77631,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *106 + schema: *112 responses: '200': description: Response content: application/json: - schema: *572 + schema: *573 examples: default: value: @@ -77709,9 +77750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *432 - - *433 - - *573 + - *435 + - *436 + - *574 requestBody: required: true content: @@ -77756,7 +77797,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *573 examples: default: value: @@ -77862,7 +77903,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *102 + '409': *108 '422': *7 x-github: githubCloudOnly: false @@ -77885,8 +77926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -77904,7 +77945,7 @@ paths: type: integer secrets: type: array - items: &576 + items: &577 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -77957,16 +77998,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *574 + schema: *575 examples: - default: *575 + default: *576 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77986,15 +78027,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *432 - - *433 - - *245 + - *435 + - *436 + - *251 responses: '200': description: Response content: application/json: - schema: *576 + schema: *577 examples: default: value: @@ -78020,9 +78061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *432 - - *433 - - *245 + - *435 + - *436 + - *251 requestBody: required: true content: @@ -78050,7 +78091,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -78074,9 +78115,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *432 - - *433 - - *245 + - *435 + - *436 + - *251 responses: '204': description: Response @@ -78098,8 +78139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *432 - - *433 + - *435 + - *436 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -78259,8 +78300,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -78499,8 +78540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -78575,7 +78616,7 @@ paths: - version - url additionalProperties: false - metadata: &577 + metadata: &578 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -78608,7 +78649,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *577 + metadata: *578 resolved: type: object description: A collection of resolved package dependencies. @@ -78621,7 +78662,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *577 + metadata: *578 relationship: type: string description: A notation of whether a dependency is requested @@ -78750,8 +78791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *432 - - *433 + - *435 + - *436 - name: sha description: The SHA recorded at creation time. in: query @@ -78791,9 +78832,9 @@ paths: application/json: schema: type: array - items: *578 + items: *579 examples: - default: *579 + default: *580 headers: Link: *40 x-github: @@ -78859,8 +78900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -78941,7 +78982,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *579 examples: simple-example: summary: Simple example @@ -79014,9 +79055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *432 - - *433 - - &580 + - *435 + - *436 + - &581 name: deployment_id description: deployment_id parameter in: path @@ -79028,7 +79069,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *579 examples: default: value: @@ -79093,9 +79134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *432 - - *433 - - *580 + - *435 + - *436 + - *581 responses: '204': description: Response @@ -79117,9 +79158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *432 - - *433 - - *580 + - *435 + - *436 + - *581 - *17 - *19 responses: @@ -79129,7 +79170,7 @@ paths: application/json: schema: type: array - items: &581 + items: &582 title: Deployment Status description: The status of a deployment. type: object @@ -79220,8 +79261,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 required: - id - node_id @@ -79290,9 +79331,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *432 - - *433 - - *580 + - *435 + - *436 + - *581 requestBody: required: true content: @@ -79367,9 +79408,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *582 examples: - default: &582 + default: &583 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -79425,9 +79466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *432 - - *433 - - *580 + - *435 + - *436 + - *581 - name: status_id in: path required: true @@ -79438,9 +79479,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *582 examples: - default: *582 + default: *583 '404': *6 x-github: githubCloudOnly: false @@ -79467,12 +79508,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *432 - - *433 - - *583 + - *435 + - *436 - *584 - *585 - *586 + - *587 - *17 - *19 responses: @@ -79482,9 +79523,9 @@ paths: application/json: schema: type: array - items: *587 + items: *588 examples: - default: *588 + default: *589 '404': *6 '403': *29 '500': *91 @@ -79508,8 +79549,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *432 - - *433 + - *435 + - *436 - name: alert_number in: path required: true @@ -79521,7 +79562,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *587 + schema: *588 examples: default: value: @@ -79577,8 +79618,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *432 - - *433 + - *435 + - *436 - name: alert_number in: path required: true @@ -79637,12 +79678,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *432 - - *433 - - *258 - - *259 - - *260 - - *589 + - *435 + - *436 + - *93 + - *94 + - *95 + - *590 - *17 - *19 responses: @@ -79652,9 +79693,9 @@ paths: application/json: schema: type: array - items: *590 + items: *591 examples: - default: *591 + default: *592 '404': *6 '403': *29 '500': *91 @@ -79679,8 +79720,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *432 - - *433 + - *435 + - *436 - name: alert_number in: path required: true @@ -79692,7 +79733,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -79750,8 +79791,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *432 - - *433 + - *435 + - *436 - name: alert_number in: path required: true @@ -79820,8 +79861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -79878,8 +79919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -79896,7 +79937,7 @@ paths: type: integer environments: type: array - items: &593 + items: &594 title: Environment description: Details of a deployment environment type: object @@ -79948,7 +79989,7 @@ paths: type: type: string example: wait_timer - wait_timer: &595 + wait_timer: &596 type: integer example: 30 description: The amount of time to delay a job after @@ -79985,11 +80026,11 @@ paths: items: type: object properties: - type: *592 + type: *593 reviewer: anyOf: - *4 - - *266 + - *269 required: - id - node_id @@ -80009,7 +80050,7 @@ paths: - id - node_id - type - deployment_branch_policy: &596 + deployment_branch_policy: &597 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -80125,9 +80166,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *432 - - *433 - - &594 + - *435 + - *436 + - &595 name: environment_name in: path required: true @@ -80140,9 +80181,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *594 examples: - default: &597 + default: &598 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -80226,9 +80267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *432 - - *433 - - *594 + - *435 + - *436 + - *595 requestBody: required: false content: @@ -80237,7 +80278,7 @@ paths: type: object nullable: true properties: - wait_timer: *595 + wait_timer: *596 prevent_self_review: type: boolean example: false @@ -80254,13 +80295,13 @@ paths: items: type: object properties: - type: *592 + type: *593 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *596 + deployment_branch_policy: *597 additionalProperties: false examples: default: @@ -80280,9 +80321,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *594 examples: - default: *597 + default: *598 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -80306,9 +80347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *432 - - *433 - - *594 + - *435 + - *436 + - *595 responses: '204': description: Default response @@ -80333,9 +80374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *432 - - *433 - - *594 + - *435 + - *436 + - *595 - *17 - *19 responses: @@ -80353,7 +80394,7 @@ paths: example: 2 branch_policies: type: array - items: &598 + items: &599 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -80410,9 +80451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *432 - - *433 - - *594 + - *435 + - *436 + - *595 requestBody: required: true content: @@ -80458,9 +80499,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - example-wildcard: &599 + example-wildcard: &600 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -80502,10 +80543,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *432 - - *433 - - *594 - - &600 + - *435 + - *436 + - *595 + - &601 name: branch_policy_id in: path required: true @@ -80517,9 +80558,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - default: *599 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80538,10 +80579,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *432 - - *433 - - *594 - - *600 + - *435 + - *436 + - *595 + - *601 requestBody: required: true content: @@ -80569,9 +80610,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - default: *599 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80590,10 +80631,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *432 - - *433 - - *594 - - *600 + - *435 + - *436 + - *595 + - *601 responses: '204': description: Response @@ -80618,9 +80659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *594 - - *433 - - *432 + - *595 + - *436 + - *435 responses: '200': description: List of deployment protection rules @@ -80636,7 +80677,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &601 + items: &602 title: Deployment protection rule description: Deployment protection rule type: object @@ -80655,7 +80696,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &602 + app: &603 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -80754,9 +80795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *594 - - *433 - - *432 + - *595 + - *436 + - *435 requestBody: content: application/json: @@ -80777,9 +80818,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *601 + schema: *602 examples: - default: &603 + default: &604 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -80814,9 +80855,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *594 - - *433 - - *432 + - *595 + - *436 + - *435 - *19 - *17 responses: @@ -80835,7 +80876,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *602 + items: *603 examples: default: value: @@ -80870,10 +80911,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *432 - - *433 - - *594 - - &604 + - *435 + - *436 + - *595 + - &605 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -80885,9 +80926,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *602 examples: - default: *603 + default: *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80908,10 +80949,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *594 - - *433 - - *432 - - *604 + - *595 + - *436 + - *435 + - *605 responses: '204': description: Response @@ -80937,9 +80978,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *432 - - *433 - - *594 + - *435 + - *436 + - *595 - *17 - *19 responses: @@ -80957,9 +80998,9 @@ paths: type: integer secrets: type: array - items: *469 + items: *472 examples: - default: *470 + default: *473 headers: Link: *40 x-github: @@ -80984,17 +81025,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *432 - - *433 - - *594 + - *435 + - *436 + - *595 responses: '200': description: Response content: application/json: - schema: *471 + schema: *474 examples: - default: *472 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81016,18 +81057,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *432 - - *433 - - *594 - - *245 + - *435 + - *436 + - *595 + - *251 responses: '200': description: Response content: application/json: - schema: *469 + schema: *472 examples: - default: *605 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81049,10 +81090,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *432 - - *433 - - *594 - - *245 + - *435 + - *436 + - *595 + - *251 requestBody: required: true content: @@ -81083,7 +81124,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -81109,10 +81150,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *432 - - *433 - - *594 - - *245 + - *435 + - *436 + - *595 + - *251 responses: '204': description: Default response @@ -81137,10 +81178,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *432 - - *433 - - *594 - - *456 + - *435 + - *436 + - *595 + - *459 - *19 responses: '200': @@ -81157,9 +81198,9 @@ paths: type: integer variables: type: array - items: *473 + items: *476 examples: - default: *474 + default: *477 headers: Link: *40 x-github: @@ -81182,9 +81223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *432 - - *433 - - *594 + - *435 + - *436 + - *595 requestBody: required: true content: @@ -81211,7 +81252,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -81236,18 +81277,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *432 - - *433 - - *594 - - *248 + - *435 + - *436 + - *595 + - *254 responses: '200': description: Response content: application/json: - schema: *473 + schema: *476 examples: - default: *606 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81268,10 +81309,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *432 - - *433 - - *248 - - *594 + - *435 + - *436 + - *254 + - *595 requestBody: required: true content: @@ -81313,10 +81354,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *432 - - *433 - - *248 - - *594 + - *435 + - *436 + - *254 + - *595 responses: '204': description: Response @@ -81338,8 +81379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -81349,7 +81390,7 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: 200-response: value: @@ -81416,8 +81457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *432 - - *433 + - *435 + - *436 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -81439,7 +81480,7 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: default: value: @@ -81576,8 +81617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: false content: @@ -81609,9 +81650,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *447 + default: *450 '400': *14 '422': *15 '403': *29 @@ -81632,8 +81673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -81684,7 +81725,7 @@ paths: schema: type: string '404': *6 - '409': *102 + '409': *108 '403': *29 '422': description: Validation failed @@ -81692,8 +81733,8 @@ paths: application/json: schema: oneOf: - - *212 - - *607 + - *218 + - *608 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81718,8 +81759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *432 - - *433 + - *435 + - *436 - name: file_sha in: path required: true @@ -81770,7 +81811,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81818,8 +81859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -81928,7 +81969,7 @@ paths: description: Response content: application/json: - schema: &608 + schema: &609 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -82092,7 +82133,7 @@ paths: type: string '422': *15 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82142,15 +82183,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *432 - - *433 - - *554 + - *435 + - *436 + - *555 responses: '200': description: Response content: application/json: - schema: *608 + schema: *609 examples: default: value: @@ -82181,7 +82222,7 @@ paths: payload: verified_at: '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82206,9 +82247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *432 - - *433 - - &609 + - *435 + - *436 + - &610 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -82225,7 +82266,7 @@ paths: application/json: schema: type: array - items: &610 + items: &611 title: Git Reference description: Git references within a repository type: object @@ -82279,7 +82320,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *40 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82300,17 +82341,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *432 - - *433 - - *609 + - *435 + - *436 + - *610 responses: '200': description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: &611 + default: &612 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -82320,7 +82361,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82339,8 +82380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -82369,16 +82410,16 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: *611 + default: *612 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82397,9 +82438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *432 - - *433 - - *609 + - *435 + - *436 + - *610 requestBody: required: true content: @@ -82428,11 +82469,11 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: *611 + default: *612 '422': *15 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82448,16 +82489,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *432 - - *433 - - *609 + - *435 + - *436 + - *610 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82505,8 +82546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -82573,7 +82614,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &614 title: Git Tag description: Metadata for a Git tag type: object @@ -82624,7 +82665,7 @@ paths: - sha - type - url - verification: *612 + verification: *613 required: - sha - url @@ -82634,7 +82675,7 @@ paths: - tag - message examples: - default: &614 + default: &615 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -82661,7 +82702,7 @@ paths: schema: type: string '422': *15 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82707,8 +82748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *432 - - *433 + - *435 + - *436 - name: tag_sha in: path required: true @@ -82719,11 +82760,11 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *614 + default: *615 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82745,8 +82786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -82819,7 +82860,7 @@ paths: description: Response content: application/json: - schema: &615 + schema: &616 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -82892,7 +82933,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82915,8 +82956,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *432 - - *433 + - *435 + - *436 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -82939,7 +82980,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: default-response: summary: Default response @@ -82980,7 +83021,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82998,8 +83039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -83009,7 +83050,7 @@ paths: application/json: schema: type: array - items: &616 + items: &617 title: Webhook description: Webhooks for repositories. type: object @@ -83063,7 +83104,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &867 + last_response: &868 title: Hook Response type: object properties: @@ -83137,8 +83178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: false content: @@ -83190,9 +83231,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: &617 + default: &618 value: type: Repository id: 12345678 @@ -83240,17 +83281,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 responses: '200': description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: *617 + default: *618 '404': *6 x-github: githubCloudOnly: false @@ -83270,9 +83311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 requestBody: required: true content: @@ -83317,9 +83358,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: *617 + default: *618 '422': *15 '404': *6 x-github: @@ -83340,9 +83381,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 responses: '204': description: Response @@ -83366,9 +83407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 responses: '200': description: Response @@ -83395,9 +83436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 requestBody: required: false content: @@ -83441,11 +83482,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 - *17 - - *305 + - *308 responses: '200': description: Response @@ -83453,9 +83494,9 @@ paths: application/json: schema: type: array - items: *306 + items: *309 examples: - default: *307 + default: *310 '400': *14 '422': *15 x-github: @@ -83474,18 +83515,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 - *16 responses: '200': description: Response content: application/json: - schema: *308 + schema: *311 examples: - default: *309 + default: *312 '400': *14 '422': *15 x-github: @@ -83504,9 +83545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 - *16 responses: '202': *39 @@ -83529,9 +83570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 responses: '204': description: Response @@ -83556,9 +83597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *432 - - *433 - - *304 + - *435 + - *436 + - *307 responses: '204': description: Response @@ -83616,14 +83657,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: &618 + schema: &619 title: Import description: A repository import from an external source. type: object @@ -83722,7 +83763,7 @@ paths: - html_url - authors_url examples: - default: &621 + default: &622 value: vcs: subversion use_lfs: true @@ -83738,7 +83779,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &619 + '503': &620 description: Unavailable due to service under maintenance. content: application/json: @@ -83767,8 +83808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -83816,7 +83857,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: default: value: @@ -83841,7 +83882,7 @@ paths: type: string '422': *15 '404': *6 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83869,8 +83910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: false content: @@ -83919,7 +83960,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: example-1: summary: Example 1 @@ -83967,7 +84008,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83990,12 +84031,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84021,9 +84062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *432 - - *433 - - &806 + - *435 + - *436 + - &807 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -84037,7 +84078,7 @@ paths: application/json: schema: type: array - items: &620 + items: &621 title: Porter Author description: Porter Author type: object @@ -84091,7 +84132,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84116,8 +84157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *432 - - *433 + - *435 + - *436 - name: author_id in: path required: true @@ -84147,7 +84188,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *621 examples: default: value: @@ -84160,7 +84201,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84184,8 +84225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -84226,7 +84267,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84254,8 +84295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -84282,11 +84323,11 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: - default: *621 + default: *622 '422': *15 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84309,8 +84350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -84318,8 +84359,8 @@ paths: application/json: schema: *22 examples: - default: *622 - '301': *446 + default: *623 + '301': *449 '404': *6 x-github: githubCloudOnly: false @@ -84339,8 +84380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -84348,12 +84389,12 @@ paths: application/json: schema: anyOf: - - *322 + - *325 - type: object properties: {} additionalProperties: false examples: - default: &624 + default: &625 value: limit: collaborators_only origin: repository @@ -84378,13 +84419,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: application/json: - schema: *623 + schema: *624 examples: default: summary: Example request body @@ -84396,9 +84437,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *325 examples: - default: *624 + default: *625 '409': description: Response x-github: @@ -84420,8 +84461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -84444,8 +84485,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -84455,9 +84496,9 @@ paths: application/json: schema: type: array - items: *625 + items: *626 examples: - default: &799 + default: &800 value: - id: 1 repository: @@ -84588,9 +84629,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *432 - - *433 - - *326 + - *435 + - *436 + - *329 requestBody: required: false content: @@ -84619,7 +84660,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: default: value: @@ -84750,9 +84791,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *432 - - *433 - - *326 + - *435 + - *436 + - *329 responses: '204': description: Response @@ -84783,8 +84824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *432 - - *433 + - *435 + - *436 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -84832,7 +84873,7 @@ paths: required: false schema: type: string - - *330 + - *333 - name: sort description: What to sort results by. in: query @@ -84844,8 +84885,8 @@ paths: - updated - comments default: created - - *94 - - *175 + - *100 + - *181 - *17 - *19 responses: @@ -84855,9 +84896,9 @@ paths: application/json: schema: type: array - items: *185 + items: *191 examples: - default: &634 + default: &635 value: - id: 1 node_id: MDU6SXNzdWUx @@ -85005,7 +85046,7 @@ paths: state_reason: completed headers: Link: *40 - '301': *446 + '301': *449 '422': *15 '404': *6 x-github: @@ -85034,8 +85075,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -85117,9 +85158,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: &631 + default: &632 value: id: 1 node_id: MDU6SXNzdWUx @@ -85273,9 +85314,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *160 + '503': *166 '404': *6 - '410': *443 + '410': *446 x-github: triggersNotification: true githubCloudOnly: false @@ -85303,9 +85344,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *432 - - *433 - - *195 + - *435 + - *436 + - *201 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -85315,7 +85356,7 @@ paths: enum: - asc - desc - - *175 + - *181 - *17 - *19 responses: @@ -85325,9 +85366,9 @@ paths: application/json: schema: type: array - items: *626 + items: *627 examples: - default: &633 + default: &634 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -85385,17 +85426,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 responses: '200': description: Response content: application/json: - schema: *626 + schema: *627 examples: - default: &627 + default: &628 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -85449,9 +85490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 requestBody: required: true content: @@ -85473,9 +85514,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *627 examples: - default: *627 + default: *628 '422': *15 x-github: githubCloudOnly: false @@ -85493,9 +85534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 responses: '204': description: Response @@ -85515,9 +85556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 - 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. @@ -85543,9 +85584,9 @@ paths: application/json: schema: type: array - items: *421 + items: *424 examples: - default: *423 + default: *426 headers: Link: *40 '404': *6 @@ -85566,9 +85607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 requestBody: required: true content: @@ -85600,16 +85641,16 @@ paths: description: Reaction exists content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '201': description: Reaction created content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -85631,10 +85672,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *432 - - *433 - - *184 - - *424 + - *435 + - *436 + - *190 + - *427 responses: '204': description: Response @@ -85654,8 +85695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -85665,7 +85706,7 @@ paths: application/json: schema: type: array - items: &630 + items: &631 title: Issue Event description: Issue Event type: object @@ -85708,8 +85749,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *628 - required: *629 + properties: *629 + required: *630 nullable: true label: title: Issue Event Label @@ -85753,7 +85794,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *266 + requested_team: *269 dismissed_review: title: Issue Event Dismissed Review type: object @@ -85818,7 +85859,7 @@ paths: required: - from - to - author_association: *172 + author_association: *178 lock_reason: type: string nullable: true @@ -85831,8 +85872,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 required: - id - node_id @@ -86016,8 +86057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *432 - - *433 + - *435 + - *436 - name: event_id in: path required: true @@ -86028,7 +86069,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *631 examples: default: value: @@ -86221,7 +86262,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *443 + '410': *446 '403': *29 x-github: githubCloudOnly: false @@ -86255,9 +86296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *432 - - *433 - - &632 + - *435 + - *436 + - &633 name: issue_number description: The number that identifies the issue. in: path @@ -86269,12 +86310,12 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 - '301': *446 + default: *632 + '301': *449 '404': *6 - '410': *443 + '410': *446 '304': *37 x-github: githubCloudOnly: false @@ -86299,9 +86340,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: false content: @@ -86405,15 +86446,15 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 + default: *632 '422': *15 - '503': *160 + '503': *166 '403': *29 - '301': *446 + '301': *449 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86431,9 +86472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: false content: @@ -86459,9 +86500,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86477,9 +86518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: content: application/json: @@ -86504,9 +86545,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86528,9 +86569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - name: assignee in: path required: true @@ -86570,10 +86611,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *432 - - *433 - - *632 - - *175 + - *435 + - *436 + - *633 + - *181 - *17 - *19 responses: @@ -86583,13 +86624,13 @@ paths: application/json: schema: type: array - items: *626 + items: *627 examples: - default: *633 + default: *634 headers: Link: *40 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86618,9 +86659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: true content: @@ -86642,16 +86683,16 @@ paths: description: Response content: application/json: - schema: *626 + schema: *627 examples: - default: *627 + default: *628 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *443 + '410': *446 '422': *15 '404': *6 x-github: @@ -86679,9 +86720,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - *17 - *19 responses: @@ -86691,14 +86732,14 @@ paths: application/json: schema: type: array - items: *185 + items: *191 examples: - default: *634 + default: *635 headers: Link: *40 - '301': *446 + '301': *449 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86726,9 +86767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: true content: @@ -86750,17 +86791,17 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 + default: *632 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *446 + '301': *449 '403': *29 - '410': *443 + '410': *446 '422': *15 '404': *6 x-github: @@ -86791,9 +86832,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -86805,15 +86846,15 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 - '301': *446 + default: *632 + '301': *449 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *443 + '410': *446 x-github: triggersNotification: true githubCloudOnly: false @@ -86839,9 +86880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - *17 - *19 responses: @@ -86851,14 +86892,14 @@ paths: application/json: schema: type: array - items: *185 + items: *191 examples: - default: *634 + default: *635 headers: Link: *40 - '301': *446 + '301': *449 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86875,9 +86916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - *17 - *19 responses: @@ -86891,7 +86932,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &637 + - &638 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -86922,8 +86963,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 label: type: object properties: @@ -86945,7 +86986,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &638 + - &639 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -86976,8 +87017,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 label: type: object properties: @@ -87065,8 +87106,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 assignee: *4 assigner: *4 required: @@ -87081,7 +87122,7 @@ paths: - performed_via_github_app - assignee - assigner - - &639 + - &640 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -87112,8 +87153,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 milestone: type: object properties: @@ -87132,7 +87173,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &640 + - &641 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -87163,8 +87204,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 milestone: type: object properties: @@ -87183,7 +87224,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &641 + - &642 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -87214,8 +87255,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 rename: type: object properties: @@ -87237,7 +87278,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &642 + - &643 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -87268,10 +87309,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 review_requester: *4 - requested_team: *266 + requested_team: *269 requested_reviewer: *4 required: - review_requester @@ -87284,7 +87325,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &643 + - &644 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -87315,10 +87356,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 review_requester: *4 - requested_team: *266 + requested_team: *269 requested_reviewer: *4 required: - review_requester @@ -87331,7 +87372,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &644 + - &645 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -87362,8 +87403,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 dismissed_review: type: object properties: @@ -87391,7 +87432,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &645 + - &646 title: Locked Issue Event description: Locked Issue Event type: object @@ -87422,8 +87463,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 lock_reason: type: string example: '"off-topic"' @@ -87439,7 +87480,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &646 + - &647 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -87470,8 +87511,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 project_card: type: object properties: @@ -87505,7 +87546,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &647 + - &648 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -87536,8 +87577,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 project_card: type: object properties: @@ -87571,7 +87612,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &648 + - &649 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -87602,8 +87643,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 project_card: type: object properties: @@ -87637,7 +87678,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &650 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -87728,7 +87769,7 @@ paths: color: red headers: Link: *40 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87745,9 +87786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - *17 - *19 responses: @@ -87757,7 +87798,7 @@ paths: application/json: schema: type: array - items: &635 + items: &636 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -87804,7 +87845,7 @@ paths: - color - default examples: - default: &636 + default: &637 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -87822,9 +87863,9 @@ paths: default: false headers: Link: *40 - '301': *446 + '301': *449 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87841,9 +87882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: false content: @@ -87902,12 +87943,12 @@ paths: application/json: schema: type: array - items: *635 + items: *636 examples: - default: *636 - '301': *446 + default: *637 + '301': *449 '404': *6 - '410': *443 + '410': *446 '422': *15 x-github: githubCloudOnly: false @@ -87924,9 +87965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: false content: @@ -87986,12 +88027,12 @@ paths: application/json: schema: type: array - items: *635 + items: *636 examples: - default: *636 - '301': *446 + default: *637 + '301': *449 '404': *6 - '410': *443 + '410': *446 '422': *15 x-github: githubCloudOnly: false @@ -88008,15 +88049,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 responses: '204': description: Response - '301': *446 + '301': *449 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88035,9 +88076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - name: name in: path required: true @@ -88050,7 +88091,7 @@ paths: application/json: schema: type: array - items: *635 + items: *636 examples: default: value: @@ -88061,9 +88102,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *446 + '301': *449 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88083,9 +88124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: false content: @@ -88113,7 +88154,7 @@ paths: '204': description: Response '403': *29 - '410': *443 + '410': *446 '404': *6 '422': *15 x-github: @@ -88131,9 +88172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 responses: '204': description: Response @@ -88163,20 +88204,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 responses: '200': description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 - '301': *446 + default: *632 + '301': *449 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88193,9 +88234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - 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. @@ -88221,13 +88262,13 @@ paths: application/json: schema: type: array - items: *421 + items: *424 examples: - default: *423 + default: *426 headers: Link: *40 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88245,9 +88286,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: true content: @@ -88279,16 +88320,16 @@ paths: description: Response content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '201': description: Response content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -88310,10 +88351,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *432 - - *433 - - *632 - - *424 + - *435 + - *436 + - *633 + - *427 responses: '204': description: Response @@ -88342,9 +88383,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: true content: @@ -88366,9 +88407,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 + default: *632 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -88401,9 +88442,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - *17 - *19 responses: @@ -88413,13 +88454,13 @@ paths: application/json: schema: type: array - items: *185 + items: *191 examples: - default: *634 + default: *635 headers: Link: *40 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88447,9 +88488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: true content: @@ -88476,16 +88517,16 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 + default: *632 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *443 + '410': *446 '422': *15 '404': *6 x-github: @@ -88505,9 +88546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 requestBody: required: true content: @@ -88538,13 +88579,13 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *631 + default: *632 '403': *29 '404': *6 '422': *7 - '503': *160 + '503': *166 x-github: triggersNotification: true githubCloudOnly: false @@ -88562,9 +88603,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *432 - - *433 - - *632 + - *435 + - *436 + - *633 - *17 - *19 responses: @@ -88579,7 +88620,6 @@ paths: description: Timeline Event type: object anyOf: - - *637 - *638 - *639 - *640 @@ -88592,6 +88632,7 @@ paths: - *647 - *648 - *649 + - *650 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -88634,7 +88675,7 @@ paths: issue_url: type: string format: uri - author_association: *172 + author_association: *178 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -88644,9 +88685,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 - reactions: *173 + properties: *176 + required: *177 + reactions: *179 required: - event - actor @@ -88677,7 +88718,7 @@ paths: properties: type: type: string - issue: *185 + issue: *191 required: - event - created_at @@ -88877,7 +88918,7 @@ paths: type: string body_text: type: string - author_association: *172 + author_association: *178 required: - event - id @@ -88900,7 +88941,7 @@ paths: type: string comments: type: array - items: &669 + items: &670 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -88989,7 +89030,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *172 + author_association: *178 _links: type: object properties: @@ -89073,7 +89114,7 @@ paths: enum: - line - file - reactions: *173 + reactions: *179 body_html: type: string example: '"

comment body

"' @@ -89109,7 +89150,7 @@ paths: type: string comments: type: array - items: *552 + items: *553 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -89140,8 +89181,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 assignee: *4 required: - id @@ -89184,8 +89225,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 assignee: *4 required: - id @@ -89228,8 +89269,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 state_reason: type: string nullable: true @@ -89398,7 +89439,7 @@ paths: headers: Link: *40 '404': *6 - '410': *443 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89415,8 +89456,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -89426,7 +89467,7 @@ paths: application/json: schema: type: array - items: &650 + items: &651 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -89492,8 +89533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -89529,9 +89570,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: &651 + default: &652 value: id: 1 key: ssh-rsa AAA... @@ -89565,9 +89606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *432 - - *433 - - &652 + - *435 + - *436 + - &653 name: key_id description: The unique identifier of the key. in: path @@ -89579,9 +89620,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: *651 + default: *652 '404': *6 x-github: githubCloudOnly: false @@ -89599,9 +89640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *432 - - *433 - - *652 + - *435 + - *436 + - *653 responses: '204': description: Response @@ -89621,8 +89662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -89632,9 +89673,9 @@ paths: application/json: schema: type: array - items: *635 + items: *636 examples: - default: *636 + default: *637 headers: Link: *40 '404': *6 @@ -89655,8 +89696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -89692,9 +89733,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: &653 + default: &654 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -89726,8 +89767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *432 - - *433 + - *435 + - *436 - name: name in: path required: true @@ -89738,9 +89779,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: *653 + default: *654 '404': *6 x-github: githubCloudOnly: false @@ -89757,8 +89798,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *432 - - *433 + - *435 + - *436 - name: name in: path required: true @@ -89797,7 +89838,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: default: value: @@ -89823,8 +89864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *432 - - *433 + - *435 + - *436 - name: name in: path required: true @@ -89850,8 +89891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -89887,8 +89928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '202': *39 '403': @@ -89916,8 +89957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -89943,9 +89984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *432 - - *433 - - *528 + - *435 + - *436 + - *529 responses: '200': description: Response @@ -90007,8 +90048,8 @@ paths: title: License Simple description: License Simple type: object - properties: *186 - required: *187 + properties: *192 + required: *193 nullable: true required: - _links @@ -90090,8 +90131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -90156,8 +90197,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -90191,9 +90232,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *553 + schema: *554 examples: - default: *654 + default: *655 '204': description: Response when already merged '404': @@ -90218,8 +90259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *432 - - *433 + - *435 + - *436 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -90260,12 +90301,12 @@ paths: application/json: schema: type: array - items: &655 + items: &656 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *367 - required: *368 + properties: *370 + required: *371 examples: default: value: @@ -90321,8 +90362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -90362,9 +90403,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *656 examples: - default: &656 + default: &657 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -90423,9 +90464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *432 - - *433 - - &657 + - *435 + - *436 + - &658 name: milestone_number description: The number that identifies the milestone. in: path @@ -90437,9 +90478,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *656 examples: - default: *656 + default: *657 '404': *6 x-github: githubCloudOnly: false @@ -90456,9 +90497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *432 - - *433 - - *657 + - *435 + - *436 + - *658 requestBody: required: false content: @@ -90496,9 +90537,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *656 examples: - default: *656 + default: *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90514,9 +90555,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *432 - - *433 - - *657 + - *435 + - *436 + - *658 responses: '204': description: Response @@ -90537,9 +90578,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *432 - - *433 - - *657 + - *435 + - *436 + - *658 - *17 - *19 responses: @@ -90549,9 +90590,9 @@ paths: application/json: schema: type: array - items: *635 + items: *636 examples: - default: *636 + default: *637 headers: Link: *40 x-github: @@ -90570,12 +90611,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *432 - - *433 - - *658 + - *435 + - *436 - *659 - - *175 - *660 + - *181 + - *661 - *17 - *19 responses: @@ -90585,9 +90626,9 @@ paths: application/json: schema: type: array - items: *198 + items: *204 examples: - default: *661 + default: *662 headers: Link: *40 x-github: @@ -90611,8 +90652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: false content: @@ -90670,14 +90711,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: &662 + schema: &663 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -90802,7 +90843,7 @@ paths: - custom_404 - public examples: - default: &663 + default: &664 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -90843,8 +90884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -90898,11 +90939,11 @@ paths: description: Response content: application/json: - schema: *662 + schema: *663 examples: - default: *663 + default: *664 '422': *15 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90923,8 +90964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -91010,7 +91051,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91031,14 +91072,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response '422': *15 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91058,8 +91099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -91069,7 +91110,7 @@ paths: application/json: schema: type: array - items: &664 + items: &665 title: Page Build description: Page Build type: object @@ -91163,8 +91204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *432 - - *433 + - *435 + - *436 responses: '201': description: Response @@ -91209,16 +91250,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: &665 + default: &666 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -91266,8 +91307,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *432 - - *433 + - *435 + - *436 - name: build_id in: path required: true @@ -91278,9 +91319,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: *665 + default: *666 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91300,8 +91341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -91406,9 +91447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *432 - - *433 - - &666 + - *435 + - *436 + - &667 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -91466,11 +91507,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *432 - - *433 - - *666 + - *435 + - *436 + - *667 responses: - '204': *126 + '204': *132 '404': *6 x-github: githubCloudOnly: false @@ -91495,8 +91536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -91727,7 +91768,7 @@ paths: description: Empty response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -91754,8 +91795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Private vulnerability reporting status @@ -91792,10 +91833,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: - '204': *126 + '204': *132 '422': *14 x-github: githubCloudOnly: false @@ -91814,10 +91855,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: - '204': *126 + '204': *132 '422': *14 x-github: githubCloudOnly: false @@ -91838,8 +91879,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *432 - - *433 + - *435 + - *436 - name: state description: Indicates the state of the projects to return. in: query @@ -91860,7 +91901,7 @@ paths: application/json: schema: type: array - items: *361 + items: *364 examples: default: value: @@ -91900,7 +91941,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *443 + '410': *446 '422': *7 x-github: githubCloudOnly: false @@ -91923,8 +91964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -91950,13 +91991,13 @@ paths: description: Response content: application/json: - schema: *361 + schema: *364 examples: - default: *442 + default: *445 '401': *25 '403': *29 '404': *6 - '410': *443 + '410': *446 '422': *7 x-github: githubCloudOnly: false @@ -91979,8 +92020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -91988,7 +92029,7 @@ paths: application/json: schema: type: array - items: *375 + items: *378 examples: default: value: @@ -92019,8 +92060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -92032,7 +92073,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *375 + items: *378 required: - properties examples: @@ -92082,8 +92123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *432 - - *433 + - *435 + - *436 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -92143,9 +92184,9 @@ paths: application/json: schema: type: array - items: *557 + items: *558 examples: - default: *667 + default: *668 headers: Link: *40 '304': *37 @@ -92177,8 +92218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -92243,7 +92284,7 @@ paths: description: Response content: application/json: - schema: &671 + schema: &672 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -92354,8 +92395,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *367 - required: *368 + properties: *370 + required: *371 nullable: true active_lock_reason: type: string @@ -92400,7 +92441,7 @@ paths: nullable: true requested_teams: type: array - items: *399 + items: *402 nullable: true head: type: object @@ -92439,14 +92480,14 @@ paths: _links: type: object properties: - comments: *369 - commits: *369 - statuses: *369 - html: *369 - issue: *369 - review_comments: *369 - review_comment: *369 - self: *369 + comments: *372 + commits: *372 + statuses: *372 + html: *372 + issue: *372 + review_comments: *372 + review_comment: *372 + self: *372 required: - comments - commits @@ -92456,8 +92497,8 @@ paths: - review_comments - review_comment - self - author_association: *172 - auto_merge: *668 + author_association: *178 + auto_merge: *669 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -92549,7 +92590,7 @@ paths: - merged_by - review_comments examples: - default: &672 + default: &673 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -93076,8 +93117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - name: sort in: query required: false @@ -93096,7 +93137,7 @@ paths: enum: - asc - desc - - *175 + - *181 - *17 - *19 responses: @@ -93106,9 +93147,9 @@ paths: application/json: schema: type: array - items: *669 + items: *670 examples: - default: &674 + default: &675 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -93185,17 +93226,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 responses: '200': description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: &670 + default: &671 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -93270,9 +93311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 requestBody: required: true content: @@ -93294,9 +93335,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: *670 + default: *671 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93312,9 +93353,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 responses: '204': description: Response @@ -93335,9 +93376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 - 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. @@ -93363,9 +93404,9 @@ paths: application/json: schema: type: array - items: *421 + items: *424 examples: - default: *423 + default: *426 headers: Link: *40 '404': *6 @@ -93386,9 +93427,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *432 - - *433 - - *184 + - *435 + - *436 + - *190 requestBody: required: true content: @@ -93420,16 +93461,16 @@ paths: description: Reaction exists content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '201': description: Reaction created content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -93451,10 +93492,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *432 - - *433 - - *184 - - *424 + - *435 + - *436 + - *190 + - *427 responses: '204': description: Response @@ -93497,9 +93538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *432 - - *433 - - &673 + - *435 + - *436 + - &674 name: pull_number description: The number that identifies the pull request. in: path @@ -93512,9 +93553,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *671 + schema: *672 examples: - default: *672 + default: *673 '304': *37 '404': *6 '406': @@ -93523,7 +93564,7 @@ paths: application/json: schema: *3 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93549,9 +93590,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 requestBody: required: false content: @@ -93593,9 +93634,9 @@ paths: description: Response content: application/json: - schema: *671 + schema: *672 examples: - default: *672 + default: *673 '422': *15 '403': *29 x-github: @@ -93617,9 +93658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 requestBody: required: true content: @@ -93679,21 +93720,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '401': *25 '403': *29 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93719,10 +93760,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *432 - - *433 - - *673 - - *195 + - *435 + - *436 + - *674 + - *201 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -93732,7 +93773,7 @@ paths: enum: - asc - desc - - *175 + - *181 - *17 - *19 responses: @@ -93742,9 +93783,9 @@ paths: application/json: schema: type: array - items: *669 + items: *670 examples: - default: *674 + default: *675 headers: Link: *40 x-github: @@ -93777,9 +93818,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 requestBody: required: true content: @@ -93884,7 +93925,7 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: example-for-a-multi-line-comment: value: @@ -93972,10 +94013,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *432 - - *433 - - *673 - - *184 + - *435 + - *436 + - *674 + - *190 requestBody: required: true content: @@ -93997,7 +94038,7 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: default: value: @@ -94083,9 +94124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 - *17 - *19 responses: @@ -94095,9 +94136,9 @@ paths: application/json: schema: type: array - items: *553 + items: *554 examples: - default: *675 + default: *676 headers: Link: *40 x-github: @@ -94127,9 +94168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 - *17 - *19 responses: @@ -94139,7 +94180,7 @@ paths: application/json: schema: type: array - items: *566 + items: *567 examples: default: value: @@ -94158,7 +94199,7 @@ paths: Link: *40 '422': *15 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94177,9 +94218,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 responses: '204': description: Response if pull request has been merged @@ -94202,9 +94243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 requestBody: required: false content: @@ -94315,9 +94356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 responses: '200': description: Response @@ -94333,7 +94374,7 @@ paths: items: *4 teams: type: array - items: *266 + items: *269 required: - users - teams @@ -94392,9 +94433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 requestBody: required: false content: @@ -94431,7 +94472,7 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: default: value: @@ -94967,9 +95008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 requestBody: required: true content: @@ -95003,7 +95044,7 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: default: value: @@ -95508,9 +95549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 - *17 - *19 responses: @@ -95520,7 +95561,7 @@ paths: application/json: schema: type: array - items: &676 + items: &677 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -95589,7 +95630,7 @@ paths: type: string body_text: type: string - author_association: *172 + author_association: *178 required: - id - node_id @@ -95671,9 +95712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 requestBody: required: false content: @@ -95759,9 +95800,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *677 examples: - default: &678 + default: &679 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -95824,10 +95865,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *432 - - *433 - - *673 - - &677 + - *435 + - *436 + - *674 + - &678 name: review_id description: The unique identifier of the review. in: path @@ -95839,9 +95880,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *677 examples: - default: &679 + default: &680 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -95900,10 +95941,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *432 - - *433 - - *673 - - *677 + - *435 + - *436 + - *674 + - *678 requestBody: required: true content: @@ -95926,7 +95967,7 @@ paths: description: Response content: application/json: - schema: *676 + schema: *677 examples: default: value: @@ -95988,18 +96029,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *432 - - *433 - - *673 - - *677 + - *435 + - *436 + - *674 + - *678 responses: '200': description: Response content: application/json: - schema: *676 + schema: *677 examples: - default: *678 + default: *679 '422': *7 '404': *6 x-github: @@ -96026,10 +96067,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *432 - - *433 - - *673 - - *677 + - *435 + - *436 + - *674 + - *678 - *17 - *19 responses: @@ -96108,13 +96149,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *172 + author_association: *178 _links: type: object properties: - self: *369 - html: *369 - pull_request: *369 + self: *372 + html: *372 + pull_request: *372 required: - self - html @@ -96123,7 +96164,7 @@ paths: type: string body_html: type: string - reactions: *173 + reactions: *179 side: description: The side of the first line of the range for a multi-line comment. @@ -96264,10 +96305,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *432 - - *433 - - *673 - - *677 + - *435 + - *436 + - *674 + - *678 requestBody: required: true content: @@ -96295,7 +96336,7 @@ paths: description: Response content: application/json: - schema: *676 + schema: *677 examples: default: value: @@ -96358,10 +96399,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *432 - - *433 - - *673 - - *677 + - *435 + - *436 + - *674 + - *678 requestBody: required: true content: @@ -96396,9 +96437,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *677 examples: - default: *679 + default: *680 '404': *6 '422': *7 '403': *29 @@ -96420,9 +96461,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *432 - - *433 - - *673 + - *435 + - *436 + - *674 requestBody: required: false content: @@ -96485,8 +96526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *432 - - *433 + - *435 + - *436 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -96499,9 +96540,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *681 examples: - default: &681 + default: &682 value: type: file encoding: base64 @@ -96543,8 +96584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *432 - - *433 + - *435 + - *436 - name: dir description: The alternate path to look for a README file in: path @@ -96564,9 +96605,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *681 examples: - default: *681 + default: *682 '404': *6 '422': *15 x-github: @@ -96588,8 +96629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -96599,7 +96640,7 @@ paths: application/json: schema: type: array - items: &682 + items: &683 title: Release description: A release. type: object @@ -96670,7 +96711,7 @@ paths: author: *4 assets: type: array - items: &683 + items: &684 title: Release Asset description: Data related to a release. type: object @@ -96745,7 +96786,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *173 + reactions: *179 required: - assets_url - upload_url @@ -96857,8 +96898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -96934,9 +96975,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *683 examples: - default: &686 + default: &687 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -97041,9 +97082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *432 - - *433 - - &684 + - *435 + - *436 + - &685 name: asset_id description: The unique identifier of the asset. in: path @@ -97055,9 +97096,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: &685 + default: &686 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -97092,7 +97133,7 @@ paths: type: User site_admin: false '404': *6 - '302': *568 + '302': *569 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97108,9 +97149,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *432 - - *433 - - *684 + - *435 + - *436 + - *685 requestBody: required: false content: @@ -97138,9 +97179,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: *685 + default: *686 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97156,9 +97197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *432 - - *433 - - *684 + - *435 + - *436 + - *685 responses: '204': description: Response @@ -97182,8 +97223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -97268,16 +97309,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *682 + schema: *683 examples: - default: *686 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97294,8 +97335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *432 - - *433 + - *435 + - *436 - name: tag description: tag parameter in: path @@ -97308,9 +97349,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *683 examples: - default: *686 + default: *687 '404': *6 x-github: githubCloudOnly: false @@ -97332,9 +97373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *432 - - *433 - - &687 + - *435 + - *436 + - &688 name: release_id description: The unique identifier of the release. in: path @@ -97348,9 +97389,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *682 + schema: *683 examples: - default: *686 + default: *687 '401': description: Unauthorized x-github: @@ -97368,9 +97409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *432 - - *433 - - *687 + - *435 + - *436 + - *688 requestBody: required: false content: @@ -97434,9 +97475,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *683 examples: - default: *686 + default: *687 '404': description: Not Found if the discussion category name is invalid content: @@ -97457,9 +97498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *432 - - *433 - - *687 + - *435 + - *436 + - *688 responses: '204': description: Response @@ -97479,9 +97520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *432 - - *433 - - *687 + - *435 + - *436 + - *688 - *17 - *19 responses: @@ -97491,7 +97532,7 @@ paths: application/json: schema: type: array - items: *683 + items: *684 examples: default: value: @@ -97573,9 +97614,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *432 - - *433 - - *687 + - *435 + - *436 + - *688 - name: name in: query required: true @@ -97601,7 +97642,7 @@ paths: description: Response for successful upload content: application/json: - schema: *683 + schema: *684 examples: response-for-successful-upload: value: @@ -97656,9 +97697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *432 - - *433 - - *687 + - *435 + - *436 + - *688 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -97682,9 +97723,9 @@ paths: application/json: schema: type: array - items: *421 + items: *424 examples: - default: *423 + default: *426 headers: Link: *40 '404': *6 @@ -97705,9 +97746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *432 - - *433 - - *687 + - *435 + - *436 + - *688 requestBody: required: true content: @@ -97737,16 +97778,16 @@ paths: description: Reaction exists content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '201': description: Reaction created content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -97768,10 +97809,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *432 - - *433 - - *687 - - *424 + - *435 + - *436 + - *688 + - *427 responses: '204': description: Response @@ -97795,9 +97836,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *432 - - *433 - - *491 + - *435 + - *436 + - *494 - *17 - *19 responses: @@ -97813,8 +97854,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *135 - - &688 + - *141 + - &689 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -97833,66 +97874,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *136 - - *688 - - allOf: - - *137 - - *688 - - allOf: - - *138 - - *688 - - allOf: - - *689 - - *688 - - allOf: - - *139 - - *688 - - allOf: - - *140 - - *688 - - allOf: - - *141 - - *688 - allOf: - *142 - - *688 + - *689 - allOf: - *143 - - *688 + - *689 - allOf: - *144 - - *688 + - *689 + - allOf: + - *690 + - *689 - allOf: - *145 - - *688 + - *689 - allOf: - *146 - - *688 + - *689 - allOf: - *147 - - *688 + - *689 - allOf: - *148 - - *688 + - *689 - allOf: - *149 - - *688 + - *689 - allOf: - *150 - - *688 + - *689 - allOf: - *151 - - *688 + - *689 - allOf: - *152 - - *688 + - *689 - allOf: - *153 - - *688 + - *689 - allOf: - *154 - - *688 + - *689 + - allOf: + - *155 + - *689 + - allOf: + - *156 + - *689 + - allOf: + - *157 + - *689 + - allOf: + - *158 + - *689 + - allOf: + - *159 + - *689 + - allOf: + - *160 + - *689 examples: default: value: @@ -97931,8 +97972,8 @@ paths: category: repos subcategory: rules parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 - name: includes_parents @@ -97943,7 +97984,7 @@ paths: schema: type: boolean default: true - - *690 + - *691 responses: '200': description: Response @@ -97951,7 +97992,7 @@ paths: application/json: schema: type: array - items: *155 + items: *161 examples: default: value: @@ -97998,8 +98039,8 @@ paths: category: repos subcategory: rules parameters: - - *432 - - *433 + - *435 + - *436 requestBody: description: Request body required: true @@ -98019,16 +98060,16 @@ paths: - tag - push default: branch - enforcement: *133 + enforcement: *139 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *134 - conditions: *129 + items: *140 + conditions: *135 rules: type: array description: An array of rules within the ruleset. - items: *691 + items: *692 required: - name - enforcement @@ -98059,9 +98100,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *161 examples: - default: &700 + default: &701 value: id: 42 name: super cool ruleset @@ -98108,12 +98149,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *432 - - *433 - - *692 - - *260 + - *435 + - *436 - *693 + - *95 - *694 + - *695 - *17 - *19 responses: @@ -98121,9 +98162,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *696 examples: - default: *696 + default: *697 '404': *6 '500': *91 x-github: @@ -98144,17 +98185,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *432 - - *433 - - *697 + - *435 + - *436 + - *698 responses: '200': description: Response content: application/json: - schema: *698 + schema: *699 examples: - default: *699 + default: *700 '404': *6 '500': *91 x-github: @@ -98182,8 +98223,8 @@ paths: category: repos subcategory: rules parameters: - - *432 - - *433 + - *435 + - *436 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98203,9 +98244,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *161 examples: - default: *700 + default: *701 '404': *6 '500': *91 put: @@ -98223,8 +98264,8 @@ paths: category: repos subcategory: rules parameters: - - *432 - - *433 + - *435 + - *436 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98249,16 +98290,16 @@ paths: - branch - tag - push - enforcement: *133 + enforcement: *139 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *134 - conditions: *129 + items: *140 + conditions: *135 rules: description: An array of rules within the ruleset. type: array - items: *691 + items: *692 examples: default: value: @@ -98286,9 +98327,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *161 examples: - default: *700 + default: *701 '404': *6 '500': *91 delete: @@ -98306,8 +98347,8 @@ paths: category: repos subcategory: rules parameters: - - *432 - - *433 + - *435 + - *436 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98330,8 +98371,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 - name: ruleset_id @@ -98347,9 +98388,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - default: *384 + default: *387 '404': *6 '500': *91 x-github: @@ -98368,8 +98409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *432 - - *433 + - *435 + - *436 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98387,7 +98428,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *388 examples: default: value: @@ -98442,21 +98483,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *432 - - *433 - - *386 - - *387 - - *388 + - *435 + - *436 - *389 - - *94 - - *19 - - *17 - - *701 - - *702 - *390 - *391 - *392 + - *100 + - *19 + - *17 + - *702 + - *703 - *393 + - *394 + - *395 + - *396 responses: '200': description: Response @@ -98464,11 +98505,11 @@ paths: application/json: schema: type: array - items: &706 + items: &707 type: object properties: - number: *106 - created_at: *113 + number: *112 + created_at: *119 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -98476,15 +98517,15 @@ paths: format: date-time readOnly: true nullable: true - url: *111 - html_url: *112 + url: *117 + html_url: *118 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *703 - resolution: *704 + state: *704 + resolution: *705 resolved_at: type: string format: date-time @@ -98580,7 +98621,7 @@ paths: pull request. ' - oneOf: *705 + oneOf: *706 nullable: true has_more_locations: type: boolean @@ -98681,7 +98722,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98703,16 +98744,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *432 - - *433 - - *522 - - *393 + - *435 + - *436 + - *523 + - *396 responses: '200': description: Response content: application/json: - schema: *706 + schema: *707 examples: default: value: @@ -98743,7 +98784,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98764,9 +98805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *432 - - *433 - - *522 + - *435 + - *436 + - *523 requestBody: required: true content: @@ -98774,8 +98815,8 @@ paths: schema: type: object properties: - state: *703 - resolution: *704 + state: *704 + resolution: *705 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -98793,7 +98834,7 @@ paths: description: Response content: application/json: - schema: *706 + schema: *707 examples: default: value: @@ -98846,7 +98887,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *160 + '503': *166 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -98868,9 +98909,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *432 - - *433 - - *522 + - *435 + - *436 + - *523 - *19 - *17 responses: @@ -98881,7 +98922,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &889 + items: &890 type: object properties: type: @@ -98907,7 +98948,6 @@ paths: example: commit details: oneOf: - - *707 - *708 - *709 - *710 @@ -98920,6 +98960,7 @@ paths: - *717 - *718 - *719 + - *720 examples: default: value: @@ -98983,7 +99024,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99005,8 +99046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -99014,14 +99055,14 @@ paths: schema: type: object properties: - reason: &721 + reason: &722 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *720 + placeholder_id: *721 required: - reason - placeholder_id @@ -99038,7 +99079,7 @@ paths: schema: type: object properties: - reason: *721 + reason: *722 expire_at: type: string format: date-time @@ -99061,7 +99102,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *160 + '503': *166 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -99081,13 +99122,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *160 + '503': *166 '200': description: Response content: @@ -99097,7 +99138,7 @@ paths: properties: incremental_scans: type: array - items: &722 + items: &723 description: Information on a single scan performed by secret scanning on the repository type: object @@ -99123,15 +99164,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *722 + items: *723 backfill_scans: type: array - items: *722 + items: *723 custom_pattern_backfill_scans: type: array items: allOf: - - *722 + - *723 - type: object properties: pattern_name: @@ -99201,9 +99242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *432 - - *433 - - *94 + - *435 + - *436 + - *100 - name: sort description: The property to sort the results by. in: query @@ -99215,8 +99256,8 @@ paths: - updated - published default: created - - *92 - - *93 + - *98 + - *99 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -99246,9 +99287,9 @@ paths: application/json: schema: type: array - items: *723 + items: *724 examples: - default: *724 + default: *725 '400': *14 '404': *6 x-github: @@ -99271,8 +99312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -99345,7 +99386,7 @@ paths: login: type: string description: The username of the user credited. - type: *398 + type: *401 required: - login - type @@ -99432,9 +99473,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *724 examples: - default: &726 + default: &727 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -99667,8 +99708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -99772,7 +99813,7 @@ paths: description: Response content: application/json: - schema: *723 + schema: *724 examples: default: value: @@ -99919,17 +99960,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *432 - - *433 - - *725 + - *435 + - *436 + - *726 responses: '200': description: Response content: application/json: - schema: *723 + schema: *724 examples: - default: *726 + default: *727 '403': *29 '404': *6 x-github: @@ -99953,9 +99994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *432 - - *433 - - *725 + - *435 + - *436 + - *726 requestBody: required: true content: @@ -100028,7 +100069,7 @@ paths: login: type: string description: The username of the user credited. - type: *398 + type: *401 required: - login - type @@ -100114,17 +100155,17 @@ paths: description: Response content: application/json: - schema: *723 + schema: *724 examples: - default: *726 - add_credit: *726 + default: *727 + add_credit: *727 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *212 + schema: *218 examples: invalid_state_transition: value: @@ -100155,9 +100196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *432 - - *433 - - *725 + - *435 + - *436 + - *726 responses: '202': *39 '400': *14 @@ -100184,17 +100225,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *432 - - *433 - - *725 + - *435 + - *436 + - *726 responses: '202': description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *447 + default: *450 '400': *14 '422': *15 '403': *29 @@ -100220,8 +100261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -100320,8 +100361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -100330,7 +100371,7 @@ paths: application/json: schema: type: array - items: &727 + items: &728 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -100343,7 +100384,7 @@ paths: - 1124 - -435 '202': *39 - '204': *126 + '204': *132 '422': description: Repository contains more than 10,000 commits x-github: @@ -100363,8 +100404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -100413,7 +100454,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *126 + '204': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100440,8 +100481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -100515,7 +100556,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *126 + '204': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100537,8 +100578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -100692,8 +100733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -100703,7 +100744,7 @@ paths: application/json: schema: type: array - items: *727 + items: *728 examples: default: value: @@ -100716,7 +100757,7 @@ paths: - - 0 - 2 - 21 - '204': *126 + '204': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100736,8 +100777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *432 - - *433 + - *435 + - *436 - name: sha in: path required: true @@ -100791,7 +100832,7 @@ paths: description: Response content: application/json: - schema: *728 + schema: *729 examples: default: value: @@ -100845,8 +100886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -100858,7 +100899,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 x-github: @@ -100878,14 +100919,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &729 + schema: &730 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -100953,8 +100994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: false content: @@ -100980,7 +101021,7 @@ paths: description: Response content: application/json: - schema: *729 + schema: *730 examples: default: value: @@ -101007,8 +101048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -101028,8 +101069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -101108,8 +101149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -101117,7 +101158,7 @@ paths: application/json: schema: type: array - items: &730 + items: &731 title: Tag protection description: Tag protection type: object @@ -101169,8 +101210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -101193,7 +101234,7 @@ paths: description: Response content: application/json: - schema: *730 + schema: *731 examples: default: value: @@ -101224,8 +101265,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -101262,8 +101303,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *432 - - *433 + - *435 + - *436 - name: ref in: path required: true @@ -101299,8 +101340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *432 - - *433 + - *435 + - *436 - *17 - *19 responses: @@ -101310,9 +101351,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *344 + default: *347 headers: Link: *40 '404': *6 @@ -101332,8 +101373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *432 - - *433 + - *435 + - *436 - *19 - *17 responses: @@ -101341,7 +101382,7 @@ paths: description: Response content: application/json: - schema: &731 + schema: &732 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -101353,7 +101394,7 @@ paths: required: - names examples: - default: &732 + default: &733 value: names: - octocat @@ -101376,8 +101417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -101408,9 +101449,9 @@ paths: description: Response content: application/json: - schema: *731 + schema: *732 examples: - default: *732 + default: *733 '404': *6 '422': *7 x-github: @@ -101431,9 +101472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *432 - - *433 - - &733 + - *435 + - *436 + - &734 name: per description: The time frame to display results for. in: query @@ -101462,7 +101503,7 @@ paths: example: 128 clones: type: array - items: &734 + items: &735 title: Traffic type: object properties: @@ -101549,8 +101590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -101640,8 +101681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *432 - - *433 + - *435 + - *436 responses: '200': description: Response @@ -101701,9 +101742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *432 - - *433 - - *733 + - *435 + - *436 + - *734 responses: '200': description: Response @@ -101722,7 +101763,7 @@ paths: example: 3782 views: type: array - items: *734 + items: *735 required: - uniques - count @@ -101799,8 +101840,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *432 - - *433 + - *435 + - *436 requestBody: required: true content: @@ -101836,7 +101877,7 @@ paths: description: Response content: application/json: - schema: *235 + schema: *241 examples: default: value: @@ -102074,8 +102115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -102098,8 +102139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -102121,8 +102162,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -102148,8 +102189,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *432 - - *433 + - *435 + - *436 - name: ref in: path required: true @@ -102241,9 +102282,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *447 + default: *450 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102284,7 +102325,7 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: default: value: @@ -102394,7 +102435,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &742 + - &743 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -102403,7 +102444,7 @@ paths: schema: type: string example: members - - &747 + - &748 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -102414,7 +102455,7 @@ paths: default: 1 format: int32 example: 1 - - &748 + - &749 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -102456,7 +102497,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &737 + items: &738 allOf: - type: object required: @@ -102531,7 +102572,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &749 + meta: &750 type: object description: The metadata associated with the creation/updates to the user. @@ -102591,30 +102632,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &738 + '400': &739 description: Bad request content: application/json: - schema: *735 + schema: *736 application/scim+json: - schema: *735 - '401': *736 - '403': &739 + schema: *736 + '401': *737 + '403': &740 description: Permission denied - '429': &740 + '429': &741 description: Too many requests content: application/json: - schema: *735 + schema: *736 application/scim+json: - schema: *735 - '500': &741 + schema: *736 + '500': &742 description: Internal server error content: application/json: - schema: *735 + schema: *736 application/scim+json: - schema: *735 + schema: *736 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102638,7 +102679,7 @@ paths: required: true content: application/json: - schema: &745 + schema: &746 type: object required: - schemas @@ -102698,9 +102739,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *737 + schema: *738 examples: - group: &743 + group: &744 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -102719,13 +102760,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *738 - '401': *736 - '403': *739 - '409': &746 + '400': *739 + '401': *737 + '403': *740 + '409': &747 description: Duplicate record detected - '429': *740 - '500': *741 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102742,7 +102783,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &744 + - &745 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -102750,22 +102791,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *742 + - *743 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *737 + schema: *738 examples: - default: *743 - '400': *738 - '401': *736 - '403': *739 + default: *744 + '400': *739 + '401': *737 + '403': *740 '404': *6 - '429': *740 - '500': *741 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102784,13 +102825,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *744 + - *745 - *41 requestBody: required: true content: application/json: - schema: *745 + schema: *746 examples: group: summary: Group @@ -102816,17 +102857,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *737 + schema: *738 examples: - group: *743 - groupWithMembers: *743 - '400': *738 - '401': *736 - '403': *739 + group: *744 + groupWithMembers: *744 + '400': *739 + '401': *737 + '403': *740 '404': *6 - '409': *746 - '429': *740 - '500': *741 + '409': *747 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102850,13 +102891,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *744 + - *745 - *41 requestBody: required: true content: application/json: - schema: &756 + schema: &757 type: object required: - Operations @@ -102916,17 +102957,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *737 + schema: *738 examples: - updateGroup: *743 - addMembers: *743 - '400': *738 - '401': *736 - '403': *739 + updateGroup: *744 + addMembers: *744 + '400': *739 + '401': *737 + '403': *740 '404': *6 - '409': *746 - '429': *740 - '500': *741 + '409': *747 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102942,17 +102983,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *744 + - *745 - *41 responses: '204': description: Group was deleted, no content - '400': *738 - '401': *736 - '403': *739 + '400': *739 + '401': *737 + '403': *740 '404': *6 - '429': *740 - '500': *741 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102986,8 +103027,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *747 - *748 + - *749 - *41 responses: '200': @@ -103020,7 +103061,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &751 + items: &752 allOf: - type: object required: @@ -103099,7 +103140,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &750 + roles: &751 type: array description: The roles assigned to the user. items: @@ -103155,7 +103196,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *749 + meta: *750 startIndex: type: integer description: A starting index for the returned page @@ -103192,11 +103233,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *738 - '401': *736 - '403': *739 - '429': *740 - '500': *741 + '400': *739 + '401': *737 + '403': *740 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103220,7 +103261,7 @@ paths: required: true content: application/json: - schema: &754 + schema: &755 type: object required: - schemas @@ -103302,9 +103343,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *750 + roles: *751 examples: - user: &755 + user: &756 summary: User value: schemas: @@ -103351,9 +103392,9 @@ paths: description: User has been created content: application/scim+json: - schema: *751 + schema: *752 examples: - user: &752 + user: &753 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -103379,13 +103420,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *752 - '400': *738 - '401': *736 - '403': *739 - '409': *746 - '429': *740 - '500': *741 + enterpriseOwner: *753 + '400': *739 + '401': *737 + '403': *740 + '409': *747 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103402,7 +103443,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &753 + - &754 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -103415,15 +103456,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *751 + schema: *752 examples: - default: *752 - '400': *738 - '401': *736 - '403': *739 + default: *753 + '400': *739 + '401': *737 + '403': *740 '404': *6 - '429': *740 - '500': *741 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103445,30 +103486,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *753 + - *754 - *41 requestBody: required: true content: application/json: - schema: *754 + schema: *755 examples: - user: *755 + user: *756 responses: '200': description: User was updated content: application/scim+json: - schema: *751 + schema: *752 examples: - user: *752 - '400': *738 - '401': *736 - '403': *739 + user: *753 + '400': *739 + '401': *737 + '403': *740 '404': *6 - '409': *746 - '429': *740 - '500': *741 + '409': *747 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103503,13 +103544,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *753 + - *754 - *41 requestBody: required: true content: application/json: - schema: *756 + schema: *757 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -103549,18 +103590,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *751 + schema: *752 examples: - userMultiValuedProperties: *752 - userSingleValuedProperties: *752 - disableUser: *752 - '400': *738 - '401': *736 - '403': *739 + userMultiValuedProperties: *753 + userSingleValuedProperties: *753 + disableUser: *753 + '400': *739 + '401': *737 + '403': *740 '404': *6 - '409': *746 - '429': *740 - '500': *741 + '409': *747 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103580,17 +103621,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *753 + - *754 - *41 responses: '204': description: User was deleted, no content - '400': *738 - '401': *736 - '403': *739 + '400': *739 + '401': *737 + '403': *740 '404': *6 - '429': *740 - '500': *741 + '429': *741 + '500': *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103677,7 +103718,7 @@ paths: example: 1 Resources: type: array - items: &757 + items: &758 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -103908,22 +103949,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &758 + '404': &759 description: Resource not found content: application/json: - schema: *735 + schema: *736 application/scim+json: - schema: *735 - '403': &759 + schema: *736 + '403': &760 description: Forbidden content: application/json: - schema: *735 + schema: *736 application/scim+json: - schema: *735 - '400': *738 - '429': *740 + schema: *736 + '400': *739 + '429': *741 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -103949,9 +103990,9 @@ paths: description: Response content: application/scim+json: - schema: *757 + schema: *758 examples: - default: &760 + default: &761 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -103974,17 +104015,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *758 - '403': *759 - '500': *741 + '404': *759 + '403': *760 + '500': *742 '409': description: Conflict content: application/json: - schema: *735 + schema: *736 application/scim+json: - schema: *735 - '400': *738 + schema: *736 + '400': *739 requestBody: required: true content: @@ -104082,17 +104123,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *76 - - *753 + - *754 responses: '200': description: Response content: application/scim+json: - schema: *757 + schema: *758 examples: - default: *760 - '404': *758 - '403': *759 + default: *761 + '404': *759 + '403': *760 '304': *37 x-github: githubCloudOnly: true @@ -104116,18 +104157,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *76 - - *753 + - *754 responses: '200': description: Response content: application/scim+json: - schema: *757 + schema: *758 examples: - default: *760 + default: *761 '304': *37 - '404': *758 - '403': *759 + '404': *759 + '403': *760 requestBody: required: true content: @@ -104240,19 +104281,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *76 - - *753 + - *754 responses: '200': description: Response content: application/scim+json: - schema: *757 + schema: *758 examples: - default: *760 + default: *761 '304': *37 - '404': *758 - '403': *759 - '400': *738 + '404': *759 + '403': *760 + '400': *739 '429': description: Response content: @@ -104343,12 +104384,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *76 - - *753 + - *754 responses: '204': description: Response - '404': *758 - '403': *759 + '404': *759 + '403': *760 '304': *37 x-github: githubCloudOnly: true @@ -104463,7 +104504,7 @@ paths: html_url: type: string format: uri - repository: *235 + repository: *241 score: type: number file_size: @@ -104481,7 +104522,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &761 + text_matches: &762 title: Search Result Text Matches type: array items: @@ -104595,7 +104636,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *160 + '503': *166 '422': *15 '403': *29 x-github: @@ -104644,7 +104685,7 @@ paths: enum: - author-date - committer-date - - &762 + - &763 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -104715,7 +104756,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *489 + properties: *492 nullable: true comment_count: type: integer @@ -104735,7 +104776,7 @@ paths: url: type: string format: uri - verification: *612 + verification: *613 required: - author - committer @@ -104754,7 +104795,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *489 + properties: *492 nullable: true parents: type: array @@ -104767,12 +104808,12 @@ paths: type: string sha: type: string - repository: *235 + repository: *241 score: type: number node_id: type: string - text_matches: *761 + text_matches: *762 required: - sha - node_id @@ -104955,7 +104996,7 @@ paths: - interactions - created - updated - - *762 + - *763 - *17 - *19 - name: advanced_search @@ -105052,11 +105093,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: type: string state_reason: @@ -105073,8 +105114,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *367 - required: *368 + properties: *370 + required: *371 nullable: true comments: type: integer @@ -105088,7 +105129,7 @@ paths: type: string format: date-time nullable: true - text_matches: *761 + text_matches: *762 pull_request: type: object properties: @@ -105121,7 +105162,7 @@ paths: type: string score: type: number - author_association: *172 + author_association: *178 draft: type: boolean repository: *67 @@ -105132,7 +105173,7 @@ paths: timeline_url: type: string format: uri - type: *327 + type: *330 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -105142,9 +105183,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 - reactions: *173 + properties: *176 + required: *177 + reactions: *179 required: - assignee - closed_at @@ -105260,7 +105301,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *160 + '503': *166 '422': *15 '304': *37 '403': *29 @@ -105316,7 +105357,7 @@ paths: enum: - created - updated - - *762 + - *763 - *17 - *19 responses: @@ -105360,7 +105401,7 @@ paths: nullable: true score: type: number - text_matches: *761 + text_matches: *762 required: - id - node_id @@ -105446,7 +105487,7 @@ paths: - forks - help-wanted-issues - updated - - *762 + - *763 - *17 - *19 responses: @@ -105665,8 +105706,8 @@ paths: title: License Simple description: License Simple type: object - properties: *186 - required: *187 + properties: *192 + required: *193 nullable: true permissions: type: object @@ -105685,7 +105726,7 @@ paths: - admin - pull - push - text_matches: *761 + text_matches: *762 temp_clone_token: type: string allow_merge_commit: @@ -105887,7 +105928,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *160 + '503': *166 '422': *15 '304': *37 x-github: @@ -105986,7 +106027,7 @@ paths: type: string format: uri nullable: true - text_matches: *761 + text_matches: *762 related: type: array nullable: true @@ -106179,7 +106220,7 @@ paths: - followers - repositories - joined - - *762 + - *763 - *17 - *19 responses: @@ -106283,7 +106324,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *761 + text_matches: *762 blog: type: string nullable: true @@ -106342,7 +106383,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *160 + '503': *166 '422': *15 x-github: githubCloudOnly: false @@ -106362,7 +106403,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &766 + - &767 name: team_id description: The unique identifier of the team. in: path @@ -106374,9 +106415,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *416 examples: - default: *414 + default: *417 '404': *6 x-github: githubCloudOnly: false @@ -106403,7 +106444,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *766 + - *767 requestBody: required: true content: @@ -106466,16 +106507,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *413 + schema: *416 examples: - default: *414 + default: *417 '201': description: Response content: application/json: - schema: *413 + schema: *416 examples: - default: *414 + default: *417 '404': *6 '422': *15 '403': *29 @@ -106503,7 +106544,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *766 + - *767 responses: '204': description: Response @@ -106534,8 +106575,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *766 - - *94 + - *767 + - *100 - *17 - *19 responses: @@ -106545,9 +106586,9 @@ paths: application/json: schema: type: array - items: *415 + items: *418 examples: - default: *767 + default: *768 headers: Link: *40 x-github: @@ -106576,7 +106617,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *766 + - *767 requestBody: required: true content: @@ -106610,9 +106651,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: - default: *416 + default: *419 x-github: triggersNotification: true githubCloudOnly: false @@ -106639,16 +106680,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *766 - - *417 + - *767 + - *420 responses: '200': description: Response content: application/json: - schema: *415 + schema: *418 examples: - default: *416 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106673,8 +106714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *766 - - *417 + - *767 + - *420 requestBody: required: false content: @@ -106697,9 +106738,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: - default: *768 + default: *769 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106724,8 +106765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *766 - - *417 + - *767 + - *420 responses: '204': description: Response @@ -106754,9 +106795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *766 - - *417 - - *94 + - *767 + - *420 + - *100 - *17 - *19 responses: @@ -106766,9 +106807,9 @@ paths: application/json: schema: type: array - items: *418 + items: *421 examples: - default: *769 + default: *770 headers: Link: *40 x-github: @@ -106797,8 +106838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *766 - - *417 + - *767 + - *420 requestBody: required: true content: @@ -106820,9 +106861,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *421 examples: - default: *419 + default: *422 x-github: triggersNotification: true githubCloudOnly: false @@ -106849,17 +106890,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *766 - - *417 + - *767 - *420 + - *423 responses: '200': description: Response content: application/json: - schema: *418 + schema: *421 examples: - default: *419 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106884,9 +106925,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *766 - - *417 + - *767 - *420 + - *423 requestBody: required: true content: @@ -106908,9 +106949,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *421 examples: - default: *770 + default: *771 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106935,9 +106976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *766 - - *417 + - *767 - *420 + - *423 responses: '204': description: Response @@ -106966,9 +107007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *766 - - *417 + - *767 - *420 + - *423 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -106994,9 +107035,9 @@ paths: application/json: schema: type: array - items: *421 + items: *424 examples: - default: *423 + default: *426 headers: Link: *40 x-github: @@ -107025,9 +107066,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *766 - - *417 + - *767 - *420 + - *423 requestBody: required: true content: @@ -107059,9 +107100,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107087,8 +107128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *766 - - *417 + - *767 + - *420 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -107114,9 +107155,9 @@ paths: application/json: schema: type: array - items: *421 + items: *424 examples: - default: *423 + default: *426 headers: Link: *40 x-github: @@ -107145,8 +107186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *766 - - *417 + - *767 + - *420 requestBody: required: true content: @@ -107178,9 +107219,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *424 examples: - default: *422 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107204,7 +107245,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *766 + - *767 - *17 - *19 responses: @@ -107214,9 +107255,9 @@ paths: application/json: schema: type: array - items: *324 + items: *327 examples: - default: *325 + default: *328 headers: Link: *40 x-github: @@ -107242,7 +107283,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *766 + - *767 - name: role description: Filters members returned by their role in the team. in: query @@ -107265,7 +107306,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 '404': *6 @@ -107293,8 +107334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *766 - - *257 + - *767 + - *263 responses: '204': description: if user is a member @@ -107330,8 +107371,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *766 - - *257 + - *767 + - *263 responses: '204': description: Response @@ -107370,8 +107411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *766 - - *257 + - *767 + - *263 responses: '204': description: Response @@ -107407,16 +107448,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *766 - - *257 + - *767 + - *263 responses: '200': description: Response content: application/json: - schema: *429 + schema: *432 examples: - response-if-user-is-a-team-maintainer: *771 + response-if-user-is-a-team-maintainer: *772 '404': *6 x-github: githubCloudOnly: false @@ -107449,8 +107490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *766 - - *257 + - *767 + - *263 requestBody: required: false content: @@ -107475,9 +107516,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *432 examples: - response-if-users-membership-with-team-is-now-pending: *772 + response-if-users-membership-with-team-is-now-pending: *773 '403': description: Forbidden if team synchronization is set up '422': @@ -107511,8 +107552,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *766 - - *257 + - *767 + - *263 responses: '204': description: Response @@ -107540,7 +107581,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *766 + - *767 - *17 - *19 responses: @@ -107550,9 +107591,9 @@ paths: application/json: schema: type: array - items: *430 + items: *433 examples: - default: *773 + default: *774 headers: Link: *40 '404': *6 @@ -107578,16 +107619,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *766 - - *431 + - *767 + - *434 responses: '200': description: Response content: application/json: - schema: *430 + schema: *433 examples: - default: *774 + default: *775 '404': description: Not Found if project is not managed by this team x-github: @@ -107611,8 +107652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *766 - - *431 + - *767 + - *434 requestBody: required: false content: @@ -107679,8 +107720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *766 - - *431 + - *767 + - *434 responses: '204': description: Response @@ -107707,7 +107748,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *766 + - *767 - *17 - *19 responses: @@ -107717,9 +107758,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: *351 + default: *354 headers: Link: *40 '404': *6 @@ -107749,15 +107790,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *766 - - *432 - - *433 + - *767 + - *435 + - *436 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *775 + schema: *776 examples: alternative-response-with-extra-repository-information: value: @@ -107908,9 +107949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *766 - - *432 - - *433 + - *767 + - *435 + - *436 requestBody: required: false content: @@ -107960,9 +108001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *766 - - *432 - - *433 + - *767 + - *435 + - *436 responses: '204': description: Response @@ -107991,15 +108032,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *766 + - *767 responses: '200': description: Response content: application/json: - schema: *434 + schema: *437 examples: - default: *435 + default: *438 '403': *29 '404': *6 x-github: @@ -108026,7 +108067,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *766 + - *767 requestBody: required: true content: @@ -108083,7 +108124,7 @@ paths: description: Response content: application/json: - schema: *434 + schema: *437 examples: default: value: @@ -108114,7 +108155,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *766 + - *767 - *17 - *19 responses: @@ -108124,9 +108165,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - response-if-child-teams-exist: *776 + response-if-child-teams-exist: *777 headers: Link: *40 '404': *6 @@ -108159,7 +108200,7 @@ paths: application/json: schema: oneOf: - - &778 + - &779 title: Private User description: Private User type: object @@ -108362,7 +108403,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *777 + - *778 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -108515,7 +108556,7 @@ paths: description: Response content: application/json: - schema: *778 + schema: *779 examples: default: value: @@ -108594,7 +108635,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 '304': *37 '404': *6 '403': *29 @@ -108617,7 +108658,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: - - *257 + - *263 responses: '204': description: If the user is blocked @@ -108645,7 +108686,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *257 + - *263 responses: '204': description: Response @@ -108669,7 +108710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *257 + - *263 responses: '204': description: Response @@ -108718,9 +108759,9 @@ paths: type: integer codespaces: type: array - items: *333 + items: *336 examples: - default: *334 + default: *337 '304': *37 '500': *91 '401': *25 @@ -108859,21 +108900,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '401': *25 '403': *29 '404': *6 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108913,7 +108954,7 @@ paths: type: integer secrets: type: array - items: &779 + items: &780 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -108953,7 +108994,7 @@ paths: - visibility - selected_repositories_url examples: - default: *545 + default: *546 headers: Link: *40 x-github: @@ -109023,13 +109064,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *245 + - *251 responses: '200': description: Response content: application/json: - schema: *779 + schema: *780 examples: default: value: @@ -109059,7 +109100,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: - - *245 + - *251 requestBody: required: true content: @@ -109104,7 +109145,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -109132,7 +109173,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: - - *245 + - *251 responses: '204': description: Response @@ -109157,7 +109198,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: - - *245 + - *251 responses: '200': description: Response @@ -109173,9 +109214,9 @@ paths: type: integer repositories: type: array - items: *235 + items: *241 examples: - default: *780 + default: *781 '401': *25 '403': *29 '404': *6 @@ -109200,7 +109241,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: - - *245 + - *251 requestBody: required: true content: @@ -109254,7 +109295,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: - - *245 + - *251 - name: repository_id in: path required: true @@ -109287,7 +109328,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: - - *245 + - *251 - name: repository_id in: path required: true @@ -109319,15 +109360,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *335 + - *338 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '304': *37 '500': *91 '401': *25 @@ -109353,7 +109394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *335 + - *338 requestBody: required: false content: @@ -109383,9 +109424,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '401': *25 '403': *29 '404': *6 @@ -109407,7 +109448,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *335 + - *338 responses: '202': *39 '304': *37 @@ -109436,13 +109477,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *335 + - *338 responses: '202': description: Response content: application/json: - schema: &781 + schema: &782 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -109483,7 +109524,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &782 + default: &783 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -109515,7 +109556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *335 + - *338 - name: export_id in: path required: true @@ -109528,9 +109569,9 @@ paths: description: Response content: application/json: - schema: *781 + schema: *782 examples: - default: *782 + default: *783 '404': *6 x-github: githubCloudOnly: false @@ -109551,7 +109592,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *335 + - *338 responses: '200': description: Response @@ -109567,9 +109608,9 @@ paths: type: integer machines: type: array - items: *783 + items: *784 examples: - default: *784 + default: *785 '304': *37 '500': *91 '401': *25 @@ -109598,7 +109639,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *335 + - *338 requestBody: required: true content: @@ -109648,13 +109689,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *445 + repository: *448 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *543 - required: *544 + properties: *544 + required: *545 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -110428,15 +110469,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *335 + - *338 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '304': *37 '500': *91 '400': *14 @@ -110448,7 +110489,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *102 + '409': *108 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110468,15 +110509,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *335 + - *338 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: *542 + default: *543 '500': *91 '401': *25 '403': *29 @@ -110506,9 +110547,9 @@ paths: application/json: schema: type: array - items: *345 + items: *348 examples: - default: &796 + default: &797 value: - id: 197 name: hello_docker @@ -110609,7 +110650,7 @@ paths: application/json: schema: type: array - items: &785 + items: &786 title: Email description: Email type: object @@ -110674,9 +110715,9 @@ paths: application/json: schema: type: array - items: *785 + items: *786 examples: - default: &798 + default: &799 value: - email: octocat@github.com verified: true @@ -110751,7 +110792,7 @@ paths: application/json: schema: type: array - items: *785 + items: *786 examples: default: value: @@ -110861,7 +110902,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 '304': *37 @@ -110894,7 +110935,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 '304': *37 @@ -110916,7 +110957,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: - - *257 + - *263 responses: '204': description: if the person is followed by the authenticated user @@ -110946,7 +110987,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *257 + - *263 responses: '204': description: Response @@ -110971,7 +111012,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *257 + - *263 responses: '204': description: Response @@ -111007,7 +111048,7 @@ paths: application/json: schema: type: array - items: &786 + items: &787 title: GPG Key description: A unique encryption key type: object @@ -111138,7 +111179,7 @@ paths: - subkeys - revoked examples: - default: &816 + default: &817 value: - id: 3 name: Octocat's GPG Key @@ -111223,9 +111264,9 @@ paths: description: Response content: application/json: - schema: *786 + schema: *787 examples: - default: &787 + default: &788 value: id: 3 name: Octocat's GPG Key @@ -111282,7 +111323,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &788 + - &789 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -111294,9 +111335,9 @@ paths: description: Response content: application/json: - schema: *786 + schema: *787 examples: - default: *787 + default: *788 '404': *6 '304': *37 '403': *29 @@ -111319,7 +111360,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *788 + - *789 responses: '204': description: Response @@ -111510,7 +111551,7 @@ paths: type: array items: *67 examples: - default: *230 + default: *236 headers: Link: *40 '404': *6 @@ -111535,7 +111576,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *229 + - *235 responses: '204': description: Response @@ -111561,7 +111602,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *229 + - *235 responses: '204': description: Response @@ -111595,12 +111636,12 @@ paths: application/json: schema: anyOf: - - *322 + - *325 - type: object properties: {} additionalProperties: false examples: - default: *323 + default: *326 '204': description: Response when there are no restrictions x-github: @@ -111624,7 +111665,7 @@ paths: required: true content: application/json: - schema: *623 + schema: *624 examples: default: value: @@ -111635,7 +111676,7 @@ paths: description: Response content: application/json: - schema: *322 + schema: *325 examples: default: value: @@ -111716,7 +111757,7 @@ paths: - closed - all default: open - - *330 + - *333 - name: sort description: What to sort results by. in: query @@ -111728,8 +111769,8 @@ paths: - updated - comments default: created - - *94 - - *175 + - *100 + - *181 - *17 - *19 responses: @@ -111739,9 +111780,9 @@ paths: application/json: schema: type: array - items: *185 + items: *191 examples: - default: *331 + default: *334 headers: Link: *40 '404': *6 @@ -111774,7 +111815,7 @@ paths: application/json: schema: type: array - items: &789 + items: &790 title: Key description: Key type: object @@ -111875,9 +111916,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *790 examples: - default: &790 + default: &791 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -111910,15 +111951,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *652 + - *653 responses: '200': description: Response content: application/json: - schema: *789 + schema: *790 examples: - default: *790 + default: *791 '404': *6 '304': *37 '403': *29 @@ -111941,7 +111982,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *652 + - *653 responses: '204': description: Response @@ -111974,7 +112015,7 @@ paths: application/json: schema: type: array - items: &791 + items: &792 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -112031,7 +112072,7 @@ paths: - id - type - login - plan: *189 + plan: *195 required: - billing_cycle - next_billing_date @@ -112042,7 +112083,7 @@ paths: - account - plan examples: - default: &792 + default: &793 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -112104,9 +112145,9 @@ paths: application/json: schema: type: array - items: *791 + items: *792 examples: - default: *792 + default: *793 headers: Link: *40 '304': *37 @@ -112146,7 +112187,7 @@ paths: application/json: schema: type: array - items: *336 + items: *339 examples: default: value: @@ -112254,7 +112295,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: default: value: @@ -112337,7 +112378,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: default: value: @@ -112405,7 +112446,7 @@ paths: application/json: schema: type: array - items: *338 + items: *341 examples: default: value: @@ -112658,7 +112699,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *341 examples: default: value: @@ -112838,7 +112879,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *339 + - *342 - name: exclude in: query required: false @@ -112851,7 +112892,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *341 examples: default: value: @@ -113045,7 +113086,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *339 + - *342 responses: '302': description: Response @@ -113071,7 +113112,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *339 + - *342 responses: '204': description: Response @@ -113100,8 +113141,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *339 - - *793 + - *342 + - *794 responses: '204': description: Response @@ -113125,7 +113166,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *339 + - *342 - *17 - *19 responses: @@ -113135,9 +113176,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: *351 + default: *354 headers: Link: *40 '404': *6 @@ -113174,7 +113215,7 @@ paths: type: array items: *62 examples: - default: *794 + default: *795 headers: Link: *40 '304': *37 @@ -113216,7 +113257,7 @@ paths: - docker - nuget - container - - *795 + - *796 - *19 - *17 responses: @@ -113226,10 +113267,10 @@ paths: application/json: schema: type: array - items: *345 + items: *348 examples: - default: *796 - '400': *797 + default: *797 + '400': *798 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113249,16 +113290,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *347 - - *348 + - *350 + - *351 responses: '200': description: Response content: application/json: - schema: *345 + schema: *348 examples: - default: &817 + default: &818 value: id: 40201 name: octo-name @@ -113371,8 +113412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *347 - - *348 + - *350 + - *351 responses: '204': description: Response @@ -113402,8 +113443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *347 - - *348 + - *350 + - *351 - name: token description: package token schema: @@ -113435,8 +113476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *347 - - *348 + - *350 + - *351 - *19 - *17 - name: state @@ -113456,7 +113497,7 @@ paths: application/json: schema: type: array - items: *349 + items: *352 examples: default: value: @@ -113505,15 +113546,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *347 - - *348 - *350 + - *351 + - *353 responses: '200': description: Response content: application/json: - schema: *349 + schema: *352 examples: default: value: @@ -113549,9 +113590,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *347 - - *348 - *350 + - *351 + - *353 responses: '204': description: Response @@ -113581,9 +113622,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *347 - - *348 - *350 + - *351 + - *353 responses: '204': description: Response @@ -113639,7 +113680,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *364 examples: default: value: @@ -113711,9 +113752,9 @@ paths: application/json: schema: type: array - items: *785 + items: *786 examples: - default: *798 + default: *799 headers: Link: *40 '304': *37 @@ -113826,7 +113867,7 @@ paths: type: array items: *67 examples: - default: &805 + default: &806 summary: Default response value: - id: 1296269 @@ -114130,9 +114171,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *447 + default: *450 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -114170,9 +114211,9 @@ paths: application/json: schema: type: array - items: *625 + items: *626 examples: - default: *799 + default: *800 headers: Link: *40 '304': *37 @@ -114195,12 +114236,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *326 + - *329 responses: '204': description: Response '403': *29 - '409': *102 + '409': *108 '404': *6 '304': *37 x-github: @@ -114218,11 +114259,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *326 + - *329 responses: '204': description: Response - '409': *102 + '409': *108 '304': *37 '404': *6 '403': *29 @@ -114251,7 +114292,7 @@ paths: application/json: schema: type: array - items: &800 + items: &801 title: Social account description: Social media account type: object @@ -114266,7 +114307,7 @@ paths: - provider - url examples: - default: &801 + default: &802 value: - provider: twitter url: https://twitter.com/github @@ -114328,9 +114369,9 @@ paths: application/json: schema: type: array - items: *800 + items: *801 examples: - default: *801 + default: *802 '422': *15 '304': *37 '404': *6 @@ -114417,7 +114458,7 @@ paths: application/json: schema: type: array - items: &802 + items: &803 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -114437,7 +114478,7 @@ paths: - title - created_at examples: - default: &818 + default: &819 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -114503,9 +114544,9 @@ paths: description: Response content: application/json: - schema: *802 + schema: *803 examples: - default: &803 + default: &804 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -114536,7 +114577,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &804 + - &805 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -114548,9 +114589,9 @@ paths: description: Response content: application/json: - schema: *802 + schema: *803 examples: - default: *803 + default: *804 '404': *6 '304': *37 '403': *29 @@ -114573,7 +114614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *804 + - *805 responses: '204': description: Response @@ -114602,7 +114643,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &819 + - &820 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -114615,7 +114656,7 @@ paths: - created - updated default: created - - *94 + - *100 - *17 - *19 responses: @@ -114627,11 +114668,11 @@ paths: type: array items: *67 examples: - default-response: *805 + default-response: *806 application/vnd.github.v3.star+json: schema: type: array - items: &820 + items: &821 title: Starred Repository description: Starred Repository type: object @@ -114787,8 +114828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response if this repository is starred by you @@ -114816,8 +114857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -114841,8 +114882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *432 - - *433 + - *435 + - *436 responses: '204': description: Response @@ -114875,9 +114916,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: *351 + default: *354 headers: Link: *40 '304': *37 @@ -114914,7 +114955,7 @@ paths: application/json: schema: type: array - items: *413 + items: *416 examples: default: value: @@ -114992,7 +115033,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *191 + - *197 responses: '200': description: Response @@ -115000,10 +115041,10 @@ paths: application/json: schema: oneOf: + - *779 - *778 - - *777 examples: - default-response: &811 + default-response: &812 summary: Default response value: login: octocat @@ -115038,7 +115079,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &812 + response-with-git-hub-plan-information: &813 summary: Response with GitHub plan information value: login: octocat @@ -115098,7 +115139,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *806 + - *807 - *17 responses: '200': @@ -115109,7 +115150,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: example: ; rel="next" @@ -115132,8 +115173,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *364 - - &807 + - *367 + - &808 name: user_id description: The unique identifier of the user. in: path @@ -115145,9 +115186,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *365 examples: - default: *363 + default: *366 headers: Link: *40 '304': *37 @@ -115169,11 +115210,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *364 - - *807 + - *367 + - *808 - *17 - - *92 - - *93 + - *98 + - *99 responses: '200': description: Response @@ -115181,9 +115222,9 @@ paths: application/json: schema: type: array - items: *365 + items: *368 examples: - default: *366 + default: *369 headers: Link: *40 '304': *37 @@ -115205,17 +115246,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *364 + - *367 + - *809 - *808 - - *807 responses: '200': description: Response content: application/json: - schema: *365 + schema: *368 examples: - default: *366 + default: *369 headers: Link: *40 '304': *37 @@ -115238,10 +115279,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *364 - - *807 - - *92 - - *93 + - *367 + - *808 + - *98 + - *99 - *17 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -115268,9 +115309,9 @@ paths: application/json: schema: type: array - items: *371 + items: *374 examples: - default: *372 + default: *375 headers: Link: *40 '304': *37 @@ -115291,8 +115332,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *807 - - *364 + - *808 + - *367 requestBody: required: true description: Details of the item to add to the project. @@ -115329,9 +115370,9 @@ paths: description: Response content: application/json: - schema: *809 + schema: *810 examples: - default: *810 + default: *811 '304': *37 '403': *29 '401': *25 @@ -115351,9 +115392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *364 - - *807 - - *373 + - *367 + - *808 + - *376 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -115370,9 +115411,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *374 examples: - default: *372 + default: *375 headers: Link: *40 '304': *37 @@ -115393,9 +115434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *364 - - *807 - - *373 + - *367 + - *808 + - *376 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -115465,9 +115506,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *374 examples: - default: *372 + default: *375 '401': *25 '403': *29 '404': *6 @@ -115487,9 +115528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *364 - - *807 - - *373 + - *367 + - *808 + - *376 responses: '204': description: Response @@ -115518,7 +115559,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *257 + - *263 responses: '200': description: Response @@ -115526,11 +115567,11 @@ paths: application/json: schema: oneOf: + - *779 - *778 - - *777 examples: - default-response: *811 - response-with-git-hub-plan-information: *812 + default-response: *812 + response-with-git-hub-plan-information: *813 '404': *6 x-github: githubCloudOnly: false @@ -115554,9 +115595,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *92 - - *93 - - *257 + - *98 + - *99 + - *263 requestBody: required: true content: @@ -115579,8 +115620,8 @@ paths: required: - subject_digests examples: - default: *813 - withPredicateType: *814 + default: *814 + withPredicateType: *815 responses: '200': description: Response @@ -115633,7 +115674,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *815 + default: *816 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115651,7 +115692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *257 + - *263 requestBody: required: true content: @@ -115716,7 +115757,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *257 + - *263 - name: subject_digest description: Subject Digest in: path @@ -115747,7 +115788,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *257 + - *263 - name: attestation_id description: Attestation ID in: path @@ -115783,9 +115824,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *92 - - *93 - - *257 + - *98 + - *99 + - *263 - name: subject_digest description: Subject Digest in: path @@ -115835,12 +115876,12 @@ paths: bundle_url: type: string examples: - default: *485 + default: *488 '201': description: Response content: application/json: - schema: *246 + schema: *252 examples: default: value: @@ -115866,7 +115907,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: - - *257 + - *263 responses: '200': description: Response @@ -115874,9 +115915,9 @@ paths: application/json: schema: type: array - items: *345 + items: *348 examples: - default: *796 + default: *797 '403': *29 '401': *25 x-github: @@ -115899,7 +115940,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *257 + - *263 - *17 - *19 responses: @@ -115909,7 +115950,7 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: default: value: @@ -115980,7 +116021,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: - - *257 + - *263 - *76 - *17 - *19 @@ -115991,7 +116032,7 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: default: value: @@ -116070,7 +116111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *257 + - *263 - *17 - *19 responses: @@ -116080,7 +116121,7 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: default: value: @@ -116147,7 +116188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *257 + - *263 - *17 - *19 responses: @@ -116159,7 +116200,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 x-github: @@ -116178,7 +116219,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *257 + - *263 - *17 - *19 responses: @@ -116190,7 +116231,7 @@ paths: type: array items: *4 examples: - default: *332 + default: *335 headers: Link: *40 x-github: @@ -116209,7 +116250,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: - - *257 + - *263 - name: target_user in: path required: true @@ -116236,8 +116277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *257 - - *175 + - *263 + - *181 - *17 - *19 responses: @@ -116247,9 +116288,9 @@ paths: application/json: schema: type: array - items: *176 + items: *182 examples: - default: *177 + default: *183 headers: Link: *40 '422': *15 @@ -116270,7 +116311,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: - - *257 + - *263 - *17 - *19 responses: @@ -116280,9 +116321,9 @@ paths: application/json: schema: type: array - items: *786 + items: *787 examples: - default: *816 + default: *817 headers: Link: *40 x-github: @@ -116306,7 +116347,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *257 + - *263 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -116378,7 +116419,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: - - *257 + - *263 responses: '200': description: Response @@ -116386,7 +116427,7 @@ paths: application/json: schema: *22 examples: - default: *622 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116404,7 +116445,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *257 + - *263 - *17 - *19 responses: @@ -116459,7 +116500,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *257 + - *263 - *17 - *19 responses: @@ -116471,7 +116512,7 @@ paths: type: array items: *62 examples: - default: *794 + default: *795 headers: Link: *40 x-github: @@ -116510,8 +116551,8 @@ paths: - docker - nuget - container - - *795 - - *257 + - *796 + - *263 - *19 - *17 responses: @@ -116521,12 +116562,12 @@ paths: application/json: schema: type: array - items: *345 + items: *348 examples: - default: *796 + default: *797 '403': *29 '401': *25 - '400': *797 + '400': *798 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116546,17 +116587,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *347 - - *348 - - *257 + - *350 + - *351 + - *263 responses: '200': description: Response content: application/json: - schema: *345 + schema: *348 examples: - default: *817 + default: *818 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116577,9 +116618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *347 - - *348 - - *257 + - *350 + - *351 + - *263 responses: '204': description: Response @@ -116611,9 +116652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *347 - - *348 - - *257 + - *350 + - *351 + - *263 - name: token description: package token schema: @@ -116645,9 +116686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *347 - - *348 - - *257 + - *350 + - *351 + - *263 responses: '200': description: Response @@ -116655,7 +116696,7 @@ paths: application/json: schema: type: array - items: *349 + items: *352 examples: default: value: @@ -116713,16 +116754,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *347 - - *348 - *350 - - *257 + - *351 + - *353 + - *263 responses: '200': description: Response content: application/json: - schema: *349 + schema: *352 examples: default: value: @@ -116757,10 +116798,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *347 - - *348 - - *257 - *350 + - *351 + - *263 + - *353 responses: '204': description: Response @@ -116792,10 +116833,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *347 - - *348 - - *257 - *350 + - *351 + - *263 + - *353 responses: '204': description: Response @@ -116821,7 +116862,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects parameters: - - *257 + - *263 - name: state description: Indicates the state of the projects to return. in: query @@ -116842,7 +116883,7 @@ paths: application/json: schema: type: array - items: *361 + items: *364 examples: default: value: @@ -116900,15 +116941,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *257 + - *263 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *92 - - *93 + - *98 + - *99 - *17 responses: '200': @@ -116917,9 +116958,9 @@ paths: application/json: schema: type: array - items: *362 + items: *365 examples: - default: *363 + default: *366 headers: Link: *40 '304': *37 @@ -116946,7 +116987,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: - - *257 + - *263 - *17 - *19 responses: @@ -116956,7 +116997,7 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: default: value: @@ -117035,7 +117076,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: - - *257 + - *263 - *17 - *19 responses: @@ -117045,7 +117086,7 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: default: value: @@ -117122,7 +117163,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *257 + - *263 - name: type description: Limit results to repositories of the specified type. in: query @@ -117165,9 +117206,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: *351 + default: *354 headers: Link: *40 x-github: @@ -117191,15 +117232,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *257 + - *263 responses: '200': description: Response content: application/json: - schema: *400 + schema: *403 examples: - default: *401 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117221,15 +117262,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *257 + - *263 responses: '200': description: Response content: application/json: - schema: *405 + schema: *408 examples: - default: *406 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117251,15 +117292,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *257 + - *263 responses: '200': description: Response content: application/json: - schema: *407 + schema: *410 examples: - default: *408 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117279,11 +117320,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *257 - - *204 - - *205 - - *206 - - *207 + - *263 + - *210 + - *211 + - *212 + - *213 responses: '200': description: Response when getting a billing usage report @@ -117354,7 +117395,7 @@ paths: '400': *14 '403': *29 '500': *91 - '503': *160 + '503': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117372,7 +117413,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: - - *257 + - *263 - *17 - *19 responses: @@ -117382,9 +117423,9 @@ paths: application/json: schema: type: array - items: *800 + items: *801 examples: - default: *801 + default: *802 headers: Link: *40 x-github: @@ -117404,7 +117445,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: - - *257 + - *263 - *17 - *19 responses: @@ -117414,9 +117455,9 @@ paths: application/json: schema: type: array - items: *802 + items: *803 examples: - default: *818 + default: *819 headers: Link: *40 x-github: @@ -117440,9 +117481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *257 - - *819 - - *94 + - *263 + - *820 + - *100 - *17 - *19 responses: @@ -117453,11 +117494,11 @@ paths: schema: anyOf: - type: array - items: *820 + items: *821 - type: array items: *67 examples: - default-response: *805 + default-response: *806 headers: Link: *40 x-github: @@ -117476,7 +117517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *257 + - *263 - *17 - *19 responses: @@ -117486,9 +117527,9 @@ paths: application/json: schema: type: array - items: *235 + items: *241 examples: - default: *351 + default: *354 headers: Link: *40 x-github: @@ -117616,7 +117657,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &821 + enterprise: &822 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -117674,7 +117715,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &822 + installation: &823 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -117693,7 +117734,7 @@ x-webhooks: required: - id - node_id - organization: &823 + organization: &824 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -117753,13 +117794,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &824 + repository: &825 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &861 + properties: &862 id: description: Unique identifier of the repository example: 42 @@ -117779,8 +117820,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *186 - required: *187 + properties: *192 + required: *193 nullable: true organization: title: Simple User @@ -118442,7 +118483,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &862 + required: &863 - archive_url - assignees_url - blobs_url @@ -118593,10 +118634,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -118672,11 +118713,11 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - rule: &825 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + rule: &826 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -118899,11 +118940,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - rule: *825 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + rule: *826 sender: *4 required: - action @@ -119086,11 +119127,11 @@ x-webhooks: - everyone required: - from - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - rule: *825 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + rule: *826 sender: *4 required: - action @@ -119161,7 +119202,7 @@ x-webhooks: required: true content: application/json: - schema: &828 + schema: &829 title: Exemption request cancellation event type: object properties: @@ -119169,11 +119210,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - exemption_request: &826 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + exemption_request: &827 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -119406,7 +119447,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &827 + items: &828 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -119514,7 +119555,7 @@ x-webhooks: required: true content: application/json: - schema: &829 + schema: &830 title: Exemption request completed event type: object properties: @@ -119522,11 +119563,11 @@ x-webhooks: type: string enum: - completed - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - exemption_request: *826 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + exemption_request: *827 sender: *4 required: - action @@ -119596,7 +119637,7 @@ x-webhooks: required: true content: application/json: - schema: &830 + schema: &831 title: Exemption request created event type: object properties: @@ -119604,11 +119645,11 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - exemption_request: *826 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + exemption_request: *827 sender: *4 required: - action @@ -119678,7 +119719,7 @@ x-webhooks: required: true content: application/json: - schema: &831 + schema: &832 title: Exemption response dismissed event type: object properties: @@ -119686,12 +119727,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - exemption_request: *826 - exemption_response: *827 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + exemption_request: *827 + exemption_response: *828 sender: *4 required: - action @@ -119763,7 +119804,7 @@ x-webhooks: required: true content: application/json: - schema: &832 + schema: &833 title: Exemption response submitted event type: object properties: @@ -119771,12 +119812,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - exemption_request: *826 - exemption_response: *827 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + exemption_request: *827 + exemption_response: *828 sender: *4 required: - action @@ -119849,7 +119890,7 @@ x-webhooks: required: true content: application/json: - schema: *828 + schema: *829 responses: '200': description: Return a 200 status to indicate that the data was received @@ -119916,7 +119957,7 @@ x-webhooks: required: true content: application/json: - schema: *829 + schema: *830 responses: '200': description: Return a 200 status to indicate that the data was received @@ -119983,7 +120024,7 @@ x-webhooks: required: true content: application/json: - schema: *830 + schema: *831 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120050,7 +120091,7 @@ x-webhooks: required: true content: application/json: - schema: *831 + schema: *832 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120118,7 +120159,7 @@ x-webhooks: required: true content: application/json: - schema: *832 + schema: *833 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120196,7 +120237,7 @@ x-webhooks: type: string enum: - completed - check_run: &834 + check_run: &835 title: CheckRun description: A check performed on the code of a given code change type: object @@ -120249,8 +120290,8 @@ x-webhooks: type: string pull_requests: type: array - items: *504 - repository: *235 + items: *505 + repository: *241 status: example: completed type: string @@ -120287,7 +120328,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *833 + deployment: *834 details_url: example: https://example.com type: string @@ -120337,7 +120378,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *504 + items: *505 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -120372,10 +120413,10 @@ x-webhooks: - output - app - pull_requests - installation: *822 - enterprise: *821 - organization: *823 - repository: *824 + installation: *823 + enterprise: *822 + organization: *824 + repository: *825 sender: *4 required: - check_run @@ -120768,11 +120809,11 @@ x-webhooks: type: string enum: - created - check_run: *834 - installation: *822 - enterprise: *821 - organization: *823 - repository: *824 + check_run: *835 + installation: *823 + enterprise: *822 + organization: *824 + repository: *825 sender: *4 required: - check_run @@ -121168,11 +121209,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *834 - installation: *822 - enterprise: *821 - organization: *823 - repository: *824 + check_run: *835 + installation: *823 + enterprise: *822 + organization: *824 + repository: *825 requested_action: description: The action requested by the user. type: object @@ -121577,11 +121618,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *834 - installation: *822 - enterprise: *821 - organization: *823 - repository: *824 + check_run: *835 + installation: *823 + enterprise: *822 + organization: *824 + repository: *825 sender: *4 required: - check_run @@ -122558,10 +122599,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -123231,10 +123272,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -123898,10 +123939,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -124064,7 +124105,7 @@ x-webhooks: required: - login - id - dismissed_comment: *517 + dismissed_comment: *518 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -124209,20 +124250,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &835 + commit_oid: &836 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *821 - installation: *822 - organization: *823 - ref: &836 + enterprise: *822 + installation: *823 + organization: *824 + ref: &837 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *824 + repository: *825 sender: *4 required: - action @@ -124384,7 +124425,7 @@ x-webhooks: required: - login - id - dismissed_comment: *517 + dismissed_comment: *518 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -124614,12 +124655,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *835 - enterprise: *821 - installation: *822 - organization: *823 - ref: *836 - repository: *824 + commit_oid: *836 + enterprise: *822 + installation: *823 + organization: *824 + ref: *837 + repository: *825 sender: *4 required: - action @@ -124714,7 +124755,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *517 + dismissed_comment: *518 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -124882,12 +124923,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *835 - enterprise: *821 - installation: *822 - organization: *823 - ref: *836 - repository: *824 + commit_oid: *836 + enterprise: *822 + installation: *823 + organization: *824 + ref: *837 + repository: *825 sender: *4 required: - action @@ -125050,7 +125091,7 @@ x-webhooks: required: - login - id - dismissed_comment: *517 + dismissed_comment: *518 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -125216,12 +125257,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *835 - enterprise: *821 - installation: *822 - organization: *823 - ref: *836 - repository: *824 + commit_oid: *836 + enterprise: *822 + installation: *823 + organization: *824 + ref: *837 + repository: *825 sender: *4 required: - action @@ -125318,7 +125359,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *517 + dismissed_comment: *518 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -125486,16 +125527,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *824 + repository: *825 sender: *4 required: - action @@ -125589,7 +125630,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *517 + dismissed_comment: *518 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -125729,12 +125770,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *835 - enterprise: *821 - installation: *822 - organization: *823 - ref: *836 - repository: *824 + commit_oid: *836 + enterprise: *822 + installation: *823 + organization: *824 + ref: *837 + repository: *825 sender: *4 required: - action @@ -125991,10 +126032,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -126074,18 +126115,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *823 - pusher_type: &837 + organization: *824 + pusher_type: &838 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &838 + ref: &839 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -126095,7 +126136,7 @@ x-webhooks: enum: - tag - branch - repository: *824 + repository: *825 sender: *4 required: - ref @@ -126177,10 +126218,10 @@ x-webhooks: type: string enum: - created - definition: *122 - enterprise: *821 - installation: *822 - organization: *823 + definition: *128 + enterprise: *822 + installation: *823 + organization: *824 sender: *4 required: - action @@ -126265,9 +126306,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 sender: *4 required: - action @@ -126344,10 +126385,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *122 - enterprise: *821 - installation: *822 - organization: *823 + definition: *128 + enterprise: *822 + installation: *823 + organization: *824 sender: *4 required: - action @@ -126424,10 +126465,10 @@ x-webhooks: type: string enum: - updated - definition: *122 - enterprise: *821 - installation: *822 - organization: *823 + definition: *128 + enterprise: *822 + installation: *823 + organization: *824 sender: *4 required: - action @@ -126504,19 +126545,19 @@ x-webhooks: type: string enum: - updated - enterprise: *821 - installation: *822 - repository: *824 - organization: *823 + enterprise: *822 + installation: *823 + repository: *825 + organization: *824 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *375 + items: *378 old_property_values: type: array description: The old custom property values for the repository. - items: *375 + items: *378 required: - action - repository @@ -126592,18 +126633,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *821 - installation: *822 - organization: *823 - pusher_type: *837 - ref: *838 + enterprise: *822 + installation: *823 + organization: *824 + pusher_type: *838 + ref: *839 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *824 + repository: *825 sender: *4 required: - ref @@ -126687,11 +126728,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *572 - installation: *822 - organization: *823 - enterprise: *821 - repository: *824 + alert: *573 + installation: *823 + organization: *824 + enterprise: *822 + repository: *825 sender: *4 required: - action @@ -126775,11 +126816,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *572 - installation: *822 - organization: *823 - enterprise: *821 - repository: *824 + alert: *573 + installation: *823 + organization: *824 + enterprise: *822 + repository: *825 sender: *4 required: - action @@ -126863,11 +126904,11 @@ x-webhooks: type: string enum: - created - alert: *572 - installation: *822 - organization: *823 - enterprise: *821 - repository: *824 + alert: *573 + installation: *823 + organization: *824 + enterprise: *822 + repository: *825 sender: *4 required: - action @@ -126949,11 +126990,11 @@ x-webhooks: type: string enum: - dismissed - alert: *572 - installation: *822 - organization: *823 - enterprise: *821 - repository: *824 + alert: *573 + installation: *823 + organization: *824 + enterprise: *822 + repository: *825 sender: *4 required: - action @@ -127035,11 +127076,11 @@ x-webhooks: type: string enum: - fixed - alert: *572 - installation: *822 - organization: *823 - enterprise: *821 - repository: *824 + alert: *573 + installation: *823 + organization: *824 + enterprise: *822 + repository: *825 sender: *4 required: - action @@ -127122,11 +127163,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *572 - installation: *822 - organization: *823 - enterprise: *821 - repository: *824 + alert: *573 + installation: *823 + organization: *824 + enterprise: *822 + repository: *825 sender: *4 required: - action @@ -127208,11 +127249,11 @@ x-webhooks: type: string enum: - reopened - alert: *572 - installation: *822 - organization: *823 - enterprise: *821 - repository: *824 + alert: *573 + installation: *823 + organization: *824 + enterprise: *822 + repository: *825 sender: *4 required: - action @@ -127289,9 +127330,9 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - key: &839 + enterprise: *822 + installation: *823 + key: &840 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -127327,8 +127368,8 @@ x-webhooks: - verified - created_at - read_only - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -127405,11 +127446,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - key: *839 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + key: *840 + organization: *824 + repository: *825 sender: *4 required: - action @@ -127970,12 +128011,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - workflow: &843 + workflow: &844 title: Workflow type: object nullable: true @@ -128701,13 +128742,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *578 + deployment: *579 pull_requests: type: array - items: *671 - repository: *824 - organization: *823 - installation: *822 + items: *672 + repository: *825 + organization: *824 + installation: *823 sender: *4 responses: '200': @@ -128778,7 +128819,7 @@ x-webhooks: type: string enum: - approved - approver: &840 + approver: &841 type: object properties: avatar_url: @@ -128821,11 +128862,11 @@ x-webhooks: type: string comment: type: string - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - reviewers: &841 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + reviewers: &842 type: array items: type: object @@ -128904,7 +128945,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &842 + workflow_job_run: &843 type: object properties: conclusion: @@ -129635,18 +129676,18 @@ x-webhooks: type: string enum: - rejected - approver: *840 + approver: *841 comment: type: string - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - reviewers: *841 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + reviewers: *842 sender: *4 since: type: string - workflow_job_run: *842 + workflow_job_run: *843 workflow_job_runs: type: array items: @@ -130350,13 +130391,13 @@ x-webhooks: type: string enum: - requested - enterprise: *821 + enterprise: *822 environment: type: string - installation: *822 - organization: *823 - repository: *824 - requestor: &848 + installation: *823 + organization: *824 + repository: *825 + requestor: &849 title: User type: object nullable: true @@ -132255,12 +132296,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - workflow: *843 + workflow: *844 workflow_run: title: Deployment Workflow Run type: object @@ -132940,7 +132981,7 @@ x-webhooks: type: string enum: - answered - answer: &846 + answer: &847 type: object properties: author_association: @@ -133097,7 +133138,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &844 + discussion: &845 title: Discussion description: A Discussion in a repository. type: object @@ -133383,7 +133424,7 @@ x-webhooks: - id labels: type: array - items: *635 + items: *636 required: - repository_url - category @@ -133405,10 +133446,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -133535,11 +133576,11 @@ x-webhooks: - from required: - category - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -133622,11 +133663,11 @@ x-webhooks: type: string enum: - closed - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -133708,7 +133749,7 @@ x-webhooks: type: string enum: - created - comment: &845 + comment: &846 type: object properties: author_association: @@ -133865,11 +133906,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -133952,12 +133993,12 @@ x-webhooks: type: string enum: - deleted - comment: *845 - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + comment: *846 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134052,12 +134093,12 @@ x-webhooks: - from required: - body - comment: *845 - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + comment: *846 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134141,11 +134182,11 @@ x-webhooks: type: string enum: - created - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134227,11 +134268,11 @@ x-webhooks: type: string enum: - deleted - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134331,11 +134372,11 @@ x-webhooks: type: string required: - from - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134417,10 +134458,10 @@ x-webhooks: type: string enum: - labeled - discussion: *844 - enterprise: *821 - installation: *822 - label: &847 + discussion: *845 + enterprise: *822 + installation: *823 + label: &848 title: Label type: object properties: @@ -134452,8 +134493,8 @@ x-webhooks: - color - default - description - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134536,11 +134577,11 @@ x-webhooks: type: string enum: - locked - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134622,11 +134663,11 @@ x-webhooks: type: string enum: - pinned - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134708,11 +134749,11 @@ x-webhooks: type: string enum: - reopened - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134797,16 +134838,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *844 - new_repository: *824 + new_discussion: *845 + new_repository: *825 required: - new_discussion - new_repository - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134889,10 +134930,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *844 - old_answer: *846 - organization: *823 - repository: *824 + discussion: *845 + old_answer: *847 + organization: *824 + repository: *825 sender: *4 required: - action @@ -134974,12 +135015,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *844 - enterprise: *821 - installation: *822 - label: *847 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + label: *848 + organization: *824 + repository: *825 sender: *4 required: - action @@ -135062,11 +135103,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -135148,11 +135189,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *844 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + discussion: *845 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -135221,7 +135262,7 @@ x-webhooks: required: true content: application/json: - schema: *830 + schema: *831 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135284,7 +135325,7 @@ x-webhooks: required: true content: application/json: - schema: *832 + schema: *833 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135350,7 +135391,7 @@ x-webhooks: required: true content: application/json: - schema: *828 + schema: *829 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135416,7 +135457,7 @@ x-webhooks: required: true content: application/json: - schema: *829 + schema: *830 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135482,7 +135523,7 @@ x-webhooks: required: true content: application/json: - schema: *830 + schema: *831 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135548,7 +135589,7 @@ x-webhooks: required: true content: application/json: - schema: *831 + schema: *832 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135614,7 +135655,7 @@ x-webhooks: required: true content: application/json: - schema: *832 + schema: *833 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135681,7 +135722,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *821 + enterprise: *822 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -136341,9 +136382,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *822 - organization: *823 - repository: *824 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - forkee @@ -136489,9 +136530,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 pages: description: The pages that were updated. type: array @@ -136528,7 +136569,7 @@ x-webhooks: - action - sha - html_url - repository: *824 + repository: *825 sender: *4 required: - pages @@ -136604,10 +136645,10 @@ x-webhooks: type: string enum: - created - enterprise: *821 + enterprise: *822 installation: *22 - organization: *823 - repositories: &849 + organization: *824 + repositories: &850 description: An array of repository objects that the installation can access. type: array @@ -136633,8 +136674,8 @@ x-webhooks: - name - full_name - private - repository: *824 - requester: *848 + repository: *825 + requester: *849 sender: *4 required: - action @@ -136709,11 +136750,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 + enterprise: *822 installation: *22 - organization: *823 - repositories: *849 - repository: *824 + organization: *824 + repositories: *850 + repository: *825 requester: nullable: true sender: *4 @@ -136789,11 +136830,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *821 + enterprise: *822 installation: *22 - organization: *823 - repositories: *849 - repository: *824 + organization: *824 + repositories: *850 + repository: *825 requester: nullable: true sender: *4 @@ -136869,10 +136910,10 @@ x-webhooks: type: string enum: - added - enterprise: *821 + enterprise: *822 installation: *22 - organization: *823 - repositories_added: &850 + organization: *824 + repositories_added: &851 description: An array of repository objects, which were added to the installation. type: array @@ -136918,15 +136959,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *824 - repository_selection: &851 + repository: *825 + repository_selection: &852 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *848 + requester: *849 sender: *4 required: - action @@ -137005,10 +137046,10 @@ x-webhooks: type: string enum: - removed - enterprise: *821 + enterprise: *822 installation: *22 - organization: *823 - repositories_added: *850 + organization: *824 + repositories_added: *851 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -137035,9 +137076,9 @@ x-webhooks: - name - full_name - private - repository: *824 - repository_selection: *851 - requester: *848 + repository: *825 + repository_selection: *852 + requester: *849 sender: *4 required: - action @@ -137116,11 +137157,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *821 + enterprise: *822 installation: *22 - organization: *823 - repositories: *849 - repository: *824 + organization: *824 + repositories: *850 + repository: *825 requester: nullable: true sender: *4 @@ -137299,10 +137340,10 @@ x-webhooks: type: string required: - from - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 target_type: type: string @@ -137381,11 +137422,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *821 + enterprise: *822 installation: *22 - organization: *823 - repositories: *849 - repository: *824 + organization: *824 + repositories: *850 + repository: *825 requester: nullable: true sender: *4 @@ -137509,8 +137550,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *170 - required: *171 + properties: *176 + required: *177 reactions: title: Reactions type: object @@ -137637,8 +137678,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -138432,8 +138473,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138449,7 +138490,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -138782,8 +138823,8 @@ x-webhooks: - state - locked - assignee - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -138863,7 +138904,7 @@ x-webhooks: type: string enum: - deleted - comment: &852 + comment: &853 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -139028,8 +139069,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -139819,8 +139860,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139836,7 +139877,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -140171,8 +140212,8 @@ x-webhooks: - state - locked - assignee - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -140252,7 +140293,7 @@ x-webhooks: type: string enum: - edited - changes: &881 + changes: &882 description: The changes to the comment. type: object properties: @@ -140264,9 +140305,9 @@ x-webhooks: type: string required: - from - comment: *852 - enterprise: *821 - installation: *822 + comment: *853 + enterprise: *822 + installation: *823 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -141059,8 +141100,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141076,7 +141117,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -141409,8 +141450,8 @@ x-webhooks: - state - locked - assignee - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -141494,15 +141535,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *185 + blocked_issue: *191 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *185 + blocking_issue: *191 blocking_issue_repo: *67 - installation: *822 - organization: *823 - repository: *824 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -141590,15 +141631,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *185 + blocked_issue: *191 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *185 + blocking_issue: *191 blocking_issue_repo: *67 - installation: *822 - organization: *823 - repository: *824 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -141685,15 +141726,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *185 + blocked_issue: *191 blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *185 - installation: *822 - organization: *823 - repository: *824 + blocking_issue: *191 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -141781,15 +141822,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *185 + blocked_issue: *191 blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *185 - installation: *822 - organization: *823 - repository: *824 + blocking_issue: *191 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -141874,10 +141915,10 @@ x-webhooks: type: string enum: - assigned - assignee: *848 - enterprise: *821 - installation: *822 - issue: &855 + assignee: *849 + enterprise: *822 + installation: *823 + issue: &856 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -142666,11 +142707,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142686,7 +142727,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -142787,8 +142828,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -142868,8 +142909,8 @@ x-webhooks: type: string enum: - closed - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -143663,11 +143704,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143683,7 +143724,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -143919,8 +143960,8 @@ x-webhooks: required: - state - closed_at - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -143999,8 +144040,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144785,11 +144826,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144805,7 +144846,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -144905,8 +144946,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -144985,8 +145026,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145793,11 +145834,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145813,7 +145854,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -145892,7 +145933,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &853 + milestone: &854 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146030,8 +146071,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -146130,8 +146171,8 @@ x-webhooks: type: string required: - from - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146920,11 +146961,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146937,7 +146978,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *327 + type: *330 title: description: Title of the issue type: string @@ -147041,9 +147082,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *847 - organization: *823 - repository: *824 + label: *848 + organization: *824 + repository: *825 sender: *4 required: - action @@ -147123,8 +147164,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147912,11 +147953,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147929,7 +147970,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *327 + type: *330 title: description: Title of the issue type: string @@ -148033,9 +148074,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *847 - organization: *823 - repository: *824 + label: *848 + organization: *824 + repository: *825 sender: *4 required: - action @@ -148115,8 +148156,8 @@ x-webhooks: type: string enum: - locked - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148928,11 +148969,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148945,7 +148986,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *327 + type: *330 title: description: Title of the issue type: string @@ -149026,8 +149067,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -149106,8 +149147,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149913,11 +149954,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149933,7 +149974,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -150011,9 +150052,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *853 - organization: *823 - repository: *824 + milestone: *854 + organization: *824 + repository: *825 sender: *4 required: - action @@ -150881,11 +150922,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150978,7 +151019,7 @@ x-webhooks: required: - login - id - type: *327 + type: *330 required: - id - number @@ -151447,8 +151488,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152237,11 +152278,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152257,7 +152298,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -152357,8 +152398,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -152438,9 +152479,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *821 - installation: *822 - issue: &854 + enterprise: *822 + installation: *823 + issue: &855 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -153223,11 +153264,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153243,7 +153284,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -153343,8 +153384,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -153423,8 +153464,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154234,11 +154275,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154332,9 +154373,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *327 - organization: *823 - repository: *824 + type: *330 + organization: *824 + repository: *825 sender: *4 required: - action @@ -155200,11 +155241,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155220,7 +155261,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -155788,11 +155829,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *821 - installation: *822 - issue: *854 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + issue: *855 + organization: *824 + repository: *825 sender: *4 required: - action @@ -155872,12 +155913,12 @@ x-webhooks: type: string enum: - typed - enterprise: *821 - installation: *822 - issue: *855 - type: *327 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + issue: *856 + type: *330 + organization: *824 + repository: *825 sender: *4 required: - action @@ -155958,7 +155999,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &884 + assignee: &885 title: User type: object nullable: true @@ -156028,11 +156069,11 @@ x-webhooks: required: - login - id - enterprise: *821 - installation: *822 - issue: *855 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + issue: *856 + organization: *824 + repository: *825 sender: *4 required: - action @@ -156111,12 +156152,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *821 - installation: *822 - issue: *855 - label: *847 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + issue: *856 + label: *848 + organization: *824 + repository: *825 sender: *4 required: - action @@ -156196,8 +156237,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157007,11 +157048,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *763 - issue_dependencies_summary: *764 + sub_issues_summary: *764 + issue_dependencies_summary: *765 issue_field_values: type: array - items: *765 + items: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157027,7 +157068,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *327 + type: *330 updated_at: type: string format: date-time @@ -157105,8 +157146,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -157186,11 +157227,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *821 - installation: *822 - issue: *854 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + issue: *855 + organization: *824 + repository: *825 sender: *4 required: - action @@ -157269,12 +157310,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *821 - installation: *822 - issue: *855 - type: *327 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + issue: *856 + type: *330 + organization: *824 + repository: *825 sender: *4 required: - action @@ -157354,11 +157395,11 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - label: *847 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + label: *848 + organization: *824 + repository: *825 sender: *4 required: - action @@ -157436,11 +157477,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - label: *847 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + label: *848 + organization: *824 + repository: *825 sender: *4 required: - action @@ -157550,11 +157591,11 @@ x-webhooks: type: string required: - from - enterprise: *821 - installation: *822 - label: *847 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + label: *848 + organization: *824 + repository: *825 sender: *4 required: - action @@ -157636,9 +157677,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *821 - installation: *822 - marketplace_purchase: &856 + enterprise: *822 + installation: *823 + marketplace_purchase: &857 title: Marketplace Purchase type: object required: @@ -157721,8 +157762,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *823 - previous_marketplace_purchase: &857 + organization: *824 + previous_marketplace_purchase: &858 title: Marketplace Purchase type: object properties: @@ -157802,7 +157843,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *824 + repository: *825 sender: *4 required: - action @@ -157882,10 +157923,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *821 - installation: *822 - marketplace_purchase: *856 - organization: *823 + enterprise: *822 + installation: *823 + marketplace_purchase: *857 + organization: *824 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -157968,7 +158009,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *824 + repository: *825 sender: *4 required: - action @@ -158050,10 +158091,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *821 - installation: *822 - marketplace_purchase: *856 - organization: *823 + enterprise: *822 + installation: *823 + marketplace_purchase: *857 + organization: *824 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -158135,7 +158176,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *824 + repository: *825 sender: *4 required: - action @@ -158216,8 +158257,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 marketplace_purchase: title: Marketplace Purchase type: object @@ -158299,9 +158340,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *823 - previous_marketplace_purchase: *857 - repository: *824 + organization: *824 + previous_marketplace_purchase: *858 + repository: *825 sender: *4 required: - action @@ -158381,12 +158422,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *821 - installation: *822 - marketplace_purchase: *856 - organization: *823 - previous_marketplace_purchase: *857 - repository: *824 + enterprise: *822 + installation: *823 + marketplace_purchase: *857 + organization: *824 + previous_marketplace_purchase: *858 + repository: *825 sender: *4 required: - action @@ -158488,11 +158529,11 @@ x-webhooks: type: string required: - to - enterprise: *821 - installation: *822 - member: *848 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + member: *849 + organization: *824 + repository: *825 sender: *4 required: - action @@ -158592,11 +158633,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *821 - installation: *822 - member: *848 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + member: *849 + organization: *824 + repository: *825 sender: *4 required: - action @@ -158675,11 +158716,11 @@ x-webhooks: type: string enum: - removed - enterprise: *821 - installation: *822 - member: *848 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + member: *849 + organization: *824 + repository: *825 sender: *4 required: - action @@ -158757,11 +158798,11 @@ x-webhooks: type: string enum: - added - enterprise: *821 - installation: *822 - member: *848 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + member: *849 + organization: *824 + repository: *825 scope: description: The scope of the membership. Currently, can only be `team`. @@ -158837,7 +158878,7 @@ x-webhooks: required: - login - id - team: &858 + team: &859 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -159027,11 +159068,11 @@ x-webhooks: type: string enum: - removed - enterprise: *821 - installation: *822 - member: *848 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + member: *849 + organization: *824 + repository: *825 scope: description: The scope of the membership. Currently, can only be `team`. @@ -159108,7 +159149,7 @@ x-webhooks: required: - login - id - team: *858 + team: *859 required: - action - scope @@ -159190,8 +159231,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *822 - merge_group: &860 + installation: *823 + merge_group: &861 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -159210,15 +159251,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *859 + head_commit: *860 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -159304,10 +159345,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *822 - merge_group: *860 - organization: *823 - repository: *824 + installation: *823 + merge_group: *861 + organization: *824 + repository: *825 sender: *4 required: - action @@ -159380,7 +159421,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 + enterprise: *822 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -159489,16 +159530,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *822 - organization: *823 + installation: *823 + organization: *824 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *861 - required: *862 + properties: *862 + required: *863 nullable: true sender: *4 required: @@ -159579,11 +159620,11 @@ x-webhooks: type: string enum: - closed - enterprise: *821 - installation: *822 - milestone: *853 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + milestone: *854 + organization: *824 + repository: *825 sender: *4 required: - action @@ -159662,9 +159703,9 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - milestone: &863 + enterprise: *822 + installation: *823 + milestone: &864 title: Milestone description: A collection of related issues and pull requests. type: object @@ -159801,8 +159842,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -159881,11 +159922,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - milestone: *853 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + milestone: *854 + organization: *824 + repository: *825 sender: *4 required: - action @@ -159995,11 +160036,11 @@ x-webhooks: type: string required: - from - enterprise: *821 - installation: *822 - milestone: *853 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + milestone: *854 + organization: *824 + repository: *825 sender: *4 required: - action @@ -160079,11 +160120,11 @@ x-webhooks: type: string enum: - opened - enterprise: *821 - installation: *822 - milestone: *863 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + milestone: *864 + organization: *824 + repository: *825 sender: *4 required: - action @@ -160162,11 +160203,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *848 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + blocked_user: *849 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -160245,11 +160286,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *848 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + blocked_user: *849 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -160328,9 +160369,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - membership: &864 + enterprise: *822 + installation: *823 + membership: &865 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -160437,8 +160478,8 @@ x-webhooks: - role - organization_url - user - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 required: - action @@ -160516,11 +160557,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *821 - installation: *822 - membership: *864 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + membership: *865 + organization: *824 + repository: *825 sender: *4 required: - action @@ -160599,8 +160640,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -160716,10 +160757,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 - user: *848 + user: *849 required: - action - invitation @@ -160797,11 +160838,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *821 - installation: *822 - membership: *864 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + membership: *865 + organization: *824 + repository: *825 sender: *4 required: - action @@ -160888,11 +160929,11 @@ x-webhooks: properties: from: type: string - enterprise: *821 - installation: *822 - membership: *864 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + membership: *865 + organization: *824 + repository: *825 sender: *4 required: - action @@ -160968,9 +161009,9 @@ x-webhooks: type: string enum: - published - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 package: description: Information about the package. type: object @@ -161469,7 +161510,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &865 + items: &866 title: Ruby Gems metadata type: object properties: @@ -161564,7 +161605,7 @@ x-webhooks: - owner - package_version - registry - repository: *824 + repository: *825 sender: *4 required: - action @@ -161640,9 +161681,9 @@ x-webhooks: type: string enum: - updated - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 package: description: Information about the package. type: object @@ -161995,7 +162036,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *865 + items: *866 source_url: type: string format: uri @@ -162065,7 +162106,7 @@ x-webhooks: - owner - package_version - registry - repository: *824 + repository: *825 sender: *4 required: - action @@ -162242,12 +162283,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *821 + enterprise: *822 id: type: integer - installation: *822 - organization: *823 - repository: *824 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - id @@ -162324,7 +162365,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &866 + personal_access_token_request: &867 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -162470,10 +162511,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *821 - organization: *823 + enterprise: *822 + organization: *824 sender: *4 - installation: *822 + installation: *823 required: - action - personal_access_token_request @@ -162550,11 +162591,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *866 - enterprise: *821 - organization: *823 + personal_access_token_request: *867 + enterprise: *822 + organization: *824 sender: *4 - installation: *822 + installation: *823 required: - action - personal_access_token_request @@ -162630,11 +162671,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *866 - enterprise: *821 - organization: *823 + personal_access_token_request: *867 + enterprise: *822 + organization: *824 sender: *4 - installation: *822 + installation: *823 required: - action - personal_access_token_request @@ -162709,11 +162750,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *866 - organization: *823 - enterprise: *821 + personal_access_token_request: *867 + organization: *824 + enterprise: *822 sender: *4 - installation: *822 + installation: *823 required: - action - personal_access_token_request @@ -162818,7 +162859,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *867 + last_response: *868 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -162850,8 +162891,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 zen: description: Random string of GitHub zen. @@ -163096,10 +163137,10 @@ x-webhooks: - from required: - note - enterprise: *821 - installation: *822 - organization: *823 - project_card: &868 + enterprise: *822 + installation: *823 + organization: *824 + project_card: &869 title: Project Card type: object properties: @@ -163218,7 +163259,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *824 + repository: *825 sender: *4 required: - action @@ -163299,11 +163340,11 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - project_card: *868 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + project_card: *869 + repository: *825 sender: *4 required: - action @@ -163383,9 +163424,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 project_card: title: Project Card type: object @@ -163513,8 +163554,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *861 - required: *862 + properties: *862 + required: *863 nullable: true sender: *4 required: @@ -163608,11 +163649,11 @@ x-webhooks: - from required: - note - enterprise: *821 - installation: *822 - organization: *823 - project_card: *868 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + project_card: *869 + repository: *825 sender: *4 required: - action @@ -163706,9 +163747,9 @@ x-webhooks: - from required: - column_id - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 project_card: allOf: - title: Project Card @@ -163898,7 +163939,7 @@ x-webhooks: type: string required: - after_id - repository: *824 + repository: *825 sender: *4 required: - action @@ -163978,10 +164019,10 @@ x-webhooks: type: string enum: - closed - enterprise: *821 - installation: *822 - organization: *823 - project: &870 + enterprise: *822 + installation: *823 + organization: *824 + project: &871 title: Project type: object properties: @@ -164105,7 +164146,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *824 + repository: *825 sender: *4 required: - action @@ -164185,10 +164226,10 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - project_column: &869 + enterprise: *822 + installation: *823 + organization: *824 + project_column: &870 title: Project Column type: object properties: @@ -164227,7 +164268,7 @@ x-webhooks: - name - created_at - updated_at - repository: *824 + repository: *825 sender: *4 required: - action @@ -164306,18 +164347,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - organization: *823 - project_column: *869 + enterprise: *822 + installation: *823 + organization: *824 + project_column: *870 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *861 - required: *862 + properties: *862 + required: *863 nullable: true sender: *4 required: @@ -164407,11 +164448,11 @@ x-webhooks: type: string required: - from - enterprise: *821 - installation: *822 - organization: *823 - project_column: *869 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + project_column: *870 + repository: *825 sender: *4 required: - action @@ -164491,11 +164532,11 @@ x-webhooks: type: string enum: - moved - enterprise: *821 - installation: *822 - organization: *823 - project_column: *869 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + project_column: *870 + repository: *825 sender: *4 required: - action @@ -164575,11 +164616,11 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - project: *870 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + project: *871 + repository: *825 sender: *4 required: - action @@ -164659,18 +164700,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - organization: *823 - project: *870 + enterprise: *822 + installation: *823 + organization: *824 + project: *871 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *861 - required: *862 + properties: *862 + required: *863 nullable: true sender: *4 required: @@ -164772,11 +164813,11 @@ x-webhooks: type: string required: - from - enterprise: *821 - installation: *822 - organization: *823 - project: *870 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + project: *871 + repository: *825 sender: *4 required: - action @@ -164855,11 +164896,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *821 - installation: *822 - organization: *823 - project: *870 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + project: *871 + repository: *825 sender: *4 required: - action @@ -164940,9 +164981,9 @@ x-webhooks: type: string enum: - closed - installation: *822 - organization: *823 - projects_v2: *362 + installation: *823 + organization: *824 + projects_v2: *365 sender: *4 required: - action @@ -165023,9 +165064,9 @@ x-webhooks: type: string enum: - created - installation: *822 - organization: *823 - projects_v2: *362 + installation: *823 + organization: *824 + projects_v2: *365 sender: *4 required: - action @@ -165106,9 +165147,9 @@ x-webhooks: type: string enum: - deleted - installation: *822 - organization: *823 - projects_v2: *362 + installation: *823 + organization: *824 + projects_v2: *365 sender: *4 required: - action @@ -165225,9 +165266,9 @@ x-webhooks: type: string to: type: string - installation: *822 - organization: *823 - projects_v2: *362 + installation: *823 + organization: *824 + projects_v2: *365 sender: *4 required: - action @@ -165310,7 +165351,7 @@ x-webhooks: type: string enum: - archived - changes: &874 + changes: &875 type: object properties: archived_at: @@ -165324,9 +165365,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *822 - organization: *823 - projects_v2_item: &871 + installation: *823 + organization: *824 + projects_v2_item: &872 title: Projects v2 Item description: An item belonging to a project type: object @@ -165344,7 +165385,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *370 + content_type: *373 creator: *4 created_at: type: string @@ -165461,9 +165502,9 @@ x-webhooks: nullable: true to: type: string - installation: *822 - organization: *823 - projects_v2_item: *871 + installation: *823 + organization: *824 + projects_v2_item: *872 sender: *4 required: - action @@ -165545,9 +165586,9 @@ x-webhooks: type: string enum: - created - installation: *822 - organization: *823 - projects_v2_item: *871 + installation: *823 + organization: *824 + projects_v2_item: *872 sender: *4 required: - action @@ -165628,9 +165669,9 @@ x-webhooks: type: string enum: - deleted - installation: *822 - organization: *823 - projects_v2_item: *871 + installation: *823 + organization: *824 + projects_v2_item: *872 sender: *4 required: - action @@ -165736,7 +165777,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &872 + - &873 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -165758,7 +165799,7 @@ x-webhooks: required: - id - name - - &873 + - &874 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -165792,8 +165833,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *872 - *873 + - *874 required: - field_value - type: object @@ -165809,9 +165850,9 @@ x-webhooks: nullable: true required: - body - installation: *822 - organization: *823 - projects_v2_item: *871 + installation: *823 + organization: *824 + projects_v2_item: *872 sender: *4 required: - action @@ -165906,9 +165947,9 @@ x-webhooks: to: type: string nullable: true - installation: *822 - organization: *823 - projects_v2_item: *871 + installation: *823 + organization: *824 + projects_v2_item: *872 sender: *4 required: - action @@ -165991,10 +166032,10 @@ x-webhooks: type: string enum: - restored - changes: *874 - installation: *822 - organization: *823 - projects_v2_item: *871 + changes: *875 + installation: *823 + organization: *824 + projects_v2_item: *872 sender: *4 required: - action @@ -166076,9 +166117,9 @@ x-webhooks: type: string enum: - reopened - installation: *822 - organization: *823 - projects_v2: *362 + installation: *823 + organization: *824 + projects_v2: *365 sender: *4 required: - action @@ -166159,14 +166200,14 @@ x-webhooks: type: string enum: - created - installation: *822 - organization: *823 - projects_v2_status_update: &877 + installation: *823 + organization: *824 + projects_v2_status_update: &878 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *875 - required: *876 + properties: *876 + required: *877 sender: *4 required: - action @@ -166247,9 +166288,9 @@ x-webhooks: type: string enum: - deleted - installation: *822 - organization: *823 - projects_v2_status_update: *877 + installation: *823 + organization: *824 + projects_v2_status_update: *878 sender: *4 required: - action @@ -166385,9 +166426,9 @@ x-webhooks: type: string format: date nullable: true - installation: *822 - organization: *823 - projects_v2_status_update: *877 + installation: *823 + organization: *824 + projects_v2_status_update: *878 sender: *4 required: - action @@ -166458,10 +166499,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - repository @@ -166538,13 +166579,13 @@ x-webhooks: type: string enum: - assigned - assignee: *848 - enterprise: *821 - installation: *822 - number: &878 + assignee: *849 + enterprise: *822 + installation: *823 + number: &879 description: The pull request number. type: integer - organization: *823 + organization: *824 pull_request: title: Pull Request type: object @@ -168827,7 +168868,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 sender: *4 required: - action @@ -168909,11 +168950,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 number: type: integer - organization: *823 + organization: *824 pull_request: title: Pull Request type: object @@ -171191,7 +171232,7 @@ x-webhooks: - draft reason: type: string - repository: *824 + repository: *825 sender: *4 required: - action @@ -171273,11 +171314,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 number: type: integer - organization: *823 + organization: *824 pull_request: title: Pull Request type: object @@ -173555,7 +173596,7 @@ x-webhooks: - draft reason: type: string - repository: *824 + repository: *825 sender: *4 required: - action @@ -173637,13 +173678,13 @@ x-webhooks: type: string enum: - closed - enterprise: *821 - installation: *822 - number: *878 - organization: *823 - pull_request: &879 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 + pull_request: &880 allOf: - - *671 + - *672 - type: object properties: allow_auto_merge: @@ -173705,7 +173746,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *824 + repository: *825 sender: *4 required: - action @@ -173786,12 +173827,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *821 - installation: *822 - number: *878 - organization: *823 - pull_request: *879 - repository: *824 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 + pull_request: *880 + repository: *825 sender: *4 required: - action @@ -173871,11 +173912,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *821 - milestone: *655 - number: *878 - organization: *823 - pull_request: &880 + enterprise: *822 + milestone: *656 + number: *879 + organization: *824 + pull_request: &881 title: Pull Request type: object properties: @@ -176138,7 +176179,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 sender: *4 required: - action @@ -176217,11 +176258,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 number: type: integer - organization: *823 + organization: *824 pull_request: title: Pull Request type: object @@ -178503,7 +178544,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *824 + repository: *825 sender: *4 required: - action @@ -178627,12 +178668,12 @@ x-webhooks: type: string required: - from - enterprise: *821 - installation: *822 - number: *878 - organization: *823 - pull_request: *879 - repository: *824 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 + pull_request: *880 + repository: *825 sender: *4 required: - action @@ -178712,11 +178753,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 number: type: integer - organization: *823 + organization: *824 pull_request: title: Pull Request type: object @@ -180983,7 +181024,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 sender: *4 required: - action @@ -181063,11 +181104,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *821 - installation: *822 - label: *847 - number: *878 - organization: *823 + enterprise: *822 + installation: *823 + label: *848 + number: *879 + organization: *824 pull_request: title: Pull Request type: object @@ -183349,7 +183390,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 sender: *4 required: - action @@ -183430,10 +183471,10 @@ x-webhooks: type: string enum: - locked - enterprise: *821 - installation: *822 - number: *878 - organization: *823 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 pull_request: title: Pull Request type: object @@ -185713,7 +185754,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 sender: *4 required: - action @@ -185793,12 +185834,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *821 - milestone: *655 - number: *878 - organization: *823 - pull_request: *880 - repository: *824 + enterprise: *822 + milestone: *656 + number: *879 + organization: *824 + pull_request: *881 + repository: *825 sender: *4 required: - action @@ -185877,12 +185918,12 @@ x-webhooks: type: string enum: - opened - enterprise: *821 - installation: *822 - number: *878 - organization: *823 - pull_request: *879 - repository: *824 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 + pull_request: *880 + repository: *825 sender: *4 required: - action @@ -185963,12 +186004,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *821 - installation: *822 - number: *878 - organization: *823 - pull_request: *879 - repository: *824 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 + pull_request: *880 + repository: *825 sender: *4 required: - action @@ -186048,12 +186089,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *821 - installation: *822 - number: *878 - organization: *823 - pull_request: *879 - repository: *824 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 + pull_request: *880 + repository: *825 sender: *4 required: - action @@ -186419,9 +186460,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 pull_request: type: object properties: @@ -188591,7 +188632,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *824 + repository: *825 sender: *4 required: - action @@ -188671,7 +188712,7 @@ x-webhooks: type: string enum: - deleted - comment: &882 + comment: &883 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -188956,9 +188997,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 pull_request: type: object properties: @@ -191116,7 +191157,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *824 + repository: *825 sender: *4 required: - action @@ -191196,11 +191237,11 @@ x-webhooks: type: string enum: - edited - changes: *881 - comment: *882 - enterprise: *821 - installation: *822 - organization: *823 + changes: *882 + comment: *883 + enterprise: *822 + installation: *823 + organization: *824 pull_request: type: object properties: @@ -193361,7 +193402,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *824 + repository: *825 sender: *4 required: - action @@ -193442,9 +193483,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 pull_request: title: Simple Pull Request type: object @@ -195617,7 +195658,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *824 + repository: *825 review: description: The review that was affected. type: object @@ -195864,9 +195905,9 @@ x-webhooks: type: string required: - from - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 pull_request: title: Simple Pull Request type: object @@ -197920,8 +197961,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *824 - review: &883 + repository: *825 + review: &884 description: The review that was affected. type: object properties: @@ -198154,12 +198195,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 number: description: The pull request number. type: integer - organization: *823 + organization: *824 pull_request: title: Pull Request type: object @@ -200442,7 +200483,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 requested_reviewer: title: User type: object @@ -200526,12 +200567,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 number: description: The pull request number. type: integer - organization: *823 + organization: *824 pull_request: title: Pull Request type: object @@ -202821,7 +202862,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 requested_team: title: Team description: Groups of organization members that gives permissions @@ -203013,12 +203054,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 number: description: The pull request number. type: integer - organization: *823 + organization: *824 pull_request: title: Pull Request type: object @@ -205303,7 +205344,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 requested_reviewer: title: User type: object @@ -205388,12 +205429,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *821 - installation: *822 + enterprise: *822 + installation: *823 number: description: The pull request number. type: integer - organization: *823 + organization: *824 pull_request: title: Pull Request type: object @@ -207669,7 +207710,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 requested_team: title: Team description: Groups of organization members that gives permissions @@ -207850,9 +207891,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 pull_request: title: Simple Pull Request type: object @@ -210027,8 +210068,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *824 - review: *883 + repository: *825 + review: *884 sender: *4 required: - action @@ -210108,9 +210149,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 pull_request: title: Simple Pull Request type: object @@ -212180,7 +212221,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *824 + repository: *825 sender: *4 thread: type: object @@ -212567,9 +212608,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 pull_request: title: Simple Pull Request type: object @@ -214625,7 +214666,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *824 + repository: *825 sender: *4 thread: type: object @@ -215015,10 +215056,10 @@ x-webhooks: type: string before: type: string - enterprise: *821 - installation: *822 - number: *878 - organization: *823 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 pull_request: title: Pull Request type: object @@ -217289,7 +217330,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 sender: *4 required: - action @@ -217371,11 +217412,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *884 - enterprise: *821 - installation: *822 - number: *878 - organization: *823 + assignee: *885 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 pull_request: title: Pull Request type: object @@ -219658,7 +219699,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 sender: *4 required: - action @@ -219737,11 +219778,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *821 - installation: *822 - label: *847 - number: *878 - organization: *823 + enterprise: *822 + installation: *823 + label: *848 + number: *879 + organization: *824 pull_request: title: Pull Request type: object @@ -222014,7 +222055,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 sender: *4 required: - action @@ -222095,10 +222136,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *821 - installation: *822 - number: *878 - organization: *823 + enterprise: *822 + installation: *823 + number: *879 + organization: *824 pull_request: title: Pull Request type: object @@ -224363,7 +224404,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *824 + repository: *825 sender: *4 required: - action @@ -224563,7 +224604,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *821 + enterprise: *822 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -224655,8 +224696,8 @@ x-webhooks: - url - author - committer - installation: *822 - organization: *823 + installation: *823 + organization: *824 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -225231,9 +225272,9 @@ x-webhooks: type: string enum: - published - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 registry_package: type: object properties: @@ -225679,7 +225720,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *865 + items: *866 summary: type: string tag_name: @@ -225733,7 +225774,7 @@ x-webhooks: - owner - package_version - registry - repository: *824 + repository: *825 sender: *4 required: - action @@ -225811,9 +225852,9 @@ x-webhooks: type: string enum: - updated - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 registry_package: type: object properties: @@ -226121,7 +226162,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *865 + items: *866 summary: type: string tag_name: @@ -226170,7 +226211,7 @@ x-webhooks: - owner - package_version - registry - repository: *824 + repository: *825 sender: *4 required: - action @@ -226247,10 +226288,10 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - release: &885 + enterprise: *822 + installation: *823 + organization: *824 + release: &886 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -226568,7 +226609,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *824 + repository: *825 sender: *4 required: - action @@ -226645,11 +226686,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - organization: *823 - release: *885 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + release: *886 + repository: *825 sender: *4 required: - action @@ -226766,11 +226807,11 @@ x-webhooks: type: boolean required: - to - enterprise: *821 - installation: *822 - organization: *823 - release: *885 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + release: *886 + repository: *825 sender: *4 required: - action @@ -226848,9 +226889,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -227172,7 +227213,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *824 + repository: *825 sender: *4 required: - action @@ -227248,10 +227289,10 @@ x-webhooks: type: string enum: - published - enterprise: *821 - installation: *822 - organization: *823 - release: &886 + enterprise: *822 + installation: *823 + organization: *824 + release: &887 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -227570,7 +227611,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *824 + repository: *825 sender: *4 required: - action @@ -227646,11 +227687,11 @@ x-webhooks: type: string enum: - released - enterprise: *821 - installation: *822 - organization: *823 - release: *885 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + release: *886 + repository: *825 sender: *4 required: - action @@ -227726,11 +227767,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *821 - installation: *822 - organization: *823 - release: *886 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + release: *887 + repository: *825 sender: *4 required: - action @@ -227806,11 +227847,11 @@ x-webhooks: type: string enum: - published - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - repository_advisory: *723 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + repository_advisory: *724 sender: *4 required: - action @@ -227886,11 +227927,11 @@ x-webhooks: type: string enum: - reported - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - repository_advisory: *723 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + repository_advisory: *724 sender: *4 required: - action @@ -227966,10 +228007,10 @@ x-webhooks: type: string enum: - archived - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -228046,10 +228087,10 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -228127,10 +228168,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -228214,10 +228255,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -228329,10 +228370,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -228404,10 +228445,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 status: type: string @@ -228488,10 +228529,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -228568,10 +228609,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -228665,10 +228706,10 @@ x-webhooks: - name required: - repository - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -228748,11 +228789,11 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - repository_ruleset: *155 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + repository_ruleset: *161 sender: *4 required: - action @@ -228830,11 +228871,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - repository_ruleset: *155 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + repository_ruleset: *161 sender: *4 required: - action @@ -228912,11 +228953,11 @@ x-webhooks: type: string enum: - edited - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - repository_ruleset: *155 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + repository_ruleset: *161 changes: type: object properties: @@ -228935,16 +228976,16 @@ x-webhooks: properties: added: type: array - items: *129 + items: *135 deleted: type: array - items: *129 + items: *135 updated: type: array items: type: object properties: - condition: *129 + condition: *135 changes: type: object properties: @@ -228977,16 +229018,16 @@ x-webhooks: properties: added: type: array - items: *691 + items: *692 deleted: type: array - items: *691 + items: *692 updated: type: array items: type: object properties: - rule: *691 + rule: *692 changes: type: object properties: @@ -229220,10 +229261,10 @@ x-webhooks: - from required: - owner - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -229301,10 +229342,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -229382,7 +229423,7 @@ x-webhooks: type: string enum: - create - alert: &887 + alert: &888 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -229503,10 +229544,10 @@ x-webhooks: type: string enum: - open - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -229712,10 +229753,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -229793,11 +229834,11 @@ x-webhooks: type: string enum: - reopen - alert: *887 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + alert: *888 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -229996,10 +230037,10 @@ x-webhooks: enum: - fixed - open - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -230077,11 +230118,11 @@ x-webhooks: type: string enum: - created - alert: &888 + alert: &889 type: object properties: - number: *106 - created_at: *113 + number: *112 + created_at: *119 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -230089,8 +230130,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *111 - html_url: *112 + url: *117 + html_url: *118 locations_url: type: string format: uri @@ -230188,10 +230229,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -230272,11 +230313,11 @@ x-webhooks: type: string enum: - created - alert: *888 - installation: *822 - location: *889 - organization: *823 - repository: *824 + alert: *889 + installation: *823 + location: *890 + organization: *824 + repository: *825 sender: *4 required: - location @@ -230514,11 +230555,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *888 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + alert: *889 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -230596,11 +230637,11 @@ x-webhooks: type: string enum: - reopened - alert: *888 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + alert: *889 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -230678,11 +230719,11 @@ x-webhooks: type: string enum: - resolved - alert: *888 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + alert: *889 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -230760,11 +230801,11 @@ x-webhooks: type: string enum: - validated - alert: *888 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + alert: *889 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -230890,10 +230931,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *824 - enterprise: *821 - installation: *822 - organization: *823 + repository: *825 + enterprise: *822 + installation: *823 + organization: *824 sender: *4 required: - action @@ -230971,11 +231012,11 @@ x-webhooks: type: string enum: - published - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - security_advisory: &890 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + security_advisory: &891 description: The details of the security advisory, including summary, description, and severity. type: object @@ -230991,7 +231032,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *108 + cvss_severities: *114 cwes: type: array items: @@ -231158,11 +231199,11 @@ x-webhooks: type: string enum: - updated - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 - security_advisory: *890 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 + security_advisory: *891 sender: *4 required: - action @@ -231235,10 +231276,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -231255,7 +231296,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *108 + cvss_severities: *114 cwes: type: array items: @@ -231422,11 +231463,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *378 - enterprise: *821 - installation: *822 - organization: *823 - repository: *445 + security_and_analysis: *381 + enterprise: *822 + installation: *823 + organization: *824 + repository: *448 sender: *4 required: - changes @@ -231504,12 +231545,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - sponsorship: &891 + sponsorship: &892 type: object properties: created_at: @@ -231810,12 +231851,12 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - sponsorship: *891 + sponsorship: *892 required: - action - sponsorship @@ -231903,12 +231944,12 @@ x-webhooks: type: string required: - from - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - sponsorship: *891 + sponsorship: *892 required: - action - changes @@ -231985,17 +232026,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &892 + effective_date: &893 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - sponsorship: *891 + sponsorship: *892 required: - action - sponsorship @@ -232069,7 +232110,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &893 + changes: &894 type: object properties: tier: @@ -232113,13 +232154,13 @@ x-webhooks: - from required: - tier - effective_date: *892 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + effective_date: *893 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - sponsorship: *891 + sponsorship: *892 required: - action - changes @@ -232196,13 +232237,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *893 - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + changes: *894 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - sponsorship: *891 + sponsorship: *892 required: - action - changes @@ -232276,10 +232317,10 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -232362,10 +232403,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -232785,15 +232826,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *821 + enterprise: *822 id: description: The unique identifier of the status. type: integer - installation: *822 + installation: *823 name: type: string - organization: *823 - repository: *824 + organization: *824 + repository: *825 sender: *4 sha: description: The Commit SHA. @@ -232902,15 +232943,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *185 + parent_issue: *191 parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *185 - installation: *822 - organization: *823 - repository: *824 + sub_issue: *191 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -232994,15 +233035,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *185 + parent_issue: *191 parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *185 - installation: *822 - organization: *823 - repository: *824 + sub_issue: *191 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -233086,15 +233127,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *185 + sub_issue: *191 sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *185 - installation: *822 - organization: *823 - repository: *824 + parent_issue: *191 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -233178,15 +233219,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *185 + sub_issue: *191 sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *185 - installation: *822 - organization: *823 - repository: *824 + parent_issue: *191 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -233263,12 +233304,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - team: &894 + team: &895 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -233458,9 +233499,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 repository: title: Repository description: A git repository @@ -233918,7 +233959,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *894 + team: *895 required: - action - team @@ -233994,9 +234035,9 @@ x-webhooks: type: string enum: - created - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 repository: title: Repository description: A git repository @@ -234454,7 +234495,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *894 + team: *895 required: - action - team @@ -234531,9 +234572,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 repository: title: Repository description: A git repository @@ -234991,7 +235032,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *894 + team: *895 required: - action - team @@ -235135,9 +235176,9 @@ x-webhooks: - from required: - permissions - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 repository: title: Repository description: A git repository @@ -235595,7 +235636,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *894 + team: *895 required: - action - changes @@ -235673,9 +235714,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *821 - installation: *822 - organization: *823 + enterprise: *822 + installation: *823 + organization: *824 repository: title: Repository description: A git repository @@ -236133,7 +236174,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *894 + team: *895 required: - action - team @@ -236209,10 +236250,10 @@ x-webhooks: type: string enum: - started - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 required: - action @@ -236285,16 +236326,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *821 + enterprise: *822 inputs: type: object nullable: true additionalProperties: true - installation: *822 - organization: *823 + installation: *823 + organization: *824 ref: type: string - repository: *824 + repository: *825 sender: *4 workflow: type: string @@ -236376,10 +236417,10 @@ x-webhooks: type: string enum: - completed - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 workflow_job: allOf: @@ -236616,7 +236657,7 @@ x-webhooks: type: string required: - conclusion - deployment: *578 + deployment: *579 required: - action - repository @@ -236695,10 +236736,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 workflow_job: allOf: @@ -236958,7 +236999,7 @@ x-webhooks: required: - status - steps - deployment: *578 + deployment: *579 required: - action - repository @@ -237037,10 +237078,10 @@ x-webhooks: type: string enum: - queued - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 workflow_job: type: object @@ -237175,7 +237216,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *578 + deployment: *579 required: - action - repository @@ -237254,10 +237295,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 workflow_job: type: object @@ -237393,7 +237434,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *578 + deployment: *579 required: - action - repository @@ -237473,12 +237514,12 @@ x-webhooks: type: string enum: - completed - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - workflow: *843 + workflow: *844 workflow_run: title: Workflow Run type: object @@ -238477,12 +238518,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - workflow: *843 + workflow: *844 workflow_run: title: Workflow Run type: object @@ -239466,12 +239507,12 @@ x-webhooks: type: string enum: - requested - enterprise: *821 - installation: *822 - organization: *823 - repository: *824 + enterprise: *822 + installation: *823 + organization: *824 + repository: *825 sender: *4 - workflow: *843 + workflow: *844 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index ff9878c82..07cfb3105 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -6592,6 +6592,78 @@ } } }, + "/enterprises/{enterprise}/bypass-requests/secret-scanning": { + "get": { + "summary": "List bypass requests for secret scanning for an enterprise", + "description": "List requests to bypass secret scanning push protection in an enterprise.\n\nDelegated bypass must be enabled on repositories in the enterprise and the user must be a bypass reviewer to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/list-enterprise-bypass-requests", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-an-enterprise" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "secret-scanning", + "subcategory": "delegated-bypass" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/org-name-in-query" + }, + { + "$ref": "#/components/parameters/bypass-reviewer-name" + }, + { + "$ref": "#/components/parameters/bypass-requester-name" + }, + { + "$ref": "#/components/parameters/time-period" + }, + { + "$ref": "#/components/parameters/bypass-request-status" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/secret-scanning-bypass-request" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/secret-scanning-bypass-request-items" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + } + }, "/enterprises/{enterprise}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an enterprise", @@ -119255,6 +119327,154 @@ } } }, + "secret-scanning-bypass-request": { + "title": "Secret scanning bypass request", + "description": "A bypass request made by a user asking to be exempted from push protection in this repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the bypass request." + }, + "number": { + "type": "integer", + "description": "The number uniquely identifying the bypass request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the bypass request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the repository the bypass request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the bypass request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the bypass request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the bypass request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the bypass.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who requested the bypass." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the bypass." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the push rules that are being requested to be bypassed.", + "items": { + "type": "object", + "properties": { + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "bypass_reason": { + "type": "string", + "enum": [ + "used_in_tests", + "false_positive", + "fix_later" + ], + "description": "The reason the bypass was requested." + }, + "path": { + "type": "string", + "description": "The path in the repo where the secret was located during the request." + }, + "branch": { + "type": "string", + "description": "The branch in the repo where the secret was located during the request." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the bypass request. For example, a commit SHA.", + "example": "827efc6d56897b048c772eb4087f854f46256132" + }, + "status": { + "type": "string", + "description": "The status of the bypass request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "completed", + "expired", + "open" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the bypass request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the bypass request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the bypass request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the bypass request.", + "nullable": true, + "items": { + "$ref": "#/components/schemas/bypass-response" + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the bypass request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/exemptions/1" + } + } + }, "code-scanning-analysis-tool-name": { "type": "string", "description": "The name of the tool used to generate the code scanning analysis." @@ -128358,154 +128578,6 @@ "visibility" ] }, - "secret-scanning-bypass-request": { - "title": "Secret scanning bypass request", - "description": "A bypass request made by a user asking to be exempted from push protection in this repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the bypass request." - }, - "number": { - "type": "integer", - "description": "The number uniquely identifying the bypass request within its repository." - }, - "repository": { - "type": "object", - "description": "The repository the bypass request is for.", - "properties": { - "id": { - "type": "integer", - "description": "The ID of the repository the bypass request is for." - }, - "name": { - "type": "string", - "description": "The name of the repository the bypass request is for." - }, - "full_name": { - "type": "string", - "description": "The full name of the repository the bypass request is for." - } - } - }, - "organization": { - "type": "object", - "description": "The organization associated with the repository the bypass request is for.", - "properties": { - "id": { - "type": "integer", - "description": "The ID of the organization." - }, - "name": { - "type": "string", - "description": "The name of the organization." - } - } - }, - "requester": { - "type": "object", - "description": "The user who requested the bypass.", - "properties": { - "actor_id": { - "type": "integer", - "description": "The ID of the GitHub user who requested the bypass." - }, - "actor_name": { - "type": "string", - "description": "The name of the GitHub user who requested the bypass." - } - } - }, - "request_type": { - "type": "string", - "description": "The type of request." - }, - "data": { - "nullable": true, - "type": "array", - "description": "Data describing the push rules that are being requested to be bypassed.", - "items": { - "type": "object", - "properties": { - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "bypass_reason": { - "type": "string", - "enum": [ - "used_in_tests", - "false_positive", - "fix_later" - ], - "description": "The reason the bypass was requested." - }, - "path": { - "type": "string", - "description": "The path in the repo where the secret was located during the request." - }, - "branch": { - "type": "string", - "description": "The branch in the repo where the secret was located during the request." - } - } - } - }, - "resource_identifier": { - "type": "string", - "description": "The unique identifier for the request type of the bypass request. For example, a commit SHA.", - "example": "827efc6d56897b048c772eb4087f854f46256132" - }, - "status": { - "type": "string", - "description": "The status of the bypass request.", - "enum": [ - "pending", - "denied", - "approved", - "cancelled", - "completed", - "expired", - "open" - ] - }, - "requester_comment": { - "type": "string", - "description": "The comment the requester provided when creating the bypass request.", - "nullable": true - }, - "expires_at": { - "type": "string", - "format": "date-time", - "description": "The date and time the bypass request will expire." - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The date and time the bypass request was created." - }, - "responses": { - "type": "array", - "description": "The responses to the bypass request.", - "nullable": true, - "items": { - "$ref": "#/components/schemas/bypass-response" - } - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1" - }, - "html_url": { - "type": "string", - "description": "The URL to view the bypass request in a browser.", - "format": "uri", - "example": "https://github.com/octo-org/smile/exemptions/1" - } - } - }, "campaign-state": { "title": "Campaign state", "description": "Indicates whether a campaign is open or closed", @@ -296586,6 +296658,98 @@ } ] }, + "secret-scanning-bypass-request-items": { + "value": [ + { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning", + "data": [ + { + "secret_type": "adafruit_io_key", + "bypass_reason": "used_in_tests", + "path": "/tests/README.md:16:0", + "branch": "refs/heads/main" + } + ], + "resource_identifier": "827efc6d56897b048c772eb4087f854f46256132", + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1", + "html_url": "https://github.com/octo-org/smile/exemptions/1" + }, + { + "id": 12, + "number": 24, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning", + "data": [ + { + "secret_type": "adafruit_io_key", + "bypass_reason": "fix_later", + "path": "README.md:17:0", + "branch": "refs/heads/my-branch" + } + ], + "resource_identifier": "827efc6d56897b048c772eb4087f854f46255555", + "status": "denied", + "requester_comment": "Token is already revoked, I'll remove it later", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2", + "html_url": "https://github.com/octo-org/smile/exemptions/2" + } + ] + }, "code-scanning-organization-alert-items": { "value": [ { @@ -301092,98 +301256,6 @@ } ] }, - "secret-scanning-bypass-request-items": { - "value": [ - { - "id": 21, - "number": 42, - "repository": { - "id": 1, - "name": "smile", - "full_name": "octo-org/smile" - }, - "organization": { - "id": 1, - "name": "octo-org" - }, - "requester": { - "actor_id": 12, - "actor_name": "monalisa" - }, - "request_type": "secret_scanning", - "data": [ - { - "secret_type": "adafruit_io_key", - "bypass_reason": "used_in_tests", - "path": "/tests/README.md:16:0", - "branch": "refs/heads/main" - } - ], - "resource_identifier": "827efc6d56897b048c772eb4087f854f46256132", - "status": "denied", - "requester_comment": "Test token used in the readme as an example", - "expires_at": "2024-07-08T08:43:03Z", - "created_at": "2024-07-01T08:43:03Z", - "responses": [ - { - "id": 42, - "reviewer": { - "actor_id": 4, - "actor_name": "octocat" - }, - "status": "denied", - "created_at": "2024-07-02T08:43:04Z" - } - ], - "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1", - "html_url": "https://github.com/octo-org/smile/exemptions/1" - }, - { - "id": 12, - "number": 24, - "repository": { - "id": 1, - "name": "smile", - "full_name": "octo-org/smile" - }, - "organization": { - "id": 1, - "name": "octo-org" - }, - "requester": { - "actor_id": 12, - "actor_name": "monalisa" - }, - "request_type": "secret_scanning", - "data": [ - { - "secret_type": "adafruit_io_key", - "bypass_reason": "fix_later", - "path": "README.md:17:0", - "branch": "refs/heads/my-branch" - } - ], - "resource_identifier": "827efc6d56897b048c772eb4087f854f46255555", - "status": "denied", - "requester_comment": "Token is already revoked, I'll remove it later", - "expires_at": "2024-07-08T07:43:03Z", - "created_at": "2024-07-01T07:43:03Z", - "responses": [ - { - "id": 42, - "reviewer": { - "actor_id": 4, - "actor_name": "octocat" - }, - "status": "denied", - "created_at": "2024-07-02T08:43:04Z" - } - ], - "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2", - "html_url": "https://github.com/octo-org/smile/exemptions/2" - } - ] - }, "campaign-org-items": { "value": [ { diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index d6a10df45..aaadc2ff3 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -4588,6 +4588,50 @@ paths: "$ref": "#/components/responses/not_found" '500': "$ref": "#/components/responses/internal_error" + "/enterprises/{enterprise}/bypass-requests/secret-scanning": + get: + summary: List bypass requests for secret scanning for an enterprise + description: |- + List requests to bypass secret scanning push protection in an enterprise. + + Delegated bypass must be enabled on repositories in the enterprise and the user must be a bypass reviewer to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/list-enterprise-bypass-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-an-enterprise + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: secret-scanning + subcategory: delegated-bypass + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/org-name-in-query" + - "$ref": "#/components/parameters/bypass-reviewer-name" + - "$ref": "#/components/parameters/bypass-requester-name" + - "$ref": "#/components/parameters/time-period" + - "$ref": "#/components/parameters/bypass-request-status" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/secret-scanning-bypass-request" + examples: + default: + "$ref": "#/components/examples/secret-scanning-bypass-request-items" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" "/enterprises/{enterprise}/code-scanning/alerts": get: summary: List code scanning alerts for an enterprise @@ -86370,6 +86414,126 @@ components: description: The URL to view the bypass request in a browser. format: uri example: https://github.com/octo-org/smile/exemptions/1 + secret-scanning-bypass-request: + title: Secret scanning bypass request + description: A bypass request made by a user asking to be exempted from push + protection in this repository. + type: object + properties: + id: + type: integer + description: The unique identifier of the bypass request. + number: + type: integer + description: The number uniquely identifying the bypass request within its + repository. + repository: + type: object + description: The repository the bypass request is for. + properties: + id: + type: integer + description: The ID of the repository the bypass request is for. + name: + type: string + description: The name of the repository the bypass request is for. + full_name: + type: string + description: The full name of the repository the bypass request is for. + organization: + type: object + description: The organization associated with the repository the bypass + request is for. + properties: + id: + type: integer + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the bypass. + properties: + actor_id: + type: integer + description: The ID of the GitHub user who requested the bypass. + actor_name: + type: string + description: The name of the GitHub user who requested the bypass. + request_type: + type: string + description: The type of request. + data: + nullable: true + type: array + description: Data describing the push rules that are being requested to + be bypassed. + items: + type: object + properties: + secret_type: + type: string + description: The type of secret that secret scanning detected. + bypass_reason: + type: string + enum: + - used_in_tests + - false_positive + - fix_later + description: The reason the bypass was requested. + path: + type: string + description: The path in the repo where the secret was located during + the request. + branch: + type: string + description: The branch in the repo where the secret was located during + the request. + resource_identifier: + type: string + description: The unique identifier for the request type of the bypass request. + For example, a commit SHA. + example: 827efc6d56897b048c772eb4087f854f46256132 + status: + type: string + description: The status of the bypass request. + enum: + - pending + - denied + - approved + - cancelled + - completed + - expired + - open + requester_comment: + type: string + description: The comment the requester provided when creating the bypass + request. + nullable: true + expires_at: + type: string + format: date-time + description: The date and time the bypass request will expire. + created_at: + type: string + format: date-time + description: The date and time the bypass request was created. + responses: + type: array + description: The responses to the bypass request. + nullable: true + items: + "$ref": "#/components/schemas/bypass-response" + url: + type: string + format: uri + example: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1 + html_url: + type: string + description: The URL to view the bypass request in a browser. + format: uri + example: https://github.com/octo-org/smile/exemptions/1 code-scanning-analysis-tool-name: type: string description: The name of the tool used to generate the code scanning analysis. @@ -93525,126 +93689,6 @@ components: - created_at - updated_at - visibility - secret-scanning-bypass-request: - title: Secret scanning bypass request - description: A bypass request made by a user asking to be exempted from push - protection in this repository. - type: object - properties: - id: - type: integer - description: The unique identifier of the bypass request. - number: - type: integer - description: The number uniquely identifying the bypass request within its - repository. - repository: - type: object - description: The repository the bypass request is for. - properties: - id: - type: integer - description: The ID of the repository the bypass request is for. - name: - type: string - description: The name of the repository the bypass request is for. - full_name: - type: string - description: The full name of the repository the bypass request is for. - organization: - type: object - description: The organization associated with the repository the bypass - request is for. - properties: - id: - type: integer - description: The ID of the organization. - name: - type: string - description: The name of the organization. - requester: - type: object - description: The user who requested the bypass. - properties: - actor_id: - type: integer - description: The ID of the GitHub user who requested the bypass. - actor_name: - type: string - description: The name of the GitHub user who requested the bypass. - request_type: - type: string - description: The type of request. - data: - nullable: true - type: array - description: Data describing the push rules that are being requested to - be bypassed. - items: - type: object - properties: - secret_type: - type: string - description: The type of secret that secret scanning detected. - bypass_reason: - type: string - enum: - - used_in_tests - - false_positive - - fix_later - description: The reason the bypass was requested. - path: - type: string - description: The path in the repo where the secret was located during - the request. - branch: - type: string - description: The branch in the repo where the secret was located during - the request. - resource_identifier: - type: string - description: The unique identifier for the request type of the bypass request. - For example, a commit SHA. - example: 827efc6d56897b048c772eb4087f854f46256132 - status: - type: string - description: The status of the bypass request. - enum: - - pending - - denied - - approved - - cancelled - - completed - - expired - - open - requester_comment: - type: string - description: The comment the requester provided when creating the bypass - request. - nullable: true - expires_at: - type: string - format: date-time - description: The date and time the bypass request will expire. - created_at: - type: string - format: date-time - description: The date and time the bypass request was created. - responses: - type: array - description: The responses to the bypass request. - nullable: true - items: - "$ref": "#/components/schemas/bypass-response" - url: - type: string - format: uri - example: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1 - html_url: - type: string - description: The URL to view the bypass request in a browser. - format: uri - example: https://github.com/octo-org/smile/exemptions/1 campaign-state: title: Campaign state description: Indicates whether a campaign is open or closed @@ -221340,6 +221384,72 @@ components: created_at: '2024-07-02T08:43:04Z' url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2 html_url: https://github.com/octo-org/smile/exemptions/2 + secret-scanning-bypass-request-items: + value: + - id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning + data: + - secret_type: adafruit_io_key + bypass_reason: used_in_tests + path: "/tests/README.md:16:0" + branch: refs/heads/main + resource_identifier: 827efc6d56897b048c772eb4087f854f46256132 + status: denied + requester_comment: Test token used in the readme as an example + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1 + html_url: https://github.com/octo-org/smile/exemptions/1 + - id: 12 + number: 24 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning + data: + - secret_type: adafruit_io_key + bypass_reason: fix_later + path: README.md:17:0 + branch: refs/heads/my-branch + resource_identifier: 827efc6d56897b048c772eb4087f854f46255555 + status: denied + requester_comment: Token is already revoked, I'll remove it later + expires_at: '2024-07-08T07:43:03Z' + created_at: '2024-07-01T07:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2 + html_url: https://github.com/octo-org/smile/exemptions/2 code-scanning-organization-alert-items: value: - number: 4 @@ -225145,72 +225255,6 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false - secret-scanning-bypass-request-items: - value: - - id: 21 - number: 42 - repository: - id: 1 - name: smile - full_name: octo-org/smile - organization: - id: 1 - name: octo-org - requester: - actor_id: 12 - actor_name: monalisa - request_type: secret_scanning - data: - - secret_type: adafruit_io_key - bypass_reason: used_in_tests - path: "/tests/README.md:16:0" - branch: refs/heads/main - resource_identifier: 827efc6d56897b048c772eb4087f854f46256132 - status: denied - requester_comment: Test token used in the readme as an example - expires_at: '2024-07-08T08:43:03Z' - created_at: '2024-07-01T08:43:03Z' - responses: - - id: 42 - reviewer: - actor_id: 4 - actor_name: octocat - status: denied - created_at: '2024-07-02T08:43:04Z' - url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1 - html_url: https://github.com/octo-org/smile/exemptions/1 - - id: 12 - number: 24 - repository: - id: 1 - name: smile - full_name: octo-org/smile - organization: - id: 1 - name: octo-org - requester: - actor_id: 12 - actor_name: monalisa - request_type: secret_scanning - data: - - secret_type: adafruit_io_key - bypass_reason: fix_later - path: README.md:17:0 - branch: refs/heads/my-branch - resource_identifier: 827efc6d56897b048c772eb4087f854f46255555 - status: denied - requester_comment: Token is already revoked, I'll remove it later - expires_at: '2024-07-08T07:43:03Z' - created_at: '2024-07-01T07:43:03Z' - responses: - - id: 42 - reviewer: - actor_id: 4 - actor_name: octocat - status: denied - created_at: '2024-07-02T08:43:04Z' - url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2 - html_url: https://github.com/octo-org/smile/exemptions/2 campaign-org-items: value: - number: 3 diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index ff9878c82..07cfb3105 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -6592,6 +6592,78 @@ } } }, + "/enterprises/{enterprise}/bypass-requests/secret-scanning": { + "get": { + "summary": "List bypass requests for secret scanning for an enterprise", + "description": "List requests to bypass secret scanning push protection in an enterprise.\n\nDelegated bypass must be enabled on repositories in the enterprise and the user must be a bypass reviewer to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/list-enterprise-bypass-requests", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-an-enterprise" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "secret-scanning", + "subcategory": "delegated-bypass" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/org-name-in-query" + }, + { + "$ref": "#/components/parameters/bypass-reviewer-name" + }, + { + "$ref": "#/components/parameters/bypass-requester-name" + }, + { + "$ref": "#/components/parameters/time-period" + }, + { + "$ref": "#/components/parameters/bypass-request-status" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/secret-scanning-bypass-request" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/secret-scanning-bypass-request-items" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + } + }, "/enterprises/{enterprise}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an enterprise", @@ -119255,6 +119327,154 @@ } } }, + "secret-scanning-bypass-request": { + "title": "Secret scanning bypass request", + "description": "A bypass request made by a user asking to be exempted from push protection in this repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the bypass request." + }, + "number": { + "type": "integer", + "description": "The number uniquely identifying the bypass request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the bypass request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the repository the bypass request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the bypass request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the bypass request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the bypass request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the bypass.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who requested the bypass." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the bypass." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the push rules that are being requested to be bypassed.", + "items": { + "type": "object", + "properties": { + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "bypass_reason": { + "type": "string", + "enum": [ + "used_in_tests", + "false_positive", + "fix_later" + ], + "description": "The reason the bypass was requested." + }, + "path": { + "type": "string", + "description": "The path in the repo where the secret was located during the request." + }, + "branch": { + "type": "string", + "description": "The branch in the repo where the secret was located during the request." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the bypass request. For example, a commit SHA.", + "example": "827efc6d56897b048c772eb4087f854f46256132" + }, + "status": { + "type": "string", + "description": "The status of the bypass request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "completed", + "expired", + "open" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the bypass request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the bypass request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the bypass request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the bypass request.", + "nullable": true, + "items": { + "$ref": "#/components/schemas/bypass-response" + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the bypass request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/exemptions/1" + } + } + }, "code-scanning-analysis-tool-name": { "type": "string", "description": "The name of the tool used to generate the code scanning analysis." @@ -128358,154 +128578,6 @@ "visibility" ] }, - "secret-scanning-bypass-request": { - "title": "Secret scanning bypass request", - "description": "A bypass request made by a user asking to be exempted from push protection in this repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the bypass request." - }, - "number": { - "type": "integer", - "description": "The number uniquely identifying the bypass request within its repository." - }, - "repository": { - "type": "object", - "description": "The repository the bypass request is for.", - "properties": { - "id": { - "type": "integer", - "description": "The ID of the repository the bypass request is for." - }, - "name": { - "type": "string", - "description": "The name of the repository the bypass request is for." - }, - "full_name": { - "type": "string", - "description": "The full name of the repository the bypass request is for." - } - } - }, - "organization": { - "type": "object", - "description": "The organization associated with the repository the bypass request is for.", - "properties": { - "id": { - "type": "integer", - "description": "The ID of the organization." - }, - "name": { - "type": "string", - "description": "The name of the organization." - } - } - }, - "requester": { - "type": "object", - "description": "The user who requested the bypass.", - "properties": { - "actor_id": { - "type": "integer", - "description": "The ID of the GitHub user who requested the bypass." - }, - "actor_name": { - "type": "string", - "description": "The name of the GitHub user who requested the bypass." - } - } - }, - "request_type": { - "type": "string", - "description": "The type of request." - }, - "data": { - "nullable": true, - "type": "array", - "description": "Data describing the push rules that are being requested to be bypassed.", - "items": { - "type": "object", - "properties": { - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "bypass_reason": { - "type": "string", - "enum": [ - "used_in_tests", - "false_positive", - "fix_later" - ], - "description": "The reason the bypass was requested." - }, - "path": { - "type": "string", - "description": "The path in the repo where the secret was located during the request." - }, - "branch": { - "type": "string", - "description": "The branch in the repo where the secret was located during the request." - } - } - } - }, - "resource_identifier": { - "type": "string", - "description": "The unique identifier for the request type of the bypass request. For example, a commit SHA.", - "example": "827efc6d56897b048c772eb4087f854f46256132" - }, - "status": { - "type": "string", - "description": "The status of the bypass request.", - "enum": [ - "pending", - "denied", - "approved", - "cancelled", - "completed", - "expired", - "open" - ] - }, - "requester_comment": { - "type": "string", - "description": "The comment the requester provided when creating the bypass request.", - "nullable": true - }, - "expires_at": { - "type": "string", - "format": "date-time", - "description": "The date and time the bypass request will expire." - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The date and time the bypass request was created." - }, - "responses": { - "type": "array", - "description": "The responses to the bypass request.", - "nullable": true, - "items": { - "$ref": "#/components/schemas/bypass-response" - } - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1" - }, - "html_url": { - "type": "string", - "description": "The URL to view the bypass request in a browser.", - "format": "uri", - "example": "https://github.com/octo-org/smile/exemptions/1" - } - } - }, "campaign-state": { "title": "Campaign state", "description": "Indicates whether a campaign is open or closed", @@ -296586,6 +296658,98 @@ } ] }, + "secret-scanning-bypass-request-items": { + "value": [ + { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning", + "data": [ + { + "secret_type": "adafruit_io_key", + "bypass_reason": "used_in_tests", + "path": "/tests/README.md:16:0", + "branch": "refs/heads/main" + } + ], + "resource_identifier": "827efc6d56897b048c772eb4087f854f46256132", + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1", + "html_url": "https://github.com/octo-org/smile/exemptions/1" + }, + { + "id": 12, + "number": 24, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning", + "data": [ + { + "secret_type": "adafruit_io_key", + "bypass_reason": "fix_later", + "path": "README.md:17:0", + "branch": "refs/heads/my-branch" + } + ], + "resource_identifier": "827efc6d56897b048c772eb4087f854f46255555", + "status": "denied", + "requester_comment": "Token is already revoked, I'll remove it later", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2", + "html_url": "https://github.com/octo-org/smile/exemptions/2" + } + ] + }, "code-scanning-organization-alert-items": { "value": [ { @@ -301092,98 +301256,6 @@ } ] }, - "secret-scanning-bypass-request-items": { - "value": [ - { - "id": 21, - "number": 42, - "repository": { - "id": 1, - "name": "smile", - "full_name": "octo-org/smile" - }, - "organization": { - "id": 1, - "name": "octo-org" - }, - "requester": { - "actor_id": 12, - "actor_name": "monalisa" - }, - "request_type": "secret_scanning", - "data": [ - { - "secret_type": "adafruit_io_key", - "bypass_reason": "used_in_tests", - "path": "/tests/README.md:16:0", - "branch": "refs/heads/main" - } - ], - "resource_identifier": "827efc6d56897b048c772eb4087f854f46256132", - "status": "denied", - "requester_comment": "Test token used in the readme as an example", - "expires_at": "2024-07-08T08:43:03Z", - "created_at": "2024-07-01T08:43:03Z", - "responses": [ - { - "id": 42, - "reviewer": { - "actor_id": 4, - "actor_name": "octocat" - }, - "status": "denied", - "created_at": "2024-07-02T08:43:04Z" - } - ], - "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1", - "html_url": "https://github.com/octo-org/smile/exemptions/1" - }, - { - "id": 12, - "number": 24, - "repository": { - "id": 1, - "name": "smile", - "full_name": "octo-org/smile" - }, - "organization": { - "id": 1, - "name": "octo-org" - }, - "requester": { - "actor_id": 12, - "actor_name": "monalisa" - }, - "request_type": "secret_scanning", - "data": [ - { - "secret_type": "adafruit_io_key", - "bypass_reason": "fix_later", - "path": "README.md:17:0", - "branch": "refs/heads/my-branch" - } - ], - "resource_identifier": "827efc6d56897b048c772eb4087f854f46255555", - "status": "denied", - "requester_comment": "Token is already revoked, I'll remove it later", - "expires_at": "2024-07-08T07:43:03Z", - "created_at": "2024-07-01T07:43:03Z", - "responses": [ - { - "id": 42, - "reviewer": { - "actor_id": 4, - "actor_name": "octocat" - }, - "status": "denied", - "created_at": "2024-07-02T08:43:04Z" - } - ], - "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2", - "html_url": "https://github.com/octo-org/smile/exemptions/2" - } - ] - }, "campaign-org-items": { "value": [ { diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index d6a10df45..aaadc2ff3 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -4588,6 +4588,50 @@ paths: "$ref": "#/components/responses/not_found" '500': "$ref": "#/components/responses/internal_error" + "/enterprises/{enterprise}/bypass-requests/secret-scanning": + get: + summary: List bypass requests for secret scanning for an enterprise + description: |- + List requests to bypass secret scanning push protection in an enterprise. + + Delegated bypass must be enabled on repositories in the enterprise and the user must be a bypass reviewer to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/list-enterprise-bypass-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-an-enterprise + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: secret-scanning + subcategory: delegated-bypass + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/org-name-in-query" + - "$ref": "#/components/parameters/bypass-reviewer-name" + - "$ref": "#/components/parameters/bypass-requester-name" + - "$ref": "#/components/parameters/time-period" + - "$ref": "#/components/parameters/bypass-request-status" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/secret-scanning-bypass-request" + examples: + default: + "$ref": "#/components/examples/secret-scanning-bypass-request-items" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" "/enterprises/{enterprise}/code-scanning/alerts": get: summary: List code scanning alerts for an enterprise @@ -86370,6 +86414,126 @@ components: description: The URL to view the bypass request in a browser. format: uri example: https://github.com/octo-org/smile/exemptions/1 + secret-scanning-bypass-request: + title: Secret scanning bypass request + description: A bypass request made by a user asking to be exempted from push + protection in this repository. + type: object + properties: + id: + type: integer + description: The unique identifier of the bypass request. + number: + type: integer + description: The number uniquely identifying the bypass request within its + repository. + repository: + type: object + description: The repository the bypass request is for. + properties: + id: + type: integer + description: The ID of the repository the bypass request is for. + name: + type: string + description: The name of the repository the bypass request is for. + full_name: + type: string + description: The full name of the repository the bypass request is for. + organization: + type: object + description: The organization associated with the repository the bypass + request is for. + properties: + id: + type: integer + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the bypass. + properties: + actor_id: + type: integer + description: The ID of the GitHub user who requested the bypass. + actor_name: + type: string + description: The name of the GitHub user who requested the bypass. + request_type: + type: string + description: The type of request. + data: + nullable: true + type: array + description: Data describing the push rules that are being requested to + be bypassed. + items: + type: object + properties: + secret_type: + type: string + description: The type of secret that secret scanning detected. + bypass_reason: + type: string + enum: + - used_in_tests + - false_positive + - fix_later + description: The reason the bypass was requested. + path: + type: string + description: The path in the repo where the secret was located during + the request. + branch: + type: string + description: The branch in the repo where the secret was located during + the request. + resource_identifier: + type: string + description: The unique identifier for the request type of the bypass request. + For example, a commit SHA. + example: 827efc6d56897b048c772eb4087f854f46256132 + status: + type: string + description: The status of the bypass request. + enum: + - pending + - denied + - approved + - cancelled + - completed + - expired + - open + requester_comment: + type: string + description: The comment the requester provided when creating the bypass + request. + nullable: true + expires_at: + type: string + format: date-time + description: The date and time the bypass request will expire. + created_at: + type: string + format: date-time + description: The date and time the bypass request was created. + responses: + type: array + description: The responses to the bypass request. + nullable: true + items: + "$ref": "#/components/schemas/bypass-response" + url: + type: string + format: uri + example: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1 + html_url: + type: string + description: The URL to view the bypass request in a browser. + format: uri + example: https://github.com/octo-org/smile/exemptions/1 code-scanning-analysis-tool-name: type: string description: The name of the tool used to generate the code scanning analysis. @@ -93525,126 +93689,6 @@ components: - created_at - updated_at - visibility - secret-scanning-bypass-request: - title: Secret scanning bypass request - description: A bypass request made by a user asking to be exempted from push - protection in this repository. - type: object - properties: - id: - type: integer - description: The unique identifier of the bypass request. - number: - type: integer - description: The number uniquely identifying the bypass request within its - repository. - repository: - type: object - description: The repository the bypass request is for. - properties: - id: - type: integer - description: The ID of the repository the bypass request is for. - name: - type: string - description: The name of the repository the bypass request is for. - full_name: - type: string - description: The full name of the repository the bypass request is for. - organization: - type: object - description: The organization associated with the repository the bypass - request is for. - properties: - id: - type: integer - description: The ID of the organization. - name: - type: string - description: The name of the organization. - requester: - type: object - description: The user who requested the bypass. - properties: - actor_id: - type: integer - description: The ID of the GitHub user who requested the bypass. - actor_name: - type: string - description: The name of the GitHub user who requested the bypass. - request_type: - type: string - description: The type of request. - data: - nullable: true - type: array - description: Data describing the push rules that are being requested to - be bypassed. - items: - type: object - properties: - secret_type: - type: string - description: The type of secret that secret scanning detected. - bypass_reason: - type: string - enum: - - used_in_tests - - false_positive - - fix_later - description: The reason the bypass was requested. - path: - type: string - description: The path in the repo where the secret was located during - the request. - branch: - type: string - description: The branch in the repo where the secret was located during - the request. - resource_identifier: - type: string - description: The unique identifier for the request type of the bypass request. - For example, a commit SHA. - example: 827efc6d56897b048c772eb4087f854f46256132 - status: - type: string - description: The status of the bypass request. - enum: - - pending - - denied - - approved - - cancelled - - completed - - expired - - open - requester_comment: - type: string - description: The comment the requester provided when creating the bypass - request. - nullable: true - expires_at: - type: string - format: date-time - description: The date and time the bypass request will expire. - created_at: - type: string - format: date-time - description: The date and time the bypass request was created. - responses: - type: array - description: The responses to the bypass request. - nullable: true - items: - "$ref": "#/components/schemas/bypass-response" - url: - type: string - format: uri - example: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1 - html_url: - type: string - description: The URL to view the bypass request in a browser. - format: uri - example: https://github.com/octo-org/smile/exemptions/1 campaign-state: title: Campaign state description: Indicates whether a campaign is open or closed @@ -221340,6 +221384,72 @@ components: created_at: '2024-07-02T08:43:04Z' url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2 html_url: https://github.com/octo-org/smile/exemptions/2 + secret-scanning-bypass-request-items: + value: + - id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning + data: + - secret_type: adafruit_io_key + bypass_reason: used_in_tests + path: "/tests/README.md:16:0" + branch: refs/heads/main + resource_identifier: 827efc6d56897b048c772eb4087f854f46256132 + status: denied + requester_comment: Test token used in the readme as an example + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1 + html_url: https://github.com/octo-org/smile/exemptions/1 + - id: 12 + number: 24 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning + data: + - secret_type: adafruit_io_key + bypass_reason: fix_later + path: README.md:17:0 + branch: refs/heads/my-branch + resource_identifier: 827efc6d56897b048c772eb4087f854f46255555 + status: denied + requester_comment: Token is already revoked, I'll remove it later + expires_at: '2024-07-08T07:43:03Z' + created_at: '2024-07-01T07:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2 + html_url: https://github.com/octo-org/smile/exemptions/2 code-scanning-organization-alert-items: value: - number: 4 @@ -225145,72 +225255,6 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false - secret-scanning-bypass-request-items: - value: - - id: 21 - number: 42 - repository: - id: 1 - name: smile - full_name: octo-org/smile - organization: - id: 1 - name: octo-org - requester: - actor_id: 12 - actor_name: monalisa - request_type: secret_scanning - data: - - secret_type: adafruit_io_key - bypass_reason: used_in_tests - path: "/tests/README.md:16:0" - branch: refs/heads/main - resource_identifier: 827efc6d56897b048c772eb4087f854f46256132 - status: denied - requester_comment: Test token used in the readme as an example - expires_at: '2024-07-08T08:43:03Z' - created_at: '2024-07-01T08:43:03Z' - responses: - - id: 42 - reviewer: - actor_id: 4 - actor_name: octocat - status: denied - created_at: '2024-07-02T08:43:04Z' - url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1 - html_url: https://github.com/octo-org/smile/exemptions/1 - - id: 12 - number: 24 - repository: - id: 1 - name: smile - full_name: octo-org/smile - organization: - id: 1 - name: octo-org - requester: - actor_id: 12 - actor_name: monalisa - request_type: secret_scanning - data: - - secret_type: adafruit_io_key - bypass_reason: fix_later - path: README.md:17:0 - branch: refs/heads/my-branch - resource_identifier: 827efc6d56897b048c772eb4087f854f46255555 - status: denied - requester_comment: Token is already revoked, I'll remove it later - expires_at: '2024-07-08T07:43:03Z' - created_at: '2024-07-01T07:43:03Z' - responses: - - id: 42 - reviewer: - actor_id: 4 - actor_name: octocat - status: denied - created_at: '2024-07-02T08:43:04Z' - url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2 - html_url: https://github.com/octo-org/smile/exemptions/2 campaign-org-items: value: - number: 3