diff options
author | github-openapi-bot <security+github-openapi-bot@github.com> | 2022-09-02 12:49:16 -0700 |
---|---|---|
committer | github-openapi-bot <security+github-openapi-bot@github.com> | 2022-09-02 12:49:16 -0700 |
commit | 197dd809bf0ee47e2c4a2e8703fc09744f0673fd (patch) | |
tree | 895fa57792e7985d63a38f17fbb01dfc2204b90d /descriptions-next/api.github.com | |
parent | 67ef2ae91efef64e63c0da34df7ca3b882e25eba (diff) | |
download | rest-api-description-197dd809bf0ee47e2c4a2e8703fc09744f0673fd.tar.gz rest-api-description-197dd809bf0ee47e2c4a2e8703fc09744f0673fd.zip |
Update OpenAPI 3.1 Descriptions
Diffstat (limited to 'descriptions-next/api.github.com')
4 files changed, 1021 insertions, 805 deletions
diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 2e5baee6c..1f8d0ecfe 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -21050,6 +21050,9 @@ }, { "$ref": "#/components/parameters/workflow-run-check-suite-id" + }, + { + "$ref": "#/components/parameters/workflow-run-head-sha" } ], "responses": { @@ -22708,6 +22711,9 @@ }, { "$ref": "#/components/parameters/workflow-run-check-suite-id" + }, + { + "$ref": "#/components/parameters/workflow-run-head-sha" } ], "responses": { @@ -36697,6 +36703,12 @@ "string", "null" ], + "enum": [ + "completed", + "not_planned", + "reopened", + null + ], "description": "The reason for the current state", "examples": [ "not_planned" @@ -63992,6 +64004,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -115214,6 +115232,15 @@ "type": "integer" } }, + "workflow-run-head-sha": { + "name": "head_sha", + "description": "Only returns workflow runs that are associated with the specified `head_sha`.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, "run-id": { "name": "run_id", "description": "The unique identifier of the workflow run.", diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index dd7db629d..cea569c1e 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -15020,6 +15020,7 @@ paths: - "$ref": "#/components/parameters/created" - "$ref": "#/components/parameters/exclude-pull-requests" - "$ref": "#/components/parameters/workflow-run-check-suite-id" + - "$ref": "#/components/parameters/workflow-run-head-sha" responses: '200': description: Response @@ -16197,6 +16198,7 @@ paths: - "$ref": "#/components/parameters/created" - "$ref": "#/components/parameters/exclude-pull-requests" - "$ref": "#/components/parameters/workflow-run-check-suite-id" + - "$ref": "#/components/parameters/workflow-run-head-sha" responses: '200': description: Response @@ -26571,6 +26573,11 @@ paths: type: - string - 'null' + enum: + - completed + - not_planned + - reopened + - description: The reason for the current state examples: - not_planned @@ -46066,6 +46073,11 @@ components: type: - string - 'null' + enum: + - completed + - reopened + - not_planned + - examples: - not_planned title: @@ -86839,6 +86851,14 @@ components: in: query schema: type: integer + workflow-run-head-sha: + name: head_sha + description: Only returns workflow runs that are associated with the specified + `head_sha`. + in: query + required: false + schema: + type: string run-id: name: run_id description: The unique identifier of the workflow run. diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 81a0f9d5d..7bd359b3b 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -24659,6 +24659,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -42745,6 +42751,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -49604,6 +49616,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -84300,6 +84318,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -95077,6 +95101,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -170262,6 +170292,15 @@ "schema": { "type": "integer" } + }, + { + "name": "head_sha", + "description": "Only returns workflow runs that are associated with the specified `head_sha`.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -191827,6 +191866,15 @@ "schema": { "type": "integer" } + }, + { + "name": "head_sha", + "description": "Only returns workflow runs that are associated with the specified `head_sha`.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -292326,6 +292374,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -320569,6 +320623,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -324107,6 +324167,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -331476,6 +331542,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -336458,6 +336530,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -341245,6 +341323,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -344613,6 +344697,12 @@ "string", "null" ], + "enum": [ + "completed", + "not_planned", + "reopened", + null + ], "description": "The reason for the current state", "examples": [ "not_planned" @@ -344759,6 +344849,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -348290,6 +348386,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -351618,6 +351720,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -378706,6 +378814,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -534885,6 +534999,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -573365,6 +573485,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -577388,6 +577514,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -581413,6 +581545,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -595276,6 +595414,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] @@ -599301,6 +599445,12 @@ "string", "null" ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ "not_planned" ] diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index f37eadd88..c22c12b07 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -998,7 +998,7 @@ paths: application/json: schema: *8 application/scim+json: - schema: &431 + schema: &432 title: Scim Error description: Scim Error type: object @@ -8156,14 +8156,14 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &277 + instances_url: &278 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true state: *50 - fixed_at: &278 + fixed_at: &279 type: - string - 'null' @@ -8175,7 +8175,7 @@ paths: anyOf: - type: 'null' - *13 - dismissed_at: &279 + dismissed_at: &280 type: - string - 'null' @@ -8183,7 +8183,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &280 + dismissed_reason: &281 type: - string - 'null' @@ -8194,14 +8194,14 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &281 + dismissed_comment: &282 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &284 + rule: &285 type: object properties: id: @@ -8262,7 +8262,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &282 + tool: &283 type: object properties: name: *51 @@ -8273,7 +8273,7 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *52 - most_recent_instance: &283 + most_recent_instance: &284 type: object properties: ref: &222 @@ -8281,7 +8281,7 @@ paths: description: |- The full Git reference, formatted as `refs/heads/<branch name>`, `refs/pull/<number>/merge`, or `refs/pull/<number>/head`. - analysis_key: &287 + analysis_key: &288 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -8292,7 +8292,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &288 + category: &289 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -9222,7 +9222,7 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &409 + state: &410 description: Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`. @@ -9230,7 +9230,7 @@ paths: enum: - open - resolved - resolution: &410 + resolution: &411 type: - string - 'null' @@ -9911,6 +9911,11 @@ paths: type: - string - 'null' + enum: + - completed + - reopened + - not_planned + - examples: - not_planned title: @@ -9979,7 +9984,7 @@ paths: milestone: anyOf: - type: 'null' - - &303 + - &304 title: Milestone description: A collection of related issues and pull requests. @@ -10229,7 +10234,7 @@ paths: - author_association - created_at - updated_at - comment: &348 + comment: &349 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10779,7 +10784,7 @@ paths: url: type: string format: uri - user: &450 + user: &451 title: Public User description: Public User type: object @@ -13851,7 +13856,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user parameters: - - &376 + - &377 name: all description: If `true`, show notifications marked as read. in: query @@ -13859,7 +13864,7 @@ paths: schema: type: boolean default: false - - &377 + - &378 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -13869,7 +13874,7 @@ paths: type: boolean default: false - *68 - - &378 + - &379 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: @@ -14327,7 +14332,7 @@ paths: - url - subscription_url examples: - default: &379 + default: &380 value: - id: '1' repository: @@ -14854,7 +14859,7 @@ paths: type: array items: *40 examples: - default: &469 + default: &470 value: - login: github id: 1 @@ -15931,7 +15936,7 @@ paths: type: array items: *45 examples: - default: &463 + default: &464 value: total_count: 1 repositories: @@ -16704,7 +16709,7 @@ paths: type: array items: *109 examples: - default: &455 + default: &456 value: total_count: 1 repositories: @@ -18443,7 +18448,7 @@ paths: machine: anyOf: - type: 'null' - - &294 + - &295 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -18723,7 +18728,7 @@ paths: - pulls_url - recent_folders examples: - default: &452 + default: &453 value: total_count: 3 codespaces: @@ -19436,7 +19441,7 @@ paths: description: Response content: application/json: - schema: &312 + schema: &313 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -19455,7 +19460,7 @@ paths: - key_id - key examples: - default: &313 + default: &314 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -20830,7 +20835,7 @@ paths: application/json: schema: *14 examples: - default: &344 + default: &345 value: id: 1 account: @@ -21053,7 +21058,7 @@ paths: required: true content: application/json: - schema: &345 + schema: &346 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -21726,7 +21731,7 @@ paths: application/json: schema: *154 examples: - default: &293 + default: &294 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -22868,7 +22873,7 @@ paths: parameters: - *94 - *158 - - &468 + - &469 name: repo_name description: repo_name parameter in: path @@ -23195,7 +23200,7 @@ paths: - nuget - container - *94 - - &470 + - &471 name: visibility description: The selected visibility of the packages. Only `container` package_types currently support `internal` visibility properly. For other ecosystems `internal` @@ -24401,7 +24406,7 @@ paths: application/json: schema: *45 examples: - default: &472 + default: &473 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -24557,7 +24562,7 @@ paths: - *53 - *30 - *12 - - &407 + - &408 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events before this cursor. To @@ -24567,7 +24572,7 @@ paths: required: false schema: type: string - - &408 + - &409 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events after this cursor. To @@ -25716,7 +25721,7 @@ paths: - updated_at - url examples: - default: &440 + default: &441 value: - author: login: octocat @@ -25955,7 +25960,7 @@ paths: application/json: schema: *186 examples: - default: &441 + default: &442 value: author: login: octocat @@ -26140,7 +26145,7 @@ paths: - updated_at - url examples: - default: &442 + default: &443 value: - author: login: octocat @@ -26357,7 +26362,7 @@ paths: application/json: schema: *189 examples: - default: &443 + default: &444 value: author: login: octocat @@ -27046,7 +27051,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &444 + response-if-user-is-a-team-maintainer: &445 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -27109,7 +27114,7 @@ paths: application/json: schema: *200 examples: - response-if-users-membership-with-team-is-now-pending: &445 + response-if-users-membership-with-team-is-now-pending: &446 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -27249,7 +27254,7 @@ paths: - updated_at - permissions examples: - default: &446 + default: &447 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -27325,7 +27330,7 @@ paths: application/json: schema: *201 examples: - default: &447 + default: &448 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -27523,7 +27528,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &448 + schema: &449 title: Team Repository description: A team's access to a repository. type: object @@ -28480,7 +28485,7 @@ paths: type: array items: *183 examples: - response-if-child-teams-exist: &449 + response-if-child-teams-exist: &450 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -30375,7 +30380,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &308 + code_of_conduct: &309 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -31238,7 +31243,7 @@ paths: application/json: schema: *217 examples: - default: &331 + default: &332 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33514,6 +33519,14 @@ paths: in: query schema: type: integer + - &252 + name: head_sha + description: Only returns workflow runs that are associated with the specified + `head_sha`. + in: query + required: false + schema: + type: string responses: '200': description: Response @@ -33642,7 +33655,7 @@ paths: type: - array - 'null' - items: &269 + items: &270 title: Pull Request Minimal type: object properties: @@ -33766,7 +33779,7 @@ paths: head_commit: anyOf: - type: 'null' - - &273 + - &274 title: Simple Commit description: Simple Commit type: object @@ -33844,7 +33857,7 @@ paths: - workflow_url - pull_requests examples: - default: &252 + default: &253 value: total_count: 1 workflow_runs: @@ -34979,7 +34992,7 @@ paths: items: type: object properties: - type: &321 + type: &322 type: string description: The type of reviewer. enum: @@ -35114,7 +35127,7 @@ paths: application/json: schema: type: array - items: &316 + items: &317 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -35225,7 +35238,7 @@ paths: - created_at - updated_at examples: - default: &317 + default: &318 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -35549,7 +35562,7 @@ paths: - created_at - updated_at examples: - default: &421 + default: &422 value: total_count: 2 secrets: @@ -35620,7 +35633,7 @@ paths: application/json: schema: *243 examples: - default: &422 + default: &423 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -36096,6 +36109,7 @@ paths: - *250 - *232 - *251 + - *252 responses: '200': description: Response @@ -36113,7 +36127,7 @@ paths: type: array items: *233 examples: - default: *252 + default: *253 headers: Link: *26 x-github: @@ -36278,7 +36292,7 @@ paths: application/json: schema: type: array - items: &253 + items: &254 title: Autolink reference description: An autolink reference. type: object @@ -36372,9 +36386,9 @@ paths: description: response content: application/json: - schema: *253 + schema: *254 examples: - default: &254 + default: &255 value: id: 1 key_prefix: TICKET- @@ -36407,7 +36421,7 @@ paths: parameters: - *203 - *204 - - &255 + - &256 name: autolink_id description: The unique identifier of the autolink. in: path @@ -36419,9 +36433,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *254 examples: - default: *254 + default: *255 '404': *15 x-github: githubCloudOnly: false @@ -36443,7 +36457,7 @@ paths: parameters: - *203 - *204 - - *255 + - *256 responses: '204': description: Response @@ -36548,7 +36562,7 @@ paths: - url protected: type: boolean - protection: &257 + protection: &258 title: Branch Protection description: Branch Protection type: object @@ -36591,7 +36605,7 @@ paths: required: - contexts - checks - enforce_admins: &260 + enforce_admins: &261 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -36608,7 +36622,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &262 + required_pull_request_reviews: &263 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -36685,7 +36699,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &259 + restrictions: &260 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -36984,7 +36998,7 @@ paths: parameters: - *203 - *204 - - &258 + - &259 name: branch description: The name of the branch. in: path @@ -36997,14 +37011,14 @@ paths: description: Response content: application/json: - schema: &268 + schema: &269 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &299 + commit: &300 title: Commit description: Commit type: object @@ -37043,7 +37057,7 @@ paths: author: anyOf: - type: 'null' - - &256 + - &257 title: Git User description: Metaproperties for Git author/committer information. @@ -37064,7 +37078,7 @@ paths: committer: anyOf: - type: 'null' - - *256 + - *257 message: type: string examples: @@ -37088,7 +37102,7 @@ paths: required: - sha - url - verification: &335 + verification: &336 title: Verification type: object properties: @@ -37157,7 +37171,7 @@ paths: type: integer files: type: array - items: &310 + items: &311 title: Diff Entry description: Diff Entry type: object @@ -37251,7 +37265,7 @@ paths: - self protected: type: boolean - protection: *257 + protection: *258 protection_url: type: string format: uri @@ -37383,13 +37397,13 @@ paths: parameters: - *203 - *204 - - *258 + - *259 responses: '200': description: Response content: application/json: - schema: *257 + schema: *258 examples: default: value: @@ -37576,7 +37590,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 requestBody: required: true content: @@ -37817,7 +37831,7 @@ paths: url: type: string format: uri - required_status_checks: &265 + required_status_checks: &266 title: Status Check Policy description: Status Check Policy type: object @@ -37971,7 +37985,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *259 + restrictions: *260 required_conversation_resolution: type: object properties: @@ -38061,7 +38075,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 responses: '204': description: Response @@ -38088,15 +38102,15 @@ paths: parameters: - *203 - *204 - - *258 + - *259 responses: '200': description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: &261 + default: &262 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -38120,15 +38134,15 @@ paths: parameters: - *203 - *204 - - *258 + - *259 responses: '200': description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38149,7 +38163,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 responses: '204': description: Response @@ -38176,15 +38190,15 @@ paths: parameters: - *203 - *204 - - *258 + - *259 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: &263 + default: &264 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -38279,7 +38293,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 requestBody: required: false content: @@ -38371,9 +38385,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *263 + default: *264 '422': *10 x-github: githubCloudOnly: false @@ -38396,7 +38410,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 responses: '204': description: Response @@ -38424,15 +38438,15 @@ paths: parameters: - *203 - *204 - - *258 + - *259 responses: '200': description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: &264 + default: &265 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -38457,15 +38471,15 @@ paths: parameters: - *203 - *204 - - *258 + - *259 responses: '200': description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *264 + default: *265 '404': *15 x-github: githubCloudOnly: false @@ -38487,7 +38501,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 responses: '204': description: Response @@ -38514,15 +38528,15 @@ paths: parameters: - *203 - *204 - - *258 + - *259 responses: '200': description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: &266 + default: &267 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -38550,7 +38564,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 requestBody: required: false content: @@ -38601,9 +38615,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *266 + default: *267 '404': *15 '422': *10 x-github: @@ -38627,7 +38641,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 responses: '204': description: Response @@ -38653,7 +38667,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 responses: '200': description: Response @@ -38689,7 +38703,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 requestBody: required: false content: @@ -38758,7 +38772,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 requestBody: required: false content: @@ -38824,7 +38838,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 requestBody: content: application/json: @@ -38891,13 +38905,13 @@ paths: parameters: - *203 - *204 - - *258 + - *259 responses: '200': description: Response content: application/json: - schema: *259 + schema: *260 examples: default: value: @@ -38989,7 +39003,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 responses: '204': description: Response @@ -39014,7 +39028,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 responses: '200': description: Response @@ -39024,7 +39038,7 @@ paths: type: array items: *1 examples: - default: &267 + default: &268 value: - id: 1 slug: octoapp @@ -39087,7 +39101,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 requestBody: required: false content: @@ -39118,7 +39132,7 @@ paths: type: array items: *1 examples: - default: *267 + default: *268 '422': *10 x-github: githubCloudOnly: false @@ -39145,7 +39159,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 requestBody: required: false content: @@ -39176,7 +39190,7 @@ paths: type: array items: *1 examples: - default: *267 + default: *268 '422': *10 x-github: githubCloudOnly: false @@ -39203,7 +39217,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 requestBody: content: application/json: @@ -39233,7 +39247,7 @@ paths: type: array items: *1 examples: - default: *267 + default: *268 '422': *10 x-github: githubCloudOnly: false @@ -39257,7 +39271,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 responses: '200': description: Response @@ -39293,7 +39307,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 requestBody: required: false content: @@ -39358,7 +39372,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 requestBody: required: false content: @@ -39423,7 +39437,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 requestBody: content: application/json: @@ -39484,7 +39498,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 responses: '200': description: Response @@ -39520,7 +39534,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 requestBody: required: false content: @@ -39584,7 +39598,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 requestBody: required: false content: @@ -39648,7 +39662,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 requestBody: content: application/json: @@ -39720,7 +39734,7 @@ paths: parameters: - *203 - *204 - - *258 + - *259 requestBody: required: true content: @@ -39742,7 +39756,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: default: value: @@ -40130,7 +40144,7 @@ paths: description: Response content: application/json: - schema: &270 + schema: &271 title: CheckRun description: A check performed on the code of a given code change type: object @@ -40256,7 +40270,7 @@ paths: - *1 pull_requests: type: array - items: *269 + items: *270 deployment: title: Deployment description: A deployment created as the result of an Actions @@ -40543,7 +40557,7 @@ paths: parameters: - *203 - *204 - - &271 + - &272 name: check_run_id description: The unique identifier of the check run. in: path @@ -40555,9 +40569,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: - default: &272 + default: &273 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -40656,7 +40670,7 @@ paths: parameters: - *203 - *204 - - *271 + - *272 requestBody: required: true content: @@ -40895,9 +40909,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: - default: *272 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40920,7 +40934,7 @@ paths: parameters: - *203 - *204 - - *271 + - *272 - *12 - *30 responses: @@ -41032,7 +41046,7 @@ paths: parameters: - *203 - *204 - - *271 + - *272 responses: '201': description: Response @@ -41096,7 +41110,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &274 + schema: &275 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -41169,7 +41183,7 @@ paths: type: - array - 'null' - items: *269 + items: *270 app: anyOf: - type: 'null' @@ -41185,7 +41199,7 @@ paths: - string - 'null' format: date-time - head_commit: *273 + head_commit: *274 latest_check_runs_count: type: integer check_runs_url: @@ -41213,7 +41227,7 @@ paths: - check_runs_url - pull_requests examples: - default: &275 + default: &276 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -41504,9 +41518,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *274 + schema: *275 examples: - default: *275 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41839,7 +41853,7 @@ paths: parameters: - *203 - *204 - - &276 + - &277 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -41851,9 +41865,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *275 examples: - default: *275 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41875,15 +41889,15 @@ paths: parameters: - *203 - *204 - - *276 - - &305 + - *277 + - &306 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &306 + - &307 name: status description: Returns check runs with the specified `status`. in: query @@ -41922,9 +41936,9 @@ paths: type: integer check_runs: type: array - items: *270 + items: *271 examples: - default: &307 + default: &308 value: total_count: 1 check_runs: @@ -42028,7 +42042,7 @@ paths: parameters: - *203 - *204 - - *276 + - *277 responses: '201': description: Response @@ -42103,16 +42117,16 @@ paths: updated_at: *58 url: *59 html_url: *60 - instances_url: *277 + instances_url: *278 state: *50 - fixed_at: *278 + fixed_at: *279 dismissed_by: anyOf: - type: 'null' - *13 - dismissed_at: *279 - dismissed_reason: *280 - dismissed_comment: *281 + dismissed_at: *280 + dismissed_reason: *281 + dismissed_comment: *282 rule: type: object properties: @@ -42147,8 +42161,8 @@ paths: type: string description: A short description of the rule used to detect the alert. - tool: *282 - most_recent_instance: *283 + tool: *283 + most_recent_instance: *284 required: - number - created_at @@ -42287,7 +42301,7 @@ paths: parameters: - *203 - *204 - - &285 + - &286 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -42301,7 +42315,7 @@ paths: description: Response content: application/json: - schema: &286 + schema: &287 type: object properties: number: *56 @@ -42309,19 +42323,19 @@ paths: updated_at: *58 url: *59 html_url: *60 - instances_url: *277 + instances_url: *278 state: *50 - fixed_at: *278 + fixed_at: *279 dismissed_by: anyOf: - type: 'null' - *13 - dismissed_at: *279 - dismissed_reason: *280 - dismissed_comment: *281 - rule: *284 - tool: *282 - most_recent_instance: *283 + dismissed_at: *280 + dismissed_reason: *281 + dismissed_comment: *282 + rule: *285 + tool: *283 + most_recent_instance: *284 required: - number - created_at @@ -42433,7 +42447,7 @@ paths: parameters: - *203 - *204 - - *285 + - *286 requestBody: required: true content: @@ -42448,8 +42462,8 @@ paths: enum: - open - dismissed - dismissed_reason: *280 - dismissed_comment: *281 + dismissed_reason: *281 + dismissed_comment: *282 required: - state examples: @@ -42464,7 +42478,7 @@ paths: description: Response content: application/json: - schema: *286 + schema: *287 examples: default: value: @@ -42538,7 +42552,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &291 + '403': &292 description: Response if the repository is archived or if github advanced security is not enabled for this repository content: @@ -42567,7 +42581,7 @@ paths: parameters: - *203 - *204 - - *285 + - *286 - *30 - *12 - *223 @@ -42578,7 +42592,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: value: @@ -42670,7 +42684,7 @@ paths: in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &289 + schema: &290 type: string description: An identifier for the upload. examples: @@ -42692,23 +42706,23 @@ paths: application/json: schema: type: array - items: &290 + items: &291 type: object properties: ref: *222 - commit_sha: &292 + commit_sha: &293 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: *287 + analysis_key: *288 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *288 + category: *289 error: type: string examples: @@ -42733,8 +42747,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *289 - tool: *282 + sarif_id: *290 + tool: *283 deletable: type: boolean warning: @@ -42847,7 +42861,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *291 examples: response: summary: application/json response @@ -43040,7 +43054,7 @@ 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': *9 - '403': *291 + '403': *292 '404': *15 '503': *62 x-github: @@ -43084,7 +43098,7 @@ paths: schema: type: object properties: - commit_sha: *292 + commit_sha: *293 ref: *222 sarif: description: A Base64 string representing the SARIF file to upload. @@ -43131,7 +43145,7 @@ paths: schema: type: object properties: - id: *289 + id: *290 url: type: string description: The REST API URL for checking the status of the upload. @@ -43145,7 +43159,7 @@ 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': *291 + '403': *292 '404': *15 '413': description: Payload Too Large if the sarif field is too large @@ -43749,7 +43763,7 @@ paths: application/json: schema: *154 examples: - default: *293 + default: *294 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -43757,7 +43771,7 @@ paths: application/json: schema: *154 examples: - default: *293 + default: *294 '400': *9 '401': *21 '403': *22 @@ -43814,7 +43828,7 @@ paths: name: type: string examples: - default: &295 + default: &296 value: devcontainers: - path: ".devcontainer/foobar/devcontainer.json" @@ -43879,9 +43893,9 @@ paths: type: integer machines: type: array - items: *294 + items: *295 examples: - default: &458 + default: &459 value: total_count: 2 machines: @@ -43964,7 +43978,7 @@ paths: - string - 'null' examples: - default: *295 + default: *296 '401': *21 '403': *22 '404': *15 @@ -44006,7 +44020,7 @@ paths: type: integer secrets: type: array - items: &296 + items: &297 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -44027,7 +44041,7 @@ paths: - created_at - updated_at examples: - default: &453 + default: &454 value: total_count: 2 secrets: @@ -44134,7 +44148,7 @@ paths: description: Response content: application/json: - schema: *296 + schema: *297 examples: default: value: @@ -44342,7 +44356,7 @@ paths: application/json: schema: type: array - items: &297 + items: &298 title: Collaborator description: Collaborator type: object @@ -44600,7 +44614,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &347 + schema: &348 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -44841,7 +44855,7 @@ paths: user: anyOf: - type: 'null' - - *297 + - *298 required: - permission - role_name @@ -44900,7 +44914,7 @@ paths: application/json: schema: type: array - items: &298 + items: &299 title: Commit Comment description: Commit Comment type: object @@ -44958,7 +44972,7 @@ paths: - created_at - updated_at examples: - default: &301 + default: &302 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -45017,9 +45031,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: &302 + default: &303 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -45092,7 +45106,7 @@ paths: description: Response content: application/json: - schema: *298 + schema: *299 examples: default: value: @@ -45371,9 +45385,9 @@ paths: application/json: schema: type: array - items: *299 + items: *300 examples: - default: &393 + default: &394 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -45467,7 +45481,7 @@ paths: parameters: - *203 - *204 - - &300 + - &301 name: commit_sha description: The SHA of the commit. in: path @@ -45532,7 +45546,7 @@ paths: parameters: - *203 - *204 - - *300 + - *301 - *12 - *30 responses: @@ -45542,9 +45556,9 @@ paths: application/json: schema: type: array - items: *298 + items: *299 examples: - default: *301 + default: *302 headers: Link: *26 x-github: @@ -45567,7 +45581,7 @@ paths: parameters: - *203 - *204 - - *300 + - *301 requestBody: required: true content: @@ -45602,9 +45616,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: *302 + default: *303 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -45634,7 +45648,7 @@ paths: parameters: - *203 - *204 - - *300 + - *301 - *12 - *30 responses: @@ -45644,7 +45658,7 @@ paths: application/json: schema: type: array - items: &384 + items: &385 title: Pull Request Simple description: Pull Request Simple type: object @@ -45763,7 +45777,7 @@ paths: milestone: anyOf: - type: 'null' - - *303 + - *304 active_lock_reason: type: - string @@ -45862,7 +45876,7 @@ paths: _links: type: object properties: - comments: &304 + comments: &305 title: Link description: Hypermedia Link type: object @@ -45871,13 +45885,13 @@ paths: type: string required: - href - commits: *304 - statuses: *304 - html: *304 - issue: *304 - review_comments: *304 - review_comment: *304 - self: *304 + commits: *305 + statuses: *305 + html: *305 + issue: *305 + review_comments: *305 + review_comment: *305 + self: *305 required: - comments - commits @@ -45888,7 +45902,7 @@ paths: - review_comment - self author_association: *65 - auto_merge: &386 + auto_merge: &387 title: Auto merge description: The status of auto merging a pull request. type: @@ -45953,7 +45967,7 @@ paths: - author_association - auto_merge examples: - default: &385 + default: &386 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -46499,9 +46513,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *300 examples: - default: &373 + default: &374 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -46615,8 +46629,8 @@ paths: schema: type: string x-multi-segment: true - - *305 - *306 + - *307 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -46650,9 +46664,9 @@ paths: type: integer check_runs: type: array - items: *270 + items: *271 examples: - default: *307 + default: *308 headers: Link: *26 x-github: @@ -46690,7 +46704,7 @@ paths: schema: type: integer example: 1 - - *305 + - *306 - *12 - *30 responses: @@ -46708,7 +46722,7 @@ paths: type: integer check_suites: type: array - items: *274 + items: *275 examples: default: value: @@ -47136,7 +47150,7 @@ paths: application/json: schema: type: array - items: &414 + items: &415 title: Status description: The status of a commit. type: object @@ -47280,11 +47294,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *308 + - *309 code_of_conduct_file: anyOf: - type: 'null' - - &309 + - &310 title: Community Health File type: object properties: @@ -47304,19 +47318,19 @@ paths: contributing: anyOf: - type: 'null' - - *309 + - *310 readme: anyOf: - type: 'null' - - *309 + - *310 issue_template: anyOf: - type: 'null' - - *309 + - *310 pull_request_template: anyOf: - type: 'null' - - *309 + - *310 required: - code_of_conduct - code_of_conduct_file @@ -47480,8 +47494,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *299 - merge_base_commit: *299 + base_commit: *300 + merge_base_commit: *300 status: type: string enum: @@ -47505,10 +47519,10 @@ paths: - 6 commits: type: array - items: *299 + items: *300 files: type: array - items: *310 + items: *311 required: - url - html_url @@ -48030,7 +48044,7 @@ paths: - size - type - url - - &398 + - &399 title: Content File description: Content File type: object @@ -48331,7 +48345,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *15 '403': *22 - '302': &402 + '302': &403 description: Found x-github: githubCloudOnly: false @@ -48444,7 +48458,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &312 title: File Commit description: File Commit type: object @@ -48595,7 +48609,7 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: example-for-creating-a-file: value: @@ -48726,7 +48740,7 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: default: value: @@ -48923,7 +48937,7 @@ paths: type: integer secrets: type: array - items: &314 + items: &315 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -48983,9 +48997,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *313 examples: - default: *313 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49013,7 +49027,7 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: default: value: @@ -49430,7 +49444,7 @@ paths: - version - url additionalProperties: false - metadata: &315 + metadata: &316 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -49469,7 +49483,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *315 + metadata: *316 resolved: type: object description: A collection of resolved package dependencies. @@ -49483,7 +49497,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *315 + metadata: *316 relationship: type: string description: A notation of whether a dependency is requested @@ -49658,9 +49672,9 @@ paths: application/json: schema: type: array - items: *316 + items: *317 examples: - default: *317 + default: *318 headers: Link: *26 x-github: @@ -49806,7 +49820,7 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: simple-example: summary: Simple example @@ -49881,7 +49895,7 @@ paths: parameters: - *203 - *204 - - &318 + - &319 name: deployment_id description: deployment_id parameter in: path @@ -49893,7 +49907,7 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: default: value: @@ -49958,7 +49972,7 @@ paths: parameters: - *203 - *204 - - *318 + - *319 responses: '204': description: Response @@ -49982,7 +49996,7 @@ paths: parameters: - *203 - *204 - - *318 + - *319 - *12 - *30 responses: @@ -49992,7 +50006,7 @@ paths: application/json: schema: type: array - items: &319 + items: &320 title: Deployment Status description: The status of a deployment. type: object @@ -50156,7 +50170,7 @@ paths: parameters: - *203 - *204 - - *318 + - *319 requestBody: required: true content: @@ -50233,9 +50247,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: &320 + default: &321 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -50293,7 +50307,7 @@ paths: parameters: - *203 - *204 - - *318 + - *319 - name: status_id in: path required: true @@ -50304,9 +50318,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *320 + default: *321 '404': *15 x-github: githubCloudOnly: false @@ -50406,7 +50420,7 @@ paths: - 5 environments: type: array - items: &322 + items: &323 title: Environment description: Details of a deployment environment type: object @@ -50465,7 +50479,7 @@ paths: type: string examples: - wait_timer - wait_timer: &324 + wait_timer: &325 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -50501,7 +50515,7 @@ paths: items: type: object properties: - type: *321 + type: *322 reviewer: anyOf: - *13 @@ -50528,7 +50542,7 @@ paths: - id - node_id - type - deployment_branch_policy: &325 + deployment_branch_policy: &326 type: - object - 'null' @@ -50644,7 +50658,7 @@ paths: parameters: - *203 - *204 - - &323 + - &324 name: environment_name in: path required: true @@ -50656,9 +50670,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *323 examples: - default: &326 + default: &327 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -50740,7 +50754,7 @@ paths: parameters: - *203 - *204 - - *323 + - *324 requestBody: required: false content: @@ -50750,7 +50764,7 @@ paths: - object - 'null' properties: - wait_timer: *324 + wait_timer: *325 reviewers: type: - array @@ -50763,14 +50777,14 @@ paths: items: type: object properties: - type: *321 + type: *322 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *325 + deployment_branch_policy: *326 additionalProperties: false examples: default: @@ -50789,9 +50803,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *323 examples: - default: *326 + default: *327 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -50817,7 +50831,7 @@ paths: parameters: - *203 - *204 - - *323 + - *324 responses: '204': description: Default response @@ -50842,7 +50856,7 @@ paths: parameters: - *203 - *204 - - *323 + - *324 - *12 - *30 responses: @@ -50861,7 +50875,7 @@ paths: - 2 branch_policies: type: array - items: &327 + items: &328 title: Deployment branch policy description: Details of a deployment branch policy. type: object @@ -50915,12 +50929,12 @@ paths: parameters: - *203 - *204 - - *323 + - *324 requestBody: required: true content: application/json: - schema: &330 + schema: &331 title: Deployment branch policy name pattern type: object properties: @@ -50949,9 +50963,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - example-wildcard: &328 + example-wildcard: &329 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -50987,8 +51001,8 @@ paths: parameters: - *203 - *204 - - *323 - - &329 + - *324 + - &330 name: branch_policy_id in: path required: true @@ -51000,9 +51014,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *328 + default: *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51023,13 +51037,13 @@ paths: parameters: - *203 - *204 - - *323 - - *329 + - *324 + - *330 requestBody: required: true content: application/json: - schema: *330 + schema: *331 examples: default: value: @@ -51039,9 +51053,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *328 + default: *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51062,8 +51076,8 @@ paths: parameters: - *203 - *204 - - *323 - - *329 + - *324 + - *330 responses: '204': description: Response @@ -51347,7 +51361,7 @@ paths: application/json: schema: *217 examples: - default: *331 + default: *332 '400': *9 '422': *10 '403': *22 @@ -51650,7 +51664,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &333 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -51869,13 +51883,13 @@ paths: parameters: - *203 - *204 - - *300 + - *301 responses: '200': description: Response content: application/json: - schema: *332 + schema: *333 examples: default: value: @@ -51944,7 +51958,7 @@ paths: application/json: schema: type: array - items: &333 + items: &334 title: Git Reference description: Git references within a repository type: object @@ -52032,9 +52046,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *334 examples: - default: &334 + default: &335 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -52096,9 +52110,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *334 examples: - default: *334 + default: *335 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -52161,9 +52175,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *334 examples: - default: *334 + default: *335 '422': *10 x-github: githubCloudOnly: false @@ -52307,7 +52321,7 @@ paths: description: Response content: application/json: - schema: &336 + schema: &337 title: Git Tag description: Metadata for a Git tag type: object @@ -52363,7 +52377,7 @@ paths: - sha - type - url - verification: *335 + verification: *336 required: - sha - url @@ -52373,7 +52387,7 @@ paths: - tag - message examples: - default: &337 + default: &338 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -52455,9 +52469,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '404': *15 x-github: githubCloudOnly: false @@ -52555,7 +52569,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &339 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -52692,7 +52706,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: default-response: summary: Default response @@ -52760,7 +52774,7 @@ paths: application/json: schema: type: array - items: &339 + items: &340 title: Webhook description: Webhooks for repositories. type: object @@ -52993,9 +53007,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *340 examples: - default: &340 + default: &341 value: type: Repository id: 12345678 @@ -53051,9 +53065,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *340 examples: - default: *340 + default: *341 '404': *15 x-github: githubCloudOnly: false @@ -53138,9 +53152,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *340 examples: - default: *340 + default: *341 '422': *10 '404': *15 x-github: @@ -53436,7 +53450,7 @@ paths: description: Response content: application/json: - schema: &341 + schema: &342 title: Import description: A repository import from an external source. type: object @@ -53543,7 +53557,7 @@ paths: - html_url - authors_url examples: - default: &343 + default: &344 value: vcs: subversion use_lfs: true @@ -53623,7 +53637,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: default: value: @@ -53722,7 +53736,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: example-1: summary: Example 1 @@ -53811,7 +53825,7 @@ paths: parameters: - *203 - *204 - - &478 + - &479 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -53825,7 +53839,7 @@ paths: application/json: schema: type: array - items: &342 + items: &343 title: Porter Author description: Porter Author type: object @@ -53927,7 +53941,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *343 examples: default: value: @@ -54045,9 +54059,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: - default: *343 + default: *344 '422': *10 x-github: githubCloudOnly: false @@ -54077,7 +54091,7 @@ paths: application/json: schema: *14 examples: - default: *344 + default: *345 '301': *216 '404': *15 x-github: @@ -54112,7 +54126,7 @@ paths: properties: {} additionalProperties: false examples: - default: &346 + default: &347 value: limit: collaborators_only origin: repository @@ -54143,7 +54157,7 @@ paths: required: true content: application/json: - schema: *345 + schema: *346 examples: default: summary: Example request body @@ -54157,7 +54171,7 @@ paths: application/json: schema: *144 examples: - default: *346 + default: *347 '409': description: Response x-github: @@ -54214,9 +54228,9 @@ paths: application/json: schema: type: array - items: *347 + items: *348 examples: - default: &473 + default: &474 value: - id: 1 repository: @@ -54378,7 +54392,7 @@ paths: description: Response content: application/json: - schema: *347 + schema: *348 examples: default: value: @@ -54858,7 +54872,7 @@ paths: application/json: schema: *78 examples: - default: &351 + default: &352 value: id: 1 node_id: MDU6SXNzdWUx @@ -55053,9 +55067,9 @@ paths: application/json: schema: type: array - items: *348 + items: *349 examples: - default: &353 + default: &354 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -55113,9 +55127,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *349 examples: - default: &349 + default: &350 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -55185,9 +55199,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *349 examples: - default: *349 + default: *350 '422': *10 x-github: githubCloudOnly: false @@ -55375,7 +55389,7 @@ paths: application/json: schema: type: array - items: &350 + items: &351 title: Issue Event description: Issue Event type: object @@ -55725,7 +55739,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *351 examples: default: value: @@ -55949,7 +55963,7 @@ paths: parameters: - *203 - *204 - - &352 + - &353 name: issue_number description: The number that identifies the issue. in: path @@ -55963,7 +55977,7 @@ paths: application/json: schema: *78 examples: - default: *351 + default: *352 '301': *216 '404': *15 '410': *214 @@ -55985,7 +55999,7 @@ paths: parameters: - *203 - *204 - - *352 + - *353 requestBody: required: false content: @@ -56023,6 +56037,11 @@ paths: type: - string - 'null' + enum: + - completed + - not_planned + - reopened + - description: The reason for the current state examples: - not_planned @@ -56089,7 +56108,7 @@ paths: application/json: schema: *78 examples: - default: *351 + default: *352 '422': *10 '503': *62 '403': *22 @@ -56115,7 +56134,7 @@ paths: parameters: - *203 - *204 - - *352 + - *353 requestBody: required: false content: @@ -56143,7 +56162,7 @@ paths: application/json: schema: *78 examples: - default: *351 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56161,7 +56180,7 @@ paths: parameters: - *203 - *204 - - *352 + - *353 requestBody: content: application/json: @@ -56188,7 +56207,7 @@ paths: application/json: schema: *78 examples: - default: *351 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56207,7 +56226,7 @@ paths: parameters: - *203 - *204 - - *352 + - *353 - *68 - *12 - *30 @@ -56218,9 +56237,9 @@ paths: application/json: schema: type: array - items: *348 + items: *349 examples: - default: *353 + default: *354 headers: Link: *26 '404': *15 @@ -56246,7 +56265,7 @@ paths: parameters: - *203 - *204 - - *352 + - *353 requestBody: required: true content: @@ -56268,9 +56287,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *349 examples: - default: *349 + default: *350 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -56299,7 +56318,7 @@ paths: parameters: - *203 - *204 - - *352 + - *353 - *12 - *30 responses: @@ -56313,7 +56332,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &356 + - &357 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -56362,7 +56381,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &357 + - &358 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -56490,7 +56509,7 @@ paths: - performed_via_github_app - assignee - assigner - - &358 + - &359 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -56536,7 +56555,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &359 + - &360 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -56582,7 +56601,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &360 + - &361 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -56631,7 +56650,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &361 + - &362 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -56673,7 +56692,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &362 + - &363 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -56715,7 +56734,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &363 + - &364 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -56771,7 +56790,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &364 + - &365 title: Locked Issue Event description: Locked Issue Event type: object @@ -56816,7 +56835,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &365 + - &366 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -56877,7 +56896,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &366 + - &367 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -56938,7 +56957,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &367 + - &368 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -56999,7 +57018,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &368 + - &369 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -57111,7 +57130,7 @@ paths: parameters: - *203 - *204 - - *352 + - *353 - *12 - *30 responses: @@ -57121,7 +57140,7 @@ paths: application/json: schema: type: array - items: &354 + items: &355 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -57172,7 +57191,7 @@ paths: - color - default examples: - default: &355 + default: &356 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -57208,7 +57227,7 @@ paths: parameters: - *203 - *204 - - *352 + - *353 requestBody: required: false content: @@ -57267,9 +57286,9 @@ paths: application/json: schema: type: array - items: *354 + items: *355 examples: - default: *355 + default: *356 '410': *214 '422': *10 x-github: @@ -57289,7 +57308,7 @@ paths: parameters: - *203 - *204 - - *352 + - *353 requestBody: required: false content: @@ -57349,9 +57368,9 @@ paths: application/json: schema: type: array - items: *354 + items: *355 examples: - default: *355 + default: *356 '410': *214 '422': *10 x-github: @@ -57371,7 +57390,7 @@ paths: parameters: - *203 - *204 - - *352 + - *353 responses: '204': description: Response @@ -57396,7 +57415,7 @@ paths: parameters: - *203 - *204 - - *352 + - *353 - name: name in: path required: true @@ -57409,7 +57428,7 @@ paths: application/json: schema: type: array - items: *354 + items: *355 examples: default: value: @@ -57443,7 +57462,7 @@ paths: parameters: - *203 - *204 - - *352 + - *353 requestBody: required: false content: @@ -57492,7 +57511,7 @@ paths: parameters: - *203 - *204 - - *352 + - *353 responses: '204': description: Response @@ -57516,7 +57535,7 @@ paths: parameters: - *203 - *204 - - *352 + - *353 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). Omit this parameter to list all reactions to an issue. @@ -57568,7 +57587,7 @@ paths: parameters: - *203 - *204 - - *352 + - *353 requestBody: required: true content: @@ -57632,7 +57651,7 @@ paths: parameters: - *203 - *204 - - *352 + - *353 - *195 responses: '204': @@ -57655,7 +57674,7 @@ paths: parameters: - *203 - *204 - - *352 + - *353 - *12 - *30 responses: @@ -57670,7 +57689,6 @@ paths: description: Timeline Event type: object anyOf: - - *356 - *357 - *358 - *359 @@ -57683,6 +57701,7 @@ paths: - *366 - *367 - *368 + - *369 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -58001,7 +58020,7 @@ paths: type: string comments: type: array - items: &387 + items: &388 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -58232,7 +58251,7 @@ paths: type: string comments: type: array - items: *298 + items: *299 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -58535,7 +58554,7 @@ paths: application/json: schema: type: array - items: &369 + items: &370 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -58636,9 +58655,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *370 examples: - default: &370 + default: &371 value: id: 1 key: ssh-rsa AAA... @@ -58673,7 +58692,7 @@ paths: parameters: - *203 - *204 - - &371 + - &372 name: key_id description: The unique identifier of the key. in: path @@ -58685,9 +58704,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *370 examples: - default: *370 + default: *371 '404': *15 x-github: githubCloudOnly: false @@ -58707,7 +58726,7 @@ paths: parameters: - *203 - *204 - - *371 + - *372 responses: '204': description: Response @@ -58738,9 +58757,9 @@ paths: application/json: schema: type: array - items: *354 + items: *355 examples: - default: *355 + default: *356 headers: Link: *26 '404': *15 @@ -58796,9 +58815,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *355 examples: - default: &372 + default: &373 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -58842,9 +58861,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *355 examples: - default: *372 + default: *373 '404': *15 x-github: githubCloudOnly: false @@ -58901,7 +58920,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *355 examples: default: value: @@ -59286,9 +59305,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *299 + schema: *300 examples: - default: *373 + default: *374 '204': description: Response when already merged '404': @@ -59355,7 +59374,7 @@ paths: application/json: schema: type: array - items: *303 + items: *304 examples: default: value: @@ -59452,9 +59471,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: &374 + default: &375 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -59515,7 +59534,7 @@ paths: parameters: - *203 - *204 - - &375 + - &376 name: milestone_number description: The number that identifies the milestone. in: path @@ -59527,9 +59546,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: *374 + default: *375 '404': *15 x-github: githubCloudOnly: false @@ -59548,7 +59567,7 @@ paths: parameters: - *203 - *204 - - *375 + - *376 requestBody: required: false content: @@ -59586,9 +59605,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: *374 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59606,7 +59625,7 @@ paths: parameters: - *203 - *204 - - *375 + - *376 responses: '204': description: Response @@ -59629,7 +59648,7 @@ paths: parameters: - *203 - *204 - - *375 + - *376 - *12 - *30 responses: @@ -59639,9 +59658,9 @@ paths: application/json: schema: type: array - items: *354 + items: *355 examples: - default: *355 + default: *356 headers: Link: *26 x-github: @@ -59662,10 +59681,10 @@ paths: parameters: - *203 - *204 - - *376 - *377 - - *68 - *378 + - *68 + - *379 - *12 - *30 responses: @@ -59677,7 +59696,7 @@ paths: type: array items: *90 examples: - default: *379 + default: *380 headers: Link: *26 x-github: @@ -59756,7 +59775,7 @@ paths: description: Response content: application/json: - schema: &380 + schema: &381 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -59900,7 +59919,7 @@ paths: - custom_404 - public examples: - default: &381 + default: &382 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -59990,9 +60009,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: *381 + default: *382 '422': *10 '409': *239 x-github: @@ -60147,7 +60166,7 @@ paths: application/json: schema: type: array - items: &382 + items: &383 title: Page Build description: Page Build type: object @@ -60289,9 +60308,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: &383 + default: &384 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -60347,9 +60366,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *383 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60960,9 +60979,9 @@ paths: application/json: schema: type: array - items: *384 + items: *385 examples: - default: *385 + default: *386 headers: Link: *26 '304': *25 @@ -61046,7 +61065,7 @@ paths: description: Response content: application/json: - schema: &389 + schema: &390 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -61177,7 +61196,7 @@ paths: milestone: anyOf: - type: 'null' - - *303 + - *304 active_lock_reason: type: - string @@ -62148,14 +62167,14 @@ paths: _links: type: object properties: - comments: *304 - commits: *304 - statuses: *304 - html: *304 - issue: *304 - review_comments: *304 - review_comment: *304 - self: *304 + comments: *305 + commits: *305 + statuses: *305 + html: *305 + issue: *305 + review_comments: *305 + review_comment: *305 + self: *305 required: - comments - commits @@ -62166,7 +62185,7 @@ paths: - review_comment - self author_association: *65 - auto_merge: *386 + auto_merge: *387 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -62268,7 +62287,7 @@ paths: - merged_by - review_comments examples: - default: &390 + default: &391 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -62814,9 +62833,9 @@ paths: application/json: schema: type: array - items: *387 + items: *388 examples: - default: &392 + default: &393 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -62893,9 +62912,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: &388 + default: &389 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -62986,9 +63005,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: *388 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63182,7 +63201,7 @@ paths: parameters: - *203 - *204 - - &391 + - &392 name: pull_number description: The number that identifies the pull request. in: path @@ -63195,9 +63214,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *389 + schema: *390 examples: - default: *390 + default: *391 '304': *25 '404': *15 '500': *152 @@ -63222,7 +63241,7 @@ paths: parameters: - *203 - *204 - - *391 + - *392 requestBody: required: false content: @@ -63264,9 +63283,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: *390 + default: *391 '422': *10 '403': *22 x-github: @@ -63292,7 +63311,7 @@ paths: parameters: - *203 - *204 - - *391 + - *392 requestBody: required: true content: @@ -63344,7 +63363,7 @@ paths: application/json: schema: *154 examples: - default: *293 + default: *294 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -63352,7 +63371,7 @@ paths: application/json: schema: *154 examples: - default: *293 + default: *294 '401': *21 '403': *22 '404': *15 @@ -63375,7 +63394,7 @@ paths: parameters: - *203 - *204 - - *391 + - *392 - *87 - name: direction description: Can be either `asc` or `desc`. Ignored without `sort` parameter. @@ -63396,9 +63415,9 @@ paths: application/json: schema: type: array - items: *387 + items: *388 examples: - default: *392 + default: *393 headers: Link: *26 x-github: @@ -63426,7 +63445,7 @@ paths: parameters: - *203 - *204 - - *391 + - *392 requestBody: required: true content: @@ -63521,7 +63540,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: example-for-a-multi-line-comment: value: @@ -63603,7 +63622,7 @@ paths: parameters: - *203 - *204 - - *391 + - *392 - *77 requestBody: required: true @@ -63626,7 +63645,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: default: value: @@ -63707,7 +63726,7 @@ paths: parameters: - *203 - *204 - - *391 + - *392 - *12 - *30 responses: @@ -63717,9 +63736,9 @@ paths: application/json: schema: type: array - items: *299 + items: *300 examples: - default: *393 + default: *394 headers: Link: *26 x-github: @@ -63741,7 +63760,7 @@ paths: parameters: - *203 - *204 - - *391 + - *392 - *12 - *30 responses: @@ -63751,7 +63770,7 @@ paths: application/json: schema: type: array - items: *310 + items: *311 examples: default: value: @@ -63789,7 +63808,7 @@ paths: parameters: - *203 - *204 - - *391 + - *392 responses: '204': description: Response if pull request has been merged @@ -63816,7 +63835,7 @@ paths: parameters: - *203 - *204 - - *391 + - *392 requestBody: required: false content: @@ -63926,7 +63945,7 @@ paths: parameters: - *203 - *204 - - *391 + - *392 responses: '200': description: Response @@ -64004,7 +64023,7 @@ paths: parameters: - *203 - *204 - - *391 + - *392 requestBody: required: false content: @@ -64041,7 +64060,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *385 examples: default: value: @@ -64577,7 +64596,7 @@ paths: parameters: - *203 - *204 - - *391 + - *392 requestBody: required: true content: @@ -64611,7 +64630,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *385 examples: default: value: @@ -65109,7 +65128,7 @@ paths: parameters: - *203 - *204 - - *391 + - *392 - *12 - *30 responses: @@ -65119,7 +65138,7 @@ paths: application/json: schema: type: array - items: &394 + items: &395 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -65262,7 +65281,7 @@ paths: parameters: - *203 - *204 - - *391 + - *392 requestBody: required: false content: @@ -65347,9 +65366,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *395 examples: - default: &396 + default: &397 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -65406,8 +65425,8 @@ paths: parameters: - *203 - *204 - - *391 - - &395 + - *392 + - &396 name: review_id description: The unique identifier of the review. in: path @@ -65419,9 +65438,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *395 examples: - default: &397 + default: &398 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -65474,8 +65493,8 @@ paths: parameters: - *203 - *204 - - *391 - - *395 + - *392 + - *396 requestBody: required: true content: @@ -65498,7 +65517,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *395 examples: default: value: @@ -65554,16 +65573,16 @@ paths: parameters: - *203 - *204 - - *391 - - *395 + - *392 + - *396 responses: '200': description: Response content: application/json: - schema: *394 + schema: *395 examples: - default: *396 + default: *397 '422': *49 '404': *15 x-github: @@ -65584,8 +65603,8 @@ paths: parameters: - *203 - *204 - - *391 - - *395 + - *392 + - *396 - *12 - *30 responses: @@ -65681,9 +65700,9 @@ paths: _links: type: object properties: - self: *304 - html: *304 - pull_request: *304 + self: *305 + html: *305 + pull_request: *305 required: - self - html @@ -65827,8 +65846,8 @@ paths: parameters: - *203 - *204 - - *391 - - *395 + - *392 + - *396 requestBody: required: true content: @@ -65857,7 +65876,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *395 examples: default: value: @@ -65916,8 +65935,8 @@ paths: parameters: - *203 - *204 - - *391 - - *395 + - *392 + - *396 requestBody: required: true content: @@ -65952,9 +65971,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *395 examples: - default: *397 + default: *398 '404': *15 '422': *49 '403': *22 @@ -65977,7 +65996,7 @@ paths: parameters: - *203 - *204 - - *391 + - *392 requestBody: required: false content: @@ -66052,9 +66071,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *399 examples: - default: &399 + default: &400 value: type: file encoding: base64 @@ -66113,9 +66132,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *399 examples: - default: *399 + default: *400 '404': *15 '422': *10 x-github: @@ -66148,7 +66167,7 @@ paths: application/json: schema: type: array - items: &400 + items: &401 title: Release description: A release. type: object @@ -66220,7 +66239,7 @@ paths: author: *13 assets: type: array - items: &401 + items: &402 title: Release Asset description: Data related to a release. type: object @@ -66465,9 +66484,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: &405 + default: &406 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -66570,7 +66589,7 @@ paths: parameters: - *203 - *204 - - &403 + - &404 name: asset_id description: The unique identifier of the asset. in: path @@ -66582,9 +66601,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *402 examples: - default: &404 + default: &405 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 @@ -66618,7 +66637,7 @@ paths: type: User site_admin: false '404': *15 - '302': *402 + '302': *403 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66636,7 +66655,7 @@ paths: parameters: - *203 - *204 - - *403 + - *404 requestBody: required: false content: @@ -66665,9 +66684,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *402 examples: - default: *404 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66685,7 +66704,7 @@ paths: parameters: - *203 - *204 - - *403 + - *404 responses: '204': description: Response @@ -66803,9 +66822,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: *405 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66836,9 +66855,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: *405 + default: *406 '404': *15 x-github: githubCloudOnly: false @@ -66859,7 +66878,7 @@ paths: parameters: - *203 - *204 - - &406 + - &407 name: release_id description: The unique identifier of the release. in: path @@ -66872,9 +66891,9 @@ paths: the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia)." content: application/json: - schema: *400 + schema: *401 examples: - default: *405 + default: *406 '404': *15 x-github: githubCloudOnly: false @@ -66893,7 +66912,7 @@ paths: parameters: - *203 - *204 - - *406 + - *407 requestBody: required: false content: @@ -66945,9 +66964,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: *405 + default: *406 '404': description: Not Found if the discussion category name is invalid content: @@ -66970,7 +66989,7 @@ paths: parameters: - *203 - *204 - - *406 + - *407 responses: '204': description: Response @@ -66992,7 +67011,7 @@ paths: parameters: - *203 - *204 - - *406 + - *407 - *12 - *30 responses: @@ -67002,7 +67021,7 @@ paths: application/json: schema: type: array - items: *401 + items: *402 examples: default: value: @@ -67082,7 +67101,7 @@ paths: parameters: - *203 - *204 - - *406 + - *407 - name: name in: query required: true @@ -67104,7 +67123,7 @@ paths: description: Response for successful upload content: application/json: - schema: *401 + schema: *402 examples: response-for-successful-upload: value: @@ -67160,7 +67179,7 @@ paths: parameters: - *203 - *204 - - *406 + - *407 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). Omit this parameter to list all reactions to a release. @@ -67209,7 +67228,7 @@ paths: parameters: - *203 - *204 - - *406 + - *407 requestBody: required: true content: @@ -67271,7 +67290,7 @@ paths: parameters: - *203 - *204 - - *406 + - *407 - *195 responses: '204': @@ -67306,8 +67325,8 @@ paths: - *53 - *30 - *12 - - *407 - *408 + - *409 responses: '200': description: Response @@ -67315,7 +67334,7 @@ paths: application/json: schema: type: array - items: &411 + items: &412 type: object properties: number: *56 @@ -67328,8 +67347,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *409 - resolution: *410 + state: *410 + resolution: *411 resolved_at: type: - string @@ -67465,13 +67484,13 @@ paths: parameters: - *203 - *204 - - *285 + - *286 responses: '200': description: Response content: application/json: - schema: *411 + schema: *412 examples: default: value: @@ -67517,7 +67536,7 @@ paths: parameters: - *203 - *204 - - *285 + - *286 requestBody: required: true content: @@ -67525,8 +67544,8 @@ paths: schema: type: object properties: - state: *409 - resolution: *410 + state: *410 + resolution: *411 required: - state examples: @@ -67539,7 +67558,7 @@ paths: description: Response content: application/json: - schema: *411 + schema: *412 examples: default: value: @@ -67604,7 +67623,7 @@ paths: parameters: - *203 - *204 - - *285 + - *286 - *30 - *12 responses: @@ -67852,7 +67871,7 @@ paths: application/json: schema: type: array - items: &413 + items: &414 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -67865,7 +67884,7 @@ paths: - 1124 - -435 '202': *142 - '204': &412 + '204': &413 description: A header with no content is returned. x-github: githubCloudOnly: false @@ -67936,7 +67955,7 @@ paths: total: 89 week: 1336280400 '202': *142 - '204': *412 + '204': *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68033,7 +68052,7 @@ paths: d: 77 c: 10 '202': *142 - '204': *412 + '204': *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68219,7 +68238,7 @@ paths: application/json: schema: type: array - items: *413 + items: *414 examples: default: value: @@ -68232,7 +68251,7 @@ paths: - - 0 - 2 - 21 - '204': *412 + '204': *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68309,7 +68328,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *415 examples: default: value: @@ -68402,7 +68421,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &415 + schema: &416 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -68497,7 +68516,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: default: value: @@ -68634,7 +68653,7 @@ paths: application/json: schema: type: array - items: &416 + items: &417 title: Tag protection description: Tag protection type: object @@ -68709,7 +68728,7 @@ paths: description: Response content: application/json: - schema: *416 + schema: *417 examples: default: value: @@ -68839,7 +68858,7 @@ paths: description: Response content: application/json: - schema: &417 + schema: &418 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -68851,7 +68870,7 @@ paths: required: - names examples: - default: &418 + default: &419 value: names: - octocat @@ -68906,9 +68925,9 @@ paths: description: Response content: application/json: - schema: *417 + schema: *418 examples: - default: *418 + default: *419 '404': *15 '422': *49 x-github: @@ -68931,7 +68950,7 @@ paths: parameters: - *203 - *204 - - &419 + - &420 name: per description: The time frame to display results for. in: query @@ -68963,7 +68982,7 @@ paths: - 128 clones: type: array - items: &420 + items: &421 title: Traffic type: object properties: @@ -69211,7 +69230,7 @@ paths: parameters: - *203 - *204 - - *419 + - *420 responses: '200': description: Response @@ -69232,7 +69251,7 @@ paths: - 3782 views: type: array - items: *420 + items: *421 required: - uniques - count @@ -69996,7 +70015,7 @@ paths: url: https://docs.github.com/rest/reference/actions#list-environment-secrets parameters: - *104 - - *323 + - *324 - *12 - *30 responses: @@ -70016,7 +70035,7 @@ paths: type: array items: *243 examples: - default: *421 + default: *422 headers: Link: *26 x-github: @@ -70041,7 +70060,7 @@ paths: url: https://docs.github.com/rest/reference/actions#get-an-environment-public-key parameters: - *104 - - *323 + - *324 responses: '200': description: Response @@ -70070,7 +70089,7 @@ paths: url: https://docs.github.com/rest/reference/actions#get-an-environment-secret parameters: - *104 - - *323 + - *324 - *118 responses: '200': @@ -70079,7 +70098,7 @@ paths: application/json: schema: *243 examples: - default: *422 + default: *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70171,7 +70190,7 @@ paths: url: https://docs.github.com/rest/reference/actions#create-or-update-an-environment-secret parameters: - *104 - - *323 + - *324 - *118 requestBody: required: true @@ -70227,7 +70246,7 @@ paths: url: https://docs.github.com/rest/reference/actions#delete-an-environment-secret parameters: - *104 - - *323 + - *324 - *118 responses: '204': @@ -70250,14 +70269,14 @@ paths: url: https://docs.github.com/rest/reference/enterprise-admin#list-provisioned-scim-groups-for-an-enterprise parameters: - *27 - - &426 + - &427 name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query required: false schema: type: integer - - &427 + - &428 name: count description: 'Used for pagination: the number of results to return.' in: query @@ -70444,7 +70463,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &424 type: object properties: schemas: @@ -70485,7 +70504,7 @@ paths: - schemas - id examples: - default: &424 + default: &425 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -70522,7 +70541,7 @@ paths: url: https://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-group parameters: - *27 - - &425 + - &426 name: scim_group_id description: Identifier generated by the GitHub SCIM endpoint. in: path @@ -70540,9 +70559,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: *424 + default: *425 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -70562,7 +70581,7 @@ paths: url: https://docs.github.com/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-group parameters: - *27 - - *425 + - *426 requestBody: required: true content: @@ -70606,9 +70625,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: *424 + default: *425 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -70628,7 +70647,7 @@ paths: url: https://docs.github.com/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-group parameters: - *27 - - *425 + - *426 requestBody: required: true content: @@ -70681,7 +70700,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -70716,7 +70735,7 @@ paths: url: https://docs.github.com/rest/reference/enterprise-admin#delete-a-scim-group-from-an-enterprise parameters: - *27 - - *425 + - *426 responses: '204': description: Response @@ -70755,8 +70774,8 @@ paths: url: https://docs.github.com/rest/reference/enterprise-admin#list-scim-provisioned-identities-for-an-enterprise parameters: - *27 - - *426 - *427 + - *428 - name: filter description: filter results in: query @@ -70991,7 +71010,7 @@ paths: description: Response content: application/json: - schema: &428 + schema: &429 type: object properties: schemas: @@ -71046,7 +71065,7 @@ paths: - schemas - id examples: - default: &429 + default: &430 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -71086,7 +71105,7 @@ paths: url: https://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-user parameters: - *27 - - &430 + - &431 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -71098,9 +71117,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *429 examples: - default: *429 + default: *430 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -71124,7 +71143,7 @@ paths: url: https://docs.github.com/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-user parameters: - *27 - - *430 + - *431 requestBody: required: true content: @@ -71204,9 +71223,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *429 examples: - default: *429 + default: *430 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -71241,7 +71260,7 @@ paths: url: https://docs.github.com/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-user parameters: - *27 - - *430 + - *431 requestBody: required: true content: @@ -71281,7 +71300,7 @@ paths: description: Response content: application/json: - schema: *428 + schema: *429 examples: default: value: @@ -71324,7 +71343,7 @@ paths: url: https://docs.github.com/rest/reference/enterprise-admin#delete-a-scim-user-from-an-enterprise parameters: - *27 - - *430 + - *431 responses: '204': description: Response @@ -71418,7 +71437,7 @@ paths: - 1 Resources: type: array - items: &432 + items: &433 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -71656,34 +71675,34 @@ 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': *25 - '404': &433 + '404': &434 description: Resource not found content: application/json: - schema: *431 + schema: *432 application/scim+json: - schema: *431 - '403': &434 + schema: *432 + '403': &435 description: Forbidden content: application/json: - schema: *431 + schema: *432 application/scim+json: - schema: *431 - '400': &435 + schema: *432 + '400': &436 description: Bad Request content: application/json: - schema: *431 + schema: *432 application/scim+json: - schema: *431 + schema: *432 '429': description: Too Many Requests content: application/json: - schema: *431 + schema: *432 application/scim+json: - schema: *431 + schema: *432 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -71706,9 +71725,9 @@ paths: description: Response content: application/scim+json: - schema: *432 + schema: *433 examples: - default: &436 + default: &437 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -71731,23 +71750,23 @@ 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': *25 - '404': *433 - '403': *434 + '404': *434 + '403': *435 '500': description: Internal Error content: application/json: - schema: *431 + schema: *432 application/scim+json: - schema: *431 + schema: *432 '409': description: Conflict content: application/json: - schema: *431 + schema: *432 application/scim+json: - schema: *431 - '400': *435 + schema: *432 + '400': *436 requestBody: required: true content: @@ -71834,17 +71853,17 @@ paths: url: https://docs.github.com/rest/reference/scim#get-scim-provisioning-information-for-a-user parameters: - *94 - - *430 + - *431 responses: '200': description: Response content: application/scim+json: - schema: *432 + schema: *433 examples: - default: *436 - '404': *433 - '403': *434 + default: *437 + '404': *434 + '403': *435 '304': *25 x-github: githubCloudOnly: true @@ -71867,18 +71886,18 @@ paths: url: https://docs.github.com/rest/reference/scim#set-scim-information-for-a-provisioned-user parameters: - *94 - - *430 + - *431 responses: '200': description: Response content: application/scim+json: - schema: *432 + schema: *433 examples: - default: *436 + default: *437 '304': *25 - '404': *433 - '403': *434 + '404': *434 + '403': *435 requestBody: required: true content: @@ -71980,19 +71999,19 @@ paths: url: https://docs.github.com/rest/reference/scim#update-an-attribute-for-a-scim-user parameters: - *94 - - *430 + - *431 responses: '200': description: Response content: application/scim+json: - schema: *432 + schema: *433 examples: - default: *436 + default: *437 '304': *25 - '404': *433 - '403': *434 - '400': *435 + '404': *434 + '403': *435 + '400': *436 '429': description: Response content: @@ -72081,12 +72100,12 @@ paths: url: https://docs.github.com/rest/reference/scim#delete-a-scim-user-from-an-organization parameters: - *94 - - *430 + - *431 responses: '204': description: Response - '404': *433 - '403': *434 + '404': *434 + '403': *435 '304': *25 x-github: githubCloudOnly: true @@ -72143,7 +72162,7 @@ paths: type: string enum: - indexed - - &437 + - &438 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 @@ -72215,7 +72234,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &438 + text_matches: &439 title: Search Result Text Matches type: array items: @@ -72378,7 +72397,7 @@ paths: enum: - author-date - committer-date - - *437 + - *438 - *12 - *30 responses: @@ -72435,7 +72454,7 @@ paths: committer: anyOf: - type: 'null' - - *256 + - *257 comment_count: type: integer message: @@ -72454,7 +72473,7 @@ paths: url: type: string format: uri - verification: *335 + verification: *336 required: - author - committer @@ -72469,7 +72488,7 @@ paths: committer: anyOf: - type: 'null' - - *256 + - *257 parents: type: array items: @@ -72486,7 +72505,7 @@ paths: type: number node_id: type: string - text_matches: *438 + text_matches: *439 required: - sha - node_id @@ -72677,7 +72696,7 @@ paths: - interactions - created - updated - - *437 + - *438 - *12 - *30 responses: @@ -72778,7 +72797,7 @@ paths: milestone: anyOf: - type: 'null' - - *303 + - *304 comments: type: integer created_at: @@ -72792,7 +72811,7 @@ paths: - string - 'null' format: date-time - text_matches: *438 + text_matches: *439 pull_request: type: object properties: @@ -73014,7 +73033,7 @@ paths: enum: - created - updated - - *437 + - *438 - *12 - *30 responses: @@ -73059,7 +73078,7 @@ paths: - 'null' score: type: number - text_matches: *438 + text_matches: *439 required: - id - node_id @@ -73144,7 +73163,7 @@ paths: - forks - help-wanted-issues - updated - - *437 + - *438 - *12 - *30 responses: @@ -73379,7 +73398,7 @@ paths: - admin - pull - push - text_matches: *438 + text_matches: *439 temp_clone_token: type: string allow_merge_commit: @@ -73687,7 +73706,7 @@ paths: - string - 'null' format: uri - text_matches: *438 + text_matches: *439 related: type: - array @@ -73878,7 +73897,7 @@ paths: - followers - repositories - joined - - *437 + - *438 - *12 - *30 responses: @@ -73987,7 +74006,7 @@ paths: type: - boolean - 'null' - text_matches: *438 + text_matches: *439 blog: type: - string @@ -74068,7 +74087,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams/#get-a-team-legacy parameters: - - &439 + - &440 name: team_id description: The unique identifier of the team. in: path @@ -74107,7 +74126,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams/#update-a-team-legacy parameters: - - *439 + - *440 requestBody: required: true content: @@ -74196,7 +74215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams/#delete-a-team-legacy parameters: - - *439 + - *440 responses: '204': description: Response @@ -74224,7 +74243,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#list-discussions-legacy parameters: - - *439 + - *440 - *53 - *12 - *30 @@ -74237,7 +74256,7 @@ paths: type: array items: *186 examples: - default: *440 + default: *441 headers: Link: *26 x-github: @@ -74263,7 +74282,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#create-a-discussion-legacy parameters: - - *439 + - *440 requestBody: required: true content: @@ -74323,7 +74342,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#get-a-discussion-legacy parameters: - - *439 + - *440 - *188 responses: '200': @@ -74354,7 +74373,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#update-a-discussion-legacy parameters: - - *439 + - *440 - *188 requestBody: required: false @@ -74380,7 +74399,7 @@ paths: application/json: schema: *186 examples: - default: *441 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74402,7 +74421,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#delete-a-discussion-legacy parameters: - - *439 + - *440 - *188 responses: '204': @@ -74429,7 +74448,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#list-discussion-comments-legacy parameters: - - *439 + - *440 - *188 - *53 - *12 @@ -74443,7 +74462,7 @@ paths: type: array items: *189 examples: - default: *442 + default: *443 headers: Link: *26 x-github: @@ -74469,7 +74488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#create-a-discussion-comment-legacy parameters: - - *439 + - *440 - *188 requestBody: required: true @@ -74518,7 +74537,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#get-a-discussion-comment-legacy parameters: - - *439 + - *440 - *188 - *191 responses: @@ -74550,7 +74569,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#update-a-discussion-comment-legacy parameters: - - *439 + - *440 - *188 - *191 requestBody: @@ -74576,7 +74595,7 @@ paths: application/json: schema: *189 examples: - default: *443 + default: *444 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74598,7 +74617,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#delete-a-discussion-comment-legacy parameters: - - *439 + - *440 - *188 - *191 responses: @@ -74626,7 +74645,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *439 + - *440 - *188 - *191 - name: content @@ -74680,7 +74699,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *439 + - *440 - *188 - *191 requestBody: @@ -74739,7 +74758,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-team-discussion-legacy parameters: - - *439 + - *440 - *188 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). @@ -74792,7 +74811,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-team-discussion-legacy parameters: - - *439 + - *440 - *188 requestBody: required: true @@ -74850,7 +74869,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#list-pending-team-invitations-legacy parameters: - - *439 + - *440 - *12 - *30 responses: @@ -74887,7 +74906,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#list-team-members-legacy parameters: - - *439 + - *440 - name: role description: Filters members returned by their role in the team. in: query @@ -74938,7 +74957,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#get-team-member-legacy parameters: - - *439 + - *440 - *127 responses: '204': @@ -74974,7 +74993,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#add-team-member-legacy parameters: - - *439 + - *440 - *127 responses: '204': @@ -75013,7 +75032,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#remove-team-member-legacy parameters: - - *439 + - *440 - *127 responses: '204': @@ -75049,7 +75068,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user-legacy parameters: - - *439 + - *440 - *127 responses: '200': @@ -75058,7 +75077,7 @@ paths: application/json: schema: *200 examples: - response-if-user-is-a-team-maintainer: *444 + response-if-user-is-a-team-maintainer: *445 '404': *15 x-github: githubCloudOnly: false @@ -75089,7 +75108,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy parameters: - - *439 + - *440 - *127 requestBody: required: false @@ -75117,7 +75136,7 @@ paths: application/json: schema: *200 examples: - response-if-users-membership-with-team-is-now-pending: *445 + response-if-users-membership-with-team-is-now-pending: *446 '403': description: Forbidden if team synchronization is set up '422': @@ -75149,7 +75168,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user-legacy parameters: - - *439 + - *440 - *127 responses: '204': @@ -75178,7 +75197,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams/#list-team-projects-legacy parameters: - - *439 + - *440 - *12 - *30 responses: @@ -75190,7 +75209,7 @@ paths: type: array items: *201 examples: - default: *446 + default: *447 headers: Link: *26 '404': *15 @@ -75216,7 +75235,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-project-legacy parameters: - - *439 + - *440 - *202 responses: '200': @@ -75225,7 +75244,7 @@ paths: application/json: schema: *201 examples: - default: *447 + default: *448 '404': description: Not Found if project is not managed by this team x-github: @@ -75249,7 +75268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams/#add-or-update-team-project-permissions-legacy parameters: - - *439 + - *440 - *202 requestBody: required: false @@ -75312,7 +75331,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams/#remove-a-project-from-a-team-legacy parameters: - - *439 + - *440 - *202 responses: '204': @@ -75341,7 +75360,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams/#list-team-repositories-legacy parameters: - - *439 + - *440 - *12 - *30 responses: @@ -75381,7 +75400,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-repository-legacy parameters: - - *439 + - *440 - *203 - *204 responses: @@ -75389,7 +75408,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *448 + schema: *449 examples: alternative-response-with-extra-repository-information: value: @@ -75658,7 +75677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams/#add-or-update-team-repository-permissions-legacy parameters: - - *439 + - *440 - *203 - *204 requestBody: @@ -75704,7 +75723,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams/#remove-a-repository-from-a-team-legacy parameters: - - *439 + - *440 - *203 - *204 responses: @@ -75734,7 +75753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team-legacy parameters: - - *439 + - *440 responses: '200': description: Response @@ -75768,7 +75787,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections-legacy parameters: - - *439 + - *440 requestBody: required: true content: @@ -75861,7 +75880,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/teams/#list-child-teams-legacy parameters: - - *439 + - *440 - *12 - *30 responses: @@ -75873,7 +75892,7 @@ paths: type: array items: *183 examples: - response-if-child-teams-exist: *449 + response-if-child-teams-exist: *450 headers: Link: *26 '404': *15 @@ -75908,7 +75927,7 @@ paths: application/json: schema: oneOf: - - &451 + - &452 title: Private User description: Private User type: object @@ -76153,7 +76172,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *450 + - *451 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -76307,7 +76326,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: default: value: @@ -76509,7 +76528,7 @@ paths: type: array items: *154 examples: - default: *452 + default: *453 '304': *25 '500': *152 '401': *21 @@ -76630,7 +76649,7 @@ paths: application/json: schema: *154 examples: - default: *293 + default: *294 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -76638,7 +76657,7 @@ paths: application/json: schema: *154 examples: - default: *293 + default: *294 '401': *21 '403': *22 '404': *15 @@ -76681,7 +76700,7 @@ paths: type: integer secrets: type: array - items: &454 + items: &455 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -76723,7 +76742,7 @@ paths: - visibility - selected_repositories_url examples: - default: *453 + default: *454 headers: Link: *26 x-github: @@ -76801,7 +76820,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: default: value: @@ -77016,7 +77035,7 @@ paths: type: array items: *109 examples: - default: *455 + default: *456 '401': *21 '403': *22 '404': *15 @@ -77166,7 +77185,7 @@ paths: application/json: schema: *154 examples: - default: *293 + default: *294 '304': *25 '500': *152 '401': *21 @@ -77226,7 +77245,7 @@ paths: application/json: schema: *154 examples: - default: *293 + default: *294 '401': *21 '403': *22 '404': *15 @@ -77282,7 +77301,7 @@ paths: description: Response content: application/json: - schema: &456 + schema: &457 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -77335,7 +77354,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &457 + default: &458 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -77379,9 +77398,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '404': *15 x-github: githubCloudOnly: false @@ -77420,9 +77439,9 @@ paths: type: integer machines: type: array - items: *294 + items: *295 examples: - default: *458 + default: *459 '304': *25 '500': *152 '401': *21 @@ -77457,7 +77476,7 @@ paths: application/json: schema: *154 examples: - default: *293 + default: *294 '304': *25 '500': *152 '400': *9 @@ -77499,7 +77518,7 @@ paths: application/json: schema: *154 examples: - default: *293 + default: *294 '500': *152 '401': *21 '403': *22 @@ -77547,7 +77566,7 @@ paths: application/json: schema: type: array - items: &459 + items: &460 title: Email description: Email type: object @@ -77614,9 +77633,9 @@ paths: application/json: schema: type: array - items: *459 + items: *460 examples: - default: &471 + default: &472 value: - email: octocat@github.com verified: true @@ -77692,7 +77711,7 @@ paths: application/json: schema: type: array - items: *459 + items: *460 examples: default: value: @@ -77946,7 +77965,7 @@ paths: application/json: schema: type: array - items: &460 + items: &461 title: GPG Key description: A unique encryption key type: object @@ -78084,7 +78103,7 @@ paths: - subkeys - revoked examples: - default: &479 + default: &480 value: - id: 3 name: Octocat's GPG Key @@ -78159,9 +78178,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: &461 + default: &462 value: id: 3 name: Octocat's GPG Key @@ -78217,7 +78236,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/users#get-a-gpg-key-for-the-authenticated-user parameters: - - &462 + - &463 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -78229,9 +78248,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: *461 + default: *462 '404': *15 '304': *25 '403': *22 @@ -78253,7 +78272,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user parameters: - - *462 + - *463 responses: '204': description: Response @@ -78448,7 +78467,7 @@ paths: type: array items: *45 examples: - default: *463 + default: *464 headers: Link: *26 '404': *15 @@ -78559,7 +78578,7 @@ paths: required: true content: application/json: - schema: *345 + schema: *346 responses: '200': description: Response @@ -78700,7 +78719,7 @@ paths: application/json: schema: type: array - items: &464 + items: &465 title: Key description: Key type: object @@ -78791,9 +78810,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: - default: &465 + default: &466 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -78825,15 +78844,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *371 + - *372 responses: '200': description: Response content: application/json: - schema: *464 + schema: *465 examples: - default: *465 + default: *466 '404': *15 '304': *25 '403': *22 @@ -78855,7 +78874,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *371 + - *372 responses: '204': description: Response @@ -78891,7 +78910,7 @@ paths: application/json: schema: type: array - items: &466 + items: &467 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -78970,7 +78989,7 @@ paths: - account - plan examples: - default: &467 + default: &468 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -79035,9 +79054,9 @@ paths: application/json: schema: type: array - items: *466 + items: *467 examples: - default: *467 + default: *468 headers: Link: *26 '304': *25 @@ -80037,7 +80056,7 @@ paths: url: https://docs.github.com/rest/reference/migrations#unlock-a-user-repository parameters: - *158 - - *468 + - *469 responses: '204': description: Response @@ -80109,7 +80128,7 @@ paths: type: array items: *40 examples: - default: *469 + default: *470 headers: Link: *26 '304': *25 @@ -80152,7 +80171,7 @@ paths: - docker - nuget - container - - *470 + - *471 responses: '200': description: Response @@ -80162,7 +80181,7 @@ paths: type: array items: *159 examples: - default: &480 + default: &481 value: - id: 197 name: hello_docker @@ -80249,7 +80268,7 @@ paths: application/json: schema: *159 examples: - default: &481 + default: &482 value: id: 40201 name: octo-name @@ -80700,9 +80719,9 @@ paths: application/json: schema: type: array - items: *459 + items: *460 examples: - default: *471 + default: *472 headers: Link: *26 '304': *25 @@ -80789,7 +80808,7 @@ paths: - *12 - *30 - *68 - - *378 + - *379 responses: '200': description: Response @@ -80799,7 +80818,7 @@ paths: type: array items: *45 examples: - default: &477 + default: &478 summary: Default response value: - id: 1296269 @@ -81104,7 +81123,7 @@ paths: application/json: schema: *45 examples: - default: *472 + default: *473 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -81142,9 +81161,9 @@ paths: application/json: schema: type: array - items: *347 + items: *348 examples: - default: *473 + default: *474 headers: Link: *26 '304': *25 @@ -81226,7 +81245,7 @@ paths: application/json: schema: type: array - items: &474 + items: &475 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -81246,7 +81265,7 @@ paths: - title - created_at examples: - default: &482 + default: &483 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -81307,9 +81326,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: - default: &475 + default: &476 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -81340,7 +81359,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/users#get-a-ssh-signing-key-for-the-authenticated-user parameters: - - &476 + - &477 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -81352,9 +81371,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: - default: *475 + default: *476 '404': *15 '304': *25 '403': *22 @@ -81377,7 +81396,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/users#delete-a-ssh-signing-key-for-the-authenticated-user parameters: - - *476 + - *477 responses: '204': description: Response @@ -81417,11 +81436,11 @@ paths: type: array items: *45 examples: - default-response: *477 + default-response: *478 application/vnd.github.v3.star+json: schema: type: array - items: &483 + items: &484 title: Starred Repository description: Starred Repository type: object @@ -81773,7 +81792,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reference/users#list-users parameters: - - *478 + - *479 - *12 responses: '200': @@ -81822,8 +81841,8 @@ paths: application/json: schema: oneOf: + - *452 - *451 - - *450 examples: default-response: summary: Default response @@ -82294,9 +82313,9 @@ paths: application/json: schema: type: array - items: *460 + items: *461 examples: - default: *479 + default: *480 headers: Link: *26 x-github: @@ -82403,7 +82422,7 @@ paths: application/json: schema: *14 examples: - default: *344 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -82481,7 +82500,7 @@ paths: type: array items: *40 examples: - default: *469 + default: *470 headers: Link: *26 x-github: @@ -82521,7 +82540,7 @@ paths: - docker - nuget - container - - *470 + - *471 - *127 responses: '200': @@ -82532,7 +82551,7 @@ paths: type: array items: *159 examples: - default: *480 + default: *481 '403': *22 '401': *21 x-github: @@ -82565,7 +82584,7 @@ paths: application/json: schema: *159 examples: - default: *481 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83247,9 +83266,9 @@ paths: application/json: schema: type: array - items: *474 + items: *475 examples: - default: *482 + default: *483 headers: Link: *26 x-github: @@ -83284,11 +83303,11 @@ paths: schema: anyOf: - type: array - items: *483 + items: *484 - type: array items: *45 examples: - default-response: *477 + default-response: *478 headers: Link: *26 x-github: |